/* Courses Page specific styles */
:root {
    --primary-color: #f52008;
    --primary-hover: #c0392b;
    --secondary-color: #0f0f0f;
    --text-muted: #718096;
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --light-text: #ffffff;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--secondary-color);
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Premium Academy Hero Section */
.academy-hero-premium {
    position: relative;
    padding: 120px 0 80px 0; /* Padding determines the gap now */
    background-color: var(--bg-color);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    display: flex;
}

/* Faint blueprint watermark background */
.hero-bg-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/big_building_blueprint.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.28;
    pointer-events: none;
    z-index: 1;
}

/* Gradient overlay to fade background into page background */
.hero-bg-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(250, 250, 250, 0.1) 0%, rgba(250, 250, 250, 1) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Blueprint dot grid watermark background */
.blueprint-dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(245, 32, 8, 0.03) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 2;
}

.academy-premium-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    gap: 0 50px;
    align-items: start;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Left Column Styling */
.academy-premium-content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.academy-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 32, 8, 0.06);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 32, 8, 0.1);
    box-shadow: 0 4px 10px rgba(245, 32, 8, 0.03);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(245, 32, 8, 0.5);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 32, 8, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(245, 32, 8, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 32, 8, 0);
    }
}

.academy-premium-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.typewriter-accent {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.caret {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-color);
    margin-left: 4px;
    vertical-align: middle;
    animation: blinkCaret 1s steps(1, end) infinite;
}

@keyframes blinkCaret {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

.academy-premium-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 35px;
    max-width: 620px;
}

/* Counselling Card Styling */
.counselling-form-card {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 580px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.form-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 4px 0;
}

.form-card-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 18px 0;
}

.counselling-inline-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inline-form-row {
    display: flex;
    gap: 12px;
}

.form-input-group {
    flex: 1;
    position: relative;
}

.form-input-group.full-width {
    flex: 0 0 100%;
}

.form-input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    z-index: 2;
    pointer-events: none;
    transition: var(--transition);
}

.form-input-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px 12px 38px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01);
    transition: var(--transition);
}

.form-input-group input:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 3px rgba(245, 32, 8, 0.08);
    outline: none;
}

.form-input-group input:focus + i {
    color: var(--primary-color);
}

.enroll-submit-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 13px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 32, 8, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.enroll-submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 32, 8, 0.3);
}

/* Right Column Visual Workspace */
.academy-premium-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.visual-canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1.05;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: visible;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.blueprint-sketch-bg {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: none;
}

.blueprint-sketch-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    transform: scale(1.02);
}

/* Interactive Project Card Mockup */
.project-mockup-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82%;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 3;
    transition: var(--transition);
}

.project-mockup-card:hover {
    transform: translate(-50%, -53%);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.09);
}

.mockup-header {
    background: rgba(247, 250, 252, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-dots span:nth-child(1) { background-color: #ff5f56; }
.mockup-dots span:nth-child(2) { background-color: #ffbd2e; }
.mockup-dots span:nth-child(3) { background-color: #27c93f; }

.mockup-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-title i {
    color: var(--primary-color);
}

.mockup-body {
    padding: 16px;
}

.mockup-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.status-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-badge {
    background: rgba(245, 32, 8, 0.08);
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.mockup-progress-section {
    margin-bottom: 16px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.progress-bar-track {
    height: 6px;
    background: #edf2f7;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 78%;
    background: linear-gradient(90deg, var(--primary-color), #ff6b5b);
    border-radius: 3px;
    animation: mockupProgressPulse 3s infinite ease-in-out;
}

@keyframes mockupProgressPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.mockup-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-checklist li {
    font-size: 0.72rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.mockup-checklist li i.fa-circle-check {
    color: #38a169;
    font-size: 0.85rem;
}

.mockup-checklist li i.fa-circle-notch {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Floating Badges Styling */
.software-pill {
    position: absolute;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    border-radius: 30px;
    padding: 8px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: floatBadge 6s infinite ease-in-out;
    animation-delay: var(--animation-delay);
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.software-pill i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.pill-autocad {
    top: 10%;
    left: -8%;
}

.pill-revit {
    top: 25%;
    right: -10%;
}

.pill-sketchup {
    bottom: 25%;
    left: -12%;
}

.pill-vray {
    bottom: 12%;
    right: -6%;
}

.pill-lumion {
    top: 50%;
    right: -14%;
}

/* Responsive Styles for Custom Premium Hero */
@media (max-width: 1024px) {
    .academy-hero-premium {
        padding: 80px 0 40px 0;
    }
    .academy-premium-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px;
    }
    .academy-premium-content {
        grid-column: 1;
        grid-row: 1;
        align-items: center;
        text-align: center;
    }
    .academy-premium-title {
        font-size: 2.4rem;
        margin-bottom: 6px;
    }
    .academy-premium-lead {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }
    .counselling-form-card {
        margin: 0 auto;
    }
    .academy-premium-visual {
        grid-column: 1;
        grid-row: 2;
        max-width: 420px;
        margin: 0 auto;
    }
    .hero-inline-process {
        grid-column: 1;
        grid-row: 3;
        margin: 0 auto;
    }
}

/* Tablet landscape — prevent excess gap */
@media (max-width: 1024px) and (orientation: landscape) {
    .academy-hero-premium {
        padding: 100px 0 40px 0;
        min-height: auto;
    }
    .academy-premium-grid {
        gap: 20px;
    }
    .academy-premium-visual {
        max-width: 340px;
    }
    .visual-canvas-wrapper {
        aspect-ratio: 1.4;
    }
}

@media (max-width: 768px) {
    .academy-premium-title {
        font-size: 2.0rem;
    }
    .software-pill {
        display: none; /* Hide floating badges on tablet portrait to avoid layout stress */
    }
}

@media (max-width: 480px) {
    .academy-hero-premium {
        padding: 70px 0 30px 0;
    }
    .academy-premium-grid {
        gap: 12px;
    }
    .academy-premium-title {
        font-size: 1.65rem;
        margin-bottom: 4px;
    }
    .academy-premium-lead {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .counselling-form-card {
        padding: 18px;
    }
    .inline-form-row {
        flex-direction: column;
        gap: 12px;
    }
    .enroll-submit-btn {
        font-size: 0.85rem;
    }
    .visual-canvas-wrapper {
        border-radius: 12px;
        aspect-ratio: 1.3;
    }
}

/* Phone landscape — very compact layout */
@media (max-width: 768px) and (orientation: landscape) {
    .academy-hero-premium {
        padding: 90px 0 30px 0;
        min-height: auto;
    }
    .academy-premium-grid {
        gap: 16px;
    }
    .academy-premium-visual {
        max-width: 280px;
    }
    .visual-canvas-wrapper {
        aspect-ratio: 1.5;
    }
}

/* ─── Impact Stats Section ─────────────────────────────────────── */
.impact-stats-section {
    background: #0f1623;
    position: relative;
    overflow: hidden;
}

/* Subtle red glow top edge */
.impact-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 32, 8, 0.5), transparent);
}

/* Noise/grain texture for depth */
.impact-stats-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

.stats-inner {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    flex: 1;
    padding: 36px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: background 0.25s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.stat-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
    margin: 20px 0;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-suffix {
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.28);
    line-height: 1.5;
    margin-top: 4px;
}

/* Stats responsive */
@media (max-width: 900px) {
    .stats-inner {
        flex-wrap: wrap;
    }
    .stat-item {
        flex: 0 0 33.33%;
        padding: 28px 16px;
    }
    .stat-divider {
        display: none;
    }
    .stat-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

@media (max-width: 560px) {
    .stat-item {
        flex: 0 0 100%;
        padding: 24px 12px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
}

/* Stats CTA Row */
.stats-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stats-cta-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.stats-cta-text strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.stats-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 0 rgba(245, 32, 8, 0);
}

.stats-cta-btn:hover {
    background: #d41a00;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 32, 8, 0.35);
}

.stats-cta-btn i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.stats-cta-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 560px) {
    .stats-cta-row {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════
   Testimonials Section
   ═══════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   Upcoming Batches Section
   ═══════════════════════════════════════════════════ */
.batches-section {
    padding: 70px 0;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

/* Header row */
.batches-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.batches-header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.batches-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.08);
    border: 1px solid rgba(245, 32, 8, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
}
.batches-eyebrow i { 
    font-size: 0.65rem; 
}

.batches-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
}

.batches-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    max-width: 550px;
}

.batches-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 99px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}
.batches-view-all:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.08);
}
.batches-view-all i { font-size: 0.75rem; transition: transform 0.2s; color: var(--primary-color); }
.batches-view-all:hover i { transform: translateX(3px); }

/* Grid */
.batches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Card */
.batch-card {
    flex: 1 1 calc(25% - 12px);
    min-width: 250px;
    max-width: 320px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.batch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

/* Hot batch — extra red glow border */
.batch-hot {
    border-color: rgba(245, 32, 8, 0.25);
    box-shadow: 0 0 0 3px rgba(245, 32, 8, 0.05);
}
.batch-hot:hover {
    border-color: rgba(245, 32, 8, 0.5);
    box-shadow: 0 12px 32px rgba(245, 32, 8, 0.1);
}

/* Live status dot (top-right absolute) */
.batch-status-dot {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f52008;
    box-shadow: 0 0 0 0 rgba(245, 32, 8, 0.4);
    animation: dotPulse 1.8s ease-in-out infinite;
}
.batch-dot-blue  { background: #2563eb; box-shadow: 0 0 0 0 rgba(37,99,235,0.4); animation: dotPulseBlue 1.8s ease-in-out infinite; }
.batch-dot-purple{ background: #7c3aed; box-shadow: 0 0 0 0 rgba(124,58,237,0.4); animation: dotPulsePurple 1.8s ease-in-out infinite; }
.batch-dot-green { background: #059669; box-shadow: 0 0 0 0 rgba(5,150,105,0.4); animation: dotPulseGreen 1.8s ease-in-out infinite; }

@keyframes dotPulse       { 0%,100%{ box-shadow: 0 0 0 0 rgba(245,32,8,0.4); } 50%{ box-shadow: 0 0 0 5px rgba(245,32,8,0); } }
@keyframes dotPulseBlue   { 0%,100%{ box-shadow: 0 0 0 0 rgba(37,99,235,0.4); } 50%{ box-shadow: 0 0 0 5px rgba(37,99,235,0); } }
@keyframes dotPulsePurple { 0%,100%{ box-shadow: 0 0 0 0 rgba(124,58,237,0.4); } 50%{ box-shadow: 0 0 0 5px rgba(124,58,237,0); } }
@keyframes dotPulseGreen  { 0%,100%{ box-shadow: 0 0 0 0 rgba(5,150,105,0.4); } 50%{ box-shadow: 0 0 0 5px rgba(5,150,105,0); } }

/* Top row: tag + level */
.batch-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 16px;
}

.batch-tag {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.batch-level {
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Date row */
.batch-date-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 600;
}
.batch-date-row i { color: var(--primary-color); font-size: 0.75rem; }

/* Meta row: seats + duration */
.batch-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}
.batch-meta-row i { margin-right: 4px; }
.batch-seats strong { color: #0f172a; }

/* Fill progress bar */
.batch-progress-wrap {
    height: 4px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
}

.batch-progress-bar {
    height: 100%;
    border-radius: 99px;
    background: #f52008;
    transition: width 1s ease;
}
.batch-bar-blue   { background: #2563eb; }
.batch-bar-purple { background: #7c3aed; }
.batch-bar-green  { background: #059669; }

/* CTA button */
.batch-cta-btn {
    width: 100%;
    padding: 10px 14px;
    background: #0f172a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.18s, transform 0.18s;
    font-family: inherit;
    letter-spacing: 0.02em;
    margin-top: auto;
}

.batch-cta-btn i { font-size: 0.65rem; }

.batch-card:hover .batch-cta-btn,
.batch-hot .batch-cta-btn {
    background: var(--primary-color);
}

.batch-cta-btn:hover {
    transform: translateY(-1px);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .batches-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .batches-header { flex-direction: column; align-items: flex-start; }
    .batches-grid { grid-template-columns: 1fr; }
    .batches-title { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════════════
   Testimonials Section
   ═══════════════════════════════════════════════════ */
.testimonials-section {
    padding: 70px 0 60px;
    background: var(--bg-color);
    overflow: hidden;
}

/* Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 44px;
    padding: 0 20px;
}

.testimonials-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.06);
    border: 1px solid rgba(245, 32, 8, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.testimonials-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 12px;
}

.testimonials-accent {
    color: var(--primary-color);
}

.testimonials-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Track wrapper — masks overflow */
.testimonials-track-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    margin-bottom: 16px;
}

/* Track — flex row that animates */
.testimonials-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 8px 8px;
}

.scroll-left {
    animation: scrollLeft 40s linear infinite;
}

.scroll-right {
    animation: scrollRight 42s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes scrollRight {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* Card */
.testi-card {
    width: 300px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

/* Card top row */
.testi-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

/* Avatar circle */
.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.testi-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testi-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testi-role {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testi-stars {
    font-size: 0.72rem;
    color: #f59e0b;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* Quote */
.testi-quote {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 14px;
    font-style: italic;
}

/* Placement badge */
.testi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.testi-badge i {
    font-size: 0.6rem;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .testimonials-title { font-size: 1.6rem; }
    .testi-card { width: 260px; }
}

/* Courses Showcase Section Styles */
.courses-showcase {
    padding: 10px 20px 100px 20px;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.courses-main-title {
    text-align: center;
    font-size: 2.75rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.courses-description {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.courses-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.course-display-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.course-display-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.course-visual-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.course-visual-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.course-visual-container img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-display-card:hover .course-visual-container img {
    transform: scale(1.08);
}

/* Elegant floating badges */
.course-level-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--secondary-color);
    padding: 6px 12px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.course-price-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-price-badge .original-price {
    text-decoration: line-through;
    font-size: 0.75rem;
    color: #cbd5e0;
    margin-bottom: 2px;
}

.course-price-badge .current-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.course-price-badge .current-price span {
    font-size: 0.65rem;
    font-weight: 500;
    color: #a0aec0;
    margin-left: 4px;
    text-transform: uppercase;
    vertical-align: middle;
}

.course-info-section {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Subtle tagline replacing the bold red block */
.course-tagline {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.course-name-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.course-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.course-features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

.course-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.course-action-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.course-purchase-btn {
    width: 100%;
    background: #0f172a;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    box-sizing: border-box;
}

.course-purchase-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.course-purchase-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Responsive Grid & Typography */
@media (max-width: 1100px) {
    .courses-collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .courses-collection-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .courses-showcase {
        padding: 120px 15px 60px 15px; /* Increased top padding to clear the fixed header */
    }
    .courses-main-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .courses-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    .course-visual-container {
        min-height: 220px;
    }
    .course-level-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
        top: 12px;
        left: 12px;
    }
    .course-price-badge {
        padding: 6px 12px;
        bottom: 12px;
        right: 12px;
    }
    .course-price-badge .current-price {
        font-size: 1.1rem;
    }
    .course-info-section {
        padding: 20px 16px;
    }
    .course-name-title {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    .course-features-list li {
        font-size: 0.82rem;
        padding-left: 24px;
        margin-bottom: 10px;
    }
    .course-features-list li::before {
        width: 14px;
        height: 14px;
        top: 3px;
    }
    .course-purchase-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* --- Inline Process Steps --- */
.hero-inline-process {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.inline-process-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}
.inline-process-step i {
    color: var(--primary-color);
    font-size: 1.05rem;
}
.process-arrow {
    color: #cbd5e1;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-inline-process {
        width: 100%;
        justify-content: space-between;
        padding: 12px 16px;
    }
    .inline-process-step {
        font-size: 0.8rem;
    }
    .inline-process-step i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-inline-process {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    .process-arrow {
        display: none;
    }
}

/* ==========================================================================
   DISCOUNT PROMOTIONAL MODAL
   ========================================================================== */
.discount-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discount-overlay.active {
    display: flex;
    opacity: 1;
}

.discount-modal {
    background: #ffffff;
    width: 90%;
    max-width: 310px;
    border-radius: 16px;
    padding: 24px 20px;
    position: relative;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(10px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.discount-overlay.active .discount-modal {
    transform: translateY(0) scale(1);
}

.discount-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    transition: all 0.2s ease;
    z-index: 10;
}

.discount-close-btn:hover {
    background: #f1f5f9;
    color: #0f1623;
}

.discount-badge {
    display: inline-block;
    color: #ef4444;
    background: #fee2e2;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.discount-modal-content h2 {
    font-size: 1.4rem;
    color: #0f1623;
    margin-bottom: 6px;
    font-family: 'Cabinet Grotesk', sans-serif;
    line-height: 1.2;
}

.discount-modal-content h2 .highlight {
    color: #ef4444;
    font-size: 1.8rem;
    display: block;
    margin-top: 2px;
}

.discount-modal-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 16px;
}

.discount-timer {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.claim-discount-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    background: #0f1623;
    color: white;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.claim-discount-btn:hover {
    background: #ef4444;
}

@media (max-width: 480px) {
    .discount-modal {
        padding: 20px 16px;
        max-width: 290px;
    }
    .discount-modal-content h2 {
        font-size: 1.3rem;
    }
    .discount-modal-content h2 .highlight {
        font-size: 1.6rem;
    }
}

