/* CONTACT PAGE - REDESIGNED STYLES WITH FIXED RESPONSIVE */

/* CSS Variables */
:root {
    --primary-color: #87CEEB;
    --primary-dark: #4682B4;
    --secondary-color: #ff6b6b;
    --accent-color: #ffd93d;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #bdc3c7;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, #ff6b6b, #ee5a24);
    --gradient-accent: linear-gradient(135deg, #ffd93d, #f39c12);
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding: 2rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideInUp 0.8s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, #ffd93d, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    min-width: 140px;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Quick Contact Bar */
.quick-contact-bar {
    background: var(--background-white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-light);
    position: static; /* Remove sticky behavior */
    top: auto;
    z-index: auto;
}

.quick-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    border: 2px solid transparent;
}

.quick-contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.phone-icon {
    background: var(--gradient-secondary);
}

.email-icon {
    background: var(--gradient-primary);
}

.location-icon {
    background: var(--gradient-accent);
}

.contact-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

/* Main Contact Section */
.main-contact-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Info Panel */
.contact-info-panel {
    background: var(--background-white);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.panel-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.panel-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.panel-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.contact-method.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.method-icon {
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.location-gradient {
    background: var(--gradient-accent);
}

.phone-gradient {
    background: var(--gradient-secondary);
}

.email-gradient {
    background: var(--gradient-primary);
}

.method-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.method-details {
    margin-bottom: 1.5rem;
}

.method-details p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.phone-group,
.email-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.phone-label,
.email-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.phone-link,
.email-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    word-break: break-all;
    font-size: 0.9rem;
}

.phone-link:hover,
.email-link:hover {
    color: var(--primary-color);
}

.availability-info {
    background: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.availability-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.availability-day {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.availability-time {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.response-time {
    margin-top: 1rem;
}

.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.method-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.method-action:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.method-action svg {
    width: 14px;
    height: 14px;
}

/* Key Personnel */
.key-personnel {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.key-personnel h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.personnel-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.personnel-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

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

.personnel-role {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.85rem;
    flex: 1;
}

.personnel-contact {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-align: right;
    flex-shrink: 0;
}

/* Contact Form Panel */
.contact-form-panel {
    background: var(--background-white);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.contact-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.form-header h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Modern Contact Form */
.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.field-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper,
.textarea-wrapper,
.select-wrapper {
    position: relative;
}

.input-wrapper input,
.textarea-wrapper textarea,
.select-wrapper select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    background: var(--background-light);
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

.input-wrapper input:focus,
.textarea-wrapper textarea:focus,
.select-wrapper select:focus {
    border-color: var(--primary-color);
    background: var(--background-white);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.input-wrapper input:focus + .input-focus-border,
.textarea-wrapper textarea:focus + .input-focus-border,
.select-wrapper select:focus + .input-focus-border {
    width: 100%;
}

.select-wrapper {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
    transition: var(--transition);
}

.select-arrow svg {
    width: 18px;
    height: 18px;
}

.select-wrapper select:focus + .select-arrow {
    color: var(--primary-color);
    transform: translateY(-50%) rotate(180deg);
}

.textarea-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Actions */
.form-actions {
    margin-top: 1rem;
}

.submit-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.submit-button:active {
    transform: translateY(0);
}

.button-content,
.button-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.button-loading {
    display: none;
}

.submit-button.loading .button-content {
    display: none;
}

.submit-button.loading .button-loading {
    display: flex;
}

.button-icon svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.submit-button:hover .button-icon svg {
    transform: translateX(5px);
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Form Success Message */
.form-success-message {
    display: none;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.success-animation {
    margin-bottom: 1.5rem;
}

.success-checkmark {
    width: 70px;
    height: 70px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: successPop 0.6s ease-out;
}

.success-checkmark svg {
    width: 35px;
    height: 35px;
    color: white;
    animation: checkmarkDraw 0.8s ease-out 0.3s both;
}

.form-success-message h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-success-message p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.reset-form-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.reset-form-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: var(--background-white);
}

.map-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.map-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.map-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.map-container.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.map-wrapper {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.map-wrapper iframe {
    border: 0;
}

.map-overlay-card {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    min-width: 220px;
    max-width: 280px;
}

.overlay-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.school-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.school-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.school-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.directions-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.directions-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.directions-button svg {
    width: 14px;
    height: 14px;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 1rem;
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-toggle svg {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
    transform: rotate(180deg);
}

.faq-item.active .faq-toggle svg {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 0 50;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 50 0;
        stroke-dashoffset: 0;
    }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info-panel {
        position: static;
        order: 2;
    }
    
    .contact-form-panel {
        order: 1;
    }
    
    .hero-stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 0.75rem 1rem;
    }
    
    .quick-contacts {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .map-overlay-card {
        position: static;
        margin-top: 1rem;
        margin-left: 0;
        max-width: none;
    }
}

/* Responsive Design - Mobile Large */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .quick-contact-bar {
        padding: 1rem 0;
    }
    
    .quick-contacts {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .quick-contact-item {
        padding: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-value {
        font-size: 0.9rem;
    }
    
    .main-contact-section,
    .map-section,
    .faq-section {
        padding: 3rem 0;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
    
    .method-content h3 {
        font-size: 1.1rem;
    }
    
    .personnel-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .personnel-contact {
        text-align: left;
    }
    
    .availability-item {
        justify-content: flex-start;
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
    }
    
    .shape-3 {
        width: 100px;
        height: 100px;
    }
}

/* Responsive Design - Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 85px 0 1rem; /* Adjusted for fixed header */
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero-description {
        margin-bottom: 2rem;
    }
    
    .stat-item {
        padding: 0.65rem 0.85rem;
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .quick-contact-item {
        padding: 0.65rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-label {
        font-size: 0.7rem;
    }
    
    .contact-value {
        font-size: 0.85rem;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 1.5rem;
    }
    
    .panel-header,
    .form-header {
        margin-bottom: 2rem;
    }
    
    .contact-methods {
        margin-bottom: 2rem;
    }
    
    .method-icon {
        margin-bottom: 1rem;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
    
    .key-personnel {
        padding: 1.25rem;
    }
    
    .form-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .input-wrapper input,
    .textarea-wrapper textarea,
    .select-wrapper select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .submit-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .map-overlay-card {
        padding: 1rem;
        min-width: auto;
    }
    
    .overlay-header {
        gap: 0.5rem;
    }
    
    .school-logo {
        width: 30px;
        height: 30px;
    }
    
    .school-info h4 {
        font-size: 0.9rem;
    }
    
    .school-info p {
        font-size: 0.8rem;
    }
    
    .directions-button {
        padding: 0.6rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .faq-toggle {
        width: 26px;
        height: 26px;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stat-item {
        min-width: auto;
        width: 100%;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 1.25rem;
    }
    
    .phone-link,
    .email-link {
        font-size: 0.8rem;
    }
    
    .method-details p {
        font-size: 0.85rem;
    }
}

/* Header active state */
.header-nav a.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* Print Styles */
@media print {
    .hero-section,
    .quick-contact-bar,
    .map-section,
    .faq-section {
        display: none;
    }
    
    .contact-info-panel {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .contact-form-panel {
        display: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        width: auto;
        min-width: 140px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shape {
        animation: none;
    }
    
    .badge-dot {
        animation: none;
    }
}

/* Focus Styles for Better Accessibility */
.quick-contact-item:focus,
.method-action:focus,
.directions-button:focus,
.phone-link:focus,
.email-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.submit-button:focus,
.reset-form-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.input-wrapper input:focus,
.textarea-wrapper textarea:focus,
.select-wrapper select:focus {
    outline: none;
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}