/* ========================================
   Johnstown Christian School
   Custom Stylesheet
======================================== */

/* CSS Custom Properties */
:root {
    /* Terracotta Palette */
    --terracotta: #c4704b;
    --terracotta-dark: #a85a3a;
    --terracotta-light: #e8c4b0;
    --terracotta-lighter: #f5e6dc;
    
    /* Sand Palette */
    --sand: #d4b896;
    --sand-light: #f0e4d4;
    --sand-lighter: #faf5ef;
    --sand-lightest: #fdfbf8;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Typography */
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Lora', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--sand-lightest);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--gray-900);
}

.text-accent {
    color: var(--terracotta);
}

/* Section Styles */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: var(--terracotta-lighter);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 248, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sand-light);
    transition: all var(--transition-base);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        #c4704b 0%, 
        #d4956a 25%, 
        #e8b896 50%, 
        #d4b896 75%, 
        #c4a070 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(196, 112, 75, 0.3) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-title-accent {
    display: block;
    font-style: italic;
    font-size: 0.85em;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Section */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image--main {
    width: 100%;
    aspect-ratio: 6/7;
}

.about-image--accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    aspect-ratio: 4/3;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-floating-card {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--gray-800);
}

.about-floating-card svg {
    width: 24px;
    height: 24px;
    color: var(--terracotta);
}

.about-content {
    padding: var(--space-md) 0;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--terracotta-lighter);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--terracotta);
}

.about-feature h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

/* Academics Section */
.academics {
    background: var(--sand-lightest);
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.academic-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--sand-light);
}

.academic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--terracotta-light);
}

.academic-card--featured {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--white);
    border: none;
}

.academic-card--featured h3,
.academic-card--featured .academic-card-desc,
.academic-card--featured .academic-card-features li {
    color: var(--white);
}

.academic-card-header {
    margin-bottom: var(--space-md);
}

.academic-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.academic-card-icon svg {
    width: 32px;
    height: 32px;
}

.academic-card-icon--elementary {
    background: var(--terracotta-lighter);
    color: var(--terracotta);
}

.academic-card-icon--middle {
    background: var(--sand-light);
    color: var(--sand);
}

.academic-card-icon--high {
    background: #e8f4f8;
    color: #5b9bd5;
}

.academic-card-icon--faith {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.academic-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-sm);
}

.academic-card-desc {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.academic-card-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.academic-card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.academic-card-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    flex-shrink: 0;
}

.academic-card--featured .academic-card-features li::before {
    background: var(--white);
}

/* Community Section */
.community {
    background: var(--white);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.community-content {
    padding: var(--space-md) 0;
}

.community-text {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;
}

.community-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.community-highlight {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.community-highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--terracotta-lighter);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.community-highlight-icon svg {
    width: 24px;
    height: 24px;
    color: var(--terracotta);
}

.community-highlight span {
    font-weight: 500;
    color: var(--gray-800);
}

.community-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--space-sm);
    height: 500px;
}

.community-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.community-img--1 {
    grid-column: 1 / -1;
    aspect-ratio: 2/1;
}

.community-img--2 {
    aspect-ratio: 4/5;
}

.community-img--3 {
    aspect-ratio: 4/5;
}

.community-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand-lighter) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    margin-bottom: var(--space-md);
}

.testimonial-quote svg {
    width: 40px;
    height: 40px;
    color: var(--terracotta-light);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-author-avatar svg {
    width: 100%;
    height: 100%;
}

.testimonial-author-name {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-author-role {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Admissions CTA Section */
.admissions-cta {
    background: var(--white);
}

.admissions-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.admissions-content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admissions-text {
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    font-size: 1.0625rem;
}

.admissions-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.admissions-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.admissions-step-num {
    width: 32px;
    height: 32px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.admissions-step-text {
    font-weight: 500;
    color: var(--gray-800);
}

.admissions-image {
    aspect-ratio: 5/6;
    overflow: hidden;
}

.admissions-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact {
    background: var(--sand-lightest);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info {
    padding: var(--space-md) 0;
}

.contact-text {
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    font-size: 1.0625rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--terracotta-lighter);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 24px;
    height: 24px;
    color: var(--terracotta);
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-detail p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.contact-detail a {
    color: var(--terracotta);
    transition: color var(--transition-fast);
}

.contact-detail a:hover {
    color: var(--terracotta-dark);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--terracotta-lighter);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: var(--space-xl);
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.form-success-icon svg {
    width: 32px;
    height: 32px;
    color: #059669;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-600);
}

/* Map Section */
.map-section {
    height: 400px;
}

.map-container {
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.875rem;
}

/* Mobile Menu Overlay */
.nav-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-grid,
    .community-grid,
    .admissions-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image--accent {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: var(--space-sm);
    }
    
    .about-floating-card {
        position: relative;
        top: auto;
        right: auto;
        margin-top: var(--space-sm);
        display: inline-flex;
    }
    
    .academics-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-lg) var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu-overlay.active {
        display: block;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .community-images {
        height: auto;
        grid-template-columns: 1fr;
    }
    
    .community-img--1 {
        grid-column: auto;
        aspect-ratio: 16/9;
    }
    
    .community-img--2,
    .community-img--3 {
        aspect-ratio: 16/9;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .academic-card {
        padding: var(--space-md);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .nav,
    .hero-scroll,
    .map-section {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .section {
        padding: 2rem 0;
    }
}
