/* ===== CSS Variables ===== */
:root {
    --primary-blue: #0056d2;
    --light-blue-bg: #eeffff;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --accent-green: #10b981;
    --accent-orange: #f97316;
    --border-color: #e5e7eb;
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --font-main: 'Poppins', sans-serif;
    --form-blue: #0ea5e9;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: #f3f4f6;
    color: var(--text-dark);
    height: 100vh;
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
}

/* ===== Top Bar (Hidden for compact view or kept small) ===== */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 6px 0;
    font-size: 11px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left,
.top-center,
.top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coupon-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.coupon-badge i {
    font-size: 8px;
}

.top-link {
    color: #4b5563;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-exp {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-socials a {
    color: #9ca3af;
    font-size: 13px;
    transition: 0.2s;
}

.top-socials a:hover {
    color: var(--primary-blue);
}

.top-right button {
    color: #9ca3af;
}

/* ===== Header ===== */
.header {
    background: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-logo-link {
    display: block;
}

.logo-img {
    height: 52px;
    width: auto;
}

.logo-tagline {
    display: flex;
    align-items: center;
}

.admissions-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.hashtag {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-explore {
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
}

.nav-item i {
    font-size: 9px;
    color: #9ca3af;
    margin-left: 4px;
}

.mobile-menu-btn {
    display: none;
}

/* ===== Hero Split Section (Compact for Single Screen) ===== */
.hero-split {
    padding: 10px 0;
    /* Reduced padding */
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
    height: calc(100vh - 90px);
    /* Fit approximate viewport */
    min-height: 550px;
    display: flex;
    align-items: center;
}

.hero-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    display: flex;
    overflow: hidden;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid white;
    position: relative;
    z-index: 10;
    height: 100%;
    max-height: 580px;
    /* Constrain height */
}

/* Left Panel Style */
.hero-left-panel {
    width: 40%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
}

.logo-marquee-row {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: inline-flex;
    gap: 16px;
    animation: marquee-scroll 20s linear infinite;
}

.logo-marquee-row.reverse .marquee-track {
    animation-direction: reverse;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-marquee-row .marquee-track {
    animation: marquee-move-right 25s linear infinite;
}

@keyframes marquee-move-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.grid-logo {
    background: white;
    border-radius: 8px;
    height: 50px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.grid-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.info-box-blue {
    background: #dbeafe;
    padding: 15px;
    border-radius: 12px;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.info-box-blue h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* Right Panel: COMPACT FORM STYLE */
.hero-right-panel.new-form-style {
    width: 60%;
    padding: 24px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.form-container-inner {
    width: 100%;
    max-width: 450px;
}

.new-form-title {
    font-size: 20px;
    font-weight: 800;
    color: #0056d2;
    margin-bottom: 2px;
}

.new-form-subtitle {
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 12px;
}

.new-form-benefits {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-green);
}

.new-form-benefits i {
    margin-right: 4px;
}

.exact-form-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.new-input,
.new-select {
    width: 100%;
    padding: 10px 14px;
    /* Reduced */
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 13px;
    outline: none;
    color: #374151;
    font-family: inherit;
    transition: 0.2s;
    background: white;
    height: 38px;
    /* Fixed small height */
}

.new-input:focus,
.new-select:focus {
    border-color: var(--primary-blue);
}

.contact-input-wrapper {
    position: relative;
}

.spam-badge-float {
    position: absolute;
    right: 0;
    bottom: -8px;
    background: #d1fae5;
    color: #047857;
    font-size: 8px;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.select-input-wrapper {
    position: relative;
}

.select-input-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 10px;
}

.new-select {
    appearance: none;
    cursor: pointer;
}

/* Highlighted state field */
.active-state .new-select {
    border: 2px solid #60a5fa;
    background-color: #eff6ff;
}

.security-box {
    background: #ecfdf5;
    color: #065f46;
    font-size: 10px;
    font-weight: 500;
    padding: 5px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.security-box i {
    font-size: 9px;
}

.expert-connect-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.counsellor-avatars img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    object-fit: cover;
}

.expert-text-group span {
    font-size: 10px;
    font-weight: 600;
    color: #1f2937;
}

.stars {
    color: #fbbf24;
    font-size: 9px;
    letter-spacing: 1px;
}

.btn-find-best {
    background: #0066ff;
    color: white;
    font-size: 13px;
    font-weight: 700;
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    transition: 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-find-best:hover {
    background: #0052cc;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

/* Floating Elements */
.scroll-down-btn {
    display: none;
}

/* Hide to save space */
.floating-robot {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 99;
    text-align: center;
}

.floating-robot img {
    width: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.robot-msg {
    background: var(--primary-blue);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    white-space: nowrap;
}

/* ===== Course Info Section ===== */
.course-info-section {
    padding: 40px 0;
    background: #fdfdfd;
}

/* Main Card */
.course-main-card {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.course-card-left {
    width: 35%;
    background: linear-gradient(135deg, #0056d2 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px;
}

.course-img-placeholder {
    text-align: center;
    color: white;
    width: 100%;
}

.course-badge {
    display: block;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.course-img-placeholder img {
    width: 60%;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.2));
}

.share-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #10b981;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.course-card-right {
    width: 65%;
    padding: 30px;
}

.course-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.update-date {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
}

.btn-download-ebook {
    background: #10b981;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.breadcrumbs {
    font-size: 12px;
    color: #0056d2;
    margin-bottom: 15px;
    font-weight: 500;
}

.course-heading {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 15px;
}

.course-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 25px;
}

.course-media-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.media-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
}

.media-link.video i {
    color: #ef4444;
    font-size: 20px;
}

.media-link.audio i {
    color: #4b5563;
}

.audio-waves {
    color: #3b82f6;
    letter-spacing: 2px;
    font-weight: 900;
    font-size: 10px;
}

/* Cashback Banner */
.cashback-banner {
    background: #fffbeb;
    /* Light yellow */
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 0 auto 40px;
    max-width: 600px;
    /* Centered narrow banner */
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: rotate(-1deg);
    /* Slight tilt for 'sticky note' effect */
}

.cashback-content {
    text-align: center;
    position: relative;
}

.pin-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #ef4444;
    font-size: 20px;
}

.cashback-banner h3 {
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 5px;
    line-height: 1.3;
}

.cashback-banner p {
    font-size: 13px;
    color: #4b5563;
}

.cashback-banner strong {
    color: #b45309;
}

.detail-btn-round {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    margin-top: 5px;
}

/* Quick Stats Table */
.quick-stats-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 1px solid #e5e7eb;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}

.stats-row.header {
    background: #003366;
    /* Dark Blue */
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.stats-row.header .col {
    padding: 15px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-row.body {
    background: white;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.stats-row.body .col {
    padding: 20px 10px;
    border-right: 1px solid #f3f4f6;
}

.stats-row .col:last-child {
    border-right: none;
}

/* Program Overview */
.program-overview h2 {
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 15px;
    border-left: 4px solid #0056d2;
    padding-left: 12px;
}

.program-overview p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    text-align: justify;
}

/* Responsive Course Info */
@media (max-width: 768px) {
    .course-main-card {
        flex-direction: column;
    }

    .course-card-left,
    .course-card-right {
        width: 100%;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        /* Stack to 2 cols */
    }

    .stats-row .col {
        border-bottom: 1px solid #f3f4f6;
    }
}

/* Footer */
.footer {
    display: block;
    /* Unhide footer */
    background: #111827;
    color: white;
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

/* ===== New Sections CSS ===== */

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 40px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.course-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.course-icon {
    width: 50px;
    height: 50px;
    background: #f0f9ff;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 5px;
}

.course-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.course-card p {
    font-size: 12px;
    color: var(--text-gray);
}

/* Why Choose CV */
.why-cv-section {
    background: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.feature-card img {
    width: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    background: white;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.review-header h4 {
    font-size: 15px;
    font-weight: 600;
}

.review-header span {
    font-size: 12px;
    color: var(--text-gray);
}

.review-card p {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

/* Hide footer to ensure single screen focus if needed, or keep minimal */

/* Responsive */
/* ===== Mobile Menu Overlay ===== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    /* Hidden by default */
    justify-content: flex-end;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-content {
    width: 280px;
    height: 100%;
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.mobile-close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 20px;
    color: #374151;
    cursor: pointer;
}

.mobile-link {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

/* ===== Responsive Design ===== */
/* ===== Responsive Design ===== */
/* ===== Responsive Design ===== */
/* Global Responsive Resets */
html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .container {
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100% !important;
    }

    .header-content {
        justify-content: space-between;
    }

    .main-nav,
    .header-right {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 24px;
        color: #374151;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    /* Stack Hero Section */
    .hero-split {
        height: auto !important;
        min-height: auto !important;
        padding: 5px 0 20px 0 !important;
        background: white !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .hero-card {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Order: Form First */
    .hero-right-panel.new-form-style {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 16px !important;
        order: 1 !important;
        background: white !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin-bottom: 10px !important;
    }

    .hero-left-panel {
        width: 100% !important;
        padding: 10px 16px !important;
        order: 2 !important;
        background: white !important;
        overflow: hidden !important;
        /* PREVENT BLOWOUT */
    }

    .info-box-blue {
        display: none !important;
    }

    .new-form-title {
        font-size: 16px !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .new-form-subtitle {
        font-size: 10px !important;
        margin-bottom: 8px !important;
    }

    /* COMPACT FORM INPUTS */
    .form-container-inner {
        max-width: 100% !important;
        width: 100% !important;
    }

    .exact-form-inputs {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 8px !important;
    }

    .new-input,
    .new-select {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        font-size: 12px !important;
        padding: 0 10px !important;
        width: 100% !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
    }

    .contact-input-wrapper .spam-badge-float {
        display: none !important;
    }

    .btn-find-best {
        padding: 10px !important;
        font-size: 12px !important;
        margin-top: 5px !important;
        width: 100% !important;
        border-radius: 20px !important;
    }

    .new-form-benefits {
        display: none !important;
    }

    .expert-connect-row {
        display: none !important;
    }

    .security-box {
        display: none !important;
    }

    .logo-marquee-row {
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        margin-top: 5px !important;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .form-container-inner {
        max-width: 100%;
    }
}