/* ============================================================
   CAMPUS DIRECTORY THEME - JOIN LIVE SCHOOL
   Color Palette: Electric Indigo (#4f46e5), Coral Rose (#f43f5e), Slate (#0f172a), Amber (#f59e0b)
   Aesthetic: High-Authority Institute Directory, Academic Ratings & Vocational Guides
   ============================================================ */

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-soft: #eef2ff;
    --primary-border: #c7d2fe;
    --secondary: #0f172a;
    --accent: #f43f5e;
    --accent-dark: #e11d48;
    --accent-soft: #fff1f2;
    --gold: #f59e0b;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1380px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.12);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 1. Top Announcement Bar */
.top-bar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-badge {
    background: linear-gradient(135deg, #4f46e5 0%, #f43f5e 100%);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* 2. Site Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 50;
    transition: box-shadow 0.2s ease;
}

.site-header.is-sticky {
    position: sticky;
    top: 0;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 14px;
    width: 100%;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo img {
    height: 38px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    padding: 8px 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap !important;
    line-height: 1;
    position: relative;
    transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.search-btn {
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap !important;
    line-height: 1;
    flex-shrink: 0;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 38px;
    height: 38px;
    font-size: 20px;
    color: #1e293b;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 3. Executive Modern Portal Hero (Clean Bright Theme) */
.portal-hero {
    background: radial-gradient(100% 80% at 50% 0%, #eef2ff 0%, #f8fafc 55%, #ffffff 100%);
    padding: 60px 0 50px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portal-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 350px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(244, 63, 94, 0.04) 50%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    color: #4338ca;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
}

.portal-hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -1px;
    color: #0f172a;
    max-width: 960px;
    margin: 0 auto 18px;
    position: relative;
    z-index: 2;
}

.hero-highlight-aviation {
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-highlight-hotel {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-highlight-rail {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-hero-desc {
    font-size: 16.5px;
    line-height: 1.65;
    color: #475569;
    max-width: 760px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}

/* Central Filter & Search Console */
.portal-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12);
    padding: 22px 24px;
    max-width: 1040px;
    margin: 0 auto 24px;
    text-align: left;
    position: relative;
    z-index: 5;
}

.filter-console-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    width: 100%;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

.filter-select:focus {
    border-color: #4f46e5;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.btn-portal-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
    height: 44px;
}

.btn-portal-search:hover {
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.45);
}

.trending-pills-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
    position: relative;
    z-index: 2;
}

.trending-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 5px 12px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 12.5px;
    transition: all 0.15s ease;
}

.trending-pill:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
    transform: translateY(-1px);
}

/* 4-Metric Trust Cards */
.metrics-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
    margin-bottom: 48px;
}

.metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

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

.metric-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.metric-aviation { background: #e0e7ff; color: #4338ca; }
.metric-hotel { background: #ffe4e6; color: #e11d48; }
.metric-rail { background: #ccfbf1; color: #0f766e; }
.metric-shield { background: #fef3c7; color: #b45309; }

.metric-number {
    font-size: 19px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}

.metric-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.4;
}

/* 3 Giant Domain Hubs */
.domain-hubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.domain-hub-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.domain-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.hub-aviation { border-top: 5px solid #4f46e5; }
.hub-hotel { border-top: 5px solid #f43f5e; }
.hub-rail { border-top: 5px solid #0d9488; }

.hub-header {
    padding: 24px 24px 14px;
}

.hub-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.hub-aviation .hub-tag { background: #e0e7ff; color: #4338ca; }
.hub-hotel .hub-tag { background: #ffe4e6; color: #e11d48; }
.hub-rail .hub-tag { background: #ccfbf1; color: #0f766e; }

.hub-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 10px;
}

.hub-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.hub-features {
    list-style: none;
    font-size: 13.5px;
    color: #334155;
    padding: 0 24px;
    margin-bottom: 20px;
}

.hub-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-features li span {
    font-weight: 700;
    color: #10b981;
}

.hub-footer {
    padding: 18px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.hub-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px 18px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.aviation-btn { background: #4f46e5; }
.aviation-btn:hover { background: #4338ca; }

.hotel-btn { background: #f43f5e; }
.hotel-btn:hover { background: #e11d48; }

.rail-btn { background: #0d9488; }
.rail-btn:hover { background: #0f766e; }

/* Institute Comparison Matrix Table */
.matrix-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    margin-bottom: 48px;
}

.matrix-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.matrix-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.matrix-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.6px;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.matrix-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.matrix-table tr:hover td {
    background: #faf5ff;
}

.matrix-table .score-pill {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-block;
}
    color: #34d399;
    font-weight: 700;
}

/* 4. Top-Ranked Institute Cards (DIRECTORY GRID) */
.institute-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.institute-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-top: 4px solid var(--primary);
}

.institute-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}

.institute-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.institute-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
}

.institute-verified-pill {
    font-size: 11px;
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
    padding: 3px 8px;
    border-radius: 4px;
}

.institute-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.35;
}

.institute-location {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.institute-meta-list {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.institute-meta-list div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border);
    padding: 4px 0;
}

.institute-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.15s ease;
}

.institute-card:hover .institute-cta-btn {
    background: var(--primary);
    color: #ffffff;
}

/* 5. Section Headers */
.section-block {
    margin: 48px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
    position: relative;
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.section-title {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 6. Editorial Post Grid (3-Column Layout) */
.editorial-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.campus-article-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.campus-article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.campus-card-thumb {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #0f172a;
}

.campus-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campus-article-card:hover .campus-card-thumb img {
    transform: scale(1.05);
}

.campus-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.badge-cat {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--primary-border);
}

.campus-card-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 10px;
}

.campus-card-title a:hover {
    color: var(--primary);
}

.campus-card-excerpt {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.campus-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

/* 7. Strategic Admission & Review Callout Widget */
.admission-callout-box {
    background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 100%);
    border: 2px solid #c7d2fe;
    border-left: 6px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 26px 30px;
    margin: 36px 0;
    box-shadow: 0 4px 20px -2px rgba(79, 70, 229, 0.12);
}

.admission-callout-tag {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.admission-callout-box h3 {
    font-size: 20px;
    font-weight: 800;
    color: #312e81;
    margin-bottom: 8px;
    line-height: 1.3;
}

.admission-callout-box p {
    color: #334155;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.btn-admission-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-admission-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
}

/* 8. Site Footer */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 56px 0 24px;
    margin-top: 60px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

/* 9. Responsive Breakpoints */
@media (max-width: 1220px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px 24px;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--primary);
        gap: 12px;
        align-items: flex-start;
        z-index: 99;
    }

    .nav-menu.is-open {
        display: flex !important;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 6px;
    }

    .nav-link {
        font-size: 15px;
        width: 100%;
    }

    .mobile-toggle {
        display: flex;
    }

    .campus-hero-grid {
        grid-template-columns: 1fr;
    }

    .institute-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .editorial-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .editorial-grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .campus-hero-title {
        font-size: 28px;
    }
}
