:root {
    --primary: #4a6fa5;
    --secondary: #f8b500;
    --accent: #6d98ba;
    --light: #f8f9fa;
    --dark: #343a40;
    --soft-blue: #e8f0fe;
    --soft-yellow: #fff9e6;
    --soft-green: #e8f5e9;
    --soft-purple: #f3e5f5;

    --primary-color: #1a5f7a;
    --secondary-color: #57cc99;
    --accent-color: #ffd166;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --light-blue: #c7f9cc;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

/* Enhanced Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 12px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.8rem;
}

.navbar .nav-link {
    font-size: 0.85rem;
    padding: 8px 12px;
    font-weight: 500;
    color: var(--dark);
    margin: 0 3px;
    transition: all 0.3s;
    border-radius: 5px;
}

.navbar .nav-link:hover {
    color: var(--primary);
    background: rgba(74, 111, 165, 0.05);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar .dropdown-item {
    padding: 8px 20px;
    font-size: 0.8rem;
    color: var(--dark);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.navbar .dropdown-item:hover {
    background: var(--soft-blue);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 25px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 111, 165, 0.4);
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.8), rgba(74, 111, 165, 0.6));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.floating-element {
    position: absolute;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Enhanced Welcome Section */
.welcome-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.layer-1 {
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80');
    opacity: 0.1;
}

.layer-2 {
    background: url('https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80');
    opacity: 0.15;
}

.welcome-content {
    position: relative;
    z-index: 10;
    padding: 80px 0;
}

.welcome-text {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.welcome-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.welcome-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.welcome-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.welcome-image:hover img {
    transform: scale(1.05);
}

/* Enhanced Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
    text-align: center;
    /* color: white; */
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Enhanced Do You Know Section */
.do-you-know-section {
    background: linear-gradient(135deg, var(--soft-green) 0%, #d4edda 100%);
    position: relative;
    overflow: hidden;
}

.fact-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 15px;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary);
    height: 100%;
}

.fact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.fact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.fact-icon i {
    font-size: 30px;
    color: white;
}

/* Enhanced Parent Perspective Section */
.parent-perspective-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        /* dark overlay */
        url('../images/school_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.parent-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 60px 50px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.parent-quote {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding: 0 30px;
}

.parent-quote:before,
.parent-quote:after {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    line-height: 1;
}

.parent-quote:before {
    top: -20px;
    left: -10px;
}

.parent-quote:after {
    bottom: -40px;
    right: -10px;
}

.parent-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(248, 181, 0, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.parent-point:hover {
    transform: translateX(10px);
    background: rgba(248, 181, 0, 0.1);
}

.point-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(248, 181, 0, 0.3);
}

.point-icon i {
    font-size: 1.2rem;
    color: white;
}

/* Enhanced Big Numbers Section */
.big-numbers-section {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../images/school_bg_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    ;
}

.number-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.number-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.number-item .number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}

.number-item .label {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
}

/* Enhanced Life at Lumens Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(74, 111, 165, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* Enhanced QuadSeek Section */
.quadseek-section {
    background:
        linear-gradient(135deg, rgba(255, 249, 196, 0.85) 0%, rgba(255, 249, 230, 0.85) 100%),
        /* soft yellow overlay */
        url('../images/school_bg_1.png');
    /* your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.quadseek-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary);
    height: 100%;
}

.quadseek-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Enhanced Learners Section */
.learner-type {
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.learner-type:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.physical-learner {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-left: 5px solid #4caf50;
}

.intellectual-learner {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 5px solid #2196f3;
}

.emotional-learner {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    border-left: 5px solid #e91e63;
}

.spiritual-learner {
    background: linear-gradient(135deg, #fff3e0, #ffecb3);
    border-left: 5px solid #ff9800;
}

/* Enhanced Teaching Practices Section */
.teaching-practices-section {
    background:
        linear-gradient(135deg, rgba(167, 139, 250, 0.8) 0%, rgba(225, 190, 231, 0.8) 100%),
        /* soft purple overlay */
        url('../images/school_bg_2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.process-step {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 35px;
    color: white;
}

/* Enhanced Infrastructure Section */
.infrastructure-section {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

.infrastructure-pillar {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.infrastructure-pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pillar-icon i {
    font-size: 35px;
    color: white;
}

/* Enhanced Admissions Section */
/* .admissions-section {
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%);
} */

.admissions-section {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        /* almost white overlay */
        url('../images/school_bg_3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.admission-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.admission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.admission-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.admission-icon i {
    font-size: 35px;
    color: white;
}

/* Enhanced Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--soft-blue) 0%, #cce7ff 100%);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    margin-bottom: 25px;
    position: relative;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: all 0.3s;
}

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

.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Enhanced Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, var(--soft-blue) 0%, #cce7ff 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/img_lumens_school.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary);
    position: relative;
    z-index: 1;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.3);
}

.contact-icon i {
    font-size: 30px;
    color: white;
}

.map-container {
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    border-radius: 15px;
    background: linear-gradient(135deg, #e8f0fe, #d4e4ff);
}

.inquiry-form-container .card {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    background: rgba(255, 255, 255, 0.95);
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating>label {
    padding: 1rem 0.75rem;
}

.info-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.contact-section {
    background: linear-gradient(rgba(74, 111, 165, 0.1), rgba(74, 111, 165, 0.1)),
        url('../images/img_school.png');
        background-size: cover;        /* makes image cover entire section */
        background-position: center;   /* keeps image centered */
        background-repeat: no-repeat;
}

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

    .contact-card,
    .info-item {
        margin-bottom: 20px;
    }

    .map-container {
        height: 300px;
        margin-bottom: 30px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-link {
        font-size: 1rem;
        padding: 10px 15px;
    }

    .hero-section {
        min-height: 500px;
        height: 70vh;
    }

    .welcome-text,
    .parent-card {
        padding: 30px 20px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .floating-element {
        display: none;
    }
}

.map-container {
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*ABOUT US*/

/* Professional Carousel Banner */
.professional-carousel {
    height: 90vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    animation: zoomEffect 20s linear infinite;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 95, 122, 0.8) 0%,
            rgba(26, 95, 122, 0.6) 50%,
            transparent 100%);
}

.carousel-caption-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    z-index: 3;
}

.carousel-caption-content {
    max-width: 800px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.carousel-subtitle {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.carousel-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.carousel-indicators-custom {
    bottom: 40px;
    z-index: 4;
}

.carousel-indicators-custom button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.carousel-indicators-custom button.active {
    background: white;
    transform: scale(1.2);
}

.carousel-controls-custom {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.professional-carousel:hover .carousel-controls-custom {
    opacity: 1;
}

.carousel-controls-custom:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-custom {
    left: 30px;
}

.carousel-control-next-custom {
    right: 30px;
}

.carousel-stats {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    z-index: 3;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-color);
    opacity: 0.8;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Enhanced Carousel Features */
.carousel-counter {
    position: absolute;
    bottom: 40px;
    right: 30px;
    z-index: 4;
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.carousel-auto-play {
    position: absolute;
    bottom: 40px;
    left: 30px;
    z-index: 4;
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-auto-play:hover {
    background: rgba(0, 0, 0, 0.5);
}

.slide-number {
    font-weight: bold;
    color: var(--accent-color);
}

/* New Slide-specific styles */
.slide-1 .carousel-caption-content {
    border-left: 5px solid var(--secondary-color);
}

.slide-2 .carousel-caption-content {
    border-left: 5px solid var(--accent-color);
}

.slide-3 .carousel-caption-content {
    border-left: 5px solid #ff6b6b;
}

/* Slide-specific overlay gradients */
.slide-1 .carousel-overlay {
    background: linear-gradient(135deg,
            rgba(26, 95, 122, 0.85) 0%,
            rgba(87, 204, 153, 0.7) 50%,
            transparent 100%);
}

.slide-2 .carousel-overlay {
    background: linear-gradient(135deg,
            rgba(255, 209, 102, 0.85) 0%,
            rgba(26, 95, 122, 0.7) 50%,
            transparent 100%);
}

.slide-3 .carousel-overlay {
    background: linear-gradient(135deg,
            rgba(255, 107, 107, 0.85) 0%,
            rgba(26, 95, 122, 0.7) 50%,
            transparent 100%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .professional-carousel {
        height: 80vh;
        min-height: 600px;
    }

    .carousel-caption-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .carousel-title {
        font-size: 2.5rem;
    }

    .carousel-subtitle {
        font-size: 1.2rem;
    }

    .carousel-stats {
        flex-wrap: wrap;
        gap: 1rem;
        bottom: 80px;
    }

    .stat-item {
        padding: 0.8rem 1.5rem;
    }

    .carousel-controls-custom {
        opacity: 1;
        width: 40px;
        height: 40px;
    }

    .carousel-counter,
    .carousel-auto-play {
        display: none;
    }
}

/* For very small screens */
@media (max-width: 576px) {
    .carousel-title {
        font-size: 2rem;
    }

    .carousel-subtitle {
        font-size: 1rem;
    }

    .carousel-stats {
        display: none;
    }
}

/* Rest of your existing styles remain unchanged... */
/* Section Background Styles */
.section-with-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 6rem 0;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
}

.section-content {
    position: relative;
    z-index: 2;
}

/* Story Section Background */
.story-section {
    background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

/* Methodology Section Background */
.methodology-section {
    background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

/* Leadership Section Background */
.leadership-section {
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

.leadership-section::before {
    background: rgba(248, 249, 250, 0.9);
}

/* Enhanced CTA Section */
.cta-section {
    background-image: url('https://images.unsplash.com/photo-1513542789411-b6a5d4f31634?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    background: linear-gradient(135deg,
            #4D73A7 0%,
            #6A95B8 100%);

}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 4rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatAnimation 6s ease-in-out infinite;
}

.cta-title {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

/* .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(87, 204, 153, 0.3);
} */

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(255, 120, 180, 0.35);
}



.feature-text {
    font-weight: 600;
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    animation: floatElement 20s linear infinite;
    opacity: 0.7;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes floatAnimation {

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

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

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

    100% {
        transform: translateY(-1000px) rotate(360deg);
    }
}

/* Scroll Animations */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Section Title */
.section-title {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
    font-size: 2.8rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    animation: expandWidth 1s ease-out 0.5s both;
}

.center-title:after {
    left: 50%;
    transform: translateX(-50%);
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 70px;
    }
}

/* Methodology Cards */
.methodology-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.methodology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(87, 204, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.methodology-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.methodology-card:hover::before {
    opacity: 1;
}

.methodology-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.methodology-card:hover .methodology-icon {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.methodology-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Leadership Cards */
.leadership-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.leadership-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.leadership-img {
    height: 320px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

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

.leadership-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    background: white;
}

.leadership-name {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.leadership-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Buttons */

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 111, 165, 0.4);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary-color), #46b381);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 25px rgba(87, 204, 153, 0.3);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(87, 204, 153, 0.4);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 95, 122, 0.2);
}

/* Founders Images */
.founders-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
}

.founders-img:hover {
    transform: scale(1.05);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .cta-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .cta-features {
        gap: 1rem;
    }

    .feature-item {
        min-width: 120px;
    }

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

    .section-with-bg {
        background-attachment: scroll;
        padding: 4rem 0;
    }
}