 /* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

       
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Hero section */
        .hero-section {
            padding: 100px 0;
            border-bottom: 1px solid #e3e4e6;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 56px;
            align-items: flex-start;
        }

        .hero-title {
            font-size: 80px;
            font-weight: 800;
            color: #1d4463;
            letter-spacing: -4.8px;
            line-height: 1.3;
        }

        .hero-description {
            font-size: 20px;
            font-weight: 400;
            color: #1d4463;
            letter-spacing: -0.4px;
            line-height: 1.5;
        }

        /* Main content section */
        .main-content {
            padding-top: 45px;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 87px;
            align-items: flex-start;
        }

        /* President section */
        .president-section {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .president-image-container {
            position: relative;
            width: 100%;
            aspect-ratio: 1;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-radius: 8px;
            overflow: hidden;
        }

        .president-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
        }

        .president-info h3 {
            font-size: 32px;
            font-weight: 700;
            color: #1d4463;
            letter-spacing: -1.28px;
            line-height: 1.5;
            margin-bottom: 8px;
        }

        .president-info p {
            font-size: 18px;
            font-weight: 400;
            color: #7c7c80;
            letter-spacing: -0.36px;
            line-height: 1.5;
        }

        /* Organization info */
        .organization-info {
            display: flex;
            flex-direction: column;
            gap: 60px;
        }

        .organization-info h2 {
            font-size: 60px;
            font-weight: 700;
            color: #1d4463;
            letter-spacing: -2.4px;
            line-height: 1.3;
        }

        .organization-details {
            padding-left: 40px;
            border-left: 1px solid #e3e4e6;
        }

        .organization-details p {
            font-size: 22px;
            font-weight: 400;
            color: #1d4463;
            letter-spacing: -0.36px;
            line-height: 1.5;
            margin-bottom: 24px;
            text-align: justify;
        }

        /* Team sections */
        .team-section {
            padding: 68px 0 0;
        }

        .team-section h3 {
            font-size: 32px;
            font-weight: 700;
            color: #1d4463;
            letter-spacing: -1.28px;
            line-height: 1.5;
            margin-bottom: 21px;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 32px;
            margin-bottom: 32px;
        }

        .team-card {
            background: #ffffff;
            border: 1px solid #e3e4e6;
            border-radius: 4px;
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 32px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .team-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        }

        .team-member-image {
            width: 122px;
            height: 118px;
            object-fit: cover;
            border-radius: 4px;
            flex-shrink: 0;
        }

        .team-member-info {
            flex: 1;
        }

        .team-member-role {
            font-size: 16px;
            font-weight: 300;
            color: #7c7c80;
            letter-spacing: -0.32px;
            line-height: 1.4;
            margin-bottom: 20px;
        }

        .team-member-name {
            font-size: 24px;
            font-weight: 700;
            color: #181819;
            letter-spacing: -0.48px;
            line-height: 1.5;
        }

        /* Former leadership section */
        .former-leadership {
            padding: 32px 0;
            margin-top: 20px;
        }

        .former-leadership h2 {
            font-size: 60px;
            font-weight: 700;
            color: #1d4463;
            letter-spacing: -2.4px;
            line-height: 1.3;
            text-align: center;
            margin-bottom: 44px;
        }

        .former-leadership-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
        }

        .former-member-card {
            background: #ffffff;
            border: 1px solid #e3e4e6;
            border-right: none;
            border-bottom: none;
            padding: 40px;
            text-align: center;
            transition: background-color 0.3s ease;
        }

        .former-member-card:nth-child(4n) {
            border-right: 1px solid #e3e4e6;
        }

        .former-member-card:nth-last-child(-n+3) {
            border-bottom: 1px solid #e3e4e6;
        }

        .former-member-card:hover {
            background-color: #f8f9fa;
        }

        .former-member-image {
            width: 175px;
            height: 175px;
            
            border-radius: 4px;
            margin-bottom: 16px;
        }

        .awards-image {
            width: 100%;
            height: 350px;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 16px;
        }

        .former-member-years {
            font-size: 16px;
            font-weight: 300;
            color: #7c7c80;
            letter-spacing: -0.32px;
            line-height: 1.4;
            margin-bottom: 20px;
        }

        .former-member-name {
            font-size: 17px;
            font-weight: 700;
            color: #181819;
            
            line-height: 1.4;
        }

        .former-member-name small {
            font-weight: 100;
        }

        /* Mobile Responsive Styles */
        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }

            /* Mobile navigation */
            .mobile-menu-btn {
                display: block;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 20px;
                border-bottom: 1px solid #e3e4e6;
                gap: 20px;
            }

            .nav-links.active {
                display: flex;
            }

            /* Hero section mobile */
            .hero-section {
                padding: 60px 0;
            }

            .hero-content {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .hero-title {
                font-size: 48px;
                letter-spacing: -2.4px;
            }

            .hero-description {
                font-size: 18px;
            }

            /* Main content mobile */
            .main-content {
                padding: 60px 0;
            }

            .content-grid {
                grid-template-columns: 1fr;
                gap: 60px;
            }

            /* President section mobile */
            .president-section {
                order: 1;
            }

            .organization-info {
                order: 1;
                gap: 40px;
            }

            .organization-info h2 {
                font-size: 36px;
                letter-spacing: -1.8px;
            }

            .organization-details {
                padding-left: 20px;
            }

            .president-info h3 {
                font-size: 24px;
                letter-spacing: -0.96px;
            }

            /* Team section mobile */
            .team-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .team-card {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }

            .team-member-image {
                width: 100px;
                height: 100px;
            }

            .team-section h3 {
                font-size: 24px;
                letter-spacing: -0.96px;
            }

            /* Former leadership mobile */
            .former-leadership {
                margin-top: 60px;
            }

            .former-leadership h2 {
                font-size: 36px;
                letter-spacing: -1.8px;
                margin-bottom: 32px;
            }

            .former-leadership-grid {
                grid-template-columns: 1fr;
            }

            .former-member-card {
                border-right: 1px solid #e3e4e6;
                border-bottom: 1px solid #e3e4e6;
                padding: 30px 20px;
            }

            .former-member-image {
                height: 200px;
            }

            .former-member-name {
                font-size: 24px;
                letter-spacing: -0.96px;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 36px;
            }

            .organization-info h2 {
                font-size: 28px;
            }

            .former-leadership h2 {
                font-size: 28px;
            }

            .team-grid {
                grid-template-columns: 1fr;
            }

            .former-leadership-grid {
                grid-template-columns: 1fr;
            }

            .former-member-card {
                padding: 20px 16px;
            }
        }

        /* Utility classes */
        .hidden {
            display: none;
        }

        /* Loading placeholder styles */
        .placeholder-image {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        .page-featured-image-container {
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 50px;
    overflow: hidden; /* Ensures video stays contained */
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Optional overlay */
    z-index: 1;
}

/* Fallback if video doesn't load */
.no-video .page-featured-image-container {
    background-size: cover;
    background-position: center;
}


/* Add these styles to your existing CSS */
.text-carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    text-align: center;
    color: white;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.5); /* Optional background for better readability */
    display:contents;
}

.carousel-item {
    position: absolute;
    width: 50%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    padding: 20px;
    
    border-radius: 8px;
    color: white;
    text-shadow:0px 2px 3px #000;
    z-index: 2;

    background-color: rgba(255, 255, 255, 0.1); /* Slight white tint */
    backdrop-filter: blur(10px); /* The blur intensity */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.carousel-item.active {
    opacity: 1;
}

.carousel-title {
    font-size: 4.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.carousel-content {
    font-size: 1.5rem;
    line-height: 1.6;
}

   .hero-description {
    border: 2px solid #1d44632e;
    padding: 25px;
    border-radius: 13px;
    }

    .hero-description span{

    font-weight: 700;
    font-size: 36pt;
    background: #fff;
    padding: 0 9px 0 9px;
    color: #1d4463;
    }

.blurred-bg {
  background-image: url('assets/img/bg1.png');
  background-size: cover;
  position: relative;
}

    @media (max-width: 1024px) {
        .carousel-title {font-size: 1.5rem;}
        .carousel-content {font-size: 0.9rem;}
        .carousel-item {width: 95%;}
    }
        @media (max-width: 540px) {
        .carousel-title {font-size: 1.5rem;}
        .carousel-content {font-size: 0.9rem;}
        .carousel-item {width: 95%;}
    }
            @media (max-width: 720px) {
        .carousel-title {font-size: 1.5rem;}
        .carousel-content {font-size: 0.9rem;}
        .carousel-item {width: 95%;}
    }
                @media (max-width: 882px) {
        .carousel-title {font-size: 1.5rem;}
        .carousel-content {font-size: 0.9rem;}
        .carousel-item {width: 95%;}
    }