/* ==========================================================================
   Nexum Education Landing Page Custom Stylesheet
   ========================================================================== */

/* Modern CSS Reset & Variable Definitions */
:root {
    --primary: #363435;          /* Logo Background Gray */
    --primary-light: #4E4C4D;    /* Muted Slate Gray */
    --secondary: #1F649B;        /* Logo Stethoscope Blue */
    --accent: #E07A2C;           /* Logo Orange */
    --accent-hover: #C56318;     /* Darker Orange */
    --text-main: #222222;        /* Dark Slate/Charcoal */
    --text-muted: #6B7280;       /* Muted Slate */
    --bg-light: #F9FAFB;         /* Soft Cloud Grey */
    --bg-dark: #1E1C1D;          /* Matte Charcoal Black */
    --success: #2EBD59;          /* Logo Stethoscope Green */
    --white: #FFFFFF;
    
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    --btn-shadow: 0 4px 14px rgba(224, 122, 44, 0.4);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   Utility Classes & Typography
   ========================================================================== */
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-warning { color: var(--accent); }
.font-yellow { color: var(--accent); }
.font-gray { color: var(--text-muted); }
.bg-yellow { background-color: var(--accent) !important; }
.text-white { color: var(--white) !important; }

/* Decor Section Title */
.section-title {
    margin-bottom: 50px;
}
.tag-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--secondary);
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 10px;
    background: rgba(99, 159, 171, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
}
.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.decor-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    margin: 0 auto 20px auto;
    border-radius: 2px;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   Header / Navigation Bar
   ========================================================================== */
.header {
    background-color: #363435;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}
.header-spacing {
    height: 75px;
    background-color: #363435;
}
.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-box {
    display: flex;
    align-items: center;
}
.logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}
.footer-brand .logo-box {
    background-color: #363435;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-self: flex-start;
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 550;
    position: relative;
    padding: 8px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--accent);
}
.nav-links a:hover::after {
    width: 100%;
}
.header-action .btn-header-call {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.header-action .btn-header-call:hover {
    background-color: #FFFFFF;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark), var(--primary));
    position: relative;
    padding: 70px 0;
    color: var(--white);
    min-height: 580px;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(99, 159, 171, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    z-index: 2;
    position: relative;
}
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
}
.highlight-text {
    background: linear-gradient(135deg, var(--accent), #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}
.hero-features {
    display: flex;
    gap: 25px;
    margin-top: 10px;
}
.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}
.hero-feat-item i {
    color: var(--success);
}

/* Countdown Urgency Card */
.countdown-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.countdown-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.timer-grid {
    display: flex;
    align-items: center;
    gap: 12px;
}
.timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 8px;
    min-width: 65px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.timer-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}
.timer-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.1em;
}
.timer-colon {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}
.countdown-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    display: inline-block;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 0.9; }
}

/* Sidebar Lead Form Card */
.hero-form-box {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    color: var(--text-main);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.form-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}
.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-group label i {
    color: var(--secondary);
}
.form-group input, .form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(99, 159, 171, 0.15);
}
.btn-submit {
    background-color: var(--accent);
    border: none;
    color: var(--bg-dark);
    padding: 12px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--btn-shadow);
    transition: var(--transition);
    width: 100%;
}
.btn-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}
.form-security {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================================================
   Trust / Stats Section
   ========================================================================== */
.trust-stats {
    background: linear-gradient(135deg, #E07A2C, #F39343);
    padding: 60px 0;
    color: var(--white);
}
.stats-heading-block {
    text-align: center;
    margin-bottom: 40px;
}
.stats-heading-block h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.stats-heading-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 550;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 25px;
}
.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}
.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.stat-icon-wrapper {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 12px;
}
.stat-item h3 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}
.stat-item p {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Offers / Combos Grid
   ========================================================================== */
.offers-section {
    padding: 80px 0;
}
.offers-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 24px 0;
}
.offers-marquee-track {
    display: flex;
    width: max-content;
    animation: scrollOffers 30s linear infinite;
}
.offers-marquee-track:hover {
    animation-play-state: paused;
}
.offer-card {
    background-color: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    width: 360px;
    margin-right: 30px;
    flex-shrink: 0;
    white-space: normal;
}
.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--secondary);
}
.offer-card.popular {
    border-color: var(--accent);
    background: linear-gradient(180deg, var(--white), #FFFDF6);
}
.popular-ribbon {
    display: inline-block;
    background-color: var(--accent);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.70rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(224, 122, 44, 0.3);
    margin-bottom: 10px;
    align-self: flex-start;
}
.offer-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 6px;
}
.offer-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    min-height: 40px;
}
.program-meta-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.meta-badge {
    background: rgba(99, 159, 171, 0.08);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.offer-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
    margin-top: 10px;
}
.offer-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.offer-footer {
    margin-top: auto;
}
.btn-card-apply {
    width: 100%;
    border: 2px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
    padding: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}
.offer-card.popular .btn-card-apply {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-card-apply:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(238, 185, 2, 0.4);
}

/* ==========================================================================
   Program Finder / Course Catalog
   ========================================================================== */
.catalog-section {
    background-color: var(--bg-light);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 85px 0;
}
.search-box {
    position: relative;
    max-width: 700px;
    margin: 0 auto 30px auto;
}
.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--text-muted);
}
#course-search-input {
    width: 100%;
    padding: 16px 50px 16px 54px;
    border-radius: 50px;
    border: 2px solid #E2E8F0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}
#course-search-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 8px 25px rgba(99, 159, 171, 0.15);
}
.btn-clr-search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    display: none;
}
.btn-clr-search:hover {
    color: var(--text-main);
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.filter-btn {
    background-color: var(--white);
    border: 1px solid #CBD5E1;
    color: var(--text-main);
    padding: 8px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}
.filter-btn.active {
    background-color: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

/* Results Content Catalog */
.results-container {
    min-height: 300px;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.catalog-item-card {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}
.catalog-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
}
/* Top bar representing category color */
.card-head-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}
.card-head-decor.red { background-color: #EF4444; }
.card-head-decor.blue { background-color: #3B82F6; }
.card-head-decor.green { background-color: #10B981; }
.card-head-decor.teal { background-color: #14B8A6; }

.card-body-content {
    padding: 28px 24px 20px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.card-above-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dur-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}
.dur-badge i {
    color: var(--secondary);
    margin-right: 4px;
}
.course-desc-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    min-height: 48px;
}
.course-specs-list {
    margin: 8px 0;
    border-top: 1px dashed #E2E8F0;
    border-bottom: 1px dashed #E2E8F0;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.spec-item {
    font-size: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
    text-align: left;
}
.spec-item i {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-top: 3px;
}
.course-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.82rem;
}
.badge-tag-status {
    color: var(--success);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-card-enq {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    transition: var(--transition);
}
.btn-card-enq:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 122, 44, 0.3);
}

/* Catalog Empty State */
.empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    padding: 60px 0;
}
.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
}
.empty-state h3 {
    font-size: 1.35rem;
    color: var(--primary);
}



/* ==========================================================================
   Highlights Section
   ========================================================================== */
.highlights-section {
    background-color: var(--bg-light);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 85px 0;
}
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.highlight-card {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: var(--transition);
}
.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: #CBD5E1;
}
.hl-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.hl-icon-box.blue { background-color: #EFF6FF; color: #2563EB; }
.hl-icon-box.yellow { background-color: #FEF3C7; color: #D97706; }
.hl-icon-box.green { background-color: #ECFDF5; color: #059669; }
.hl-icon-box.red { background-color: #FEF2F2; color: #DC2626; }
.hl-icon-box.purple { background-color: #FAF5FF; color: #7C3AED; }
.hl-icon-box.teal { background-color: #F0FDFA; color: #0D9488; }

.highlight-card h3 {
    font-size: 1.3rem;
    font-weight: 750;
    color: var(--primary);
}
.highlight-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Call To Action (CTA) Banner
   ========================================================================== */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(238, 185, 2, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.cta-container h2 {
    font-size: 2.22rem;
    font-weight: 800;
    color: var(--white);
}
.cta-container p {
    font-size: 1.15rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
}
.cta-btns {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.btn-cta-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 750;
    box-shadow: var(--btn-shadow);
}
.btn-cta-primary:hover {
    background-color: var(--white);
    color: var(--bg-dark);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.btn-cta-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 750;
}
.btn-cta-secondary:hover {
    background-color: var(--white);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer styles
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.brand-info {
    font-size: 0.9rem;
    line-height: 1.7;
}
.social-icons {
    display: flex;
    gap: 14px;
}
.social-icons a {
    background-color: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}
.social-icons a:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
}
.footer-links h3, .footer-contact h3 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 750;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
}
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
}
.footer-links ul a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.9rem;
}
.footer-contact a:hover {
    color: var(--accent);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 0.8rem;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ==========================================================================
   Floating Widgets / WhatsApp / Lightbox
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
}
.whatsapp-btn:hover {
    background-color: #20BA5A;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}



/* Success Modal Dialog Box */
.dialog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 22, 44, 0.7);
    backdrop-filter: blur(6px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}
.dialog-content {
    background-color: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 460px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1.5px solid #E2E8F0;
    animation: scaleUp 0.3s ease-out;
}
@keyframes scaleUp {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.success-icon-container {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #ECFDF5;
    color: var(--success);
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}
.dialog-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.dialog-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.dialog-content strong {
    color: var(--text-main);
}
.btn-success-close {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}
.btn-success-close:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-form-box {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    /* Header */
    .nav-links {
        display: none;
    }
    .header {
        padding: 10px 16px;
    }
    .header-spacing {
        height: 60px;
        background-color: #363435;
    }
    .logo-img {
        height: 48px !important;
    }
    /* Call button: white border, white text, 10px radius on mobile */
    .header-action .btn-header-call {
        font-size: 0.78rem;
        padding: 8px 14px;
        border: 2px solid #FFFFFF;
        color: #FFFFFF;
        border-radius: 10px;
    }
    .header-action .btn-header-call:hover {
        background-color: #FFFFFF;
        color: #363435;
    }

    /* Hero Section */
    .hero-container {
        flex-direction: column;
        gap: 30px;
        padding: 30px 16px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.25;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .hero-eligibility {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-form-wrapper {
        width: 100%;
        border-radius: 16px;
        padding: 24px 18px;
    }
    .lead-form input,
    .lead-form select {
        font-size: 1rem;
        padding: 13px 16px;
    }
    .btn-submit {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
        border-radius: 12px;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 8px;
    }
    .stat-item h3 {
        font-size: 2rem;
    }

    /* Offers / Cards Marquee Mobile overrides */
    .offer-card {
        width: 300px !important;
        margin-right: 15px !important;
        padding: 20px !important;
    }

    /* Course Catalog */
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .course-search-bar input {
        font-size: 0.95rem;
    }

    /* Highlights */
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .hl-card {
        padding: 20px 16px;
    }

    /* Reviews marquee - slow down slightly on mobile */
    .track-left {
        animation-duration: 55s;
    }
    .track-right {
        animation-duration: 55s;
    }
    .review-card {
        width: 280px;
        padding: 16px;
    }

    /* CTA Banner */
    .cta-container {
        padding: 40px 20px;
    }
    .cta-btns {
        flex-direction: column;
        gap: 12px;
    }
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-contact {
        grid-column: span 1;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* WhatsApp float - move up from bottom on mobile */
    .whatsapp-btn {
        bottom: 16px;
        left: 16px;
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    /* Enquiry Modal */
    .dialog-content {
        width: 95vw !important;
        max-width: 420px;
        padding: 24px 18px !important;
    }
}

/* ==========================================================================
   Reviews Marquee Section
   ========================================================================== */
.reviews-section {
    padding: 85px 0;
    background-color: #F4F6F8; /* light off-white */
    overflow: hidden;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}
.marquee-row {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
}
.track-left {
    animation: scrollLeft 75s linear infinite;
}
.track-right {
    animation: scrollRight 75s linear infinite;
}
.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}
.review-card {
    background: #FFFFFF;
    border: 1px solid #E8EDF3;
    border-radius: 12px;
    padding: 20px;
    width: 320px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: var(--transition);
}
.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 28px rgba(224, 122, 44, 0.15);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.student-avatar-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.student-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}
.student-meta h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
}
.student-meta span {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-top: 2px;
}
.review-stars {
    color: #F8C51E;
    font-size: 0.75rem;
    display: flex;
    gap: 2px;
}
.review-text {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 62px;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
@keyframes scrollOffers {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Announcement Ticker Marquee
   ========================================================================== */
.announce-ticker {
    background: linear-gradient(90deg, #363435 0%, #4a3830 50%, #363435 100%);
    border-bottom: 2px solid var(--accent);
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 99;
}
.ticker-inner {
    display: flex;
    overflow: hidden;
    padding: 9px 0;
}
.ticker-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
}
.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.ticker-track span i {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.ticker-track:hover {
    animation-play-state: paused;
}
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Mid-Page CTA Strip (Between Catalog & Highlights)
   ========================================================================== */
.mid-cta-strip {
    background: linear-gradient(135deg, #363435 0%, #2d2526 100%);
    padding: 32px 0;
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}
.mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.mid-cta-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mid-cta-text h3 i {
    color: var(--accent);
}
.mid-cta-text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}
.mid-cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}
.btn-mid-enquire {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-mid-enquire:hover {
    background: #c96a1e;
    transform: translateY(-2px);
}
.btn-mid-call {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}
.btn-mid-call:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==========================================================================
   Sticky Mobile Bottom CTA Bar
   ========================================================================== */
.sticky-mobile-cta {
    display: none; /* hidden on desktop */
}
@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #FFFFFF;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        padding: 10px 16px 16px;
        gap: 10px;
        border-top: 2px solid var(--accent);
    }
    .sticky-btn-enquire {
        flex: 1;
        background: var(--accent);
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 13px 16px;
        font-size: 0.95rem;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: var(--font-body);
    }
    .sticky-btn-call {
        flex: 1;
        background: #1E293B;
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 13px 16px;
        font-size: 0.95rem;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }
    /* Push WhatsApp button above sticky bar on mobile */
    .whatsapp-btn {
        bottom: 80px;
    }
    /* Add bottom padding to page content for sticky bar */
    body {
        padding-bottom: 80px;
    }
    /* Mid CTA stack on mobile */
    .mid-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .mid-cta-actions {
        width: 100%;
    }
    .btn-mid-enquire,
    .btn-mid-call {
        flex: 1;
        justify-content: center;
    }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 85px 0;
    background-color: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
    margin-bottom: 0;
}
.faq-full-row {
    grid-column: 1 / -1;
    border-top: 1px solid #E2E8F0;
    padding-top: 4px;
    margin-top: 4px;
}
.faq-item {
    border-bottom: 1px solid #E2E8F0;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 0;
    font-family: var(--font-heading);
    font-size: 0.97rem;
    font-weight: 700;
    color: #1E293B;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.faq-question:hover {
    color: var(--accent);
}
.faq-question[aria-expanded="true"] {
    color: var(--accent);
}
.faq-icon {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open {
    max-height: 300px;
    padding-bottom: 16px;
}
.faq-answer p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}
.faq-cta {
    margin-top: 50px;
    padding: 32px;
    background: linear-gradient(135deg, #363435, #2d2526);
    border-radius: 16px;
    border: 1px solid rgba(224, 122, 44, 0.3);
}
.faq-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .faq-full-row {
        grid-column: 1;
    }
    .faq-question {
        font-size: 0.9rem;
        padding: 16px 0;
    }
    .faq-cta {
        padding: 24px 18px;
    }
}

/* Category Tag Color Overrides */
.cat-tag {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cat-tag.alternative {
    background-color: #FAF5FF;
    color: #7C3AED;
}
.cat-tag.paramedical {
    background-color: #F0FDFA;
    color: #0D9488;
}

/* Course Details Modal Styles */
.details-modal-content {
    max-width: 650px !important;
    text-align: left !important;
    align-items: stretch !important;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px !important;
}

.details-modal-body h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    border-bottom: 2px solid #F1F5F9;
    padding-bottom: 10px;
}

.details-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.details-desc-box {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    background-color: #F8FAFC;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    margin-bottom: 15px;
}

.details-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

@media (max-width: 576px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

.details-item {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.details-item i {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 3px;
}

.details-legal-box {
    background-color: #FFFDF5;
    border: 1px dashed var(--accent);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin-top: 15px;
}

.btn-view-details {
    background: transparent;
    border: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    transition: var(--transition);
}

.btn-view-details:hover {
    color: var(--accent);
    transform: translateX(2px);
}
