:root {
  font-family: 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
}

.site-header {
    background-color: #530B25;
    color: #fff;
	width:100%
}
.site-header, .top-bar {
  background: linear-gradient(58deg, #200014 0, #8a0328 50%, #5b0025 100%);
  color: #fff;
}

.btn-primary {
    background-color: #FFD700;
    color: #333333;
    border-color: #FFD700;
}

.btn-primary:hover {
    background-color: #333333;
    color: #FFD700;
    border-color: #333333;
}

/* Top Bar */
.top-bar {
   background-color: var(--burgundy);
    padding: 2rem 0;
}
.top-bar .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}


/* General Button Styles */
.custom-button {
    display: inline-flex;
    align-items: center;
    background-color: #FFD700; /* Gold color */
    color: #333333; /* Dark gray text */
    border: none;
    border-radius: 25px; /* Rounded corners */
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
	border: 1px solid #E6C200;
}

.custom-button .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #530B25; /* Burgundy circle */
    color: #FFF; /* White icon */
    border-radius: 50%;
    margin-right: 10px; /* Space between icon and text */
	
}

.custom-button .icon i {
    width: 12px; /* Icon size for small buttons */
    height: 12px;
}

/* Small Button Styles */
.custom-button.small {
    padding: 5px 15px;
    font-size: 14px;
}

.custom-button.small .icon {
    width: 20px; /* Icon container size */
    height: 20px;
}

/* Large Button Styles */
.custom-button.large {
    padding: 10px 20px;
    font-size: 18px;
}

.custom-button.large .icon {
    width: 30px; /* Icon container size */
    height: 30px;
}

.custom-button.large .icon i {
    width: 16px; /* Icon size for large buttons */
    height: 16px;
}

/* Hover Effect */
.custom-button:hover {
    background-color: #530B25 !important;
    text-decoration: none;
    color: #E6C200 !important;
    border: 1px solid #E6C200;
}
.custom-button:hover .icon {
   background-color: #FFD700;
    color: #530B25;
}
.social-links a {       
    display: inline-block;
    align-items: center;
    width: 36px;
    line-height:36px;
    height: 36px;
    background-color: transparent;
    color: #FFD700;
    border-radius: 50%;
    font-size: 20px;
    transition: transform 0.3sease, background-color 0.3sease;
    text-decoration: none;    
    padding: 4px;
    border: 1px solid transparent;
}
.social-links a:hover {
    color: #ffd700 !important;
}

.fa-facebook-f:before {
    content: "\f39e";
    margin-left: 4px;
}

/* Navigation */
.navbar {
    background-color: #171a1c !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
	padding: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff !important;
    padding: 8px 4px;
    font-size:12px !important;
    text-transform:uppercase;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #ffd700 !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #530B25;
}
.navbar .bi-list{
  color:#fff;
  font-size:32px;
}

/* Hero Slider */
/* Center and enlarge logo */
.top-bar .logo {
    text-align: center;
    padding: 20px 0;
}

.top-bar .logo img {
    margin: 0 auto;
}

/* Announcement section styling */
/* Announcement section with overlay styling */
.announcement-wrapper {
    position: absolute;
    height: 100%;
    overflow: hidden;
	right:0px;
}

.announcement-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(assets/slider-image-1.jpg);
    background-position: right center;
    background-size: cover;
    filter: blur(5px);
    z-index: 0;
}

.announcement-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.announcement-content {
    position: relative;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.announcement-content h3 {
    color: #e9c85d;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
}

.announcement-content p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.view-all-link {
    margin-top: auto;
    color: #e9c85d;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.view-all-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}


/* Update X logo in footer */
.fa-x-twitter:before {
    content: "\e61b";  /* Font Awesome X icon code */
}

.hero-slider {
    position: relative;
}

.hero-slider .carousel-item {
    height: 500px; /* Adjust as needed */
    background-size: cover;
    background-position: center;
	background-color:#171A1C;
}

.hero-slider .carousel-item img {
    height: 500px;
    object-fit: cover;
    opacity: 0.5;
}

.hero-slider .carousel-caption {
    text-align: center;
    bottom: 100px;
}

.hero-slider .carousel-caption h5 {
    font-size: 3rem;
    font-weight: 600;
}

.hero-slider .carousel-caption p {
    font-size: 1.5rem;
}

/* Quick Links */

.quick-links {
    width: 100%;
    overflow: hidden;
	background: #F4F4F4;
	padding: 20px 0px;

}

.quick-links .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.quick-links .row {
    margin-left: -15px;
    margin-right: -15px;
	gap: 10px 20px;
   justify-content:center;
}

.quick-link-item {
    height: 100%;
    padding: 8px;
    border-radius: 48px;
    border: 1px solid #EEE;
    background: #FFF;
    box-shadow: 8px -4px 4px 0px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
}

.quick-link-item:hover {
    background: #FFD700;
}

.quick-link-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
	font-size:12px;
	color:#333333;
}

.quick-link-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 48px;
	max-height:80px;
}

.quick-link-item span {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border-radius: 0 0 48px 48px;
}
.quick-link-icon {
    color: #800000;
}

@media (max-width: 575px) {
    .quick-link-item span {
        font-size: 12px;
    }
}

@media (min-width: 1200px) {
    .quick-links .col-xl {
        flex: 0 0 10%;
        max-width: 10%;
    }
}



/* Info Blocks */
.info-blocks {
    padding: 30px 0;
	
}

.info-block {
    padding: 0px;
    border: 1px solid var(--dark-gray, #333);	
	border-bottom: 4px solid transparent;
	border-image: linear-gradient(270deg, #A23333 0%, #333333 52.5%, #333333 100%) 1;
	position:relative;
	margin:16px 0;
    height:100%;
}
.info-block .news-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.info-block .news-item{
	padding:0px;
}

/*
.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: #530B25;
    position: relative;
    top: 0;
    left: -2%;
    width: 104%;
    padding: 8px;
	color:#fff;
	font-size:20px;
	text-align:Center;
}*/

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: #530B25;
    position: relative;
    top: -1px;
    left: -2%;
    width: 104%;
    padding: 8px;
    color: #fff;
    font-size: 20px;
    text-align: center;
}
.info-block h3 svg {
    margin-right: 4px;
    padding: 0;
    margin-top: -4px;
}
.faq h3 {
    background: #333333;
}
.faq h3::before{
    border-color: transparent #333333 transparent transparent !important; /* Left arrow */
}
.faq h3::after {
    right: -8px; /* Position the right arrow */
    border-color: transparent transparent transparent #333333 !important; /* Right arrow */
}


.info-block h3::before,
.info-block h3::after {
    content: '';
    position: absolute;
    bottom: -15px; /* Center the arrows vertically */
    transform: translateY(-45%);
    border-style: solid;
    border-width: 8px; /* Adjust size of the arrows */
    border-color: transparent #530B25 transparent transparent; /* Left arrow */
}

.info-block h3::before {
    left: -8px; /* Position the left arrow */
}

.info-block h3::after {
    right: -8px; /* Position the right arrow */
    border-color: transparent transparent transparent #530B25; /* Right arrow */
}


.info-block ul {
    list-style: none;
    padding: 16px;
}

.info-block li {
    margin-bottom: 8px;
	border:0.25px solid #333333;
	border-radius:50px;
	padding:8px 16px;
}

.info-block a {
    color: #333;
    text-decoration: none;
}
.news-events-block {    
    padding: 0px 20px 6px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd; /* Underline */
}

.news-item:last-child {
    border-bottom: none; /* Remove underline from the last item */
}

.news-image {
    margin-right: 10px;
}

.news-image img {
    width: 50px; /* Adjust as needed */
    height: auto;
    vertical-align: middle; /* Align image vertically */
}

.news-content {
    flex-grow: 1; /* Take remaining space */
}

.news-title {
    font-size: 1rem;
    margin-bottom: 0;
}

.news-date {
    font-size: 0.9rem;
    color: #666;
}


/* About RESA */
.about-resa {
    background-color: #530B25;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}


.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.logo-container {
    flex: 1 1 200px;
    max-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}



.about-resa .logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
	gap:32px;
}

.about-resa .logos img {    
    height: auto;
	max-width:100%;
	width:100%;
}


/*About page */
.banner-section {
    position: relative;
    height: 272px; /* Fixed height as per requirement */
}

.banner-content {
    position: relative;
    height: 100%;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the section without distortion */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with opacity */
}

.text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff; /* White text for contrast on black overlay */
}

.text-content h1 {
     font-size: 3rem;
    font-weight: 600;
}
}

.text-content p {
    font-size: 1.2rem;
}

.responsibilities-section {
    background: url('../assets/background-pattern.jpg') no-repeat center center;
    background-size: cover;
    padding: 50px 0;
	position: relative;
	z-index:-1;
}
.styled-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #171A1C; /* Black text color */
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}


.styled-title::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Adjusts the distance of the underline from the text */
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #333 80%, #FFC107 50%);
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.image-wrapper img {
    border-radius: 8px;
}

.yellow-corner {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 140px;
    height: 140px;
    background-color: #FFC107; /* Yellow color */
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.mission-statement .yellow-corner{
	Right:-10px;
	rotate: 90deg;
	Left:inherit;
}

.responsibilities-section h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
	
}

.responsibilities-list {
    list-style-type: none;
    padding-left: 0;
}

.responsibilities-list li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
	padding-left:20px;
}

.responsibilities-list li::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0px;
    width: 6px;
    height: 6px;
    background-color: #FFC107; /* Yellow color */
    border-radius: 50%;
}
/* events */
.news-events aside .styled-title {
    font-size: 1.25rem;
}
.sidebar {
    width: 25%;
}
.news-events aside li {
    border-bottom: 1px solid #F0F0F0;
    padding: 4px 8px;
}
.news-events aside li a {
    font-size: 14px;
    color: #333333;
}
.news-list {
    width: 75%;
}

/* News Item */
.news-item img {
    width: 100%;
}
.news-content {
    padding: 10px;
}
/* News Article Styles */
.news-card {
  border: 1px solid #ddd; /* Add a border similar to the screenshot */
}

.news-card .position-relative {
    position: relative !important; /* Ensure positioning context */
}

.news-card .event-date {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    z-index: 10; /* Ensure it's above the image */
    display: inline-flex;
    align-items: center;
	gap:8px;
}
img.featured-news {
    width: 100%;
    object-fit: cover;
}
.event-date svg {
    width: 16px;
}
.news-card .event-date i {
    margin-right: 5px; /* Space between icon and text */
}

.news-card .card-img {
    object-fit: cover;
    height: 100%; /* Make image fill container */
}

.news-card .card-body {    
    flex-direction: column;
    justify-content: space-between; /* push read more to bottom */
    height: 100%;
}

.news-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.news-card .card-text {
    font-size: 0.9rem;
}

.news-card .badge {
    margin-right: 0.3rem;
}

.news-card .read-more {
    color: #530B25; /*  Griffin RESA theme color */
    text-decoration: none;
	display: inline-flex;
	align-items:center;
	background: transparent;
    border: 1px solid #530B25;
	margin-top: 1rem;
}


.news-card  .read-more .icon {
	display:inline-flex;
	align-items:center;
}
a.page-link {
    color: #530B25 !important;
}


/* Footer */

.site-footer {
  background-image: url('../assets/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 3rem 0 0 0;
}
.text-gold {
    color: var(--gold);
}
.site-footer h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #FFD700;
}

.site-footer a {
    color: #fff;
}

.site-footer .social-links a {
  text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer .social-links a:hover {
    color: #530B25 !important;
}

.fa-x-twitter {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.icon-circle .fa-x-twitter {
    position: relative;
    top: 1px;
    font-size: 0.9em;
}

.site-footer a:hover {
    color: var(--gold) !important;
}
.site-footer .copyright {
    text-align: center;
    margin-top: 20px;
}
.copyright {
    background: #171A1C;
    padding: 8px;
	font-size: 12px;
	margin-top:3rem !important;
}
#events-container.loading .loader {
    display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  color: #fff;

  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px 40px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);

  z-index: 9999;
}
#events-container .loader{
    display: none;
}
#events-container.loading #events-results{
    display: none;
}
#events-container.loading #event-results{
    display: block;
}

/* Media Queries */
@media (max-width: 768px) {
	 .top-bar .row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
	.logo img {
    height: 80px;;
}
    
    .top-bar .col-md-4 {
        width: auto;
        justify-content: flex-start !important;
        margin-bottom: 0;
    }
    
    .top-bar .col-md-4:first-child {
        display: none;
    }
    
    .top-bar .col-md-4:nth-child(2) {
        text-align: left;
    }
    
    .top-bar .logo {
        text-align: left;
        padding: 10px 0;
    }
    
    .top-bar .logo img {
        max-width: 180px;
    }
    
    .top-bar .col-md-4:last-child {
        justify-content: flex-end !important;
    }
    
    .top-bar .custom-button {
        margin-right: 0;
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .hero-slider .carousel-caption {
        bottom: 20px;
    }

    .hero-slider .carousel-caption h5 {
        font-size: 2rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 1rem;
    }
	.top-bar .logo img {
        max-width: 200px;
    }
    
   {
      .announcement-content {
        padding: 20px;
    }
    
    .announcement-content h3 {
        font-size: 1.2rem;
    }
    .quick-links .row {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
    }

    .quick-links .col-md-2 {
        flex: 0 0 auto;
        width: auto;
    }
    .about-resa .logos {
        flex-direction: column; /* Stack logos vertically */
        align-items: center; /* Center the logos */
    }

    .about-resa .logos img {
        margin-bottom: 20px; /* Add some spacing between the logos */
        max-width: 100%; /* Make sure logos don't overflow */
    }
	.logo-container {
        flex-basis: calc(50% - 20px);
    }
	  .site-footer h4 {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-basis: 100%;
    }
}
