/* ====================================
   ASSOCIATION WEBSITE - MAIN STYLES
   Brand Colors & Modern Design
   ==================================== */

/* 

colors{

3. #980404 – Deep Red (Accent)

Use for important notices, highlights, call-to-action buttons

Strong but not too bright
}


fonts{

n0.1
    <style>
@import url('https://fonts.googleapis.com/css2?family=Tagesschrift&display=swap');
</style>

.tagesschrift-regular {
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
}

n0.4{

.public-sans-<uniquifier> {
  font-family: "Public Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

}


no.2
<style>
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
</style>


.josefin-sans-<uniquifier> {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

no.3
<style>
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
</style>


.exo-2-<uniquifier> {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


} */


/* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
} */

:root {
    --primary: #d41367;
    --secondary: rgb(107, 13, 13);
    --additive: rgb(107, 13, 13);
    /* --highlight: #87BAC3; */
    --light: #D6F4ED;
    --dark: #2a2a2a;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-additive: linear-gradient(135deg, var(--additive) 0%, var(--secondary) 100%);

    --gradient-light: linear-gradient(135deg, var(--highlight) 0%, var(--light) 100%);
    --shadow-sm: 0 2px 8px rgba(71, 52, 114, 0.1);
    --shadow-md: 0 4px 16px rgba(71, 52, 114, 0.15);
    --shadow-lg: 0 8px 32px rgba(71, 52, 114, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====================================
   TOP BAR
   ==================================== */

.top-bar {
    background-color: var(--primary);
    background-size: 200% 100%;
    animation: topBarGradient 8s ease infinite;
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    box-shadow: 0 2px 15px rgba(7, 3, 32, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

@keyframes topBarGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Group left and center together */
.top-bar-left,
.top-bar-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-left a,
.top-bar-center a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    /* backdrop-filter: blur(5px); */
    font-weight: 500;
    font-size: 16px;
    font-family: "Tagesschrift", system-ui;
}

.top-bar-left a i,
.top-bar-center a i {
    font-size: 0.9rem;
    color: var(--white);
    background: none;
}

.top-bar-left a:hover,
.top-bar-center a:hover {
    color: var(--white);
    background: none;
    transform: translateY(-2px);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    /* Push to the far right */
}

.top-bar-address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    background: none;
    font-size: 0.8rem;
    font-family: "Tagesschrift", system-ui;

}

.top-bar-address i {
    color: var(--white);
    font-size: 0.9rem;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.top-bar-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    opacity: 0;
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--highlight);
    color: var(--dark);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(135, 186, 195, 0.4);
    border-color: transparent;
}

.top-bar-social a:hover::before {
    opacity: 0.3;
}

/* Adjust navbar position for top bar */
.navbar {
    top: 48px !important;
}

@media (max-width: 992px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }

    .top-bar-address {
        display: none;
    }

    .top-bar-left,
    .top-bar-center {
        flex: 1 1 auto;
    }

    .top-bar-left a,
    .top-bar-center a {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .top-bar-right {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 8px 0;
        font-size: 0.75rem;
    }

    .top-bar-center {
        display: none;
    }

    .top-bar-left a {
        padding: 4px 10px;
    }

    .top-bar-social a {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .navbar {
        top: 44px !important;
    }
}

/* uganda flag section */

/* ==============================
   UGANDA FLAG – MICRO STRIP
   ============================== */

.uganda-flag-section {
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
}

.uganda-flag-container {
    max-width: 1450px;
    margin: 0 auto;
    height: 20px;
    /* VERY SMALL */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
    /* ribbon look */
    box-shadow: none;
    /* clean strip */
}

/* Flag stripes */
.uganda-flag-stripe {
    flex: 1;
    width: 100%;
}

.uganda-flag-stripe.black {
    background: #000000;
}

.uganda-flag-stripe.yellow {
    background: #FCDC04;
}

.uganda-flag-stripe.red {
    background: #D90000;
}

/* ==============================
   EMBLEM — DISABLED FOR MICRO SIZE
   ============================== */
.uganda-flag-emblem {
    display: none;
}


/* ====================================

ABOUT US =======================*/
/* #history{
 background:
        linear-gradient(rgba(241, 238, 238, 0.4), rgb(169, 163, 163)),
        url("../images/static images/3aboutus.jpeg") no-repeat center center / cover;
        position: relative;
        background-attachment: fixed; 

} */
 /* ==================================
   PARTNER SLIDER
   ==================================== */

.partners-slider-section {
    background: linear-gradient(135deg, var(--light) 0%, #f8f9fa 50%, var(--light) 100%);
    background-size: 200% 100%;
    animation: partnerSectionGradient 12s ease infinite;
    position: relative;
    overflow: hidden;
}

.partners-slider-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
}

@keyframes partnerSectionGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.partners-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 60px;
}

.partners-slider {
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
}

.partner-slide {
    flex: 0 0 auto;
    width: 280px; /* Increased from calc(20% - 20px) */
    min-width: 280px; /* Increased from 160px */
    background: #ffffff; /* Pure white background */
    backdrop-filter: blur(10px);
    padding: 30px 25px; /* Increased padding */
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px; /* Increased from 120px - ADJUST THIS VALUE */
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(71, 52, 114, 0.08);
    position: relative;
    overflow: hidden;
}

.partner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.partner-slide:hover::before {
    transform: scaleX(1);
}

.partner-slide:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(71, 52, 114, 0.15);
    background: #ffffff;
    border-color: rgba(71, 52, 114, 0.2);
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo {
    max-width: 100%; /* Logos will scale to full width */
    width: 220px; /* Set fixed width - ADJUST THIS VALUE */
    height: auto; /* Maintains aspect ratio */
    max-height: 140px; /* Maximum height - ADJUST THIS VALUE */
    object-fit: contain;
    filter: grayscale(0%) brightness(1); /* Removed grayscale, full color */
    opacity: 1; /* Full opacity */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: multiply; /* Removes white backgrounds from logos */
}

.partner-slide:hover .partner-logo {
    filter: grayscale(0%) brightness(1.05);
    opacity: 1;
    transform: scale(1.05);
}

.partner-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff9800;
    /* backdrop-filter: blur(10px); */
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(71, 52, 114, 0.3);
}

.partner-slider-btn:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(71, 52, 114, 0.4);
}

.partner-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.partner-slider-prev {
    left: 5px;
}

.partner-slider-next {
    right: 5px;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 992px) {
    .partner-slide {
        width: 240px;
        min-width: 240px;
        height: 160px;
    }
    
    .partner-logo {
        width: 180px;
        max-height: 120px;
    }
}

@media (max-width: 768px) {
    .partners-slider-wrapper {
        padding: 15px 50px;
    }

    .partner-slide {
        width: 200px;
        min-width: 200px;
        height: 140px;
        padding: 20px 15px;
    }

    .partner-logo {
        width: 160px;
        max-height: 100px;
    }

    .partner-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partners-slider-wrapper {
        padding: 10px 40px;
    }

    .partner-slide {
        width: 180px;
        min-width: 180px;
        height: 120px;
    }

    .partner-logo {
        width: 140px;
        max-height: 80px;
    }

    .partner-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* ====================================
   HERO SLIDER SECTION WITH PARALLAX
   ==================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: var(--dark);
    perspective: 1000px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    opacity: 0;
    transform: scale(1.1) translateZ(-50px);
    transition: opacity 1s ease, transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    z-index: 2;
}

/* Parallax Image Container with Zoom Animation */
.hero-slide img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: -5%;
    left: -5%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Active slide image animation - zoom from front to back */
.hero-slide.active img {
    animation: zoomInOut 5s ease-in-out infinite;
}

@keyframes zoomInOut {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    50% {
        transform: translate(0, 0) scale(1.25);
    }

    100% {
        transform: translate(0, 0) scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(71, 52, 114, 0.3) 0%, rgba(83, 98, 158, 0.2) 100%); */
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 4;
    width: 90%;
    max-width: 800px;
    padding: 8px 20px;
    /* backdrop-filter: blur(8px); */
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    opacity: 0;
    transform: translateX(100px);
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.3),
        4px 4px 8px rgba(0, 0, 0, 0.2),
        6px 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease-out, text-shadow 0.1s ease-out;
    will-change: transform, text-shadow;
    animation: slideInRight 1s ease forwards;
}

.hero-content p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(100px);
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.3),
        4px 4px 8px rgba(0, 0, 0, 0.2),
        6px 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease-out, text-shadow 0.1s ease-out;
    will-change: transform, text-shadow;
    animation: slideInRight 1.2s ease 0.2s forwards;
}

.hero-cta {
    display: inline-block;
    padding: 12px 35px;
    background: var(--highlight);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(135, 186, 195, 0.4);
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 1.4s ease 0.4s forwards;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(135, 186, 195, 0.6);
    background: #6dd4c4;
    color: var(--white);
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.slider-indicator.active {
    background: var(--highlight);
    transform: scale(1.3);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 5;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }

    .hero-slide {
        height: 60vh;
    }

    .slider-controls {
        padding: 0 15px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ====================================
  /* ==================================== 
   NAVIGATION
   ==================================== */

.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 700;
    padding: 8px 16px !important;
    margin: 0 5px;
    transition: var(--transition);
    position: relative;
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--highlight);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary) !important;
}

/* Dropdown Hover Functionality - Remove gap and enable smooth hovering */
.navbar-nav .nav-item.dropdown {
    position: relative;
}

.navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 0;
    padding: 10px 0;
    margin-top: 0 !important;
    top: 100%;
    left: 0;
    background: var(--primary) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    position: absolute;
    min-width: 220px;
}

/* Bridge the gap between nav link and dropdown */
.navbar-nav .nav-item.dropdown::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* Dropdown Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 12px 20px;
    transition: all 0.3s ease;
    color: var(--white) !important;
    font-weight: 500;
    display: block;
    width: 100%;
    text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--white) !important;
    padding-left: 25px;
    transform: translateX(2px);
}

.dropdown-item:active {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Dropdown Arrow Color Change on Hover */
.nav-item.dropdown:hover .nav-link {
    color: var(--secondary) !important;
}

.nav-item.dropdown:hover .dropdown-arrow {
    color: var(--secondary);
}
/* ====================================
   SECTIONS
   ==================================== */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 50px;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Buttons */
.btn-primary {
    background: var(--additive);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.btn-nav{
    background: var(--additive);
    border: none;
    width: 120%;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: var(--white);
}


.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ====================================
   FAQ ACCORDION
   ==================================== */

.accordion {
    --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-item {
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 15px;
    border: none !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    border: none;
    border-radius: 12px !important;
    transition: var(--transition);
    cursor: pointer;
    gap: 12px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 20px 24px;
    background: var(--white);
    line-height: 1.7;
    color: #555;
}

.accordion-collapse {
    transition: height 0.35s ease;
}

/* FAQ Section specific styling */
#contactFAQ .accordion-item {
    border-radius: 12px !important;
}

#contactFAQ .accordion-button {
    font-size: 0.95rem;
}

#contactFAQ .accordion-body {
    font-size: 0.9rem;
}

/* ====================================
   FOOTER
   ==================================== */

footer {
    background: #21272B;
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    animation: waveAnimation 15s ease-in-out infinite;
}

@keyframes waveAnimation {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-50px);
    }
}

.footer-content {
    position: relative;
    z-index: 1;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    color: var(--highlight);
    padding-left: 5px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--highlight);
    color: var(--dark);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background: var(--highlight);
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #6dd4c4;
    transform: scale(1.05);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 768px) {
    .hero-content {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .slider-controls {
        display: none;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ====================================
   PAGE HEADERS
   ==================================== */

.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 0;
    margin-top: 76px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ====================================
   VIDEO GALLERY
   ==================================== */

.video-gallery-section {
    background: linear-gradient(135deg, #D6F4ED 0%, #ffffff 100%);
}

.video-card {
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    background: var(--light);
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(71, 52, 114, 0.4);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(71, 52, 114, 0.5);
}

.video-placeholder {
    height: 200px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.6;
}



/* LATEST NEWS SECTION */
.py-5 {
    padding: 4rem 0;
    /* background:
        linear-gradient(rgba(241, 238, 238, 0.4), rgb(169, 163, 163)),
        url("../images/static images/3aboutus.jpeg") no-repeat center center / cover;
        position: relative;
        background-attachment: fixed; */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* News Carousel Container */
.news-carousel-wrapper {
    position: relative;
    padding: 2rem 0;
}

.news-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.news-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* News Card */
.news-card {
    min-width: 350px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-date i {
    color: #f39c12;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Read More Button */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: #f39c12;
    border: 2px solid #f39c12;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-read-more:hover {
    background: #f39c12;
    color: #fff;
    transform: translateX(5px);
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f39c12;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    background: #e67e22;
}

.carousel-arrow-left {
    left: -25px;
}

.carousel-arrow-right {
    right: -25px;
}

.carousel-arrow i {
    color: #fff;
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-card {
        min-width: 300px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow-left {
        left: 10px;
    }

    .carousel-arrow-right {
        right: 10px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Yellow "UPDATES" badge */
.updates-badge {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}


/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot:hover {
    background: #f39c12;
    transform: scale(1.2);
}

.indicator-dot.active {
    background: #f39c12;
    width: 30px;
    border-radius: 6px;
}

/* Smooth transition for carousel */
.news-carousel {
    scroll-snap-type: x mandatory;
}

.news-card {
    scroll-snap-align: start;
}

/* ====================================
   GALLERY ITEMS & LIGHTBOX
   ==================================== */

.gallery-item {
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item .card {
    overflow: hidden;
    border-radius: 16px;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
#lightboxModal .modal-content {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

#lightboxModal .modal-body {
    padding: 20px;
}

#lightboxModal img {
    max-height: 80vh;
    width: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Gallery Filter Tabs */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.gallery-filters .btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.gallery-filters .btn-outline-primary {
    border-width: 2px;
}

.gallery-filters .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ====================================
   FORM STYLING
   ==================================== */

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(71, 52, 114, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(71, 52, 114, 0.1);
}

/* ====================================
   DROPDOWN MENU ENHANCEMENTS
   ==================================== */

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    padding: 12px;
    margin-top: 15px;
    animation: dropdownFadeIn 0.3s ease;
    min-width: 220px;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    color: var(--secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--light) 0%, rgba(135, 186, 195, 0.2) 100%);
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-item:hover i {
    color: var(--primary);
}

.dropdown-divider {
    margin: 8px 0;
    border-color: #e9ecef;
}

/* Dropdown Toggle Arrow */
.navbar-nav .dropdown-toggle::after {
    display: none;
}

.dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.dropdown-toggle.show .dropdown-arrow,
.dropdown-toggle:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* ====================================
   CONTACT CARDS
   ==================================== */

.contact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.contact-card h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    margin-bottom: 0;
}

/* ====================================
   SOCIAL MEDIA BUTTONS
   ==================================== */

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    border: none;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.social-btn.twitter {
    background: #1da1f2;
    color: var(--white);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.social-btn.youtube {
    background: #ff0000;
    color: var(--white);
}

.social-btn.linkedin {
    background: #0077b5;
    color: var(--white);
}

/* ====================================
   BADGE STYLES
   ==================================== */

.badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.8rem;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
}

/* ====================================
   ALERT STYLES
   ==================================== */

.alert {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: linear-gradient(135deg, rgba(214, 244, 237, 0.8) 0%, rgba(135, 186, 195, 0.3) 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(248, 215, 218, 0.8) 0%, rgba(220, 53, 69, 0.2) 100%);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 243, 205, 0.8) 0%, rgba(255, 193, 7, 0.2) 100%);
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, rgba(209, 236, 241, 0.8) 0%, rgba(23, 162, 184, 0.2) 100%);
    color: #0c5460;
}

/* ====================================
   TABLE STYLES
   ==================================== */

.table {
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px;
    font-weight: 600;
    border: none;
}

.table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-color: #e9ecef;
}

.table tbody tr:hover {
    background: rgba(71, 52, 114, 0.03);
}

/* ====================================
   LOADING & ANIMATIONS
   ==================================== */

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-light {
    background: var(--gradient-light);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.rounded-xl {
    border-radius: 16px !important;
}

.rounded-2xl {
    border-radius: 24px !important;
}

/* ====================================/* ====================================
   TESTIMONIALS PAGE - MODERN STYLES
   ==================================== */
/* Modern Testimonial Layout */
.testimonial-slider-modern {
    position: relative;
    padding: 2rem 4rem;
}

.testimonial-container-modern {
    position: relative;
    min-height: 350px;
}

.testimonial-slide-modern {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.testimonial-slide-modern.active {
    display: block;
    opacity: 1;
    animation: slideIn 0.6s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Card Wrapper */
.testimonial-card-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Image Section */
.testimonial-image-section {
    flex-shrink: 0;
}

.testimonial-profile-image {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    background: #f0f0f0;
}

.testimonial-profile-placeholder {
    width: 280px;
    height: 350px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-profile-placeholder i {
    font-size: 6rem;
    color: #007bff;
    opacity: 0.3;
}

/* Text Section */
.testimonial-text-section {
    flex: 1;
    padding: 1rem 2rem;
}

.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    text-align: left;
}

.testimonial-attribution {
    margin-top: 1.5rem;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.testimonial-title {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff9800;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    z-index: 10;
}

.nav-arrow:hover {
    background: #f57c00;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.6);
}

.nav-arrow-left {
    left: 0;
}

.nav-arrow-right {
    right: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .testimonial-card-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .testimonial-profile-image,
    .testimonial-profile-placeholder {
        width: 240px;
        height: 300px;
    }

    .testimonial-text-section {
        padding: 0 1rem;
    }

    .testimonial-quote {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .testimonial-slider-modern {
        padding: 1rem 3rem;
    }

    .testimonial-profile-image,
    .testimonial-profile-placeholder {
        width: 200px;
        height: 260px;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .testimonial-slider-modern {
        padding: 1rem 2.5rem;
    }

    .testimonial-card-wrapper {
        padding: 1.5rem;
    }

    .testimonial-profile-image,
    .testimonial-profile-placeholder {
        width: 180px;
        height: 240px;
    }
}

/* ====================================
   TEAM PAGE - MODERN STYLES
   ==================================== */

/* Team Card Container */
.col-lg-3.col-md-4.col-sm-6 .card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 0 !important;
}

/* Animated top border */
.col-lg-3.col-md-4.col-sm-6 .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #6610f2);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.col-lg-3.col-md-4.col-sm-6 .card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.col-lg-3.col-md-4.col-sm-6 .card:hover::before {
    transform: scaleX(1);
}

/* Team Card Image */
.col-lg-3.col-md-4.col-sm-6 .card-img-top,
.col-lg-3.col-md-4.col-sm-6 .card>div[style*="height: 300px"] {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    position: relative;
}

.col-lg-3.col-md-4.col-sm-6 .card:hover .card-img-top,
.col-lg-3.col-md-4.col-sm-6 .card:hover>div[style*="height: 300px"] {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* Image overlay effect */
.col-lg-3.col-md-4.col-sm-6 .card-img-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.col-lg-3.col-md-4.col-sm-6 .card:hover .card-img-top::after {
    opacity: 1;
}

/* Team Card Body */
.col-lg-3.col-md-4.col-sm-6 .card-body {
    background: linear-gradient(to bottom, #ffffff, rgba(248, 249, 250, 0.5));
}

/* Team Member Name */
.col-lg-3.col-md-4.col-sm-6 .card-title {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.col-lg-3.col-md-4.col-sm-6 .card-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #6610f2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.col-lg-3.col-md-4.col-sm-6 .card:hover .card-title::after {
    transform: translateX(-50%) scaleX(1);
}

/* Position text */
.col-lg-3.col-md-4.col-sm-6 .text-primary.fw-bold {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.col-lg-3.col-md-4.col-sm-6 .card:hover .text-primary.fw-bold {
    opacity: 1;
}

/* Social Buttons */
.col-lg-3.col-md-4.col-sm-6 .btn-outline-primary {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.col-lg-3.col-md-4.col-sm-6 .btn-outline-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #007bff, #6610f2);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 50%;
}

.col-lg-3.col-md-4.col-sm-6 .btn-outline-primary i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.col-lg-3.col-md-4.col-sm-6 .btn-outline-primary:hover {
    transform: translateY(-4px) scale(1.15);
    box-shadow: 0 8px 12px rgba(0, 123, 255, 0.3);
    border-color: transparent;
}

.col-lg-3.col-md-4.col-sm-6 .btn-outline-primary:hover::before {
    transform: scale(1);
}

.col-lg-3.col-md-4.col-sm-6 .btn-outline-primary:hover i {
    color: #ffffff !important;
    transform: rotate(360deg);
}

/* Stagger animation for multiple buttons */
.col-lg-3.col-md-4.col-sm-6 .btn-outline-primary:nth-child(1) {
    transition-delay: 0s;
}

.col-lg-3.col-md-4.col-sm-6 .btn-outline-primary:nth-child(2) {
    transition-delay: 0.05s;
}

/* ====================================
   LOADING ANIMATIONS
   ==================================== */

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply fade-in animation to all cards */
.col-lg-4.col-md-6 .card,
.col-lg-3.col-md-4.col-sm-6 .card {
    animation: cardFadeIn 0.6s ease-out backwards;
}

/* Stagger the animations */
.col-lg-4.col-md-6:nth-child(1) .card,
.col-lg-3.col-md-4.col-sm-6:nth-child(1) .card {
    animation-delay: 0.1s;
}

.col-lg-4.col-md-6:nth-child(2) .card,
.col-lg-3.col-md-4.col-sm-6:nth-child(2) .card {
    animation-delay: 0.2s;
}

.col-lg-4.col-md-6:nth-child(3) .card,
.col-lg-3.col-md-4.col-sm-6:nth-child(3) .card {
    animation-delay: 0.3s;
}

.col-lg-4.col-md-6:nth-child(4) .card,
.col-lg-3.col-md-4.col-sm-6:nth-child(4) .card {
    animation-delay: 0.4s;
}

.col-lg-4.col-md-6:nth-child(5) .card,
.col-lg-3.col-md-4.col-sm-6:nth-child(5) .card {
    animation-delay: 0.5s;
}

.col-lg-4.col-md-6:nth-child(6) .card,
.col-lg-3.col-md-4.col-sm-6:nth-child(6) .card {
    animation-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .col-lg-4.col-md-6 .card:hover,
    .col-lg-3.col-md-4.col-sm-6 .card:hover {
        transform: translateY(-8px);
    }
}

/* ====================================
   STATS COUNTER
   ==================================== */

.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

/* ====================================
   RESPONSIVE ADDITIONS
   ==================================== */

@media (max-width: 991px) {
    .page-header {
        margin-top: 56px;
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .dropdown-menu {
        border-radius: 10px;
        margin-top: 5px;
        box-shadow: none;
        background: #f8f9fa;
    }

    .dropdown-item {
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .team-card-img {
        height: 220px;
    }

    .video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .gallery-filters {
        gap: 5px;
    }

    .gallery-filters .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}