/* ============================================
   NMIMS CDOE Online MBA — styles.css
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #1a1a2e;
    background: #fff;
}

/* ---- LUCIDE ICONS ---- */
.lucide {
    display: inline-flex;
    vertical-align: -0.125em;
}
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 22px; height: 22px; }
.icon-lg { width: 32px; height: 32px; }
.lucide-align { margin-right: 6px; }

/* ---- CSS VARIABLES ---- */
:root {
    --nmims-blue: #003087;
    --nmims-gold: #C9A227;
    --nmims-red: #9B1B1B;
    --nmims-light: #F4F7FF;
    --text-dark: #1a1a2e;
    --text-muted: #555;
    --border: #e0e0e0;
}

/* ---- TOP BANNER ---- */
.top-banner {
    background: linear-gradient(135deg, var(--nmims-blue) 0%, #001a5e 100%);
    color: #fff;
    text-align: center;
    padding: 9px 16px;
    font-size: 13px;
    letter-spacing: 0.2px;
}

/* ---- NAVIGATION ---- */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    border-bottom: 2px solid var(--border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.nav-call-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.nav-call-note {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--nmims-blue);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: #001f6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,48,135,0.3);
}

/* ---- MARKET TICKER ---- */
.market-ticker {
    display: flex;
    padding: 10px 20px;
    background: #f0f4ff;
    border-bottom: 1px solid #d0d9f0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.market-ticker::-webkit-scrollbar { display: none; }

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 32px;
    font-size: 13px;
    gap: 5px;
    flex-shrink: 0;
}

.ticker-up { color: #2e7d32; }
.ticker-value { font-weight: 600; color: var(--nmims-blue); }
.ticker-change { color: #2e7d32; font-weight: 600; }

/* ---- HERO SECTION ---- */
.hero-section {
    display: flex;
    padding: 50px 40px;
    max-width: 1280px;
    margin: 0 auto;
    gap: 50px;
    align-items: flex-start;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--nmims-gold), #e8b800);
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.main-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 18px;
}

.title-accent {
    color: var(--nmims-blue);
}

.hero-text {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-pill {
    background: var(--nmims-light);
    border: 1px solid #c6d4f5;
    color: var(--nmims-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* ---- STATS ROW ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    background: var(--nmims-light);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #c6d4f5;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--nmims-blue);
}

.stat-label {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    font-weight: 500;
}

/* ---- CTA BUTTON ---- */
.cta-button {
    display: inline-block;
    background: var(--nmims-blue);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-bottom: 12px;
}

.cta-button:hover {
    background: #001f6b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,48,135,0.35);
}

.cta-button--large {
    font-size: 18px;
    padding: 16px 36px;
}

.time-tag {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

/* ---- FORM CONTAINER ---- */
.hero-image {
    flex: 0 0 380px;
}

.form-container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,48,135,0.15);
    border: 1px solid #d0d9f0;
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--nmims-blue), #001a5e);
    color: #fff;
    padding: 20px 24px;
}

.form-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-header p {
    font-size: 13px;
    opacity: 0.85;
}

form {
    padding: 20px 24px;
}

.form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    font-size: 13px;
}

.textinput {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 12px;
    border: 1.5px solid #d0d9f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafbff;
}

.textinput:focus {
    border-color: var(--nmims-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,48,135,0.1);
    background: #fff;
}

.selectinput {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 12px;
    border: 1.5px solid #d0d9f0;
    border-radius: 8px;
    font-size: 14px;
    background: #fafbff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.selectinput:focus {
    border-color: var(--nmims-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,48,135,0.1);
}

#leadform {
    width: 100%;
    padding: 13px;
    background: var(--nmims-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.25s;
}

#leadform:hover {
    background: #001f6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,48,135,0.3);
}

/* ---- SECTION BASE ---- */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

/* ---- WHY NMIMS ---- */
.why-section {
    background: var(--nmims-light);
    padding: 70px 0;
    margin-top: 20px;
    border-top: 3px solid #d0d9f0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid #d0d9f0;
    transition: transform 0.25s, box-shadow 0.25s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,48,135,0.12);
}

.why-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.why-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--nmims-blue);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ---- LEARNING SECTION ---- */
.learn-section {
    padding: 70px 0;
    background: #fff;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.learn-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--nmims-light);
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #d0d9f0;
}

.learn-emoji {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}

.learn-item strong {
    display: block;
    font-size: 15px;
    color: var(--nmims-blue);
    font-weight: 700;
    margin-bottom: 4px;
}

.learn-item p {
    font-size: 14px;
    color: #555;
}

/* ---- SPECIALISATIONS ---- */
.spec-section {
    padding: 70px 0;
    background: var(--nmims-light);
    border-top: 3px solid #d0d9f0;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.spec-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    border: 1.5px solid #d0d9f0;
    cursor: pointer;
    transition: all 0.25s;
}

.spec-card:hover {
    border-color: var(--nmims-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,48,135,0.14);
}

.spec-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.spec-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.spec-card p {
    font-size: 12px;
    color: #777;
    margin-bottom: 14px;
    line-height: 1.5;
}

.spec-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--nmims-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.spec-link:hover {
    color: var(--nmims-gold);
}

/* ---- FEE SECTION ---- */
.fee-section {
    padding: 70px 0;
    background: #fff;
    border-top: 3px solid #d0d9f0;
}

.fee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.fee-card {
    border: 2px solid #d0d9f0;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.25s;
}

.fee-card:hover {
    border-color: var(--nmims-blue);
    box-shadow: 0 8px 24px rgba(0,48,135,0.1);
}

.fee-card--highlight {
    border-color: var(--nmims-gold);
    background: linear-gradient(135deg, #fffdf0, #fffae0);
    box-shadow: 0 4px 20px rgba(201,162,39,0.2);
}

.fee-badge {
    display: inline-block;
    background: var(--nmims-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.fee-card--highlight .fee-badge {
    background: var(--nmims-gold);
    color: #1a1a2e;
}

.fee-amount {
    font-size: 34px;
    font-weight: 800;
    color: var(--nmims-blue);
    margin-bottom: 4px;
}

.fee-period {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.fee-list {
    list-style: none;
    text-align: left;
    margin-bottom: 22px;
    font-size: 14px;
    color: #555;
    line-height: 2;
}

.fee-btn {
    display: block;
    background: var(--nmims-blue);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s;
}

.fee-btn:hover {
    background: #001f6b;
    transform: translateY(-2px);
}

.fee-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    background: var(--nmims-light);
    border-radius: 12px;
    padding: 20px 30px;
    border: 1px solid #d0d9f0;
}

.fee-extra-item {
    font-size: 14px;
    color: #555;
    padding: 0 16px;
    border-right: 1px solid #ccc;
}

.fee-extra-item:last-child { border-right: none; }

.fee-extra-item.defence {
    color: var(--nmims-red);
    font-weight: 600;
    border-right: none;
    width: 100%;
    text-align: center;
}

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, var(--nmims-blue), #001a5e);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.cta-section .title-accent {
    color: var(--nmims-gold);
}

.cta-section p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 28px;
}

.cta-section .cta-button {
    background: var(--nmims-gold);
    color: #1a1a2e;
}

.cta-section .cta-button:hover {
    background: #e8b800;
    box-shadow: 0 6px 20px rgba(201,162,39,0.4);
}

/* ---- FOOTER ---- */
.site-footer {
    background: #111;
    color: #ccc;
    padding: 30px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-text {
    font-size: 13px;
    line-height: 1.7;
}

.footer-link {
    color: var(--nmims-gold);
    text-decoration: none;
}

.footer-link:hover { text-decoration: underline; }

/* ---- FLOATING BUTTON ---- */
.floating-btn {
    background: var(--nmims-gold);
    color: #1a1a2e;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    position: fixed;
    opacity: 1;
    letter-spacing: 0.5px;
}

.floating-btn:hover {
    background: #e8b800;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

@media screen and (min-width: 769px) {
    .floating-btn {
        right: 0;
        top: 50%;
        padding: 20px 10px;
        border-radius: 8px 0 0 8px;
        writing-mode: vertical-lr;
        text-orientation: mixed;
        transform: rotate(180deg);
        display: flex;
        align-items: center;
    }
    .floating-btn svg {
        margin-bottom: 10px;
        width: 16px;
        height: 16px;
        transform: rotate(90deg);
    }
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding-bottom: 80px;
    }
    .floating-btn {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        justify-content: center;
        padding: 14px 20px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        text-align: center;
    }
    .floating-btn svg {
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }
}

/* ---- MODAL ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-container {
    background: #fff;
    width: 90%;
    max-width: 480px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 92vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--nmims-blue), #001a5e);
    color: #fff;
    padding: 20px 24px!important;
    border-radius: 14px 14px 0 0;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.modal-close:hover { background: rgba(255,255,255,0.35); }

.form-group1 { margin-bottom: 10px; }

label p {
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    font-size: 13px;
}

.security-notice {
    background: #f0f4ff;
    border: 1px solid #c6d4f5;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    margin: 14px 0;
    font-size: 13px;
    color: var(--nmims-blue);
    font-weight: 600;
}

#leadform1 {
    width: 100%;
    padding: 13px;
    background: var(--nmims-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
}

#leadform1:hover {
    background: #001f6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,48,135,0.3);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .spec-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-section { flex-direction: column; padding: 30px 24px; }
    .hero-image { flex: unset; width: 100%; order: -1; }
    .main-title { font-size: 30px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .fee-grid { grid-template-columns: repeat(1, 1fr); }
    .learn-grid { grid-template-columns: 1fr; }
    .section-inner { padding: 0 20px; }
    .nav-container { padding: 12px 20px; }
}

@media (max-width: 768px) {
    .why-grid { grid-template-columns: repeat(1, 1fr); }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 24px; }
    .main-title { font-size: 26px; }
    .fee-extras { flex-direction: column; align-items: center; }
    .fee-extra-item { border-right: none; text-align: center; padding: 4px 0; }
    .cta-section h2 { font-size: 22px; }
    .logo-img { height: 60px; }
}

@media (max-width: 480px) {
    .hero-pills { gap: 6px; }
    .hero-pill { font-size: 12px; padding: 5px 12px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; }
    .stat-number { font-size: 22px; }
    .spec-grid { grid-template-columns: repeat(1, 1fr); }
    .cta-button { width: 100%; text-align: center; }
    .textinput, .selectinput, #leadform, #leadform1 { font-size: 14px; padding: 10px 12px; }
    .modal-container { border-radius: 10px; }
    .fee-card { padding: 22px 18px; }
    .logo-img { height: 45px; }
    .nav-container { padding: 10px 15px; }
    .btn { padding: 8px 12px; font-size: 13px; }
}