/* --- Center mobile header menu, logo, and burger menu --- */
@media (max-width: 991.98px) {
  .navbar .container-fluid.p-0 {
    flex-wrap: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
    min-height: 56px;
  }
  .navbar-brand {
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    left: auto;
    transform: none;
    z-index: 1100;
    display: flex;
    align-items: center;
  }
  .navbar-toggler {
    position: relative;
    right: 0;
    left: auto;
    margin: 0 !important;
    z-index: 1101;
  }
}
@media (max-width: 767.98px) {
  .navbar-nav.d-lg-none.text-center.mt-3 {
    text-align: center !important;
    margin-top: 1.5rem !important;
  }
}
/* --- Fix burger menu alignment on mobile --- */
@media (max-width: 991.98px) {
  .navbar .container-fluid.p-0 {
    flex-wrap: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .navbar-toggler {
    margin-left: auto !important;
    margin-right: 0 !important;
    order: 2;
    z-index: 1101;
  }
  .navbar-brand {
    order: 1;
    min-width: 0;
    flex-shrink: 1;
  }
}
/* --- Stronger About section mobile stacking and spacing fix --- */
@media (max-width: 767.98px) {
  .about-video-container {
    margin-bottom: 2.2rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    flex: 0 0 100%;
    order: 1;
  }
  .col-lg-7.text-center.text-lg-start {
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    flex: 0 0 100%;
    order: 2;
  }
  .row.gx-5 {
    flex-direction: column !important;
    gap: 0 !important;
  }
  #about-video-selector {
    margin-bottom: 1.2rem !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .about-video-thumb {
    margin-bottom: 0.5rem;
  }
}
/* --- Fix About Us video thumbnails and Welcome message overlap on mobile --- */
@media (max-width: 767.98px) {
  .about-video-container {
    margin-bottom: 2rem !important;
  }
  #about-video-selector {
    margin-bottom: 1.2rem !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .about-video-thumb {
    margin-bottom: 0.5rem;
  }
  .col-lg-7.text-center.text-lg-start {
    margin-top: 1.5rem !important;
  }
}
/* --- About Section TV Heading & Video Selector Styles --- */
.about-tv-heading {
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 1.6rem;
}
.about-tv-icon {
  font-size: 2.1rem !important;
  vertical-align: -0.2em !important;
}
.about-tv-subheading {
  font-size: 1.05rem;
}
.about-video-inner {
  position: relative !important;
  background: none !important;
}
.about-video-thumb-img {
  width: 56px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}
/* Responsive header logo */
.logo-img-header {
  height: clamp(32px, 7vw, 55px);
  width: auto;
  max-width: 60vw;
  max-height: 55px;
  transition: height 0.2s, max-width 0.2s;
}
@media (max-width: 767.98px) {
  .logo-img-header {
    height: 36px;
    max-width: 48vw;
    max-height: 40px;
  }
}
.header-title-style {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
}
.header-tagline-style {
    font-size: clamp(0.6rem, 2vw, 0.8rem);
}
.topbar-nav-style {
    font-family: 'Oswald', sans-serif;
}
/* Moved from guidelines.html */
.ad-placeholder {
    border: 2px solid transparent; /* Base border, color will be set by tier */
    height: 150px; /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff; /* White background for logos */
    padding: 1rem;
    position: relative; /* For label positioning */
    overflow: hidden; /* To clip the label corner */
    border-radius: .25rem;
}
.ad-placeholder img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    margin-bottom: 18px;
    object-fit: contain;
    display: block;
/* Header and navigation styles */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 1000;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}
.header-logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}
.header-logo img {
  height: 40px;
  width: auto;
  max-width: 120px;
}
.header-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-left: 0.5rem;
  white-space: nowrap;
}
.burger-menu {
  background: none;
  border: none;
  font-size: 2rem;
  color: #222;
  cursor: pointer;
  margin-left: 1rem;
  z-index: 3;
}
.header-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.5rem;
  transition: max-height 0.3s ease;
}
.header-menu a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}
.header-menu a:hover {
  color: #007bff;
}
@media (max-width: 991px) {
  .header-container {
    padding: 0.5rem 0.5rem;
  }
  .header-row {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .header-logo-title {
    justify-content: center;
  }
  .burger-menu {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .header-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 0 0 8px 8px;
    padding-bottom: 1rem;
  }
  .header-menu.active {
    display: flex;
  }
}
@media (max-width: 575px) {
  .header-logo img {
    height: 32px;
    max-width: 90px;
  }
  .header-title {
    font-size: 1rem;
  }
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffc107'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffc107'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-item {
    background-color: #343a40; /* A slightly lighter dark */
    border: 1px solid rgba(0,0,0,.125);
}
.accordion-body {
    color: var(--secondary);
    background-color: #212529; /* bg-dark */
}
/* Moved from index.html */
#video-player-container .video-player-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none; /* Prevent clicks on inactive videos */
}
#video-player-container .video-player-item.active {
    opacity: 1;
    pointer-events: auto; /* Allow clicks on the active video */
}
.logo-img-mobile {
    max-height: 35vh;
    object-fit: contain;
}
.logo-img-desktop {
    max-height: 100vh;
    object-fit: contain;
}
.hero-img-mobile {
    max-height: 100vh;
    object-fit: cover;
}
.hero-img-desktop {
    max-height: 100vh;
    object-fit: cover;
}
.hero-caption-box {
    max-width: 900px;
}
.video-player-bg {
    background-color: #000;
}
.video-cover {
    object-fit: cover;
}
/* --- Responsive Contact Hero Background (Contact Page Only) --- */
.contact-hero-bg {
    background-image: url('../img/Nelson.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 340px;
    padding: 4.5rem 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) {
    .contact-hero-bg {
        min-height: 400px;
        padding: 5.5rem 0;
    }
}
@media (min-width: 1200px) {
    .contact-hero-bg {
        min-height: 480px;
        padding: 7rem 0;
    }
}
/* --- Contact Page Hero Background --- */
.contact-hero-bg {
    background-image: url('../img/hero-background1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* --- Premium Guidelines Redesign --- */
.guidelines-hero-section {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    min-height: 340px;
    position: relative;
    overflow: hidden;
}
.text-gradient {
    background: linear-gradient(90deg, #FB5B21 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.premium-nav-pills .nav-link.active,
.premium-nav-pills .nav-link.active:focus,
.premium-nav-pills .nav-link.active:hover {
    background: linear-gradient(90deg, #FB5B21 0%, #D4AF37 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(251,91,33,0.08);
}
.premium-nav-pills .nav-link {
    color: #FB5B21;
    font-weight: 600;
    border-radius: 2rem;
    transition: background 0.2s, color 0.2s;
}
.premium-tab-content {
    background: #232526;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
}
.premium-accordion .accordion-item,
.premium-accordion-item {
    background: #181818;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #232526;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.premium-accordion .accordion-button {
    background: none;
    color: #FB5B21;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 1rem 1rem 0 0;
    padding: 1.2rem 1.5rem;
}
.premium-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, #FB5B21 0%, #D4AF37 100%);
    color: #fff;
}
.premium-accordion .accordion-body {
    background: #232526;
    color: #fff;
    border-radius: 0 0 1rem 1rem;
    padding: 1.5rem;
}
.premium-sponsor-card {
    background: #232526;
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px rgba(251,91,33,0.10);
    margin-bottom: 2rem;
}
.diamond-gradient {
    background: linear-gradient(90deg, #fffbe6 0%, #D4AF37 100%);
}
.gold-gradient {
    background: linear-gradient(90deg, #fffbe6 0%, #FFC107 100%);
}
.silver-gradient {
    background: linear-gradient(90deg, #f8f9fa 0%, #adb5bd 100%);
}
.premium-sponsor-carousel .ad-placeholder {
    border: 2px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.alert-gradient {
    background: linear-gradient(90deg, #FB5B21 0%, #D4AF37 100%);
    color: #fff;
    border: none;
}
.ad-placeholder.sponsor-gold img[alt="AGSA Consulting Logo"] {
    max-height: 180px;
    width: auto;
}
/* --- Premium Sponsors Section Styles --- */
.sponsors-premium-bg {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    border-radius: 0 0 2rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.badge-premium {
    background: linear-gradient(90deg, #FB5B21 0%, #D4AF37 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 1.5rem;
    padding: 0.5em 1.5em;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px rgba(251,91,33,0.08);
    border: none;
}
.sponsor-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    background: #181818;
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
    position: relative;
    min-height: 340px;
}
.sponsor-card:not(:has(a[href="#"])):hover,
.sponsor-card.sponsor-diamond:hover,
.sponsor-card.sponsor-gold:hover,
.sponsor-card.sponsor-silver:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(251,91,33,0.10);
    z-index: 2;
}
.sponsor-card.sponsor-diamond { border-color: #D4AF37; }
.sponsor-card.sponsor-gold { border-color: #FFC107; }
.sponsor-card.sponsor-silver { border-color: #adb5bd; }
.sponsor-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    z-index: 3;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.3em 1.1em;
    border-radius: 1.2em;
    letter-spacing: 0.07em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.sponsor-badge-diamond { background: linear-gradient(90deg,#D4AF37 60%,#fffbe6 100%); color: #7c6a1c; }
.sponsor-badge-gold { background: linear-gradient(90deg,#FFC107 60%,#fffbe6 100%); color: #7c5c00; }
.sponsor-badge-silver { background: linear-gradient(90deg,#adb5bd 60%,#f8f9fa 100%); color: #495057; }
.ad-placeholder {
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--secondary);
    background: #fff;
    padding: 1.5rem;
    border: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ad-placeholder.sponsor-diamond {
    background: #fffbe6;
}
.ad-placeholder.sponsor-gold {
    background: #fffbe6;
    height: 240px;
    padding: 2.2rem 1.5rem;
}
.ad-placeholder.sponsor-silver {
    background: #f8f9fa;
}
.sponsor-logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(.4,2,.3,1);
}
.sponsor-logo-link:hover {
    transform: none;
}
.ad-placeholder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
    display: block;
    margin: 0 auto;
    transition: max-width 0.2s, max-height 0.2s, width 0.2s, height 0.2s;
}
.ad-icon-diamond {
    font-size: 2.5rem;
    color: #D4AF37;
}
.ad-icon-gold {
    font-size: 2.5rem;
    color: #FFC107;
}
.ad-icon-silver {
    font-size: 2.5rem;
    color: #adb5bd;
}
.text-diamond { color: #D4AF37 !important; }
.text-gold { color: #FFC107 !important; }
.text-silver { color: #adb5bd !important; }
@media (max-width: 991.98px) {
    .sponsor-card { min-height: 280px; padding: 1.2rem; }
    .ad-placeholder { height: 120px; }
    .ad-placeholder.sponsor-gold { height: 150px; padding: 1rem; }
    .ad-placeholder img {
        max-width: 90%;
        max-height: 80px;
    }
}
@media (max-width: 575.98px) {
    .sponsor-card { min-height: 200px; padding: 0.7rem; }
    .ad-placeholder { height: 80px; padding: 0.5rem; }
    .ad-placeholder.sponsor-gold { height: 90px; padding: 0.3rem; }
    .sponsor-badge { font-size: 0.8rem; padding: 0.2em 0.7em; }
    .ad-placeholder img {
        max-width: 85%;
        max-height: 50px;
    }
}
/* --- Gallery Grid and Lightbox Styles (moved from gallery.html) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 0 auto;
    max-width: 1400px;
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
}
.gallery-item {
    background: #181818;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.15s;
}
.gallery-item:hover {
    transform: scale(1.03);
    z-index: 2;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #222;
}

/* Ensure dynamically loaded gallery images are styled correctly */
.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #222;
    border-radius: 0;
}
@media (max-width: 600px) {
  .gallery-img { height: 120px; }

}
.caption {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    padding: 12px 0 8px 0;
    background: none;
    width: 100%;
}
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.2s;
}
.lightbox-modal.active {
    display: flex;
}
#lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    margin-bottom: 18px;
}
.lightbox-caption {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 18px;
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: #ff5252;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 0 18px;
    z-index: 10001;
    user-select: none;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 600px) {
    .gallery-item img { height: 120px; }
    #lightbox-image { max-width: 98vw; max-height: 60vh; }
}
/********** Template CSS **********/
:root {
    --primary: #FB5B21;
    --secondary: #BDBDBF;
    --light: #F4F5F8;
    --dark: #222429;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    margin-right: 30px;
    padding: 40px 0;
    color: var(--light);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 36, 41, .8);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.bg-hero {
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.programe::after {
    position :absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--dark);
    z-index: -1;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-overlay {
    position: absolute;
    top: 50%;
    right: 50%;
    bottom: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 36, 41, .9);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

@media (min-width: 991.98px) {
    .credit {
        background: var(--primary);
    }
}
/* Example: If overlap happens on screens between 992px and 1200px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .col-lg-9 .navbar {
        /* Adjust margins, padding, or even font sizes if necessary */
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    /* Or adjust the logo column */
    .col-lg-3 {
        /* e.g., slightly reduce width or padding if that's the cause */
    }
}

/* Custom Tick Mark List for Guidelines */
.list-tick {
    list-style-type: none;
    padding-left: 0; /* Remove default browser padding for ul */
}

.list-tick li {
    position: relative;
    padding-left: 2em; /* Space for the tick and some gap */
    margin-bottom: 0.6em; /* Spacing between items */
    line-height: 1.6; /* Improve readability */
}

.list-tick li::before {
    content: "✓"; /* Unicode check mark */
    color: var(--primary); /* Use theme's primary color */
    font-weight: bold;
    font-size: 1.2em; /* Slightly larger tick */
    position: absolute;
    left: 0;
    top: 0.1em; /* Fine-tune vertical alignment if needed */
}

/* Ensure nested lists (ul/ol) within a list-tick item retain their default/specified styling */
.list-tick ul {
    padding-left: 2em; /* Reduced indentation for nested ul */
}
.list-tick ol {
    padding-left: 4em !important; /* Reduced indentation for nested ol */
}
/* Adjust padding for LI elements specifically inside a nested OL */
.list-tick ol li {
    padding-left: 0.5em; /* Controls space between number and text. Adjust 0.5em as needed. */
                         /* This overrides the general .list-tick li padding-left: 2em; for these items. */
}
.list-tick ul li::before,
.list-tick ol li::before {
    content: none; /* Remove the custom tick for li inside nested ul/ol */
}

/* Style the markers (numbers) of ordered lists nested within .list-tick */
.list-tick ol li::marker {
    color: var(--primary);
}

/* Ad Placeholder Styling */
.ad-placeholder {
    border: 2px dashed var(--secondary); /* Dashed border to indicate placeholder */
    min-height: 100px; /* Minimum height for visibility */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Styling for Ad Placeholder Icons */
.ad-placeholder i {
    font-size: 3em; /* Adjust size as needed */
    margin-bottom: 0.2em; /* Space between icon and text */
}

.ad-icon-diamond {
    color: var(--light); /* Using light color for diamond */
}

.ad-icon-gold {
    color: var(--primary); /* Using primary color for gold */
}

.ad-icon-silver {
    color: var(--secondary); /* Using secondary color for silver */
}

/* Add this to your css/style.css file */
.custom-hero-1-bg {
    background-image: url('../img/hero-background1.jpg'); /* Adjust path if necessary */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; /* Prevents the image from repeating if it's smaller than the container */
}

.custom-hero-2-bg {
    background-image: url('../img/hero-background1.jpg'); /* Adjust path if necessary */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; /* Prevents the image from repeating if it's smaller than the container */
}

/* --- Sponsors Page Hero Background --- */
/* Removed conflicting hero background. Guidelines hero image now controlled by guidelines-custom.css */
@media (min-width: 768px) {
    .custom-hero-3-bg {
        min-height: 520px;
        padding: 7rem 0;
    }
}
@media (min-width: 1200px) {
    .custom-hero-3-bg {
        min-height: 600px;
        padding: 8.5rem 0;
    }
}

.acknowledgment-section {
    background-color: #111111; /* Match your existing footer background */
    color: var(--secondary);    /* Match your existing footer text color */
    padding: 20px 0;
    font-size: 0.9em;
}

.acknowledgment-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.acknowledgment-flags {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Space below flags on small screens when text wraps */
}

.acknowledgment-flags img {
    height: 30px; /* Adjust as needed */
    width: auto;
    margin: 0 5px;
    border: 1px solid var(--secondary); /* Optional border */
}

.acknowledgment-text {
    text-align: center;
    margin-left: 15px; /* Space between flags and text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .acknowledgment-section {
        padding-top: 15px;
        padding-bottom: 0;
    }
    .acknowledgment-section .container {
        flex-direction: column;
    }
    .acknowledgment-text {
        margin-left: 0;
        margin-top: 10px; /* Space between flags and text when stacked */
    }
}

.custom-carousel-height {
    height: 60vh; /* Default height for mobile. Adjust as needed. */
    overflow: hidden; /* Prevents content spill and can help with rendering consistency. */
  }

  /* Ensure carousel-inner and carousel-item take up the full height of .custom-carousel-height */
  .custom-carousel-height .carousel-inner,
  .custom-carousel-height .carousel-item {
    height: 100%;
  }

  /* Make images within carousel items also take full height of the item */
  /* This allows object-fit (from your inline styles) to work correctly within the defined bounds */
  .custom-carousel-height .carousel-item img, /* Targets direct img tags */
  .custom-carousel-height .carousel-item picture img { /* Targets img tags inside picture elements */
    height: 100%;
    /* width: 100%; is already handled by the w-100 Bootstrap class on your images */
    /* object-fit is correctly handled by your existing inline styles on the images */
  }

  /* Desktop height adjustment */
  @media (min-width: 768px) { /* Bootstrap's md breakpoint */
    .custom-carousel-height {
      height: 100vh; /* Height for desktop. Your images use max-height: 100vh. */
                     /* If 100vh causes scrollbars with browser UI, you might reduce this slightly (e.g., 95vh). */
    }
  }

  /* CSS for About Us Video Carousel Stability */
.about-video-container {
    min-height: 500px; /* Default minimum height for larger screens (lg and up) */
    position: relative; /* Ensures proper positioning for child elements if needed */
  }

  @media (max-width: 991.98px) { /* Targets screens smaller than Bootstrap's lg breakpoint (tablets and mobile phones) */
    .about-video-container {
      min-height: 280px; /* Adjust this value as needed for mobile appearance */
      height: 280px;     /* Set a fixed height on mobile to prevent jumping */
    }
  }

  @media (max-width: 767.98px) { /* Target screens smaller than Bootstrap's 'lg' breakpoint */
    .navbar-brand img {
      max-height: 50px !important; /* Or your preferred smaller height for mobile */
    }
    .navbar-brand .text-start h1 {
      font-size: 1.5rem !important; /* Or your preferred smaller font size for mobile */
    }
  }

  /********** Custom Responsive Header Styles **********/
.header-logo {
    max-height: 60px;
    width: auto;
    margin-right: 0.75rem;
}
.header-title {
    /* Responsive font size for mobile header */
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2rem);
    line-height: 1.2;
}
.header-tagline {
    /* Responsive font size for mobile tagline */
    font-size: clamp(0.65rem, 0.6rem + 0.3vw, 0.7rem);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* On large screens, increase sizes for the desktop header */
@media (min-width: 992px) {
    .navbar-brand .header-logo {
        max-height: 70px;
    }
    .navbar-brand .header-title {
        /* Responsive font size for desktop header, scales with viewport width */
        font-size: clamp(1.8rem, 1rem + 2vw, 2.5rem);
    }
    .navbar-brand .header-tagline {
        font-size: 0.75rem; /* Desktop tagline size is fine */
    }
}

/* --- Header Optimizations --- */
.header-logo {
    height: 50px;
    width: auto;
}

.header-title {
    font-size: 1.75rem; /* Base size for mobile, similar to h3 */
    line-height: 1.2;
}

.header-tagline {
    font-size: 0.7rem;
    line-height: 1;
}

/* For large screens and up (desktops, 992px and wider) */
@media (min-width: 992px) {
    .header-logo {
        height: 70px;
    }
    .header-title {
        font-size: 2.5rem; /* Larger size for desktop, similar to h1 */
    }
    .header-tagline {
        font-size: 0.9rem;
    }
}

/* --- Body Padding for Fixed Navbar --- *//* Add to your css/style.css */
#imageModal .modal-content img {
    box-shadow: 0 0 50px rgba(251, 91, 33, 0.5); /* Initial subtle glow */
    transition: box-shadow 0.3s ease; /* Smooth transition */
}

#imageModal .modal-content img:hover {
    box-shadow: 0 0 100px rgba(251, 91, 33, 0.7); /* More intense glow on hover */
}

/* This adds padding to the top of the body to prevent content
   from being hidden by the fixed navbar. */
   body {
    padding-top: 70px; /* Adjust this value if the mobile navbar height changes */
}

@media (min-width: 992px) {
    body {
        padding-top: 90px; /* Adjust this value if the desktop navbar height changes */
    }
}

/* Gallery Styles */
.gallery-item {
    border: 1px solid #343a40;
    /* Dark border for contrast */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transitions */
    overflow: hidden;
    border-radius: 0.25rem;
  }

  .gallery-item:hover {
    transform: scale(1.05);
    /* Subtle zoom on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    /* More pronounced shadow */
  }

  .gallery-item img {
    transition: opacity 0.3s ease;
  }

  .gallery-item:hover img {
    opacity: 0.8;
    /* Slightly fade the image on hover */
  }
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive columns */
    gap: 15px; /* Space between grid items */
    padding: 15px; /* Add some padding around the grid */
}
.photo-grid .gallery-item {
    cursor: pointer;
    border: 1px solid #343a40; /* Dark border for contrast */
}
