/* ============================================
   POLESTAR ACADEMY - REFINED STYLESHEET
   Professional School Design
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Primary - Deep Navy */
    --navy-900: #0d1b2a;
    --navy-800: #1b263b;
    --navy-700: #1a3a6e;
    --navy-600: #274c77;
    --navy-500: #3a6ea5;

    /* Gold Accent */
    --gold-600: #b8860b;
    --gold-500: #c9a227;
    --gold-400: #d4af37;
    --gold-300: #e6c866;

    /* Neutrals */
    --white: #ffffff;
    --cream: #fdfbf7;
    --warm-gray-50: #f9f8f6;
    --warm-gray-100: #f3f1ed;
    --warm-gray-200: #e8e4dd;
    --warm-gray-400: #a8a29e;
    --warm-gray-500: #78716c;
    --warm-gray-600: #57534e;
    --warm-gray-700: #44403c;
    --warm-gray-900: #1c1917;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Open Sans', system-ui, sans-serif;

    /* Spacing */
    --section-py: 100px;
    --container-max: 1140px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--warm-gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--navy-800);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-title--decorated::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gold-500);
    margin-top: 16px;
}

.section-header.centered .section-title--decorated::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray-500);
    font-weight: 400;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--gold-400);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-gray-100);
    color: var(--warm-gray-400);
}

.image-placeholder svg {
    width: 40%;
    height: 40%;
    opacity: 0.6;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--warm-gray-200);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo .logo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
}

.nav-logo .logo-placeholder::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid var(--gold-500);
    border-radius: 3px;
    opacity: 0.4;
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo .school-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-800);
}

.nav-logo .school-location {
    font-size: 0.7rem;
    color: var(--warm-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray-600);
    border-radius: 4px;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--navy-700);
}

.nav-link.active {
    color: var(--navy-700);
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 28px;
    height: 20px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--navy-800);
    border-radius: 1px;
    transition: all 0.2s ease;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -7px;
}

.hamburger::after {
    content: '';
    bottom: -7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-800);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 100%, rgba(39, 76, 119, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(58, 110, 165, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
}

/* Decorative elements */
.hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.hero-decor {
    position: absolute;
    bottom: 20%;
    left: 8%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gold-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   NOTICE BOARD
   ============================================ */
.notices {
    padding: var(--section-py) 0;
    background: var(--cream);
}

.notices-container {
    background: var(--white);
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.notices-header {
    padding: 20px 28px;
    background: var(--navy-800);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notices-header svg {
    width: 20px;
    height: 20px;
    color: var(--gold-400);
}

.notices-header h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}

.notices-list {
    max-height: 420px;
    overflow-y: auto;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--warm-gray-100);
    transition: background 0.15s ease;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: var(--warm-gray-50);
}

.notice-date {
    flex-shrink: 0;
    text-align: center;
    padding: 10px 14px;
    background: var(--warm-gray-50);
    border-radius: 6px;
    border-left: 3px solid var(--gold-500);
}

.notice-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-700);
    line-height: 1;
}

.notice-date .month {
    font-size: 0.7rem;
    color: var(--warm-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.notice-content {
    flex: 1;
    padding-top: 4px;
}

.notice-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--warm-gray-900);
    line-height: 1.4;
}

.notice-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #dc2626;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 3px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy-600);
}

.notice-link:hover {
    color: var(--navy-800);
}

.notice-link svg {
    width: 14px;
    height: 14px;
}

.notice-loading {
    text-align: center;
    padding: 50px;
    color: var(--warm-gray-500);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-py) 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-intro p {
    font-size: 1.1rem;
    color: var(--warm-gray-600);
    margin-bottom: 16px;
}

.about-intro p strong {
    color: var(--navy-700);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.highlight-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.highlight-card:hover {
    border-color: var(--gold-500);
}

.highlight-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--navy-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 26px;
    height: 26px;
    color: var(--gold-400);
}

.highlight-card h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 6px;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--warm-gray-500);
}

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mission, .vision {
    padding: 40px;
    border-radius: 8px;
}

.mission {
    background: var(--navy-800);
    color: var(--white);
}

.vision {
    background: var(--warm-gray-50);
    border: 1px solid var(--warm-gray-200);
}

.mission h3, .vision h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission h3::before, .vision h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gold-500);
    border-radius: 2px;
}

.vision h3 {
    color: var(--navy-800);
}

.mission p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.vision p {
    color: var(--warm-gray-600);
    line-height: 1.8;
}

/* ============================================
   PRINCIPAL'S MESSAGE
   ============================================ */
.principal {
    padding: var(--section-py) 0;
    background: var(--warm-gray-50);
    border-top: 1px solid var(--warm-gray-200);
    border-bottom: 1px solid var(--warm-gray-200);
}

.principal-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.principal-image {
    position: sticky;
    top: 100px;
}

.principal-image .image-placeholder {
    aspect-ratio: 3/4;
    border-radius: 8px;
    border: 4px solid var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.principal-message {
    padding-top: 8px;
}

.principal-message blockquote {
    position: relative;
    font-size: 1.05rem;
    color: var(--warm-gray-600);
    line-height: 1.9;
}

.principal-message blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--gold-400);
    opacity: 0.3;
    line-height: 1;
}

.principal-message blockquote p {
    margin-bottom: 16px;
}

.principal-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--warm-gray-200);
}

.principal-info h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 4px;
}

.principal-info p {
    font-size: 0.9rem;
    color: var(--warm-gray-500);
}

/* ============================================
   ACADEMICS SECTION
   ============================================ */
.academics {
    padding: var(--section-py) 0;
}

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

.academic-card {
    background: var(--white);
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
    padding: 28px;
    transition: border-color 0.2s ease;
}

.academic-card:hover {
    border-color: var(--navy-600);
}

.academic-card.featured {
    grid-column: span 2;
    background: var(--navy-800);
    border: none;
    color: var(--white);
}

.academic-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--warm-gray-100);
}

.academic-icon svg {
    width: 22px;
    height: 22px;
    color: var(--navy-700);
}

.academic-card.featured .academic-icon {
    background: rgba(255, 255, 255, 0.1);
}

.academic-card.featured .academic-icon svg {
    color: var(--gold-400);
}

.academic-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 4px;
}

.academic-card.featured h3 {
    color: var(--white);
}

.class-range {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-600);
    margin-bottom: 16px;
}

.academic-card.featured .class-range {
    color: var(--gold-400);
}

.streams {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stream-tag {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.academic-card ul li {
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
    font-size: 0.9rem;
    color: var(--warm-gray-600);
}

.academic-card.featured ul li {
    color: rgba(255, 255, 255, 0.8);
}

.academic-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--gold-500);
    border-radius: 50%;
}

/* ============================================
   FACULTY SECTION
   ============================================ */
.faculty {
    padding: var(--section-py) 0;
    background: var(--cream);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.faculty-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--warm-gray-200);
}

.faculty-image {
    aspect-ratio: 1;
    background: var(--warm-gray-100);
}

.faculty-info {
    padding: 20px;
    text-align: center;
    border-top: 3px solid var(--gold-500);
}

.faculty-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 4px;
}

.faculty-info .qualification {
    font-size: 0.8rem;
    color: var(--warm-gray-500);
    margin-bottom: 4px;
}

.faculty-info .subject {
    font-size: 0.85rem;
    color: var(--navy-600);
    font-weight: 600;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results {
    padding: var(--section-py) 0;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
    border-top: 3px solid var(--navy-700);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--navy-700);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--warm-gray-600);
    margin-bottom: 4px;
}

.stat-year {
    font-size: 0.8rem;
    color: var(--warm-gray-400);
}

/* Results Table */
.results-table-container {
    margin-bottom: 60px;
}

.results-table-container h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 20px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.results-table th,
.results-table td {
    padding: 14px 20px;
    text-align: center;
}

.results-table th {
    background: var(--navy-800);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.results-table tbody tr {
    border-bottom: 1px solid var(--warm-gray-100);
}

.results-table tbody tr:last-child {
    border-bottom: none;
}

.results-table tbody tr:hover {
    background: var(--warm-gray-50);
}

.results-table td {
    font-size: 0.95rem;
    color: var(--warm-gray-700);
}

/* Rank Holders */
.rank-holders h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.rank-subtitle {
    font-size: 0.95rem;
    color: var(--warm-gray-500);
    margin-bottom: 32px;
}

.rank-holders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rank-card {
    background: var(--white);
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    position: relative;
}

.rank-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gold-500);
    color: var(--navy-900);
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
}

.rank-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-400);
}

.rank-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 4px;
}

.rank-info .exam-name {
    font-size: 0.85rem;
    color: var(--gold-600);
    font-weight: 600;
    margin-bottom: 4px;
}

.rank-info .marks {
    font-size: 0.85rem;
    color: var(--warm-gray-500);
}

/* ============================================
   ADMISSION SECTION
   ============================================ */
.admission {
    padding: var(--section-py) 0;
    background: var(--warm-gray-50);
    border-top: 1px solid var(--warm-gray-200);
}

.admission-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.admission-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admission-card {
    background: var(--navy-800);
    color: var(--white);
    padding: 36px;
    border-radius: 8px;
}

.admission-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.admission-card .session {
    font-size: 1.1rem;
    color: var(--gold-400);
    margin-bottom: 24px;
}

.classes-available h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0.8;
}

.class-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.class-tags span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
}

.admission-process,
.documents-required {
    background: var(--white);
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--warm-gray-200);
}

.admission-process h3,
.documents-required h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admission-process h3::before,
.documents-required h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gold-500);
    border-radius: 2px;
}

.admission-process ol {
    counter-reset: steps;
}

.admission-process ol li {
    counter-increment: steps;
    padding: 10px 0;
    padding-left: 36px;
    position: relative;
    font-size: 0.95rem;
    color: var(--warm-gray-600);
    border-bottom: 1px solid var(--warm-gray-100);
}

.admission-process ol li:last-child {
    border-bottom: none;
}

.admission-process ol li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--navy-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.documents-required ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: var(--warm-gray-600);
}

.documents-required ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--gold-500);
    border-radius: 50%;
}

/* Query Card */
.admission-query {
    position: sticky;
    top: 100px;
}

.query-card {
    background: var(--white);
    border-radius: 8px;
    padding: 32px;
    border: 1px solid var(--warm-gray-200);
    border-top: 4px solid var(--gold-500);
}

.query-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.query-card > p {
    font-size: 0.9rem;
    color: var(--warm-gray-500);
    margin-bottom: 24px;
}

.contact-person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--warm-gray-50);
    border-radius: 6px;
    margin-bottom: 20px;
}

.contact-person .contact-icon {
    width: 44px;
    height: 44px;
    background: var(--navy-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-person .contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold-400);
}

.contact-person .contact-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 2px;
}

.contact-person .contact-details .designation {
    font-size: 0.8rem;
    color: var(--warm-gray-500);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--warm-gray-50);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    transition: background 0.15s ease;
}

.contact-method:hover {
    background: var(--warm-gray-100);
}

.contact-method svg {
    width: 18px;
    height: 18px;
    color: var(--navy-600);
    flex-shrink: 0;
}

.download-btn {
    width: 100%;
}

.download-btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-py) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 14px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
}

.info-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--navy-700);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold-400);
}

.info-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 6px;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

.info-content a {
    color: var(--navy-600);
}

.info-content a:hover {
    color: var(--navy-800);
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--warm-gray-200);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: var(--warm-gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--warm-gray-500);
    font-size: 0.9rem;
}

.map-note {
    font-size: 0.8rem !important;
    margin-top: 8px;
    opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-900);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-400);
}

.footer-logo .school-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-logo .school-location {
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-about p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.15s ease;
}

.footer-links ul li a:hover {
    color: var(--gold-400);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--navy-700);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--navy-800);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-py: 80px;
    }

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

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--warm-gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--warm-gray-100);
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .principal-content {
        grid-template-columns: 220px 1fr;
        gap: 40px;
    }

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

    .academic-card.featured {
        grid-column: span 2;
    }

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

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

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

    .admission-content {
        grid-template-columns: 1fr;
    }

    .admission-query {
        position: static;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .footer-about {
        grid-column: span 2;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    .container {
        padding: 0 20px;
    }

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

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-highlights {
        grid-template-columns: 1fr 1fr;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .principal-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .principal-image {
        position: static;
        max-width: 220px;
        margin: 0 auto;
    }

    .principal-message blockquote::before {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .academic-card.featured {
        grid-column: span 1;
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .result-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .results-table-container {
        overflow-x: auto;
    }

    .results-table {
        min-width: 540px;
    }

    .rank-holders-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: span 1;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

    .result-stats {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}
