/* ==============================================================
   NSDVE - Institutional Website Stylesheet
   Theme: Professional Academic / Navy Blue & Subtle Orange Accents
   ============================================================== */

:root {
    --ns-primary: #0f2e5a;         /* Deep Academic Navy Blue */
    --ns-primary-dark: #0a1f3d;
    --ns-primary-light: #1e457e;
    --ns-secondary: #e65100;       /* Subtle Saffron/Orange Accent */
    --ns-secondary-hover: #c43c00;
    --ns-accent: #f89406;
    --ns-bg-light: #f8f9fa;
    --ns-border-color: #d1d9e6;
    --ns-text-main: #2b354f;
    --ns-text-muted: #64748b;
    --ns-font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    --ns-font-serif: "Georgia", Cambria, "Times New Roman", Times, serif;
}

body {
    font-family: var(--ns-font-sans);
    color: var(--ns-text-main);
    background-color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------------------
   TOP INFORMATION BAR
   -------------------------------------------------------------- */
.top-info-bar {
    background-color: var(--ns-primary-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--ns-secondary);
}

.top-info-bar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-info-bar a:hover {
    color: #ffb74d;
}

.top-info-bar .divider {
    color: #475569;
    margin: 0 8px;
}

/* --------------------------------------------------------------
   MAIN HEADER
   -------------------------------------------------------------- */
.main-header {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.header-logo {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.brand-text .brand-hindi {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ns-primary);
    margin: 0;
    line-height: 1.25;
}

.brand-text .brand-english {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ns-primary-dark);
    letter-spacing: 0.5px;
    margin: 2px 0 0 0;
    line-height: 1.25;
}

.brand-text .brand-sub {
    font-size: 0.76rem;
    color: var(--ns-text-muted);
    margin: 2px 0 0 0;
    line-height: 1.2;
}

.header-cta-btn {
    background-color: var(--ns-secondary);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 4px;
    padding: 9px 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 2px 4px rgba(230, 81, 0, 0.25);
    transition: all 0.2s ease;
}

.header-cta-btn:hover {
    background-color: var(--ns-secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(230, 81, 0, 0.35);
}

/* --------------------------------------------------------------
   NAVIGATION BAR
   -------------------------------------------------------------- */
.navbar-nsdve {
    background-color: var(--ns-primary);
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-nsdve .nav-link {
    color: #f1f5f9 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 14px !important;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.navbar-nsdve .nav-link:hover,
.navbar-nsdve .nav-link.active {
    background-color: var(--ns-primary-light);
    color: #ffffff !important;
    border-bottom-color: var(--ns-secondary);
}

.navbar-nsdve .dropdown-menu {
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--ns-secondary);
    padding: 6px 0;
    min-width: 220px;
}

.navbar-nsdve .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 18px;
    color: var(--ns-text-main);
    transition: background-color 0.15s ease;
}

.navbar-nsdve .dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--ns-primary);
}

/* --------------------------------------------------------------
   HERO BANNER
   -------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 46, 90, 0.95), rgba(10, 31, 61, 0.92)), url('../images/hero/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 70px 0 60px 0;
    position: relative;
}

.hero-badge {
    background: rgba(230, 81, 0, 0.2);
    border: 1px solid rgba(230, 81, 0, 0.5);
    color: #ffb74d;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 620px;
}

.quick-verify-card {
    background: #ffffff;
    color: var(--ns-text-main);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border-top: 4px solid var(--ns-secondary);
}

/* --------------------------------------------------------------
   ANNOUNCEMENTS TICKER
   -------------------------------------------------------------- */
.ticker-bar {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
    font-size: 0.88rem;
}

.ticker-label {
    background-color: var(--ns-secondary);
    color: #ffffff;
    padding: 3px 10px;
    font-weight: 700;
    border-radius: 3px;
    font-size: 0.78rem;
    text-transform: uppercase;
    display: inline-block;
}

/* --------------------------------------------------------------
   SECTION HEADINGS & BLOCKS
   -------------------------------------------------------------- */
.section-padding {
    padding: 55px 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: var(--ns-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.section-title {
    color: var(--ns-primary-dark);
    font-size: 1.95rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--ns-secondary);
}

/* --------------------------------------------------------------
   CARDS & INSTITUTIONAL BLOCKS
   -------------------------------------------------------------- */
.feature-card {
    background: #ffffff;
    border: 1px solid var(--ns-border-color);
    border-radius: 6px;
    padding: 24px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15, 46, 90, 0.08);
    border-color: #cbd5e1;
}

.feature-icon-box {
    width: 55px;
    height: 55px;
    background: #edf2f7;
    color: var(--ns-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.course-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.course-card:hover {
    border-color: var(--ns-primary-light);
    box-shadow: 0 6px 18px rgba(15, 46, 90, 0.1);
    transform: translateY(-3px);
}

.course-card-header {
    background-color: var(--ns-primary);
    color: #ffffff;
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.course-card-body {
    padding: 20px;
    flex: 1;
}

.course-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ns-primary-dark);
    margin-bottom: 10px;
}

/* Statistics Counter */
.stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.03);
}

.stat-number {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--ns-primary);
    line-height: 1;
    margin-bottom: 8px;
}

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

/* --------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------- */
.site-footer {
    background-color: #0b1a2e;
    color: #94a3b8;
    padding: 55px 0 20px 0;
    font-size: 0.88rem;
    border-top: 3px solid var(--ns-secondary);
}

.footer-widget-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--ns-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffb74d;
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.82rem;
    color: #64748b;
}

/* ==============================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================================== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Form controls on mobile: 16px prevents iOS Safari auto-zoom */
@media (max-width: 767.98px) {
    input, select, textarea, .form-control, .form-select {
        font-size: 16px !important;
        min-height: 44px;
    }
    
    .btn {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body {
        padding-bottom: 60px !important; /* spacing for fixed mobile action bar */
    }
}

/* Tablet & Mobile Screens (<= 991.98px) */
@media (max-width: 991.98px) {
    .header-logo {
        height: 52px;
    }
    .brand-text .brand-hindi {
        font-size: 0.88rem;
        line-height: 1.25;
    }
    .brand-text .brand-english {
        font-size: 1.02rem;
        line-height: 1.2;
    }
    .brand-text .brand-sub {
        font-size: 0.7rem;
        line-height: 1.25;
    }

    .main-header {
        padding: 12px 0;
    }

    .header-cta-btn {
        width: 100%;
        text-align: center;
        display: block;
        padding: 10px 14px;
        font-size: 0.86rem;
    }

    .hero-section {
        padding: 40px 0 35px 0;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .navbar-nsdve .navbar-collapse {
        background-color: #0c213f;
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nsdve .nav-link {
        padding: 10px 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 3px solid transparent;
        font-size: 0.92rem;
    }

    .navbar-nsdve .nav-link:hover,
    .navbar-nsdve .nav-link.active {
        background-color: rgba(255, 255, 255, 0.06);
        border-left-color: var(--ns-secondary);
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .navbar-nsdve .dropdown-menu {
        background-color: #08172c;
        border: none;
        padding: 4px 0 4px 15px;
        border-left: 3px solid var(--ns-secondary);
        border-radius: 0;
        box-shadow: none;
    }

    .navbar-nsdve .dropdown-item {
        color: #e2e8f0;
        padding: 8px 16px;
    }

    .navbar-nsdve .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }
}

/* Small Smartphone Screens (<= 575.98px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.55rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .quick-verify-card {
        padding: 18px 14px;
        border-radius: 8px;
    }

    .stat-box {
        padding: 14px 8px;
    }

    .stat-number {
        font-size: 1.65rem;
    }

    .stat-label {
        font-size: 0.72rem;
        letter-spacing: 0;
    }

    .section-padding {
        padding: 38px 0;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .section-subtitle {
        font-size: 0.72rem;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .ticker-bar {
        font-size: 0.78rem;
    }

    .ticker-label {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .site-footer {
        padding: 40px 0 15px 0;
    }

    .footer-bottom {
        margin-top: 25px;
        font-size: 0.78rem;
        text-align: center !important;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 8px;
    }
}

/* --------------------------------------------------------------
   BOTTOM FLOATING MOBILE ACTION BAR
   -------------------------------------------------------------- */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0b1a2e;
    border-top: 2px solid var(--ns-secondary);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 8px;
    z-index: 1040;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.2);
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.mobile-action-btn i {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.mobile-action-btn.btn-call {
    color: #4ade80;
}

.mobile-action-btn.btn-verify {
    color: #fbbf24;
    font-weight: 700;
}

.mobile-action-btn.btn-apply {
    color: #ffffff;
    background: #e65100;
    border-radius: 6px;
    padding: 5px 8px;
}

.mobile-action-btn.btn-apply i {
    color: #ffffff;
}

.mobile-action-btn:hover {
    color: #ffffff;
}

