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

body {
    background-color: #f4f4f4;
    color: #fef8f8;
}

/* home.css */

/* Initial state for fade-in elements */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

/* When visible */
.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(248, 248, 248);
    /* Background color */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#top-door,
#bottom-door {
    position: absolute;
    width: 100%;
    height: 50%;
    background-color: rgba(45, 51, 138, 1);
    transition: transform 1s ease-in-out;
}

#top-door {
    top: 0;
    transform: translateY(0);
}

#bottom-door {
    bottom: 0;
    transform: translateY(0);
}

#logo {
    position: absolute;
    z-index: 1000;
    transition: all 1s ease-in-out;
}

#logo.move-to-nav {
    transform: translate(calc(-45.7vw + 1.5rem), calc(-45.7vh + 1.5rem)) scale(0.30);

}

#top-door.open {
    transform: translateY(-100%);
}

#bottom-door.open {
    transform: translateY(100%);
}

#navbar {
    transform: translateX(-100%);
    transition: transform 1s ease-in-out;
}

#navbar.show {
    transform: translateX(0);
}

#home {
    transform: translateX(100%);
    transition: transform 1s ease-in-out;
}

#home.show {
    transform: translateX(0);
}

#rotating-path {
    animation: rotatePath 5s linear infinite;
    transform-origin: 257px 256px;
    /* Adjust based on your SVG viewBox */
}

@keyframes rotatePath {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Path slide-in animation */
#sliding-path {
    stroke: rgb(244, 244, 244);
    stroke-width: 2;
    fill: none;

    /* Initial state for the slide-in effect */
    stroke-dasharray: 700;
    /* Total length of the path */
    stroke-dashoffset: 400;
    /* Fully hidden (offset matches dasharray) */

    /* Animation */
    animation: slideIn 5s ease-out forwards;
}

@keyframes slideIn {
    to {
        stroke-dashoffset: 0;
        /* Fully visible */
    }
}

/* Progress bar container */
.progress-container {
    width: 200px;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-top: 350px;
}

/* The actual progress bar */
.progress-bar {
    width: 0;
    height: 100%;
    background-color: #1a237e;
    border-radius: 15px;
    transition: width 2s ease-in-out;
    /* Smooth width transition */
    position: absolute;
    top: 0;
    left: 0;
}

/* Animation for the progress bar fade out and slide out */
@keyframes fadeOutSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-100%);
        /* Slide out upwards */
    }
}

/* Apply the animation to the progress bar after it completes */
.progress-bar.complete {
    animation: fadeOutSlideOut 1s forwards 1s;
    /* Slide out and fade out after 5s */
}

/* ========== DEFAULT PRELOADER (DESKTOP) ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(248, 248, 248);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Desktop-specific elements */
#top-door,
#bottom-door {
    position: absolute;
    width: 100%;
    height: 50vh;
    background-color: rgba(45, 51, 138, 1);
    transition: transform 1s ease-in-out;
}

#top-door {
    top: 0;
}

#bottom-door {
    bottom: 0;
}

#logo {
    position: absolute;
    z-index: 1000;
    transition: all 1s ease-in-out;
}

.progress-container {
    width: 200px;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 15px;
    position: absolute;
    bottom: 10%;
    overflow: hidden;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #1a237e;
    border-radius: 15px;
    transition: width 2s ease-in-out;
}

/* ========== NEW MOBILE PRELOADER WITH DOORS ========== */
@media (max-width: 768px) {

    /* Mobile Preloader */
    #preloader {
        background-color: #1a237e;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        width: 100vw;
        height: 100vh;
    }

    /* Mobile doors */
    #top-door,
    #bottom-door {
        height: 50vh;
        background-color: #1a237e;
        position: absolute;
        width: 100%;
        transition: transform 1s ease-in-out;
    }

    #top-door {
        top: 0;
        transform: translateY(0);
    }

    #bottom-door {
        bottom: 0;
        transform: translateY(0);
    }

    /* Doors open */
    #top-door.open {
        transform: translateY(-100%);
    }

    #bottom-door.open {
        transform: translateY(100%);
    }

    /* Animated mobile logo */
    #mobile-logo {
        width: 100px;
        height: 100px;
        animation: pulse 1.5s ease-in-out infinite alternate;
        position: absolute;
        z-index: 1000;
    }

    /* Circular spinning effect */
    .loading-ring {
        width: 120px;
        height: 120px;
        border: 4px solid transparent;
        border-top: 4px solid yellow;
        border-radius: 50%;
        position: absolute;
        animation: spin 2s linear infinite;
    }

    /* Progress Bar (For Mobile) */
    .progress-container {
        width: 150px;
        height: 6px;
        background-color: white;
        border-radius: 15px;
        position: absolute;
        bottom: 10%;
        overflow: hidden;
    }

    .progress-bar {
        width: 0;
        height: 100%;
        background-color: yellow;
        border-radius: 15px;
        transition: width 2s ease-in-out;
    }

    /* Keyframe Animations */
    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 0.7;
        }

        100% {
            transform: scale(1.1);
            opacity: 1;
        }
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }
}

/* style for hero section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('https://via.placeholder.com/1920x1080') center/cover;
    background-color: overlay;
    /* Ensures gradient blends with image */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    animation: slide-left 2.5s ease-in-out forwards;
}


.hero-container {
    display: flex;
    min-height: 100vh;
    flex-direction: row;
}

.main-content {
    /* margin-left: 250px; */
    flex: 1;
    position: relative;
    /* padding: 2rem; */
}

.heroheader {
    padding: 0px 100px 100px;
}

.hero h1,
.hero p {
    opacity: 0;
    /* Hidden by default for animation */
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    padding-top: 130px;
    /* margin-bottom: 1rem; */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: slide-up 1s ease forwards;
}

.hero p {
    font-size: 1.3rem;
    max-width: 400px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: slide-up 1s ease forwards;
    animation-delay: 0.2s;
}

.image-gallery-container {
    padding-top: 22px;
    position: absolute;
    bottom: 2rem;
    right: 0;
    width: 50%;
    /* Limit gallery container to 50% width */
    min-height: 300px;
    /* Adjust this height to suit your needs */
    /* padding: 0 1rem; */
    display: flex;
    justify-content: start;
    overflow-x: auto;

}

.image-gallery-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, and Edge */
}


.image-gallery {
    display: flex;
    gap: 4rem;
    padding-left: 60px;
    padding-top: 80px;
    transition: transform 0.3s ease;
}

.gallery-image {
    border: 2px solid white;
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    animation: fade-in 1s ease forwards;
}


.gallery-image.active {
    transform: scale(1.4);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
}

/* Keyframes for animations */
@keyframes slide-up {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-left {
    0% {
        background-position: 100% 0;
        /* Start from the right */
    }

    100% {
        background-position: 0 0;
        /* Move to the left */
    }
}

/* General Responsive Styling */

/* For small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100vh;
        background-size: cover;
        background-position: center;
        animation: auto-scroll 10s linear infinite alternate;
    }

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

    .hero p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .heroheader {
        padding: 0 15px;
    }
}

/* For medium mobile devices (max-width: 600px) */
@media (max-width: 600px) {
    .hero {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100vh;
        background-size: cover;
        background-position: center;
        animation: auto-scroll 10s linear infinite alternate;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100vh;
        background-size: cover;
        background-position: center;
        animation: auto-scroll 10s linear infinite alternate;
    }

    .heroheader {
        padding: 0 20px;
        /* Reduce padding for better spacing */
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Adjust font size for smaller screens */
        padding-top: 0;
    }

    .hero p {
        font-size: 1rem;
        max-width: 90%;
    }

    .image-gallery-container {
        display: none;
        /* Hide image gallery */
    }
}

/* Background auto-scroll animation */
@keyframes auto-scroll {
    0% {
        background-position: center top;
    }

    100% {
        background-position: center bottom;
    }
}



/* style for about us */
.about-section {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 80px 10px 80px;
    gap: 60px;
    /* Minimum gap between the image and content */
}

.content,
.image-container {
    flex: 1 1 50%;
}

.content {
    padding-right: 20px;
    /* Adds right margin to the content */
}

.about-header {
    color: #FFA500;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-title {
    color: #1a1a4b;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
}

.about-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.read-more {
    background: #FFA500;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #ff9100;
}

.image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Allows child elements to use absolute positioning */
    width: 500px;
    height: 600px;
}

.image-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 430px;
    object-fit: cover;
    border-radius: 10px;
    z-index: 1;
}

.image-bottom {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    border: 15px solid white;
    /* White border */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); Shadow effect */
    z-index: 2;
}

.experience-badge {
    position: absolute;
    /* Places the badge relative to the container */
    left: 0;
    left: -40px;
    top: 60px;
    /* Moves the badge slightly above the container */
    background: #FFA500;
    backdrop-filter: blur(10px);
    color: white;
    padding: 25px 30px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 3;
    /* Ensures the badge appears on top */
    animation: bounce 2s infinite, glow 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {

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

    50% {
        transform: translateY(-15px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
    }
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        /* Center the content and images vertically */
    }

    .content {
        text-align: center;
        /* Center the text */
        padding: 0 20px;
        /* Add padding for mobile screens */
    }

    .about-header {
        font-size: 16px;
        /* Smaller font size for mobile */
        margin-bottom: 10px;
    }

    .about-title {
        font-size: 20px;
        /* Reduce font size */
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .about-text {
        font-size: 14px;
        /* Smaller text for mobile */
        margin-bottom: 20px;
    }

    .read-more {
        margin: 0 auto;
        /* Center the button */
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Image container adjustments */
    .image-container {
        width: 100%;
        height: auto;
        margin-bottom: 30px;
        /* Adds space between the images and content */
    }

    .image-top,
    .image-bottom {
        position: static;
        /* Remove absolute positioning */
        width: 80%;
        /* Scale the images */
        margin: 10px auto;
    }

    /* Experience badge adjustment for small screen */
    .experience-badge {
        position: static;
        margin-bottom: 10px;
        font-size: 14px;
        /* Adjust font size */
    }
}

/* count style */

.count-metrics-section {
    position: relative;
    min-height: 400px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1684&q=80');
    background-size: cover;
    background-position: center;

}

.count-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.count-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.count-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 50px;
    line-height: 1.3;
}

.count-stats-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.count-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    /* background: rgba(255, 255, 255, 0.1); */
    padding: 20px 30px;
    border-radius: 10px;
    min-width: 300px;
    /* backdrop-filter: blur(5px); */
}

.count-icon {
    font-size: 5.5rem;
    /* padding-bottom: 35px; */
    padding: 10px 10px 35px 10px;
    /* background: rgba(255, 255, 255, 0.1); */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.count-stat-content {
    text-align: left;
}

.count-number {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.count-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .count-title {
        font-size: 1.8rem;
    }

    .count-stats-container {
        gap: 20px;
    }

    .count-stat-item {
        min-width: 280px;
        padding: 15px 20px;
    }

    .count-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }

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



/* Sticky Header Section */
.sticky-section {
    background: #1a237e;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;

}

/* Container for sticky section */
.sticky-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 2rem;
    flex-direction: row;
    /* Default to row for desktop */
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

/* Section holding the sticky content */
.sticky-vision-section {
    flex: 1;
    position: sticky;
    top: 200px;
    /* Push it down so it doesn’t overlap */
    height: 100vh;
    max-width: 500px;
    z-index: 2;
    color: white;
    padding: 32px 32px 32px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Heading styles */
.sticky-vision-section h2 {
    color: #ffa726;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.sticky-header3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.sticky-vision-section p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.sticky-read-more {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #ffa726;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease;
    max-width: max-content;
    text-align: center;
}

.sticky-read-more:hover {
    transform: translateY(-2px);
}

/* Cards Grid */
.sticky-cards-grid {
    margin-top: 40px;
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    z-index: 2;
    padding: 2rem;
    align-content: start;
    max-height: 100vh;
    overflow-y: auto;
    position: relative;
    scroll-snap-type: y mandatory;
}

/* Card styles */
.sticky-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.sticky-card:hover {
    transform: translateY(-5px);
}

/* Icon inside card */
.sticky-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #ffa726, #fb8c00);
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-card-icon svg {
    width: 36px;
    height: 36px;
    fill: white;
}

@media (max-width: 768px) {

    /* Prevent extra scrolling */
    .sticky-section {
        overflow: hidden;
    }

    /* Stack everything vertically */
    .sticky-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: auto;
        overflow: hidden;
    }


    /* Vision section remains at the top */
    .sticky-vision-section {
        margin-top: 150px;
        position: relative;
        max-width: 100%;
        height: auto;
        padding: 20px;
        text-align: center;
    }

    .sticky-vision-section h2 {
        font-size: 1.1rem;
    }

    .sticky-header3 {
        font-size: 20px;
        margin-bottom: 1rem;
    }

    .sticky-vision-section p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    /* Read More Button */
    .sticky-read-more {
        width: 100%;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Cards should be placed at the bottom */
    .sticky-cards-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 150px;
        /* Add some spacing */
    }

    /* Adjust each card to be full width */
    .sticky-card {
        width: 90%;
        max-width: 350px;
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
    }

    /* Reduce icon size */
    .sticky-card-icon svg {
        width: 32px;
        height: 32px;
    }
}



/* style for the vision section */

.vision-section {
    width: 100%;
    /* height: 100%; */
    margin: 0 auto;
    position: relative;
}

.vision-container {
    position: relative;
    /* width: 100%;
    height: 100%; */
}

/* Top Section */
.vision-top-section {
    /* height: 450px; */
    display: grid;
    grid-template-columns: 410px 1fr;
    gap: 30px;
    padding: 0px 40px 0px 0px;
    /* margin-bottom: 150px; Space for overlapping image */
}

.vision-header {
    height: 650px;
    background-color: #FFA500;
    padding: 100px 40px 180px 80px;
    color: white;
}

.vision-section-label {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.vision-title {
    font-size: 1.8em;
    line-height: 1.4;
    font-weight: bold;
}

.vision-cards-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    height: fit-content;
    /* Set the desired height */
}

.vision-card {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding-top: 50px;
    /* Adjusted for smaller icon spacing */
}

.vision-card-icon {
    position: absolute;
    top: -30px;
    /* Reduced top spacing */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    /* Reduced icon size */
    height: 50px;
    background: white;
    border-radius: 50%;
    padding: 5px;
    /* Adjusted padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vision-card-text {
    color: #666;
    font-size: 13px;
    /* Reduced font size */
    line-height: 1.4;
    /* Slightly adjusted line height */
}

/* Center Image */
.vision-center-image {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    z-index: 2;
    margin-top: -180px;
}

.vision-bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 20px;
    background: linear-gradient(rgba(39, 42, 87, 0.7), rgba(39, 42, 87, 0.7)),
        url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1684&q=80');
    background-size: cover;
    background-position: center;

    /* border-radius: 0px 0px 10px; */
    color: white;
    /* margin-top: 200px; Space for overlapping image */
    width: 100%;
    /* Reduce the width */
    /* max-width: 1400px; Optional: limit the maximum width */
    /* margin-left: auto; /* Center align 
    margin-right: auto; Center align */
}

.vision-initiatives-content {

    margin-top: 100px;
    padding: 40px 40px 40px 65px;
}

.vision-initiatives-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.vision-initiatives-text {
    font-size: 13px;
    line-height: 1.6;
}

/* Gallery */
.vision-gallery-container {

    margin-top: 170px;
    overflow-x: auto;
    padding: 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.vision-gallery-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.vision-gallery {
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
}

.vision-gallery-item {

    flex: 0 0 250px;
    height: 190px;
    /* border-radius: 10px; */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.vision-gallery-item img {
    border-radius: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {

    .vision-top-section,
    .vision-bottom-section {
        grid-template-columns: 1fr;
    }

    .vision-cards-container {
        grid-template-columns: 1fr;
    }

    .vision-center-image {
        margin-top: 20px;
        position: static;
        transform: none;
        max-width: 100%;
    }

    .vision-bottom-section {
        margin-top: 20px;
    }
}

/* Board Of Director Style - Similar to Past Presidents */

.BOD-section {
    overflow-x: hidden;
    background: #fff;
    position: relative;
}

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

/* Background Shapes */
.BOD-shape {
    position: absolute;
    border-radius: 100%;
    z-index: -1;
}

.BOD-shape-1 {
    width: 400px;
    height: 400px;
    border: 40px solid rgba(255, 165, 0, 0.1);
    top: -250px;
    left: -200px;
}

.BOD-shape-2 {
    width: 300px;
    height: 300px;
    border: 30px solid rgba(255, 165, 0, 0.1);
    bottom: -1px;
    right: -150px;
}

.BOD-container {
    max-width: 1200px;
    margin: 4px auto;
    padding: 40px 20px;
    text-align: center;
}

.BOD-section-title {
    color: #FFA500;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.BOD-main-title {
    color: #1a1a4b;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.BOD-description {
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.BOD-carousel {
    position: flex;
    padding: 100px 50px;
    height: 500px;
    overflow: hidden;
}

.BOD-carousel-container {
    display: flex;
    margin-top: 60px;
    transition: transform 0.5s ease;
    gap: 80px;
    position: relative;
}

.BOD-card {
    flex: 0 0 30%;
    /* Show 3 items */
    max-width: 300px;
    border: 2px solid #FFA500;
    border-radius: 5px;
    padding: 20px;
    position: relative;
    transition: all 0.5s ease;
    transform: scale(0.8);
    opacity: 0.7;
    background: white;
    margin-bottom: 50px;
}

.BOD-card.active {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.BOD-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: -80px auto 20px;
    border: 2px solid #FFA500;
    object-fit: cover;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.BOD-card-title {
    color: #1a1a4b;
    font-size: 18px;
    margin-top: 50px;
    margin-bottom: 10px;
}

.BOD-card-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.BOD-card-description {
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

.BOD-nav-button {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    background: #FFA500;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2;
}

.BOD-nav-button:hover {
    background: #ff8c00;
}

.BOD-prev {
    left: 50px;
}

.BOD-next {
    right: 50px;
}

.BOD-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
}

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

.BOD-dot.active {
    background: #FFA500;
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(0.8);
        opacity: 0.7;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(-100%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(0.8);
        opacity: 0.7;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0) scale(0.8);
        opacity: 0.7;
    }

    to {
        transform: translateX(-100%) scale(0.8);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0) scale(0.8);
        opacity: 0.7;
    }

    to {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s forwards;
}

.slide-in-right {
    animation: slideInRight 0.5s forwards;
}

.slide-out-left {
    animation: slideOutLeft 0.5s forwards;
}

.slide-out-right {
    animation: slideOutRight 0.5s forwards;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .BOD-container {
        padding: 30px 15px;
        /* Reduce padding */
    }

    .BOD-main-title {
        font-size: 28px;
        /* Reduce heading size */
    }

    .BOD-carousel {
        padding: 80px 30px;
        /* Reduce padding */
    }

    .BOD-card {
        flex: 0 0 45%;
        /* Show 2 cards per row */
        max-width: 280px;
    }

    .BOD-profile-image {
        width: 100px;
        height: 100px;
    }

    .BOD-prev,
    .BOD-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .BOD-carousel {
        max-width: 100%;
        padding: 50px 20px;
        /* Reduce padding */
        overflow: hidden;
        /* Prevent extra cards from showing */
    }

    .BOD-carousel-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .BOD-card {
        display: none;
        /* Hide all by default */
        flex: 0 0 100%;
        max-width: 100%;
        transform: scale(1);
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .BOD-card.active {
        display: block;
        /* Show only the active card */
        opacity: 1;
        margin: 0 auto;
    }

    /* Adjust navigation buttons */
    .BOD-prev,
    .BOD-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
        position: absolute;
        top: 73%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 50%;
    }

    .BOD-prev {
        left: 10px;
    }

    .BOD-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .BOD-main-title {
        font-size: 22px;
        /* Reduce heading size */
    }

    .BOD-description {
        font-size: 13px;
    }

    .BOD-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .BOD-profile-image {
        width: 80px;
        height: 80px;
    }

    .BOD-card-title {
        font-size: 16px;
    }

    .BOD-card-subtitle,
    .BOD-card-description {
        font-size: 13px;
    }

    .BOD-prev,
    .BOD-next {
        width: 28px;
        height: 28px;
        font-size: 14px;
        top: 70%;
    }
}

/* blog section style */


.blog-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.blog-section-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-container {
    display: flex;
    gap: 30px;
}

.blog-post-container {
    flex: 3;
}

.blog-social-column {
    flex: 2;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.blog-section-label {
    color: #FF9800;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

/* for the page */
.blog-section-label-page {
    color: #FF9800;
    /* Change the color here to your preferred one */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;

}

.blog-header2 {
    color: #1a237e;
    /* Change the color here to your preferred one */
    font-size: 24px;
    margin-bottom: 50px;
}

.blog-post-wrapper {
    margin-left: 40px;
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.blog-post-wrapper-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #FF9800;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #e68900;
}

.pagination.active-page {
    background-color: #FF9800;
    color: white;
}

.blog-post-page {

    padding: 20px;
    /* Add padding to the inside of the blog card */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Shadow effect */
    border-radius: 8px;
    /* Rounded corners for the blog card */
    transition: box-shadow 0.3s ease;
    /* Smooth transition for hover effect */
}

.blog-post {
    flex: 1;
    padding: 20px;
    /* Add padding to the inside of the blog card */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Shadow effect */
    border-radius: 8px;
    /* Rounded corners for the blog card */
    transition: box-shadow 0.3s ease;
    /* Smooth transition for hover effect */
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.blog-post-h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #e68900;
}

.blog-post-p {
    color: #666;
    font-size: 14px;
}

.blog-social-feed {
    background: rgb(234, 235, 238);
    border-radius: 0px 0px 8px 8px;
    padding: 20px;
    color: black;
}

/* Card Header Styles */
.blog-card-header {
    background: rgba(116, 121, 201, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 20px; */
    padding: 20px;
}

.blog-card-header h3 {
    font-size: 18px;
    color: white;
    margin: 0;
    flex: 1;
    /* Ensures heading takes available space */
}

.blog-header-btn {
    background: black;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* Rounded corners for a circular look */
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.blog-header-btn:hover {
    background: #333;
    /* Slightly lighter black on hover */
    transform: scale(1.1);
    /* Slight zoom effect */
}

.blog-social-post {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    /* padding: 15px; */
    margin-bottom: 15px;
}

.blog-social-post:last-child {
    margin-bottom: 0;
}

.blog-follow-btn {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    /* margin-top: 10px; */
}

.blog-follow-btn:hover {
    opacity: 0.9;
}

.download-button {
    display: inline-block;
    margin-top: 15px;
    padding: 4px 16px;
    background-color: #FF9800;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #e68900;
}


.blog-nav {
    display: flex;
    /* justify-content: center; */
    gap: 8px;
    margin-top: 30px;
    padding-left: 53vh;
}

.blog-dot {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-dot.active {
    background: #FF9800;
    width: 24px;
    border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .blog-container {
        flex-direction: column;
        /* Stack sidebar below blog posts */
    }

    .blog-social-column {
        margin-top: 20px;
    }

    .blog-post-wrapper-page {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .blog-post-wrapper {
        display: block;
        /* Stack elements vertically */
    }

    .blog-post-wrapper-page {
        grid-template-columns: repeat(1, 1fr);
        /* 1 column on mobile */
    }

    .blog-post img {
        height: 180px;
        /* Adjust image size */
    }

    .blog-post-h3 {
        font-size: 16px;
        /* Reduce heading size */
    }

    .blog-post-p {
        font-size: 13px;
        /* Adjust paragraph text */
    }

}

@media (max-width: 480px) {
    .blog-section {
        margin: 50px auto;
        padding: 0 10px;
        /* Reduce padding for small screens */
    }

    .blog-post img {
        height: 150px;
        /* Smaller image for compact view */
    }

    .blog-post-h3 {
        font-size: 14px;
    }

    .blog-post-p {
        font-size: 12px;
    }

    .pagination a {
        padding: 6px 10px;
        /* Smaller pagination buttons */
    }

    .blog-post-wrapper {
        display: block;
        /* Stack elements vertically */
    }
}

/* style for banner section  */

.banner-container {
    margin-bottom: 100px;
    width: 100%;
}

.banner-header-section {
    margin-top: 80px;
    text-align: center;
    margin-bottom: 40px;
}

.banner-upcoming-label {
    color: #FFA500;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.banner-main-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.banner-sub-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.banner-description {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Now, the image will take up the entire width of the container */
.banner {
    width: 100%;
    height: auto;
}

.banner img {
    width: 100%;
    /* Image will take 100% of the width */
    height: auto;
    /* Maintain aspect ratio */
}

@media (max-width: 768px) {
    .banner-main-title {
        font-size: 2em;
    }

    .banner-sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .banner-main-title {
        font-size: 1.8em;
    }

    .banner-sub-title {
        font-size: 1.3em;
    }
}

/* style for event section */

/* Section Background */
.event-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 40px;
}

.event-upcoming-events {
    flex: 1;
}

.event-past-events {
    flex: 1;
}

.event-section-title {
    color: #FFA500;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.event-main-event-card {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    display: none;
    /* Hide all cards by default */
}

.event-main-event-card.active {
    display: block;
    /* Show only active card */
}

.event-date-badge {
    position: absolute;
    left: 20px;
    background: #FFA500;
    color: white;
    padding: 15px;
    border-radius: 0px 0px 14px 14px;
    text-align: center;
}

.event-date-badge .event-month {
    font-size: 18px;
    display: block;
}

.event-date-badge .event-day {
    font-size: 32px;
    font-weight: bold;
}

.event-event-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.event-event-content {
    padding: 20px;
}

.event-event-title {
    color: #ffa726;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.event-event-description {
    color: #666;
    line-height: 1.5;
}

.event-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

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

.event-dot.active {
    background: #FFA500;
    width: 24px;
    border-radius: 4px;
}

.event-past-event-card {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.event-past-event-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.event-past-event-content {
    flex: 1;
}

.event-see-all {
    text-align: right;
    color: #FFA500;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .event-container {
        flex-direction: column;
    }

    .event-past-event-card {
        flex-direction: column;
    }

    .event-past-event-image {
        width: 100%;
        height: 160px;
    }
}