/* Hero Section Redesign Styles */

.hero-ai-modern {
    padding: 40px 0 30px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.card-tag-pill {
    display: inline-block;
    padding: 8px 18px;
    background: #f0f7ff;
    color: #3b82f6;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title-large {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title-large span {
    color: #0064e6;
}

.hero-subtitle-text {
    font-size: 18px;
    line-height: 1.6;
    color: #6b7280;
    max-width: 540px;
    margin-bottom: 48px;
}

.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-community-blue {
    background: #0064e6;
    color: #fff !important;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-community-blue:hover {
    background: #0056c7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 100, 230, 0.2);
}

.btn-learn-white {
    background: #fff;
    color: #111827 !important;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.btn-learn-white:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.hero-image-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hero-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-logo-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 32%;
    height: 18%;
    /* Increased height to cover the old logo's circle */
    background: #0059bf;
    /* Exact blue from the reference image */
    z-index: 2;
    display: flex;
    align-items: flex-start;
    /* Changed to flex-start to allow margin-top control */
    justify-content: flex-start;
    padding-left: 15px;
    border-top-left-radius: 24px;
}

.hero-logo-overlay {
    width: 55% !important;
    /* Increased logo size */
    height: auto;
    pointer-events: none;
    filter: brightness(0) invert(1);
    margin-top: 15px;
    /* Added margin top as requested */
}

@media (max-width: 991px) {
    .hero-title-large {
        font-size: 48px;
    }

    .hero-ai-modern {
        padding: 80px 0 60px;
        text-align: center;
    }

    .hero-subtitle-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btn-group {
        justify-content: center;
    }

    .hero-image-box {
        margin-top: 40px;
        border-radius: 20px;
    }

    /* Trusted Section Mobile */
    .trusted-card-wrapper {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .trusted-title {
        font-size: 26px;
    }

    .trusted-subtitle {
        font-size: 16px;
    }

    /* Programs Mobile */
    .programs-card-modern {
        padding: 30px 20px;
    }

    /* CTA Journey Mobile */
    .cta-journey-section {
        padding: 60px 0;
    }

    .cta-main-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .cta-card-white,
    .cta-card-blue {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .cta-card-title {
        font-size: 28px;
    }

    .btn-cta-blue,
    .btn-cta-white {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-title-large {
        font-size: 34px;
    }

    .hero-ai-modern {
        padding: 30px 0 50px;
    }

    .trusted-title {
        font-size: 22px;
    }

    .cta-main-title {
        font-size: 28px;
        line-height: 1.4;
    }

    .footer-modern {
        padding-top: 60px;
    }

    .footer-logo-box img {
        height: 60px !important;
    }

    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-community-blue,
    .btn-learn-white {
        width: 100%;
        justify-content: center;
    }

    /* Workshop Mobile Fixes */
    .workshop-bg {
        padding: 30px 20px !important;
    }

    .workshop-bg h2 {
        font-size: 26px !important;
        line-height: 1.3;
    }

    .box-circle-image {
        margin-top: 30px;
        text-align: center;
    }

    .box-circle-image img {
        max-width: 80%;
        height: auto;
        margin: 0 auto;
    }

    /* Why Join / Card Offer Mobile Fixes */
    .card-offer {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .card-offer .card-image {
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .card-image img {
        margin: 0 auto;
    }

    .cardNumber {
        margin-bottom: 20px;
    }

    /* Footer Fixes */
    .footer-bottom-modern {
        text-align: center;
    }

    .footer-policy-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

    to {
        opacity: 1;
        transform: translateX(0);
        /* Fix for mobile centering */
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes bounce-subtle {

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

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

.animate-bounce-subtle {
    animation: bounce-subtle 3s ease-in-out infinite;
}

/* Trusted Section Improvements */
.trusted-section-modern {
    padding: 20px 0;
    /* Reduced from 60px */
    position: relative;
    z-index: 1;
}

.trusted-card-wrapper {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 40px;
    padding: 40px 40px;
    /* Reduced from 60px */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.trusted-title {
    font-size: 32px;
    font-weight: 800;
    color: #0064e6;
    /* Applied brand blue */
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.trusted-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 30px;
    /* Reduced margin-bottom from 50px */
    line-height: 1.6;
}

.brand-slider-refined .swiper-slide {
    opacity: 1;
    /* Full opacity by default */
    filter: none;
    /* Full color by default */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-slider-refined .swiper-slide:hover {
    transform: scale(1.05);
}

/* CTA Journey Section Refinement */
.cta-journey-section {
    padding: 80px 0;
    font-family: 'Outfit', sans-serif;
}

.cta-tag-pill {
    display: inline-block;
    padding: 8px 24px;
    background: #f0f7ff;
    color: #0064e6;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-main-title {
    font-size: 48px;
    font-weight: 800;
    color: #0064e6;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.cta-card-white {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 40px;
    padding: 60px 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
}

.cta-card-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.cta-card-blue {
    background: #0064e6;
    border-radius: 40px;
    padding: 60px 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 100, 230, 0.15);
}

.cta-card-blue:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 100, 230, 0.25);
}

.cta-card-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-card-white .cta-card-title {
    color: #0064e6;
}

.cta-card-body {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.cta-card-white .cta-card-body {
    color: #64748b;
}

.cta-card-blue .cta-card-body {
    color: rgba(255, 255, 255, 0.9);
}

.btn-cta-blue {
    background: #0064e6;
    color: #fff !important;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 100, 230, 0.2);
}

.btn-cta-blue:hover {
    background: #0056c7;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 100, 230, 0.3);
}

.btn-cta-white {
    background: #fff;
    color: #0064e6 !important;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.btn-cta-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Programs Section Refinement */
.programs-section-modern {
    padding: 80px 0 40px;
    /* Reduced bottom padding */
    background: #fcfdfe;
}

.programs-header-badge {
    display: inline-block;
    padding: 6px 18px;
    background: #f0f7ff;
    color: #0064e6;
    border: 1px solid #e0f0ff;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    box-shadow: 0 4px 10px rgba(0, 100, 230, 0.05);
}

.programs-card-modern {
    background: #fff;
    border: 1px solid #f8fafc;
    border-radius: 40px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center everything */
    text-align: center;
}

.programs-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    border-color: #0064e610;
}

.programs-card-image {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
}

.programs-card-modern:hover .programs-card-image {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 20px 45px rgba(0, 100, 230, 0.1);
}

.programs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.programs-card-content {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.programs-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f7ff;
    color: #0064e6;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.programs-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
    line-height: 1.3;
}

.programs-card-body {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 0;
}

/* Footer Redesign */
.footer-modern {
    background: #fff;
    padding: 120px 0 0;
    border-top: 1px solid #f1f5f9;
    position: relative;
}

.footer-logo-box {
    margin-bottom: 35px;
}

.footer-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 35px;
    max-width: 300px;
}

.footer-title-modern {
    font-size: 20px;
    font-weight: 800;
    color: #0064e6;
    /* Use brand color for titles */
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.footer-links-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-modern li {
    margin-bottom: 14px;
}

.footer-links-modern a {
    font-size: 16px;
    color: #475569;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-weight: 500;
}

.footer-links-modern a:hover {
    color: #0064e6;
    padding-left: 8px;
}

.footer-bottom-modern {
    margin-top: 100px;
    padding: 40px 0;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.copyright-text {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
}

.footer-policy-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}

.footer-policy-links a {
    font-size: 15px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-policy-links a:hover {
    color: #0064e6;
}

.social-icons-footer {
    display: flex;
    gap: 18px;
}

@media (max-width: 991px) {
    .footer-modern {
        padding-top: 60px;
    }

    .footer-bottom-modern {
        margin-top: 50px;
        text-align: center;
    }

    .footer-policy-links {
        justify-content: center;
        margin-top: 20px;
    }
}