/* Elite Institute - Endurix-Inspired Styling */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
    --navy-900: #091224;
    --navy-800: #0f1d38;
    --navy-700: #172a50;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --cyan-400: #38bdf8;
    --gold-500: #f59e0b;
    --gold-400: #fbbf24;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-subtle: rgba(226, 232, 240, 0.8);
    --shadow-soft: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -3px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}


/* ANNOUNCEMENT TOPBAR (ANIMATED SINGLE-LINE TICKER) */
.top-announcement-bar {
    background: #000c24;
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 0;
    height: 38px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
}

.top-ticker-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #091224;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0 0.9rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 4px 0 14px rgba(0,0,0,0.35);
    flex-shrink: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ticker-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: tickerPulseAnim 1.4s infinite;
}

@keyframes tickerPulseAnim {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.65); }
}

.top-ticker-wrapper {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, black 25px, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 25px, black 96%, transparent);
}

.top-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerMarquee 40s linear infinite;
    will-change: transform;
}

.top-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #e2e8f0;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-item strong {
    color: #ffffff;
}

.ticker-dot {
    margin: 0 1.25rem;
    color: #f59e0b;
    font-size: 0.95rem;
    opacity: 0.85;
    flex-shrink: 0;
}

.ticker-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.ticker-link:hover {
    color: #fde047;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .top-announcement-bar {
        height: 35px;
    }
    .ticker-badge {
        font-size: 0.68rem;
        padding: 0 0.65rem;
    }
    .ticker-item {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .top-announcement-bar {
        height: 33px;
    }
    .ticker-badge {
        font-size: 0.65rem;
        padding: 0 0.5rem;
    }
    .ticker-badge .badge-text {
        display: none;
    }
    .ticker-item {
        font-size: 0.74rem;
    }
    .ticker-dot {
        margin: 0 0.75rem;
    }
}

/* NAVBAR */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #011238;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.brand-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #e2e8f0;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: #38bdf8;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #25D366;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.6rem 1.15rem;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.65rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.65rem;
    border-radius: 12px;
    border: 2px solid var(--border-subtle);
    transition: all 0.25s ease;
}

.btn-outline:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.04);
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 4.5rem 1.5rem 4rem;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-600);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
    font-size: 3.15rem;
    line-height: 1.15;
    color: var(--navy-900);
    margin-bottom: 1.25rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--blue-600), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-subtle);
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-900);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* HERO MASONRY COLLAGE */
.hero-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
}

.collage-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.collage-col:nth-child(2) {
    margin-top: 2rem;
}

.collage-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 4px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.collage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.collage-card img {
    width: 100%;
    height: 195px;
    object-fit: cover;
    display: block;
}

/* MARQUEE SECTION */
.marquee-section {
    padding: 3.5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.section-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-600);
    margin-bottom: 1.5rem;
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 1.5rem;
    animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    width: 280px;
    height: 190px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 3px solid #fff;
    position: relative;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.marquee-item:hover img {
    transform: scale(1.08);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* STANDARD SECTION STYLES */
.section {
    padding: 5rem 1.5rem;
}

.section-alt {
    background: #ffffff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2.35rem;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* COURSES GRID */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.4);
}

.course-badge {
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.badge-academic { background: #dbeafe; color: #1e40af; }
.badge-tech { background: #fef3c7; color: #92400e; }
.badge-special { background: #e0e7ff; color: #3730a3; }

.course-card h3 {
    font-size: 1.45rem;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
}

.course-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-features {
    list-style: none;
    margin-bottom: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.course-features li {
    font-size: 0.9rem;
    color: var(--navy-800);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 800;
}

/* REAL COACHING FEATURES SECTION */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.feature-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-img-card {
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
    box-shadow: var(--shadow-soft);
    border: 3px solid #fff;
}

.feature-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    height: 240px;
    background: #e2e8f0;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 18, 36, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

/* BLOG CARDS */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.blog-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-category {
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card h3 {
    font-size: 1.35rem;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
}

.contact-info-card {
    background: var(--navy-900);
    color: #fff;
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-info-item h4 {
    color: var(--blue-400);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.contact-info-item p, .contact-info-item a {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form-card {
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.15rem;
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* ALERT MESSAGES */
.alert-box {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.alert-success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* FOOTER */
.site-footer {
    background: var(--navy-900);
    color: #fff;
    padding: 4.5rem 1.5rem 2rem;
    border-top: 4px solid var(--gold-500);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 360px;
}

.footer-links h4 {
    font-size: 1rem;
    color: var(--gold-400);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* RESPONSIVE & MOBILE-FIRST RULES */
@media (max-width: 992px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .brand-logo img {
        height: 42px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu, #siteNavMenu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #011238;
        padding: 1rem 1.25rem 1.5rem;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 3px solid var(--gold-400, #f59e0b);
        z-index: 9999;
        gap: 0.25rem;
    }

    .nav-menu.open, #siteNavMenu.open {
        display: flex;
        animation: navDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes navDropdownFade {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 1rem;
        font-weight: 700;
        color: #f1f5f9;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--gold-400, #facc15);
        background: rgba(250, 204, 21, 0.08);
        padding-left: 1.25rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .feature-split {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.65rem 0.75rem;
    }
    .nav-actions {
        display: flex;
        align-items: center;
    }
    .mobile-toggle {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1.15rem;
        flex-shrink: 0;
    }
    .brand-logo img {
        height: 36px;
        width: auto;
    }
}

/* Hero Times Roman MT Brand & 2x2 Grid */
.hero-brand-times {
    font-family: 'Times New Roman', 'Times Roman MT', Times, Georgia, serif;
    font-size: 3.15rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
    display: block;
    line-height: 1.1;
}

.hero-2x2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
    position: relative;
}

.hero-2x2-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.12);
    border: 4px solid #ffffff;
    background: #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 195px;
}

.hero-2x2-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.25);
}

.hero-2x2-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .hero-brand-times {
        font-size: 2.25rem;
    }
    .hero-2x2-card {
        height: 150px;
    }
}

/* Banner-Inspired Promo Showcase Card */
.friday-free-card {
    background: linear-gradient(135deg, #091224 0%, #0f1d38 50%, #172a50 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    border-radius: 24px;
    padding: 2.25rem 2.5rem;
    margin: 3.5rem 0;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.friday-free-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.friday-free-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.friday-free-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.friday-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.3);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.friday-free-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.friday-free-card h3 span {
    color: #38bdf8;
}

.friday-free-card h3 .free-pill {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-weight: 900;
    padding: 0.2rem 0.65rem;
    border-radius: 8px;
    margin: 0 0.35rem;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.friday-free-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

.friday-free-action {
    position: relative;
    z-index: 2;
}

.btn-friday-register {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-friday-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5);
    color: #ffffff;
}

.we-provide-grid.we-provide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.provide-item {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-900);
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
}

.provide-item:hover {
    transform: translateY(-3px);
    border-color: var(--blue-600);
    box-shadow: var(--shadow-hover);
}

.provide-item i {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 2 Boxes per Row for Future Ready Courses */
.future-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 850px) {
    .future-tech-grid {
        grid-template-columns: 1fr;
    }
}

/* 16:9 Future Tech Cards & Badges */
.future-tech-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.future-tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.4);
}

.future-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.future-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.future-tech-card:hover .future-card-img-wrap img {
    transform: scale(1.06);
}

.badge-certified {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.4);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 2;
}

.badge-fee {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(37, 99, 235, 0.95);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
}

.badge-free-friday {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 2;
}

.badge-fee-free {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-free-friday-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
    width: 100%;
    margin-top: auto;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-free-friday-join:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.4);
    color: #ffffff;
}

.future-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.future-card-body h3 {
    font-size: 1.45rem;
    color: var(--navy-900);
    margin-bottom: 0.35rem;
}

.future-card-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-600);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.future-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-join-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    width: 100%;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.btn-join-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4);
    color: #ffffff;
}


/* =======================================================
   MOBILE-FIRST ENHANCEMENTS (SMOOTH & ZERO-OVERLAP)
   ======================================================= */

/* MOBILE STICKY BOTTOM QUICK ACTION BAR */
.mobile-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99998;
        background: rgba(1, 18, 56, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 0.45rem 0.65rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
        gap: 0.5rem;
        box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.35);
    }

    .sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.65rem 0.4rem;
        border-radius: 10px;
        font-weight: 800;
        font-size: 0.85rem;
        color: #ffffff;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        white-space: nowrap;
        transition: transform 0.15s ease;
    }

    .sticky-btn:active {
        transform: scale(0.97);
    }

    .sticky-call {
        background: #0284c7;
    }

    .sticky-wa {
        background: #25D366;
    }

    .sticky-enroll {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: #0f172a;
    }

    body {
        padding-bottom: 68px; /* Space for sticky bottom bar so footer is never obscured */
    }
}

/* WHY CHOOSE US WRAPPER */
.why-choose-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3.5rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .why-choose-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* CLASSES & SUBJECTS GRID */
.classes-subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 640px) {
    .classes-subjects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* COURSES ACADEMIC GRID */
.courses-academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 640px) {
    .courses-academic-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

/* FORM 2-COLUMN ROW */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* BLOG GRID MOBILE SMOOTHNESS */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 2rem;
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* MOBILE SMOOTHNESS RULES FOR HERO, SECTIONS, MARQUEE */
@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 1rem 2rem;
    }

    .hero-brand-times {
        font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    }

    .hero-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
        line-height: 1.25 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding-top: 1.25rem;
        text-align: center;
    }

    .hero-stats .stat-item h4 {
        font-size: 1.35rem;
    }

    .hero-stats .stat-item p {
        font-size: 0.75rem;
    }

    .hero-2x2-grid {
        gap: 0.6rem;
    }

    .hero-2x2-card {
        height: 135px;
        border-radius: 14px;
        border: 2px solid #ffffff;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .friday-free-card {
        padding: 1.5rem 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        margin: 2rem 0;
    }

    .friday-free-action {
        width: 100%;
    }

    .btn-friday-register {
        width: 100%;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }

    .marquee-section {
        padding: 2rem 0;
    }

    .marquee-item {
        width: 210px;
        height: 145px;
    }
}

/* TOUCH ACCELERATION & SCROLL PERFORMANCE */
.class-filter-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.class-filter-container::-webkit-scrollbar {
    display: none;
}

button, .btn-primary, .btn-cta-whatsapp, .sticky-btn, .nav-link, .class-filter-pill {
    touch-action: manipulation;
}


/* ENROLL CTA SECTION & MOBILE RESPONSIVENESS */
.enroll-cta-section {
    background: linear-gradient(135deg, var(--navy-900), #172554);
    color: #fff;
}

.enroll-cta-wrapper {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.enroll-cta-badge {
    display: inline-block;
    background: #facc15;
    color: #0f172a;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 900;
    padding: 0.65rem 2.25rem;
    border-radius: 16px;
    letter-spacing: 0.05em;
    transform: rotate(-1deg);
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.4);
    margin-bottom: 1.75rem;
}

.enroll-cta-title {
    font-size: clamp(1.4rem, 4.5vw, 2.25rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.enroll-cta-desc {
    color: #cbd5e1;
    font-size: clamp(0.95rem, 3vw, 1.15rem);
    margin-bottom: 2.25rem;
}

.enroll-banner-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.enroll-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.enroll-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.enroll-icon-circle.icon-map {
    background: #f59e0b;
    color: #0f172a;
}

.enroll-icon-circle.icon-phone {
    background: #22c55e;
    color: #fff;
}

.enroll-item-label {
    font-size: 0.85rem;
    color: #facc15;
    font-weight: 800;
    text-transform: uppercase;
}

.enroll-item-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    max-width: 340px;
}

.enroll-item-phone {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    font-weight: 900;
    color: #fff;
    font-family: 'Sora', sans-serif;
    display: block;
    line-height: 1.2;
}

.enroll-banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .enroll-banner-card {
        padding: 1.5rem 1.25rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .enroll-banner-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .enroll-banner-buttons .btn-primary,
    .enroll-banner-buttons .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }
}
