/* ============================================================ */
/* HERO SECTION BASE                                            */
/* ============================================================ */
/* #14786d */
.bg-primary{
    background-color:#14786d !important;
}
.hero-section {
    background-image: url('../img/background.png');
    color: #fff;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

/* ============================================================ */
/* BACKGROUND ZOOM ANIMATION (subtle)                           */
/* ============================================================ */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    /* animation: slowZoom 20s ease-in-out infinite alternate; */
    z-index: 0;
    opacity: 0.6;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.1); }
}

/* ============================================================ */
/* TITLE + TEXT ANIMATIONS                                      */
/* ============================================================ */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    border-radius: 30px;
    padding: 12px 30px;
}

.hero-stats h3 {
    font-size: 2rem;
    font-weight: 700;
}

/* ============================================================ */
/* FADE UP ANIMATION                                            */
/* ============================================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease-out forwards;
}

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

/* Staggered delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ============================================================ */
/* GLOW ANIMATION (AI-Powered text)                             */
/* ============================================================ */
.animate-glow {
    display: inline-block;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 193, 7, 0.5),
                     0 0 20px rgba(255, 193, 7, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 193, 7, 0.9),
                     0 0 40px rgba(255, 193, 7, 0.6),
                     0 0 60px rgba(255, 193, 7, 0.4);
    }
}

/* ============================================================ */
/* BUTTON ANIMATIONS                                            */
/* ============================================================ */

/* Pulse (Start Learning Free button) */
.btn-pulse {
    position: relative;
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    50%      { box-shadow: 0 0 0 15px rgba(255, 193, 7, 0); }
}

.btn-pulse:hover {
    animation: none;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

/* Grow on hover */
.btn-hover-grow {
    transition: all 0.3s ease;
}

.btn-hover-grow:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================================ */
/* FLOATING PARTICLES (decorative)                              */
/* ============================================================ */
.hero-section .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 15s infinite;
    pointer-events: none;
}

@keyframes float {
    0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.7; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-section { padding: 60px 0; text-align: center; }
    .hero-subtitle { font-size: 1rem; }
}

/* Features */
.features-section {
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F4E79;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Steps */
.step-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F4E79, #4facfe);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Audience */
.audience-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #1F4E79 0%, #4facfe 100%);
}

/* Footer */
.main-footer1 {
    background: #fff;
    padding: 40px 0 20px;
    border-top: 1px solid #eee;
}

.main-footer1 a {
    color: #666;
    text-decoration: none;
}

.main-footer1 a:hover {
    color: #4facfe;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    .section-title {
        font-size: 1.8rem;
    }
}
/* ============================================================ */
/* SECTION TITLE ANIMATIONS                                     */
/* ============================================================ */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.7s ease-out forwards;
}

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

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

/* ============================================================ */
/* FEATURE CARD ANIMATIONS                                      */
/* ============================================================ */
.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Fade-in from bottom on load */
.animate-card {
    opacity: 0;
    transform: translateY(40px);
    animation: cardFadeIn 0.7s ease-out forwards;
}

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

/* Hover: lift + shadow + subtle scale */
.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(31, 78, 121, 0.15);
}

/* Top border highlight on hover */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #1F4E79, #4facfe);
    transition: width 0.4s ease;
}

.feature-card:hover::before {
    width: 100%;
}

/* ============================================================ */
/* FEATURE ICON ANIMATIONS                                      */
/* ============================================================ */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* Icon rotates slightly + scales on card hover */
.feature-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Ripple glow effect behind the icon */
.feature-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 14px;
    background: inherit;
    opacity: 0.35;
    z-index: -1;
    transform: scale(0.9);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.feature-card:hover .feature-icon::after {
    transform: scale(1.15);
    opacity: 0;
}

/* ============================================================ */
/* TEXT STYLING                                                 */
/* ============================================================ */
.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F4E79;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.feature-card:hover h4 {
    color: #4facfe;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================ */
/* REDUCED MOTION SUPPORT                                       */
/* ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .animate-slide-up,
    .animate-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .feature-card,
    .feature-icon {
        transition: none;
    }
}

/* ============================================================ */
/* SECTION BASE                                                 */
/* ============================================================ */
.how-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f4ff 50%, #fff4e6 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ============================================================ */
/* FLOATING BACKGROUND BUBBLES                                  */
/* ============================================================ */
.bubble-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(79, 172, 254, 0.4), rgba(31, 78, 121, 0.05));
    animation: bubbleRise 20s infinite ease-in;
}

.bubble:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-duration: 18s; }
.bubble:nth-child(2) { left: 25%; width: 60px; height: 60px; animation-duration: 22s; animation-delay: 3s; }
.bubble:nth-child(3) { left: 45%; width: 30px; height: 30px; animation-duration: 20s; animation-delay: 6s; }
.bubble:nth-child(4) { left: 65%; width: 50px; height: 50px; animation-duration: 24s; animation-delay: 2s; }
.bubble:nth-child(5) { left: 80%; width: 35px; height: 35px; animation-duration: 19s; animation-delay: 8s; }
.bubble:nth-child(6) { left: 92%; width: 45px; height: 45px; animation-duration: 21s; animation-delay: 4s; }

@keyframes bubbleRise {
    0%   { transform: translateY(0) scale(0.6); opacity: 0; }
    10%  { opacity: 0.8; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(-100vh) scale(1.2); opacity: 0; }
}

/* ============================================================ */
/* CONNECTING LINE (decorative)                                 */
/* ============================================================ */
.connecting-line {
    display: none;
}

@media (min-width: 768px) {
    .connecting-line {
        display: block;
        position: absolute;
        top: 63px;
        left: 16%;
        right: 16%;
        height: 3px;
        background-image: linear-gradient(90deg, 
            #4facfe 0%, #4facfe 50%, 
            transparent 50%, transparent 100%);
        background-size: 20px 3px;
        animation: dashMove 2s linear infinite;
        z-index: 0;
    }
}

@keyframes dashMove {
    from { background-position: 0 0; }
    to   { background-position: 20px 0; }
}

/* ============================================================ */
/* SECTION TITLE                                                */
/* ============================================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1F4E79;
    position: relative;
    display: inline-block;
}

.section-title .sparkle {
    display: inline-block;
    animation: sparkleRotate 3s ease-in-out infinite;
}

@keyframes sparkleRotate {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
    50%      { transform: rotate(20deg) scale(1.2); opacity: 0.8; }
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
}

.section-subtitle strong {
    color: #4facfe;
}

/* ============================================================ */
/* STEP WRAPPER                                                 */
/* ============================================================ */
.step-wrapper {
    position: relative;
    z-index: 1;
    padding: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.step-wrapper:hover {
    transform: translateY(-8px);
}

/* ============================================================ */
/* STEP CIRCLE (number badge)                                   */
/* ============================================================ */
.step-circle {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #1F4E79, #4facfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-wrapper:hover .step-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.55);
}

/* Pulsing ring animation */
.step-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #4facfe;
    animation: ringPulse 2s ease-out infinite;
}

@keyframes ringPulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Number inside the circle */
.step-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 2;
    animation: numberPop 3s ease-in-out infinite;
}

@keyframes numberPop {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

/* ============================================================ */
/* STEP CONTENT CARD                                            */
/* ============================================================ */
.step-content {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4facfe, #FFC107);
    transition: left 0.5s ease;
}

.step-wrapper:hover .step-content::before {
    left: 0;
}

.step-wrapper:hover .step-content {
    box-shadow: 0 15px 35px rgba(31, 78, 121, 0.12);
}

/* Icon inside card */
.step-icon {
    font-size: 2rem;
    color: #4facfe;
    margin-bottom: 12px;
    transition: all 0.4s ease;
}

.step-wrapper:hover .step-icon {
    color: #FFC107;
    transform: scale(1.2) rotate(-10deg);
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1F4E79;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================ */
/* ENTRY ANIMATION                                              */
/* ============================================================ */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.7s ease-out forwards;
}

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

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

.animate-step {
    opacity: 0;
    transform: translateY(50px);
    animation: stepBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes stepBounceIn {
    0%   { opacity: 0; transform: translateY(50px) scale(0.9); }
    60%  { opacity: 1; transform: translateY(-10px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .step-circle { width: 75px; height: 75px; }
    .step-number { font-size: 1.8rem; }
    .connecting-line { display: none; }
}

/* ============================================================ */
/* REDUCED MOTION                                               */
/* ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* ============================================================ */
/* SECTION BASE                                                 */
/* ============================================================ */
.for-whom-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.for-whom-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 193, 7, 0.06) 0%, transparent 40%);
    animation: bgMove 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, -30px); }
}

.for-whom-section .container {
    position: relative;
    z-index: 1;
}

/* ============================================================ */
/* SECTION TITLE                                                */
/* ============================================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1F4E79;
}

.gradient-text {
    background: linear-gradient(90deg, #4facfe, #1F4E79, #FFC107, #4facfe);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* ============================================================ */
/* AUDIENCE CARD BASE                                           */
/* ============================================================ */
.audience-card {
    position: relative;
    padding: 35px 25px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    cursor: pointer;
}

.audience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(31, 78, 121, 0.15);
}

/* ============================================================ */
/* COLOR THEMES PER AUDIENCE                                    */
/* ============================================================ */
.audience-students { --accent: #4facfe; --accent-rgb: 79, 172, 254; }
.audience-teachers { --accent: #28a745; --accent-rgb: 40, 167, 69; }
.audience-schools  { --accent: #FFC107; --accent-rgb: 255, 193, 7; }
.audience-orgs     { --accent: #e74c3c; --accent-rgb: 231, 76, 60; }

/* Top border gradient */
.audience-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.audience-card:hover::before {
    transform: scaleX(1);
}

/* ============================================================ */
/* GLOW BACKGROUND ON HOVER                                     */
/* ============================================================ */
.audience-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.25), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.audience-card:hover .audience-glow {
    opacity: 1;
}

/* ============================================================ */
/* ICON WRAPPER + RIPPLE                                        */
/* ============================================================ */
.audience-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.audience-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), rgba(var(--accent-rgb), 0.7));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.35);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}

.audience-card:hover .audience-icon {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.5);
}

/* Ripple rings */
.audience-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: rippleOut 2.5s ease-out infinite;
    z-index: 1;
}

.audience-card:hover .audience-ripple {
    animation-duration: 1.5s;
}

@keyframes rippleOut {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ============================================================ */
/* TEXT                                                         */
/* ============================================================ */
.audience-card h5 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1F4E79;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.audience-card:hover h5 {
    color: var(--accent);
}

.audience-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 44px;
}

/* ============================================================ */
/* FEATURE TAGS                                                 */
/* ============================================================ */
.audience-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 15px;
}

.audience-tags span {
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

.audience-card:hover .audience-tags span {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================ */
/* HIDDEN ARROW (appears on hover)                              */
/* ============================================================ */
.audience-arrow {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.audience-card:hover .audience-arrow {
    opacity: 1;
    transform: translateX(0);
}

.audience-arrow i {
    font-size: 14px;
    animation: arrowSlide 1.5s ease-in-out infinite;
}

@keyframes arrowSlide {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(3px); }
}

/* ============================================================ */
/* ENTRY ANIMATIONS                                             */
/* ============================================================ */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.7s ease-out forwards;
}

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

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

.animate-audience {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    animation: audienceIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes audienceIn {
    0%   { opacity: 0; transform: translateY(60px) scale(0.9); }
    60%  { opacity: 1; transform: translateY(-8px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .audience-icon { width: 65px; height: 65px; font-size: 26px; }
    .audience-card { padding: 28px 20px 25px; }
}

/* ============================================================ */
/* REDUCED MOTION                                               */
/* ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* ============================================================ */
/* SECTION BASE                                                 */
/* ============================================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2d4a 0%, #1F4E79 50%, #2c5f8f 100%);
    padding: 100px 0 !important;
}

/* Moving gradient overlay */
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(79, 172, 254, 0.15) 25%,
        transparent 50%,
        rgba(255, 193, 7, 0.1) 75%,
        transparent 100%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    z-index: 1;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-section .container {
    z-index: 3;
}

/* ============================================================ */
/* ANIMATED BACKGROUND SHAPES                                   */
/* ============================================================ */
.cta-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.shape-1 {
    width: 400px; height: 400px;
    background: #4facfe;
    top: -100px; left: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px; height: 300px;
    background: #FFC107;
    bottom: -80px; right: -80px;
    animation: floatShape 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px; height: 250px;
    background: #28a745;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseShape 12s ease-in-out infinite;
}

.shape-4 {
    width: 200px; height: 200px;
    background: #e74c3c;
    top: 20%; right: 10%;
    animation: floatShape 18s ease-in-out infinite;
    animation-delay: 3s;
}

.shape-5 {
    width: 280px; height: 280px;
    background: #9b59b6;
    bottom: 10%; left: 15%;
    animation: floatShape 22s ease-in-out infinite reverse;
    animation-delay: 5s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -40px) scale(1.15); }
    66%      { transform: translate(-30px, 30px) scale(0.9); }
}

@keyframes pulseShape {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50%      { transform: translate(-50%, -50%) scale(1.3); opacity: 0.5; }
}

/* ============================================================ */
/* FLOATING PARTICLES                                           */
/* ============================================================ */
.cta-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.cta-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 10s infinite;
}

.cta-particles span:nth-child(1) { left: 8%;  animation-delay: 0s;   }
.cta-particles span:nth-child(2) { left: 22%; animation-delay: 1.5s; }
.cta-particles span:nth-child(3) { left: 38%; animation-delay: 3s;   }
.cta-particles span:nth-child(4) { left: 55%; animation-delay: 0.8s; }
.cta-particles span:nth-child(5) { left: 70%; animation-delay: 2.2s; }
.cta-particles span:nth-child(6) { left: 82%; animation-delay: 4s;   }
.cta-particles span:nth-child(7) { left: 92%; animation-delay: 1s;   }
.cta-particles span:nth-child(8) { left: 48%; animation-delay: 5s;   }

@keyframes particleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.6; transform: translateY(80vh) scale(1); }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* ============================================================ */
/* BADGE                                                        */
/* ============================================================ */
.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    50%      { box-shadow: 0 0 0 12px rgba(255, 193, 7, 0); }
}

/* ============================================================ */
/* HEADING                                                      */
/* ============================================================ */
.cta-heading {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-gradient-text {
    background: linear-gradient(90deg, #FFC107, #4facfe, #FFC107);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ============================================================ */
/* SUBHEADING                                                   */
/* ============================================================ */
.cta-subheading {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
}

/* ============================================================ */
/* BUTTONS                                                      */
/* ============================================================ */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-btn-primary,
.cta-btn-secondary {
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cta-btn-primary {
    background: #FFC107;
    color: #1F4E79;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35);
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35); }
    50%      { box-shadow: 0 8px 40px rgba(255, 193, 7, 0.65); }
}

.cta-btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.5);
    color: #1F4E79;
}

/* Shine effect */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0%   { left: -100%; }
    50%, 100% { left: 200%; }
}

.cta-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-4px);
}

/* ============================================================ */
/* TRUST INDICATORS                                             */
/* ============================================================ */
.cta-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    font-size: 1rem;
    animation: checkBounce 2s ease-in-out infinite;
}

.trust-item:nth-child(1) i { animation-delay: 0s; }
.trust-item:nth-child(2) i { animation-delay: 0.2s; }
.trust-item:nth-child(3) i { animation-delay: 0.4s; }

@keyframes checkBounce {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}

/* ============================================================ */
/* ENTRY ANIMATIONS                                             */
/* ============================================================ */
.animate-cta {
    opacity: 0;
    transform: translateY(40px);
    animation: ctaFadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes ctaFadeUp {
    0%   { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 768px) {
    .cta-section { padding: 60px 0 !important; }
    .cta-heading { font-size: 2rem; }
    .cta-subheading { font-size: 1rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 90%;
        max-width: 320px;
    }
    .cta-trust {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* ============================================================ */
/* REDUCED MOTION                                               */
/* ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================================ */
/* FOOTER BASE                                                  */
/* ============================================================ */
.main-footer1 {
    background: #0f2d4a;
    color: #b8c5d1;
    padding: 60px 0 25px;
    font-size: 0.92rem;
}

.main-footer1 .container {
    position: relative;
}

/* ============================================================ */
/* BRAND SECTION                                                */
/* ============================================================ */
.footer-brand h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-brand h5 i {
    color: #4facfe;
}

.footer-brand p {
    color: #8fa4b8;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ============================================================ */
/* NEWSLETTER                                                   */
/* ============================================================ */
.footer-newsletter label {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-form {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
    max-width: 320px;
    transition: border-color 0.3s ease;
}

.footer-form:focus-within {
    border-color: #4facfe;
}

.footer-form input {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.88rem;
}

.footer-form input::placeholder {
    color: #6b7f94;
}

.footer-form button {
    padding: 0 18px;
    background: #4facfe;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-form button:hover {
    background: #1F4E79;
}

/* ============================================================ */
/* SECTION HEADINGS                                             */
/* ============================================================ */
.footer-heading {
    color: #fff;
    font-size: 0.85rem;
    width: fit-content;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4facfe;
}

/* ============================================================ */
/* LINKS                                                        */
/* ============================================================ */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #8fa4b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #4facfe;
    padding-left: 4px;
}

/* ============================================================ */
/* CONTACT LIST                                                 */
/* ============================================================ */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #8fa4b8;
}

.footer-contact li i {
    color: #4facfe;
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.footer-contact a {
    color: #8fa4b8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #4facfe;
}

/* ============================================================ */
/* DIVIDER                                                      */
/* ============================================================ */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 40px 0 25px;
}

/* ============================================================ */
/* BOTTOM BAR                                                   */
/* ============================================================ */
.footer-bottom {
    font-size: 0.85rem;
    color: #8fa4b8;
}

/* Legal links */
.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    color: #8fa4b8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: #4facfe;
}

/* Social icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .footer-social {
        justify-content: flex-end;
    }
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8c5d1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #4facfe;
    border-color: #4facfe;
    color: #fff;
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 768px) {
    .main-footer1 {
        padding: 40px 0 20px;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-brand h5 {
        justify-content: center;
    }
    
    .footer-form {
        margin: 0 auto;
    }
    
    .footer-heading {
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-divider {
        margin: 30px 0 20px;
    }
}

@media (max-width: 576px) {
    .footer-legal {
        flex-wrap: wrap;
        gap: 10px;
    }
}