/* ========================================
   HOME PAGE (INDEX) STYLES
   ======================================== */

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Initial hidden state */
.animate-on-scroll {
    opacity: 0;
}

/* Animated state */
.animate-on-scroll.animated {
    animation-duration: 1.2s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-on-scroll.fade-in {
    animation-name: fadeIn;
}

.animate-on-scroll.fade-in-left {
    animation-name: fadeInLeft;
}

.animate-on-scroll.fade-in-right {
    animation-name: fadeInRight;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
    background-color: #f5f5f5;
}

/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
} */

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
}

/* Grid background only - no additional patterns */




.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 30px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #2d5aa0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.hero-description {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 550px;
}

/* Hero Stats Flip Cards */
.hero-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-flip-card {
    flex: 1;
    height: 100px;
    perspective: 1000px;
    cursor: pointer;
}

.stat-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.stat-flip-card:hover .stat-flip-inner {
    transform: rotateY(180deg);
}

.stat-flip-front,
.stat-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-flip-front {
    background: white;
    border: 2px solid #e5e7eb;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1a365d;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #4a5f7f;
    font-weight: 600;
    text-align: center;
}

.stat-flip-back {
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    transform: rotateY(180deg);
    color: white;
}

.stat-flip-back i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-flip-back p {
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #1a365d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a365d;
    font-size: 1rem;
}

.btn-play:hover {
    background: #1a365d;
    color: white;
    transform: scale(1.1);
}

.btn-play i {
    margin-left: 3px;
}

/* Hero Form Card */
.hero-form-card {
    background: white;
    padding: 2rem 1.8rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.hero-form-card h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 1.3rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Form Progress Indicator */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.step-check {
    position: absolute;
    font-size: 0.9rem;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.75rem;
    color: #4a5f7f;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    position: relative;
    margin: 0 0.5rem;
}

.progress-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #1a365d;
    transition: width 0.5s ease;
}

.progress-step.active .step-circle {
    background: #1a365d;
    border-color: #1a365d;
}

.progress-step.active .step-number {
    color: white;
}

.progress-step.active .step-label {
    color: #1a365d;
    font-weight: 600;
}

.progress-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
}

.progress-step.completed .step-number {
    opacity: 0;
    transform: scale(0);
}

.progress-step.completed .step-check {
    opacity: 1;
    transform: scale(1);
}

.progress-step.completed .step-label {
    color: #10b981;
}

.progress-step.completed+.progress-line .progress-line-fill {
    width: 100%;
}

/* Programs Section */
.programs {
    padding: 6rem 0;
    background: #f9fafb;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: #ffd700;
}

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background: #ffd700;
    transform: scale(1.1) rotate(5deg);
}

.program-icon i {
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon i {
    color: #1a365d;
}

.program-card h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.program-card p {
    font-size: 0.9rem;
    color: #4a5f7f;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: #ffd700;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #ffd700;
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: #1a365d;
}

.service-card h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: #4a5f7f;
    line-height: 1.6;
}

/* Outcomes Section */
.outcomes {
    padding: 6rem 0;
    background: #f9fafb;
}

/* Carousel Container */
.outcomes-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.outcomes-carousel {
    overflow: hidden;
    width: 100%;
}

.outcomes-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

/* Carousel Arrows */
.carousel-arrow {
    background: #1a365d;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
    z-index: 10;
}

.carousel-arrow:hover {
    background: #2d5aa0;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(26, 54, 93, 0.3);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.carousel-arrow i {
    font-size: 1.2rem;
}

.carousel-arrow:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    opacity: 0.5;
}

.carousel-arrow:disabled:hover {
    transform: none;
}

.outcome-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    min-width: 280px;
    flex-shrink: 0;
}

.outcome-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.outcome-card:hover::after {
    width: 80%;
}

.outcome-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: #ffd700;
}

.outcome-icon {
    width: 70px;
    height: 70px;
    background: #ffd700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.outcome-card:hover .outcome-icon {
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    transform: scale(1.1) rotate(5deg);
}

.outcome-icon i {
    font-size: 1.8rem;
    color: #1a365d;
    transition: all 0.3s ease;
}

.outcome-card:hover .outcome-icon i {
    color: #ffd700;
}

.outcome-card h3 {
    font-size: 1.15rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.outcome-card p {
    font-size: 0.9rem;
    color: #4a5f7f;
    line-height: 1.6;
    margin: 0;
}

/* Testimonial */
.testimonial-box {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    border-radius: 12px;
    color: white;
}

.testimonial-quote {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-quote i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design for Home Page */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .outcomes-grid {
        gap: 1.5rem;
    }

    .outcome-card {
        min-width: 250px;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/background1.avif');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.5;
        z-index: 0;
        pointer-events: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-content {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .stat-flip-card {
        height: 80px;
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-flip-front,
    .stat-flip-back {
        padding: 0.75rem 0.5rem;
    }

    .stat-flip-back i {
        font-size: 1.5rem;
    }

    .hero-form-card {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .programs-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .outcomes-carousel-container {
        gap: 0;
        padding: 0;
    }

    /* Hide arrows on mobile */
    .carousel-arrow {
        display: none;
    }

    .outcomes-carousel {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
        padding: 0 1rem;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .outcomes-carousel::-webkit-scrollbar {
        display: none;
    }

    .outcomes-grid {
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .outcome-card {
        min-width: 280px;
        max-width: 280px;
        scroll-snap-align: center;
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-us {
    padding: 6rem 0;
    background: white;
    overflow: hidden;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Image Side */
.why-choose-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
}

.overlay-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.overlay-badge i {
    font-size: 2.5rem;
    color: #ffd700;
}

.overlay-badge strong {
    display: block;
    font-size: 1.5rem;
    color: #1a365d;
    font-weight: 700;
    line-height: 1.2;
}

.overlay-badge span {
    display: block;
    font-size: 0.9rem;
    color: #4a5f7f;
    font-weight: 500;
}

/* Text Side */
.why-choose-text {
    padding: 2rem 0;
}

.section-badge {
    display: inline-block;
    background: #ffd700;
    color: #1a365d;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.why-choose-text h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.lead-text {
    font-size: 1.1rem;
    color: #4a5f7f;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-item:hover {
    background: white;
    border-left-color: #ffd700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: #ffd700;
    transform: rotate(5deg) scale(1.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon i {
    color: #1a365d;
}

.feature-content h4 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    font-size: 0.95rem;
    color: #4a5f7f;
    line-height: 1.6;
    margin: 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-secondary-outline {
    background: transparent;
    color: #1a365d;
    padding: 1rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #1a365d;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-outline:hover {
    background: #1a365d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 54, 93, 0.3);
}

/* Responsive Design for Why Choose Us */
@media (max-width: 992px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .image-wrapper img {
        height: 450px;
    }

    .why-choose-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 4rem 0;
    }

    .image-wrapper img {
        height: 350px;
    }

    .overlay-badge {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .overlay-badge i {
        font-size: 2rem;
    }

    .overlay-badge strong {
        font-size: 1.2rem;
    }

    .why-choose-text h2 {
        font-size: 1.8rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* Contact Section (for home page) */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    color: #2d5aa0;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #2d5aa0;
    line-height: 1.6;
}

.contact-details a {
    color: #2d5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #1a365d;
    text-decoration: underline;
}

.contact-form {
    background: #f7fafc;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Responsive for contact on home page */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
    }
}

/* ========================================
   SPLIT SCREEN CTA SECTION
   ======================================== */

.split-cta-section {
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
}

.split-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
}

/* Left Side - Solid dark background */
.split-cta-left {
    background: #1a365d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

/* Decorative geometric pattern - Multiple circles */
.split-cta-left::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    box-shadow:
        0 0 0 60px rgba(255, 255, 255, 0.03),
        0 0 0 120px rgba(255, 255, 255, 0.02),
        0 0 0 180px rgba(255, 255, 255, 0.01);
}

.split-cta-left::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
    box-shadow:
        0 0 0 60px rgba(255, 255, 255, 0.03),
        0 0 0 120px rgba(255, 255, 255, 0.02),
        0 0 0 180px rgba(255, 255, 255, 0.01);
}

/* Geometric grid pattern overlay */
.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 30px) rotate(180deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.08;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.12;
    }
}

.split-cta-content {
    max-width: 600px;
    text-align: left;
    z-index: 1;
    position: relative;
}

/* Badge */
.cta-badge {
    display: inline-block;
    background: #ffd700;
    color: #1a365d;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Heading */
.split-cta-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 3rem;
    color: white;
    letter-spacing: -1px;
}

/* CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #ffd700;
    color: #1a365d;
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
    width: 300px;
    height: 300px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.5);
}

.btn-cta i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.btn-cta:hover i {
    transform: translateX(8px);
}

.btn-cta span {
    position: relative;
    z-index: 1;
}

/* Right Side - Image */
.split-cta-right {
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
}

.split-cta-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 31, 53, 0.3) 0%, transparent 100%);
    z-index: 1;
}

.split-cta-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.split-cta-right:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .split-cta-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .split-cta-container {
        grid-template-columns: 1fr;
    }

    .split-cta-left {
        min-height: 70vh;
        padding: 3rem 2rem;
    }

    .split-cta-right {
        min-height: 50vh;
    }

    .split-cta-content {
        text-align: center;
    }

    .split-cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .split-cta-left {
        min-height: 60vh;
        padding: 2.5rem 1.5rem;
    }

    .split-cta-right {
        min-height: 40vh;
    }

    .split-cta-content h2 {
        font-size: 2rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .cta-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .split-cta-content h2 {
        font-size: 1.75rem;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: 6rem 0;
    background: #f7fafc;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #1a365d;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #2d5aa0;
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #1a365d;
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon i {
    display: block;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: #ffd700;
    color: #1a365d;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* ========================================
   METRICS SECTION
   ======================================== */

.metrics-section {
    padding: 5rem 0;
    background: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.metric-item {
    text-align: center;
}

.metric-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: #ffd700;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.metric-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a365d;
    border-radius: 50%;
    margin: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.metric-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.metric-text p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .metrics-section {
        padding: 3rem 0;
    }

    .metrics-grid {
        gap: 3rem;
    }

    .metric-circle {
        width: 140px;
        height: 140px;
    }

    .progress-ring {
        width: 140px !important;
        height: 140px !important;
    }

    .progress-ring-bg,
    .progress-ring-fill {
        cx: 70 !important;
        cy: 70 !important;
        r: 60 !important;
    }

    .metric-number {
        font-size: 1.75rem;
    }

    .metric-text h3 {
        font-size: 1.1rem;
    }

    .metric-text p {
        font-size: 0.9rem;
    }
}

/* ========================================
   BACKGROUND PATTERNS
   ======================================== */

/* Subtle Grid Pattern */
.pattern-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(26, 54, 93, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 54, 93, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Wavy Lines Pattern */
.pattern-waves {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(26, 54, 93, 0.05) 10px,
            rgba(26, 54, 93, 0.05) 11px);
    pointer-events: none;
    z-index: 0;
}

/* Sphere Grid Pattern */
.pattern-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    opacity: 0.05;
    background-image:
        radial-gradient(circle, transparent 40%, rgba(26, 54, 93, 0.1) 40%, rgba(26, 54, 93, 0.1) 41%, transparent 41%),
        radial-gradient(circle, transparent 60%, rgba(26, 54, 93, 0.08) 60%, rgba(26, 54, 93, 0.08) 61%, transparent 61%),
        radial-gradient(circle, transparent 80%, rgba(26, 54, 93, 0.06) 80%, rgba(26, 54, 93, 0.06) 81%, transparent 81%);
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 0;
}

/* Dots Pattern */
.pattern-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(circle, rgba(26, 54, 93, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* Section positioning for patterns */
.why-choose-us,
.contact,
.services,
.outcomes {
    position: relative;
    overflow: hidden;
}

.why-choose-us>.container,
.contact>.container,
.services>.container,
.outcomes>.container {
    position: relative;
    z-index: 1;
}

/* ========================================
   PROGRAM FLIP CARDS
   ======================================== */

.program-card-flip {
    background-color: transparent;
    perspective: 1000px;
    height: 280px;
}

.program-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.program-card-flip:hover .program-card-inner {
    transform: rotateY(180deg);
}

.program-card-front,
.program-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.program-card-front {
    background: white;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.program-card-flip:hover .program-card-front {
    border-color: #2d5aa0;
}

.program-card-back {
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    color: white;
    transform: rotateY(180deg);
}

.program-card-front .program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.program-card-flip:hover .program-card-front .program-icon {
    transform: scale(1.1);
}

.program-card-front .program-icon i {
    font-size: 2rem;
    color: white;
}

.program-card-front h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin: 0;
}

.program-card-back h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffd700;
}

.program-card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .program-card-flip {
        height: 250px;
    }

    .program-card-front .program-icon {
        width: 70px;
        height: 70px;
    }

    .program-card-front .program-icon i {
        font-size: 1.75rem;
    }

    .program-card-front h3 {
        font-size: 1.1rem;
    }

    .program-card-back h3 {
        font-size: 1.15rem;
    }

    .program-card-back p {
        font-size: 0.9rem;
    }
}

/* ========================================
   BACKGROUND IMAGES FOR SECTIONS
   ======================================== */

/* Programs Section Background */
.programs {
    position: relative;
    background-color: #f7fafc;
}

.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background2.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.programs .container {
    position: relative;
    z-index: 1;
}

/* FAQ Section Background */
.faq-section {
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background2.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}