/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Header Styles */
.main-header {
    background-color: #2c3e50;
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.school-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.school-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Main Navigation - Desktop */
.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
        padding: 0 15px;
    }

    .school-name {
        font-size: 1.2rem;
    }

    .school-logo {
        width: 40px;
        height: 40px;
    }

    /* Hide desktop navigation on mobile */
    .main-nav {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile menu when active */
    .main-nav.mobile-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .main-nav.mobile-active .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .main-nav.mobile-active .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.mobile-active .nav-item:last-child {
        border-bottom: none;
    }

    .main-nav.mobile-active .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    /* Hamburger animation when active */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }

    .school-name {
        font-size: 1rem;
    }

    .school-logo {
        width: 35px;
        height: 35px;
    }
}

/* Accessibility Improvements */
.nav-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.mobile-menu-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .hamburger-line {
        transition: none;
    }
}

/* Contact Page Header Styles */
.contact-page-header {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2064&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.floating-contact-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 2.2rem;
    opacity: 0.8;
    animation: floatContactElement 25s infinite ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    padding: 10px;
}

.floating-element[data-element="phone"] {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    color: #4CAF50;
}

.floating-element[data-element="email"] {
    top: 15%;
    right: 15%;
    animation-delay: -5s;
    color: #2196F3;
}

.floating-element[data-element="location"] {
    bottom: 25%;
    left: 20%;
    animation-delay: -10s;
    color: #FF9800;
}

.floating-element[data-element="clock"] {
    bottom: 30%;
    right: 10%;
    animation-delay: -15s;
    color: #9C27B0;
}

.floating-element[data-element="chat"] {
    top: 45%;
    left: 5%;
    animation-delay: -20s;
    color: #E91E63;
}

.background-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.85) 0%,
        rgba(118, 75, 162, 0.75) 50%,
        rgba(255, 138, 128, 0.65) 100%
    );
}

.contact-header-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    color: white;
}

/* Breadcrumb Navigation */
.contact-breadcrumb-nav {
    margin-bottom: 50px;
}

.contact-breadcrumb-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 12px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.breadcrumb-icon {
    font-size: 1.1rem;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    font-size: 1.2rem;
}

.breadcrumb-item.current .breadcrumb-current {
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header Content */
.contact-header-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.contact-text-content {
    text-align: left;
}

.contact-main-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    position: relative;
}

.contact-title-text {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-title-underline {
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    margin-top: 20px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.contact-intro-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Quick Action Buttons */
.contact-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.quick-action-btn:hover::before {
    left: 100%;
}

.quick-action-btn.primary-action {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.quick-action-btn.primary-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, #45a049, #4CAF50);
}

.quick-action-btn.secondary-action {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.quick-action-btn.secondary-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.6);
    background: linear-gradient(135deg, #1976D2, #2196F3);
}

.quick-action-btn.tertiary-action {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.quick-action-btn.tertiary-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 152, 0, 0.6);
    background: linear-gradient(135deg, #F57C00, #FF9800);
}

.action-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.action-text {
    flex-grow: 1;
}

/* Emergency Contact Bar */
.emergency-contact-bar {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.emergency-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.alert-icon {
    font-size: 1.5rem;
    animation: pulseEmergency 2s infinite;
}

.alert-text {
    color: white;
}

.emergency-number {
    font-size: 1.8rem;
    font-weight: 800;
}

.emergency-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.emergency-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.emergency-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-style: italic;
}

/* Scroll Indicator */
.contact-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    animation: bounceContact 2s infinite;
    cursor: pointer;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid rgba(255, 255, 255, 0.9);
    border-bottom: 3px solid rgba(255, 255, 255, 0.9);
    transform: rotate(45deg);
    margin: 0 auto 12px;
}

.scroll-text {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Animations */
@keyframes floatContactElement {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-25px) rotate(5deg) scale(1.1);
    }
    50% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    75% {
        transform: translateY(25px) rotate(-5deg) scale(0.9);
    }
}

@keyframes pulseEmergency {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes bounceContact {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-12px);
    }
    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-main-title {
        font-size: 3.8rem;
    }
    
    .contact-header-content {
        gap: 40px;
    }
    
    .emergency-content {
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-page-header {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
    }
    
    .contact-header-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-text-content {
        text-align: center;
    }
    
    .contact-main-title {
        font-size: 3.2rem;
    }
    
    .contact-intro-text {
        font-size: 1.2rem;
    }
    
    .contact-quick-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .quick-action-btn {
        flex: 1;
        min-width: 200px;
        justify-content: center;
        text-align: center;
    }
    
    .emergency-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .emergency-number {
        font-size: 1.5rem;
    }
    
    .floating-element {
        font-size: 1.8rem;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .contact-main-title {
        font-size: 2.5rem;
    }
    
    .contact-intro-text {
        font-size: 1.1rem;
    }
    
    .contact-quick-actions {
        flex-direction: column;
    }
    
    .quick-action-btn {
        width: 100%;
    }
    
    .contact-breadcrumb-list {
        flex-direction: column;
        gap: 8px;
    }
    
    .breadcrumb-separator {
        display: none;
    }
    
    .emergency-number {
        font-size: 1.3rem;
    }
    
    .floating-element {
        font-size: 1.5rem;
        padding: 6px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .floating-element {
        animation: none;
    }
    
    .contact-scroll-indicator {
        animation: none;
    }
    
    .alert-icon {
        animation: none;
    }
    
    .quick-action-btn:hover {
        transform: none;
    }
    
    .quick-action-btn::before {
        display: none;
    }
}

/* Quick Contact Overview Section */
.quick-contact-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
}

.quick-contact-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Section Header */
.contact-overview-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.overview-section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
}

.overview-title-text {
    display: block;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overview-title-underline {
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    margin: 20px auto 0;
    border-radius: 2px;
}

.overview-intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 0;
}

/* Contact Methods Grid */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contact-method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.contact-method-card:hover::before {
    left: 100%;
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-method-card[data-method="phone"] {
    border-top: 4px solid #4CAF50;
}

.contact-method-card[data-method="email"] {
    border-top: 4px solid #2196F3;
}

.contact-method-card[data-method="visit"] {
    border-top: 4px solid #FF9800;
}

.contact-method-card[data-method="hours"] {
    border-top: 4px solid #9C27B0;
}

.method-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon {
    font-size: 2.8rem;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.contact-method-card:hover .method-icon {
    transform: scale(1.2) rotate(5deg);
}

.method-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #4CAF50, #2196F3, #FF9800, #9C27B0, #4CAF50);
    opacity: 0.1;
    animation: rotateGlow 15s linear infinite;
}

.method-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.method-description {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.contact-details {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    border: 2px solid #e9ecef;
}

.contact-link:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.link-icon {
    font-size: 1.3rem;
}

.address-display {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.address-text {
    line-height: 1.5;
    color: #2c3e50;
    font-weight: 500;
}

.contact-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

.hours-display {
    text-align: left;
}

.hours-schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.day-name {
    font-weight: 600;
    color: #2c3e50;
}

.day-time {
    color: #5a6c7d;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.method-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.method-action-btn.primary-action {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.method-action-btn.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.method-action-btn.secondary-action {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
}

.method-action-btn.secondary-action:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.action-icon {
    font-size: 1.1rem;
}

/* Response Time Info */
.response-time-info {
    margin-bottom: 60px;
}

.response-time-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.response-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.response-content {
    flex: 1;
}

.response-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.response-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.response-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-dot.urgent {
    background: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.timeline-dot.fast {
    background: #f39c12;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.timeline-dot.standard {
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.timeline-label {
    font-weight: 600;
    flex: 1;
}

.timeline-value {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Contact Stats Grid */
.contact-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.contact-stat-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #3498db;
}

.contact-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3498db;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-description {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Animations */
@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-section-title {
        font-size: 2.8rem;
    }
    
    .contact-methods-grid {
        gap: 25px;
    }
    
    .response-time-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .quick-contact-overview {
        padding: 60px 0;
    }
    
    .overview-section-title {
        font-size: 2.3rem;
    }
    
    .overview-intro-text {
        font-size: 1.1rem;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-method-card {
        padding: 30px 20px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .method-action-btn {
        width: 100%;
    }
    
    .contact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .response-time-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .overview-section-title {
        font-size: 2rem;
    }
    
    .contact-overview-container {
        padding: 0 15px;
    }
    
    .contact-method-card {
        padding: 25px 15px;
    }
    
    .method-title {
        font-size: 1.4rem;
    }
    
    .contact-details {
        padding: 15px;
    }
    
    .contact-link {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    .contact-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .response-time-card {
        padding: 25px 15px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .method-glow {
        animation: none;
    }
    
    .contact-method-card:hover {
        transform: none;
    }
    
    .contact-method-card::before {
        display: none;
    }
    
    .contact-method-card:hover .method-icon {
        transform: none;
    }
    
    .method-action-btn:hover {
        transform: none;
    }
    
    .contact-stat-card:hover {
        transform: none;
    }
    
    .contact-link:hover {
        transform: none;
    }
}

/* Footer Section Base Styles */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3.75rem 0 0;
    position: relative;
    margin-top: auto;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: linear-gradient(90deg, #3498db, #e74c3c, #2ecc71);
}

.footer-container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.75rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.625rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3.125rem;
    height: 0.125rem;
    background: #e74c3c;
    border-radius: 0.0625rem;
}

/* Contact Information */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9375rem;
}

.contact-icon {
    color: #3498db;
    margin-top: 0.1875rem;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 0.875rem;
    color: #bdc3c7;
    margin-bottom: 0.3125rem;
    font-weight: 600;
}

.contact-value {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.contact-link {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3498db;
}

/* Quick Links */
.footer-nav {
    margin-top: 0.625rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.3125rem 0;
    display: block;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
    transform: translateX(0.3125rem);
}

.nav-link::before {
    content: '›';
    position: absolute;
    left: -0.9375rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

/* Operating Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.hours-day {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.hours-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2ecc71;
}

.emergency-info {
    background: rgba(231, 76, 60, 0.1);
    border: 0.0625rem solid rgba(231, 76, 60, 0.3);
    border-radius: 0.5rem;
    padding: 0.9375rem;
    margin-top: 0.625rem;
}

.emergency-text {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.emergency-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.emergency-link:hover {
    color: #c0392b;
}

/* Social Media */
.social-description {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.875rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-0.125rem);
}

.social-link.facebook:hover {
    color: #1877f2;
}

.social-link.twitter:hover {
    color: #1da1f2;
}

.social-link.instagram:hover {
    color: #e4405f;
}

.social-link.youtube:hover {
    color: #ff0000;
}

.social-name {
    font-weight: 500;
}

/* Newsletter Signup */
.newsletter-signup {
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 0.625rem;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-bottom: 0.9375rem;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 0.625rem;
}

.email-input {
    flex: 1;
    padding: 0.75rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: #95a5a6;
}

.email-input:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-btn {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-0.125rem);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
    padding: 1.875rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.copyright-text {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #3498db;
}

.link-separator {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.accreditation-text {
    font-size: 0.85rem;
    color: #2ecc71;
    font-weight: 600;
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    width: 3.125rem;
    height: 3.125rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 0.25rem 0.9375rem rgba(52, 152, 219, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.5rem 1.25rem rgba(52, 152, 219, 0.4);
}

.back-to-top:active {
    transform: translateY(-0.125rem);
}

/* Responsive Design */
@media (max-width: 64rem) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        order: -1;
    }
}

@media (max-width: 48rem) {
    .site-footer {
        padding: 2.5rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (max-width: 30rem) {
    .site-footer {
        padding: 2rem 0 0;
    }
    
    .footer-container {
        padding: 0 0.9375rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.125rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-icon {
        margin-top: 0;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .link-separator {
        display: none;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Accessibility */
.contact-link:focus,
.nav-link:focus,
.social-link:focus,
.legal-link:focus,
.email-input:focus,
.subscribe-btn:focus,
.back-to-top:focus {
    outline: 0.125rem solid #3498db;
    outline-offset: 0.125rem;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .contact-link,
    .nav-link,
    .social-link,
    .subscribe-btn,
    .back-to-top,
    .email-input {
        transition: none;
    }
    
    .nav-link:hover,
    .social-link:hover,
    .back-to-top:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-footer {
        background: #000000;
        border-top: 0.1875rem solid #ffffff;
    }
    
    .footer-bottom {
        border-top: 0.125rem solid #ffffff;
        background: #000000;
    }
    
    .contact-link,
    .nav-link,
    .social-link,
    .legal-link {
        border: 0.0625rem solid transparent;
    }
    
    .contact-link:focus,
    .nav-link:focus,
    .social-link:focus,
    .legal-link:focus {
        border-color: #ffffff;
    }
    
    .newsletter-signup,
    .emergency-info {
        border: 0.125rem solid #ffffff;
    }
}