@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Lora:ital,wght@0,400..700;1,400..700&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    /* Color Palette: Minimal White & Charcoal, 30% Rich Dark Blue Accent */
    --bg-light: #ffffff;
    --bg-off: #fafafc;
    --text-charcoal: #18181b;
    --text-muted: #52525b;
    --accent-blue: #0d253f;          /* Rich Dark Blue */
    --accent-blue-hover: #173d66;
    --accent-blue-light: rgba(13, 37, 63, 0.04);
    --border-color: #e4e4e7;
    
    /* Semantic Colors */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Layout Tokens */
    --card-bg: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px -2px rgba(13, 37, 63, 0.05);
    --shadow-lg: 0 10px 30px -4px rgba(13, 37, 63, 0.08);
    
    /* Typography Tokens */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

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

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

/* Shared Layout Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation Style (Swiss & Clean) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    border: 1px solid var(--border-color);
}

.school-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1.1;
}

.school-location {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-charcoal);
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-blue);
}

nav a:hover::after, 
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 81px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 81px);
        background: var(--bg-light);
        transition: right 0.3s ease;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        align-items: flex-start;
    }
    
    nav a {
        font-size: 1.15rem;
        width: 100%;
    }
}

/* Page Header Banner (Minimalistic Modern) */
.page-header {
    margin-top: 81px;
    padding: 5rem 2rem 4rem;
    background-color: var(--bg-off);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Bento Grid System Utilities */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.bento-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Card Sizes Helper classes */
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

@media (max-width: 968px) {
    .col-4, .col-6, .col-8, .col-12 {
        grid-column: span 12 !important;
    }
    .bento-grid {
        gap: 1rem;
        margin: 2rem 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn i {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--bg-light);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-secondary:hover {
    background-color: var(--accent-blue-light);
    transform: translateY(-1px);
}

.btn-text {
    background: transparent;
    color: var(--accent-blue);
    padding: 0.5rem 0;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.btn-text:hover {
    border-bottom-color: var(--accent-blue);
}

/* Badges & Tags */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    background-color: var(--accent-blue-light);
    color: var(--accent-blue);
    border: 1px solid var(--border-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-charcoal);
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    color: var(--text-charcoal);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(13, 37, 63, 0.08);
}

/* Footer Section styling */
footer {
    background-color: var(--accent-blue);
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-grid, .footer-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto 4rem;
}

.footer-section {
    grid-column: span 3;
}

.footer-section.wide {
    grid-column: span 6;
}

.footer-section a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

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

.footer-section .contact-item {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-section .contact-item a {
    display: inline;
    margin-bottom: 0;
}

@media (max-width: 968px) {
    .footer-section, .footer-section.wide {
        grid-column: span 12;
    }
    .footer-grid, .footer-container {
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

footer h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    width: 18px;
    height: 18px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Modals (Clean, Simple Backdrop) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 37, 63, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-blue);
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Image reveal standard effect */
.reveal-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.reveal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.8s ease, filter 0.8s ease;
}

.reveal-img.loaded {
    opacity: 1;
    filter: blur(0);
}

/* Highlights / Why Choose HCC Section */
.highlights {
    padding: 6rem 2rem;
    background-color: var(--bg-off);
    border-bottom: 1px solid var(--border-color);
}

.highlights-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.highlights-container .section-title {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.highlight-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.highlight-icon {
    color: var(--accent-blue);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    stroke-width: 1.5;
}

.highlight-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.highlight-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Static Blue & Light Blue Mesh Background */
body {
    background-color: #fafbfc !important;
    position: relative;
}

.bg-mesh-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
}

.mesh-blob-1 {
    background: rgba(30, 58, 138, 0.08); /* Dark Blue */
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
}

.mesh-blob-2 {
    background: rgba(59, 130, 246, 0.1); /* Light Blue */
    bottom: -15%;
    right: -10%;
    width: 700px;
    height: 700px;
}

.mesh-blob-3 {
    background: rgba(56, 189, 248, 0.07); /* Cyan / Light Blue */
    top: 45%;
    left: -15%;
    width: 600px;
    height: 600px;
}

.mesh-blob-4 {
    background: rgba(29, 78, 216, 0.05); /* Soft Blue */
    top: 15%;
    right: -10%;
    width: 500px;
    height: 500px;
}

/* Make page sections transparent to show mesh gradient background */
.highlights,
.page-header,
.notice-section,
.about-preview,
section {
    background-color: transparent !important;
}
