@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Scholarium Official Emblem Duo-Tone Blues */
    --emblem-blue-dark: #011432;      /* Deep Academy Navy */
    --emblem-blue: #022b68;           /* Primary Emblem Navy Blue */
    --emblem-blue-royal: #0a469b;     /* Secondary Emblem Royal Blue */
    --emblem-blue-vivid: #1254ba;     /* Bright Accent Blue */
    --emblem-blue-light: #e8f1fd;     /* Soft Blue Tint */
    --emblem-blue-surface: #f4f8fe;   /* Clean Page Surface */

    /* Scholarium Official Emblem Oranges & Gold */
    --emblem-orange: #ff6a00;         /* Signature Emblem Orange */
    --emblem-orange-hover: #ff7e1a;   /* Bright Hover Orange */
    --emblem-orange-deep: #e55a00;    /* Deep Orange */
    --emblem-orange-light: #fff2e8;   /* Soft Warm Tint */
    --emblem-gold: #f59e0b;           /* Accent Gold */
    --emblem-gold-light: #fef3c7;     /* Soft Gold */

    /* Compatible Token Mappings */
    --navy-950: #011432;
    --navy-900: #022b68;
    --navy-800: #0a469b;
    --navy-700: #1254ba;
    --navy-600: #1c64d8;
    --navy-100: #e8f1fd;
    --navy-50: #f4f8fe;
    
    --orange-600: #e55a00;
    --orange-500: #ff6a00;
    --orange-400: #ff7e1a;
    --orange-300: #ffa25e;
    --orange-100: #fff2e8;
    --orange-50: #fff9f4;
    
    --gold-500: #f59e0b;
    --gold-400: #fbbf24;
    
    --slate-900: #0f1e36;
    --slate-800: #1e314b;
    --slate-700: #334e68;
    --slate-600: #486581;
    --slate-500: #627d98;
    --slate-400: #9fb3c8;
    --slate-200: #d9e2ec;
    --slate-100: #f0f4f8;
    --slate-50: #f8fafc;
    --white: #ffffff;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(2, 43, 104, 0.07);
    --shadow-md: 0 10px 25px -5px rgba(2, 43, 104, 0.12);
    --shadow-lg: 0 20px 40px -10px rgba(2, 43, 104, 0.18);
    --shadow-xl: 0 30px 60px -15px rgba(2, 43, 104, 0.28);
    --shadow-orange: 0 10px 25px -4px rgba(255, 106, 0, 0.42);

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--emblem-blue-surface);
    color: var(--slate-800);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--emblem-blue);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: break-word;
}

p, span, li, a {
    word-break: normal;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================================
   TOP ANNOUNCEMENT BAR
   ======================================================== */
.top-announcement {
    background: linear-gradient(90deg, var(--emblem-blue-dark) 0%, var(--emblem-blue) 50%, var(--emblem-blue-dark) 100%);
    color: var(--white);
    padding: 0.65rem clamp(0.75rem, 3vw, 2.5rem);
    font-size: 0.88rem;
    text-align: center;
    border-bottom: 2px solid var(--emblem-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(1, 20, 50, 0.3);
    width: 100%;
}

.top-announcement strong {
    color: var(--emblem-orange);
    font-weight: 700;
}

.top-announcement .badge-pill {
    background: var(--emblem-orange);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.4);
    flex-shrink: 0;
}

/* ========================================================
   HEADER NAVIGATION (Mobile-Optimized - Zero Overlap)
   ======================================================== */
header {
    background: linear-gradient(135deg, var(--emblem-blue) 0%, var(--emblem-blue-royal) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--emblem-orange);
    box-shadow: 0 6px 25px rgba(2, 43, 104, 0.35);
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem clamp(0.75rem, 3vw, 2.5rem);
    position: relative;
    width: 100%;
    gap: 0.75rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    min-width: 0;
    flex: 1;
}

.logo-container:hover {
    transform: scale(1.01);
}

.logo-container img {
    height: 48px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.8vw, 1.25rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1.15;
    word-break: normal;
}

.logo-subtitle {
    font-size: clamp(0.68rem, 1.8vw, 0.78rem);
    color: var(--emblem-orange);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.35rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    background: var(--emblem-orange);
    border-color: var(--emblem-orange);
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--slate-100);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0.6rem;
    right: 0.6rem;
    height: 3px;
    background: var(--emblem-orange);
    border-radius: var(--radius-full);
}

.nav-cta {
    background: linear-gradient(135deg, var(--emblem-orange) 0%, var(--emblem-orange-deep) 100%) !important;
    color: var(--white) !important;
    padding: 0.65rem 1.35rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 800 !important;
    box-shadow: var(--shadow-orange);
    transition: var(--transition) !important;
    border: 2px solid rgba(255,255,255,0.25) !important;
    white-space: nowrap;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--emblem-orange-hover) 0%, var(--emblem-orange) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.55);
}

/* ========================================================
   BUTTONS (Safe Box-Sizing - No Card Overflow)
   ======================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.3;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emblem-orange) 0%, var(--emblem-orange-deep) 100%);
    color: var(--white);
    box-shadow: var(--shadow-orange);
    border: 2px solid rgba(255,255,255,0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emblem-orange-hover) 0%, var(--emblem-orange) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 32px -4px rgba(255, 106, 0, 0.55);
    color: var(--white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--emblem-blue);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-navy {
    background: transparent;
    color: var(--emblem-blue);
    border: 2px solid var(--emblem-blue);
    font-weight: 800;
}

.btn-outline-navy:hover {
    background: var(--emblem-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--white);
    color: var(--emblem-blue);
    border: 1.5px solid var(--slate-200);
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--emblem-blue);
    color: var(--white);
    border-color: var(--emblem-blue);
}

/* ========================================================
   HERO SECTIONS (Cinematic Background Image Fade)
   ======================================================== */
.hero {
    background: linear-gradient(180deg, rgba(1, 20, 50, 0.84) 0%, rgba(2, 43, 104, 0.88) 50%, rgba(1, 20, 50, 0.96) 100%), url('images/students-hallway.jpg') center center/cover no-repeat;
    color: var(--white);
    padding: 5.5rem clamp(1rem, 4vw, 2.5rem) 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--emblem-orange);
    text-align: center;
    width: 100%;
}

.hero-page-banner {
    padding: 4.5rem clamp(1rem, 4vw, 2.5rem) 4.5rem;
    background: linear-gradient(180deg, rgba(1, 20, 50, 0.85) 0%, rgba(2, 43, 104, 0.88) 50%, rgba(1, 20, 50, 0.96) 100%), url('images/students-primary.jpg') center center/cover no-repeat;
}

.hero-centered-content {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 106, 0, 0.28);
    border: 1.5px solid var(--emblem-orange);
    color: var(--white);
    padding: 0.45rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: clamp(0.75rem, 2.2vw, 0.88rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
    max-width: 100%;
}

.hero h1 {
    font-size: clamp(1.9rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.1rem;
    letter-spacing: -0.03em;
}

.hero h1 span.highlight {
    background: linear-gradient(135deg, var(--emblem-orange) 0%, var(--gold-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.8vw, 1.4rem);
    color: var(--orange-300);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
    line-height: 1.35;
}

.hero-tagline {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    color: var(--emblem-blue-light);
    margin: 0 auto 2.2rem;
    line-height: 1.7;
    max-width: 780px;
}

/* Hero Stats Bar */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    width: 100%;
}

.hero-stat-card {
    background: rgba(1, 20, 50, 0.88);
    backdrop-filter: blur(12px);
    border: 2px solid var(--emblem-orange);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    box-shadow: 0 10px 25px rgba(1, 20, 50, 0.45);
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--emblem-orange);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

/* ========================================================
   SECTION CONTAINERS & HEADERS
   ======================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4.5rem clamp(1rem, 4vw, 2.5rem);
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
    width: 100%;
}

.section-tag {
    display: inline-block;
    color: var(--emblem-orange-deep);
    background: var(--emblem-orange-light);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 106, 0, 0.25);
}

.section-title {
    font-size: clamp(1.75rem, 3.8vw, 2.5rem);
    color: var(--emblem-blue);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.08rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ========================================================
   GRID LAYOUTS
   ======================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.6rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2.2rem;
    width: 100%;
}

/* ========================================================
   CARDS & SHOWCASE
   ======================================================== */
.card {
    background: var(--white);
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--emblem-blue-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emblem-blue), var(--emblem-orange));
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emblem-orange);
}

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

.card-num-badge {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: var(--emblem-blue-light);
    color: var(--emblem-blue);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.card h3 {
    font-size: 1.38rem;
    color: var(--emblem-blue);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--slate-600);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Sports & Activity Showcase Cards */
.activity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--emblem-blue-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emblem-orange);
}

.activity-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.activity-card:hover img {
    transform: scale(1.05);
}

.activity-content {
    padding: 1.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.activity-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--emblem-orange-deep);
    margin-bottom: 0.3rem;
}

.activity-content h3 {
    font-size: 1.22rem;
    color: var(--emblem-blue);
    margin-bottom: 0.5rem;
}

.activity-content p {
    font-size: 0.92rem;
    color: var(--slate-600);
    line-height: 1.55;
}

/* Showcase Split Block */
.showcase-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4.5rem;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--emblem-blue-light);
    width: 100%;
    min-width: 0;
}

.showcase-block.reverse .showcase-content {
    order: 2;
}

.showcase-block.reverse .showcase-image-wrapper {
    order: 1;
}

.showcase-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
    min-width: 0;
    width: 100%;
}

.showcase-image-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-image-wrapper:hover img {
    transform: scale(1.04);
}

.showcase-content {
    min-width: 0;
    width: 100%;
}

.showcase-content h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    color: var(--emblem-blue);
    margin-bottom: 1rem;
}

.showcase-content p {
    color: var(--slate-600);
    font-size: 1.02rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--slate-700);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
}

.feature-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--emblem-orange-light);
    color: var(--emblem-orange-deep);
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================================
   BANNER BOX
   ======================================================== */
.banner-box {
    background: linear-gradient(135deg, var(--emblem-blue) 0%, var(--emblem-blue-royal) 100%);
    color: var(--white);
    padding: 3.2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin-bottom: 4.5rem;
    border: 2px solid var(--emblem-orange);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.banner-box h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    margin-bottom: 1.1rem;
}

.banner-box h2 span {
    color: var(--orange-300);
}

.banner-box p {
    color: var(--emblem-blue-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ========================================================
   QUOTE / FOUNDER MESSAGE
   ======================================================== */
.principal-message {
    background: var(--white);
    padding: 3.2rem 2.8rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--emblem-blue-light);
    border-left: 8px solid var(--emblem-orange);
    margin-bottom: 4rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.principal-message h2 {
    color: var(--emblem-blue);
    font-size: clamp(1.45rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.principal-message p.lead {
    font-size: 1.15rem;
    color: var(--slate-700);
    font-weight: 600;
    margin-bottom: 1rem;
}

.principal-message p.highlight-quote {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--emblem-orange-deep);
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 1.5rem 0;
    letter-spacing: -0.01em;
}

/* ========================================================
   PRICING / FEE CARDS
   ======================================================== */
.fee-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--emblem-blue-light);
    padding: 2.2rem 1.8rem;
    transition: var(--transition);
    min-width: 0;
    width: 100%;
}

.fee-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: var(--emblem-orange);
}

.fee-card.featured {
    border: 2.5px solid var(--emblem-orange);
    box-shadow: var(--shadow-orange);
    position: relative;
}

.fee-card.featured::before {
    content: 'POPULAR CHOICE';
    position: absolute;
    top: 15px;
    right: 18px;
    background: var(--emblem-orange);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.fee-card h3 {
    font-size: 1.45rem;
    color: var(--emblem-blue);
    margin-bottom: 0.5rem;
}

.fee-card .subheading {
    color: var(--slate-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.fee-list {
    list-style: none;
    margin-top: 1rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--slate-100);
    font-size: 0.95rem;
    gap: 0.75rem;
}

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

.fee-item strong {
    color: var(--emblem-blue);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 800;
    white-space: nowrap;
}

/* ========================================================
   FORMS & INPUTS
   ======================================================== */
.form-container {
    background: var(--white);
    padding: 3.2rem 2.8rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--emblem-blue-light);
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 1.6rem;
    min-width: 0;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--emblem-blue);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-size: 0.98rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--slate-50);
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--emblem-orange);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15);
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
    background: linear-gradient(180deg, var(--emblem-blue) 0%, var(--emblem-blue-dark) 100%);
    color: var(--emblem-blue-light);
    padding: 4.5rem clamp(1rem, 4vw, 2.5rem) 2rem;
    border-top: 4px solid var(--emblem-orange);
    width: 100%;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.footer-brand img {
    height: 56px;
    width: auto;
    margin-bottom: 1.2rem;
}

.footer-brand p {
    color: var(--slate-300);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2.5px;
    background: var(--emblem-orange);
    border-radius: var(--radius-full);
}

.footer-col p {
    color: var(--slate-300);
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul li a {
    color: var(--slate-300);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--emblem-orange);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--slate-400);
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.footer-bottom a {
    color: var(--slate-300);
    text-decoration: none;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: var(--emblem-orange);
}

.dev-credit {
    color: var(--emblem-orange);
    font-weight: 700;
}

/* ========================================================
   NEWS & GALLERY
   ======================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2.2rem;
    margin-top: 2rem;
    width: 100%;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--emblem-blue-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emblem-orange);
}

.news-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.news-title {
    color: var(--emblem-blue);
    font-size: 1.32rem;
    margin-bottom: 0.6rem;
}

.news-date {
    color: var(--emblem-orange-deep);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.news-gallery {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.news-gallery img {
    height: 65px;
    width: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

.news-gallery img:hover {
    transform: scale(1.05);
}

/* ========================================================
   ADMIN DASHBOARD LAYOUT & COMPONENTS
   ======================================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f0f4f9;
    max-width: 100vw;
    overflow-x: hidden;
}

.admin-sidebar {
    width: 270px;
    background: linear-gradient(180deg, var(--emblem-blue) 0%, var(--emblem-blue-dark) 100%);
    min-height: 100vh;
    color: var(--white);
    padding: 2rem 1.25rem;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    flex-shrink: 0;
}

.admin-sidebar-header {
    text-align: center;
    padding-bottom: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar-header img {
    height: 52px;
    margin-bottom: 0.75rem;
}

.admin-sidebar-header h3 {
    color: var(--white);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.admin-sidebar-header span {
    color: var(--emblem-orange);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--slate-200);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.admin-nav-item i {
    width: 22px;
    font-size: 1rem;
    color: var(--orange-300);
    transition: var(--transition);
}

.admin-nav-item .nav-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-nav-item:hover i {
    color: var(--emblem-orange);
}

.admin-nav-item.active {
    background: var(--emblem-orange);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.4);
}

.admin-nav-item.active i {
    color: var(--white);
}

.admin-nav-badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
}

.admin-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f4f8fe;
}

.admin-topbar {
    background: var(--white);
    padding: 1rem clamp(1.2rem, 3vw, 2.5rem);
    border-bottom: 2px solid var(--emblem-blue-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 90;
}

.admin-topbar-title {
    font-size: 1.35rem;
    color: var(--emblem-blue);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.admin-user-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.admin-user-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--emblem-blue-light);
    border: 1px solid var(--navy-200);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--emblem-blue);
}

.admin-main-container {
    padding: clamp(1.2rem, 3vw, 2.5rem);
    flex: 1;
    min-width: 0;
}

.admin-tab-pane {
    display: none;
    animation: fadeIn 0.25s ease-in-out;
}

.admin-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    border: 1.5px solid var(--emblem-blue-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.admin-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--emblem-orange);
}

.admin-stat-info h4 {
    font-size: 0.88rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.admin-stat-info .stat-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--emblem-blue);
    line-height: 1.1;
}

.admin-stat-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.icon-blue { background: var(--emblem-blue-light); color: var(--emblem-blue); }
.icon-orange { background: var(--emblem-orange-light); color: var(--emblem-orange); }
.icon-green { background: #ecfdf5; color: #059669; }
.icon-purple { background: #f5f3ff; color: #7c3aed; }

/* Admin Toolbar */
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.55rem 1rem;
    gap: 0.6rem;
    width: 320px;
    box-shadow: var(--shadow-sm);
}

.admin-search-box input {
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.92rem;
    width: 100%;
    color: var(--slate-800);
}

.admin-filter-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1.5px solid var(--slate-200);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--emblem-blue);
    color: var(--white);
    border-color: var(--emblem-blue);
}

/* Data Table Wrapper */
.data-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--emblem-blue-light);
    background: var(--white);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 600px;
}

.data-table th, .data-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--slate-200);
    font-size: 0.92rem;
}

.data-table th {
    background-color: var(--emblem-blue-light);
    color: var(--emblem-blue);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background-color: var(--emblem-blue-surface);
}

/* Action Buttons */
.btn-group-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-icon.btn-view {
    background: var(--emblem-blue-light);
    color: var(--emblem-blue);
    border-color: var(--emblem-blue-royal);
}
.btn-icon.btn-view:hover {
    background: var(--emblem-blue);
    color: var(--white);
}

.btn-icon.btn-pdf {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}
.btn-icon.btn-pdf:hover {
    background: #2563eb;
    color: var(--white);
}

.btn-icon.btn-delete {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}
.btn-icon.btn-delete:hover {
    background: #dc2626;
    color: var(--white);
}

.btn-icon.btn-read {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}
.btn-icon.btn-read:hover {
    background: #16a34a;
    color: var(--white);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.badge.pending { background: #fef3c7; color: #92400e; }
.badge.approved { background: #d1fae5; color: #065f46; }
.badge.rejected { background: #fee2e2; color: #991b1b; }
.badge.unread { background: var(--emblem-orange-light); color: var(--emblem-orange-deep); font-weight: 800; }
.badge.read { background: #f1f5f9; color: #475569; }

/* Status Selector */
.status-select {
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    border: 1.5px solid var(--slate-300);
    background: var(--white);
    color: var(--emblem-blue);
    cursor: pointer;
}

/* Gallery Upload Grid */
.gallery-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 0.8rem;
    width: 100%;
}

.upload-slot-card {
    background: var(--emblem-blue-surface);
    border: 2px dashed #b8cce6;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.upload-slot-card:hover {
    border-color: var(--emblem-orange);
    background: var(--emblem-orange-light);
}

.upload-slot-card label {
    display: block;
    font-weight: 700;
    color: var(--emblem-blue);
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}

.upload-slot-card input[type="file"] {
    width: 100%;
    font-size: 0.85rem;
    color: var(--slate-600);
}

/* Modal Dialog Styles */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(1, 20, 50, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-modal.active {
    display: flex;
    animation: modalFade 0.2s ease-out;
}

@keyframes modalFade {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.admin-modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.admin-modal-header {
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, var(--emblem-blue) 0%, var(--emblem-blue-royal) 100%);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h3 {
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--slate-200);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--emblem-orange);
}

.admin-modal-body {
    padding: 1.75rem;
    overflow-y: auto;
    font-size: 0.95rem;
}

.admin-modal-footer {
    padding: 1rem 1.75rem;
    background: var(--emblem-blue-surface);
    border-top: 1px solid var(--slate-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    border-bottom: 1px solid var(--slate-100);
    padding: 0.75rem 0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    width: 35%;
    font-weight: 700;
    color: var(--emblem-blue);
    font-size: 0.9rem;
}

.detail-value {
    width: 65%;
    color: var(--slate-700);
}

/* ========================================================
   RESPONSIVE MEDIA QUERIES (Mobile Precision)
   ======================================================== */
@media (max-width: 992px) {
    .showcase-block,
    .showcase-block.reverse {
        grid-template-columns: 1fr;
        padding: 2.2rem;
        gap: 2rem;
    }
    
    .showcase-block.reverse .showcase-content {
        order: 1;
    }
    .showcase-block.reverse .showcase-image-wrapper {
        order: 2;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .admin-sidebar {
        width: 230px;
    }
}

@media (max-width: 768px) {
    .top-announcement {
        font-size: 0.82rem;
        gap: 0.5rem;
        padding: 0.6rem 3%;
        line-height: 1.4;
    }
    
    nav {
        padding: 0.75rem 4%;
    }

    .logo-container {
        flex: 1;
        min-width: 0;
        gap: 0.6rem;
    }

    .logo-container img {
        height: 40px;
    }

    .logo-title {
        font-size: 1.05rem;
        line-height: 1.15;
    }

    .logo-subtitle {
        font-size: 0.68rem;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, var(--emblem-blue) 0%, var(--emblem-blue-dark) 100%);
        flex-direction: column;
        padding: 1.5rem 5%;
        gap: 1rem;
        border-bottom: 3px solid var(--emblem-orange);
        box-shadow: 0 12px 30px rgba(1, 20, 50, 0.7);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 0.65rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-cta {
        text-align: center !important;
        margin-top: 0.5rem;
        width: 100%;
        display: block;
    }

    /* Hero Mobile Adjustments */
    .hero {
        padding: 4rem 4% 3.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    
    /* Layout Containers & Full-Width Safe Elements */
    .container {
        padding: 3.5rem 4%;
    }

    .showcase-block {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-lg);
    }

    .showcase-image-wrapper img {
        height: 250px;
    }

    .principal-message {
        padding: 2rem 1.25rem;
        border-radius: var(--radius-lg);
    }

    .principal-message .btn {
        width: 100%;
    }

    .banner-box {
        padding: 2rem 1.25rem;
        border-radius: var(--radius-lg);
    }

    .banner-box .btn {
        width: 100%;
    }

    .fee-card {
        padding: 1.75rem 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-container {
        padding: 2rem 1.25rem;
        border-radius: var(--radius-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        min-height: auto;
        position: relative;
        padding: 1.5rem;
    }

    .admin-topbar {
        padding: 1rem 1.25rem;
    }

    .admin-main-container {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .logo-container img {
        height: 36px;
    }

    .logo-title {
        font-size: 0.95rem;
    }

    .logo-subtitle {
        font-size: 0.62rem;
    }

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

    .hero-stat-card {
        padding: 1rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.92rem;
    }
}

/* ========================================================
   SUBJECT CHOICES & APTITUDE GUIDANCE
   ======================================================== */
.subject-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--emblem-blue-light);
    padding: 2.2rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.subject-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emblem-orange);
}

.subject-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.2rem;
    width: fit-content;
}

.subject-badge.doe {
    background: var(--navy-100);
    color: var(--navy-800);
    border: 1px solid rgba(2, 43, 104, 0.2);
}

.subject-badge.standalone {
    background: var(--orange-100);
    color: var(--orange-600);
    border: 1px solid rgba(255, 106, 0, 0.3);
}

.subject-card h3 {
    font-size: 1.45rem;
    color: var(--emblem-blue);
    margin-bottom: 0.8rem;
}

.subject-card p {
    color: var(--slate-600);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.cost-warning-box {
    background: var(--orange-50);
    border-left: 4px solid var(--emblem-orange);
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    color: var(--slate-800);
    font-size: 0.92rem;
    margin-top: auto;
    font-weight: 600;
}

.aptitude-box {
    background: linear-gradient(135deg, var(--emblem-blue-dark) 0%, var(--emblem-blue) 60%, var(--emblem-blue-royal) 100%);
    color: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--emblem-orange);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem 3rem;
    margin-top: 2.5rem;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.aptitude-box::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.aptitude-info {
    flex: 1;
    min-width: 280px;
}

.aptitude-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    background: rgba(255, 106, 0, 0.2);
    border: 1.5px solid var(--emblem-orange);
    color: var(--orange-300);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.aptitude-price-tag span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
}

.aptitude-info h3 {
    color: var(--white);
    font-size: 1.65rem;
    margin-bottom: 0.6rem;
}

.aptitude-info p {
    color: var(--slate-200);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.aptitude-info .aptitude-contact-note {
    color: var(--orange-300);
    font-weight: 700;
    font-size: 0.95rem;
}

.aptitude-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 220px;
}

.extramural-banner-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--emblem-blue-light);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.extramural-quote-card {
    background: linear-gradient(135deg, var(--emblem-blue-light) 0%, #d8e8fe 100%);
    border-left: 5px solid var(--emblem-blue-royal);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.8rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .aptitude-box {
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .aptitude-actions {
        width: 100%;
    }
    
    .aptitude-actions .btn {
        width: 100%;
    }
}

