/* =========================================================================
   MBBSPG MANAGEMENT SYSTEM - STATE & DIRECTORY STYLESHEET
   File: css/management-state.css
   Applies to: management.html & all state pages (kolkata, bangalore, chennai, etc.)
   ========================================================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

:root {
    --exec-bg-dark: #0f172a;
    --exec-red: #9b0027;           /* MBBSPG Primary Red */
    --exec-red-light: #b3002d;
    --exec-red-hover: #7a001f;
    --exec-light: #f8fafc;
    --exec-border: #cbd5e1;
    --exec-text-main: #090d16;     /* Deep slate for high contrast */
    --exec-text-body: #0f172a;     /* High contrast, legible body text */
    --exec-text-muted: #334155;
}

/* 0. BREADCRUMB (management.html & State Pages) */
.mgmt-breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}

.mgmt-breadcrumb-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    color: #64748b;
}

.mgmt-breadcrumb-inner a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mgmt-breadcrumb-inner a:hover {
    color: var(--exec-red);
}

.mgmt-breadcrumb-inner span.sep {
    color: #94a3b8;
}

.mgmt-breadcrumb-inner b {
    color: var(--exec-red);
    font-weight: 700;
}

/* 1. PROFESSIONAL EXECUTIVE HERO SECTION (BALANCED CONTRAST, RICH DEPTH) */
.exec-hero {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgb(235 240 248 / 0%) 100%), url(https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80) center / cover no-repeat;
    padding: 55px 20px;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.exec-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.exec-kicker {
    display: inline-block;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: var(--exec-red);
    padding: 6px 14px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(155, 0, 39, 0.25);
}

.exec-hero-content h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.25;
    margin: 0 0 16px;
    color: var(--exec-text-main);
    font-weight: 700;
}

.exec-hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 600;
    color: var(--exec-text-body);
    margin: 0 0 24px;
}

.exec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.exec-tag {
    background: #0f172a;
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Explore Colleges Button Styling */
.exec-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--exec-red);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 0, 39, 0.25);
}

.exec-explore-btn:hover {
    background: var(--exec-red-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 0, 39, 0.35);
}

/* Form Card against Hero */
.exec-form-card {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid #cbd5e1;
    border-top: 4px solid var(--exec-red);
}

.exec-form-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    margin: 0 0 6px;
    color: var(--exec-text-main);
    font-weight: 700;
}

.exec-form-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--exec-text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.exec-form-group {
    margin-bottom: 12px;
}

.exec-form-group input,
.exec-form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--exec-text-main);
    background: #f8fafc;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.exec-form-group input:focus,
.exec-form-group select:focus {
    outline: none;
    border-color: var(--exec-red);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(155, 0, 39, 0.12);
}

.exec-submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--exec-text-main);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exec-submit-btn:hover {
    background: var(--exec-red);
}

/* 2. DIRECTORY SECTION */
.exec-colleges-section {
    padding: 55px 20px;
    background: #f8fafc;
}

.exec-section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 35px;
}

.exec-section-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: var(--exec-text-main);
    margin-bottom: 10px;
    font-weight: 700;
}

.exec-section-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--exec-text-muted);
    line-height: 1.6;
    font-weight: 500;
}

/* Search & Filter Bar */
.exec-filter-bar {
    max-width: 900px;
    margin: 0 auto 35px;
    background: #ffffff;
    padding: 12px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #cbd5e1;
}

.exec-search {
    position: relative;
}

.exec-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.exec-search input,
.exec-filter-bar select {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    color: var(--exec-text-main);
    box-sizing: border-box;
}

.exec-filter-bar select {
    padding: 12px 16px;
    cursor: pointer;
}

/* HORIZONTAL COLLEGE CARDS */
.exec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.exec-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.exec-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--exec-red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exec-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.exec-card:hover::before {
    opacity: 1;
}

.exec-card-logo {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.exec-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.exec-card-info {
    flex-grow: 1;
    text-align: left;
    min-width: 0;
}

.exec-card-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--exec-text-main);
    margin: 0 0 6px;
    font-weight: 700;
    line-height: 1.3;
}

.exec-card-location {
    font-family: 'Inter', sans-serif;
    color: var(--exec-text-muted);
    font-size: 0.88rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.exec-card-courses {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--exec-text-main);
    background: #f1f5f9;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.exec-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
    flex-shrink: 0;
}

.exec-card-btn {
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.exec-card-btn.view {
    background: #ffffff;
    color: var(--exec-text-main);
    border: 1px solid #cbd5e1;
}

.exec-card-btn.view:hover {
    background: #f8fafc;
    border-color: var(--exec-text-main);
}

.exec-card-btn.enquire {
    background: var(--exec-text-main);
    color: #ffffff;
    border: 1px solid var(--exec-text-main);
}

.exec-card-btn.enquire:hover {
    background: var(--exec-red);
    border-color: var(--exec-red);
}

/* 3. EXPLORE BY PROGRAMME */
.exec-programs-section {
    padding: 55px 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.exec-prog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.exec-prog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.exec-prog-card:hover {
    transform: translateY(-4px);
    border-color: var(--exec-red);
    box-shadow: 0 10px 25px rgba(155, 0, 39, 0.08);
}

.exec-prog-icon {
    font-size: 26px;
    color: var(--exec-red);
    margin-bottom: 12px;
}

.exec-prog-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.2rem;
    color: var(--exec-text-main);
    margin-bottom: 10px;
    font-weight: 700;
}

.exec-prog-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--exec-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* 4. PRE-FOOTER CTA (MBBSPG Red Gradient) */
.exec-cta {
    background: linear-gradient(135deg, var(--exec-red) 0%, #7a001f 100%);
    padding: 55px 20px;
    text-align: center;
    color: #ffffff;
}

.exec-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.exec-cta h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 700;
}

.exec-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-weight: 500;
}

.exec-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--exec-red);
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.exec-cta-btn:hover {
    background: #f8fafc;
    color: var(--exec-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* =========================================================================
   RESPONSIVE STYLES & MOBILE NAVIGATION (MATCHING INDEX.HTML)
   ========================================================================= */

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

.site-header .nav-wrap {
    position: relative !important;
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--exec-text-main, #0f172a);
    padding: 0;
    line-height: 1;
}

@media (max-width: 1000px) {
    .nav-toggle {
        display: block !important;
        margin-left: auto;
    }

    .main-nav {
        display: none !important;
    }

    .main-nav.open {
        display: flex !important;
        position: absolute !important;
        left: 15px !important;
        right: 15px !important;
        top: 100% !important;
        margin-top: 10px !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 18px 20px !important;
        border-radius: 10px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18) !important;
        z-index: 99999 !important;
        gap: 8px !important;
    }

    .main-nav.open a {
        font-size: 15px;
        font-weight: 600;
        color: #1e293b !important;
        padding: 10px 14px;
        border-radius: 6px;
        text-decoration: none;
        display: block;
        transition: all 0.2s ease;
    }

    .main-nav.open a:hover,
    .main-nav.open a.active_nav {
        background: #fff1f2 !important;
        color: #9b0027 !important;
    }

    .main-nav.open .drop {
        width: 100%;
    }

    .main-nav.open .drop button {
        width: 100%;
        text-align: left;
        padding: 10px 14px;
        font-size: 15px;
        font-weight: 600;
        color: #1e293b;
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav.open .drop .menu {
        position: static;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        border-radius: 6px;
        padding: 6px;
        display: none;
        flex-direction: column;
        gap: 4px;
        margin-top: 4px;
    }

    .main-nav.open .drop .menu a {
        font-size: 13.5px;
        padding: 8px 12px;
        color: #475569 !important;
    }

    .main-nav.open .drop .menu a:hover {
        color: #9b0027 !important;
        background: #ffffff !important;
    }
}

@media (max-width: 1024px) {
    .exec-grid {
        grid-template-columns: 1fr;
    }
    .exec-prog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .exec-hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .exec-hero {
        padding: 35px 16px;
    }

    .exec-filter-bar {
        grid-template-columns: 1fr;
    }

    .exec-section-header h2 {
        font-size: 1.65rem;
    }

    .exec-hero-content h1 {
        font-size: 1.85rem;
    }
}

@media (max-width: 600px) {
    .exec-card {
        flex-direction: column;
        text-align: center;
        padding: 18px 14px;
    }

    .exec-card-info {
        text-align: center;
    }

    .exec-card-location {
        justify-content: center;
    }

    .exec-card-actions {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }

    .exec-card-actions .exec-card-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .exec-prog-grid {
        grid-template-columns: 1fr;
    }
    .exec-hero-content h1 {
        font-size: 1.6rem;
    }
}
