/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, rgba(0,139,139,0.95), rgba(75,0,130,0.95)),
                url('https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0 150px;
    position: relative;
    text-align: center;
}

.contact-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeIn 1s ease-out;
}

.contact-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

/* Contact Information Section */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5em;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-card:hover i {
    animation: floatIcon 2s ease-in-out infinite;
}

.contact-card h2 {
    color: var(--text-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* Contact card colors */
.contact-card.purple {
    border-top: 4px solid var(--purple-btn);
}
.contact-card.purple i {
    color: var(--purple-btn);
}

.contact-card.green {
    border-top: 4px solid var(--green-btn);
}
.contact-card.green i {
    color: var(--green-btn);
}

.contact-card.yellow {
    border-top: 4px solid var(--yellow-btn);
}
.contact-card.yellow i {
    color: var(--yellow-btn);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 16px;
    background: var(--yellow-btn);
    color: var(--white) !important;
    border-radius: 20px;
    font-size: 0.9em;
}

.map-link:hover {
    background: var(--secondary-color);
    color: var(--white) !important;
}

.map-link i {
    font-size: 0.9em !important;
    margin: 0 !important;
}

/* SMS Policy Section */
.sms-policy {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 60px;
    border-top: 4px solid var(--primary-color);
}

.sms-policy h2 {
    color: var(--text-color);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.sms-policy p {
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.policy-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.policy-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.policy-button i {
    font-size: 1.2em;
}

/* Business Hours */
.business-hours {
    text-align: center;
}

.business-hours h2 {
    color: var(--text-color);
    font-size: 1.8em;
    margin-bottom: 40px;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hours-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

.hours-card h3 {
    color: var(--text-color);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.hours-card p {
    color: #666;
}

.hours-card.emergency {
    border-color: var(--accent-color);
}

.hours-card.emergency h3 {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Staggered animations */
.contact-card:nth-child(1) { animation-delay: 0.2s; }
.contact-card:nth-child(2) { animation-delay: 0.4s; }
.contact-card:nth-child(3) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid,
    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5em;
    }

    .contact-grid,
    .hours-grid {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .hours-card {
        padding: 30px 20px;
    }

    .sms-policy {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2em;
    }

    .contact-card h2,
    .sms-policy h2,
    .business-hours h2 {
        font-size: 1.5em;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .contact-card {
        animation: none !important;
        transform: none !important;
    }
    
    .contact-card:hover {
        transform: none !important;
    }
    
    .contact-card i:hover {
        animation: none !important;
    }
} 