/* Uniform sizing for silver sponsor images in guidelines.html */
/* Silver sponsor logos: larger, but always smaller than gold, and responsive */
.sponsor-silver-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 991.98px) {
  .sponsor-silver-img {
    max-width: 260px;
    max-height: 130px;
  }
}
@media (max-width: 575.98px) {
  .sponsor-silver-img {
    max-width: 160px;
    max-height: 80px;
  }
}
/* Ensure second gold sponsor logo matches first in guidelines.html */
.ad-placeholder.sponsor-gold img[alt="Pushyami Collections Logo"] {
    max-height: 180px;
    width: auto;
}
/* --- Center mobile header menu, logo, and burger menu --- */
@media (max-width: 991.98px) {
  .navbar .container-fluid.p-0 {
   max-width: 240px;
   max-height: 110px;
   width: auto;
   height: auto;
   margin-bottom: 8px;
   object-fit: contain;
   display: block;
    transform: none;
    z-index: 1100;
    display: flex;
    align-items: center;
       max-width: 100px;
       max-height: 44px;
    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: 100%;
    max-height: 140px;
    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;
}

@media (min-width: 1200px) {
  .ad-placeholder {
    height: 180px;
  }
  .ad-placeholder img {
    max-height: 160px;
    max-width: 95%;
  }
}
/* 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,
.ad-placeholder.sponsor-gold,
.ad-placeholder.sponsor-silver {
    position: relative;
}
.ad-placeholder.sponsor-diamond {
    background: #fffbe6;
}
.ad-placeholder.sponsor-gold {
    background: #fffbe6;
    height: 320px;
    padding: 3.2rem 2.2rem;
}
.ad-placeholder.sponsor-silver {
    background: #f8f9fa;
    min-height: 150px;
}
.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: 200px; padding: 1.8rem; }
    .ad-placeholder img {
        max-width: 95%;
        max-height: 120px;
    }
}
@media (max-width: 575.98px) {
    .sponsor-card { min-height: 200px; padding: 0.7rem; }
    .ad-placeholder { height: 100px; padding: 0.7rem; }
    .ad-placeholder.sponsor-gold { height: 120px; padding: 0.7rem; }
    .sponsor-badge { font-size: 0.8rem; padding: 0.2em 0.7em; }
    .ad-placeholder img {
        max-width: 98%;
        max-height: 70px;
    }
    .sponsor-gold img {
        width: 140px !important;
        height: 48px !important;
        max-width: 90vw !important;
        max-height: 48px !important;
        object-fit: contain !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}
/* --- 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;
    }
}

/* 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 */
}

/* Font-display swap overrides for icon fonts */
@font-face {
  font-family: 'FontAwesome';
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/webfonts/fa-solid-900.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/webfonts/fa-solid-900.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'FontAwesome Brands';
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/webfonts/fa-brands-400.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/webfonts/fa-brands-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'bootstrap-icons';
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/fonts/bootstrap-icons.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/fonts/bootstrap-icons.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.tab-pane.fade {
  height: 400px;
  overflow-y: auto;
}
