/* Contact Page Styles - Complete Redesign */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(145deg, #ffffff 0%, #f8fdfd 35%, #e8f8f5 70%, #f0fff4 100%);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="60" cy="60" r="3" fill="%232D8783" opacity="0.06"/><circle cx="340" cy="80" r="2" fill="%231ED3CA" opacity="0.08"/><circle cx="80" cy="320" r="2.5" fill="%232D8783" opacity="0.06"/><circle cx="320" cy="340" r="3.5" fill="%231ED3CA" opacity="0.07"/><path d="M200,80 C220,90 220,110 200,120 C180,110 180,90 200,80" fill="%232D8783" opacity="0.04"/><rect x="100" y="200" width="8" height="6" rx="3" fill="%231ED3CA" opacity="0.05"/><rect x="280" y="180" width="6" height="4" rx="2" fill="%232D8783" opacity="0.04"/></svg>');
    background-size: 400px 400px;
    animation: floatSlow 45s infinite linear;
    pointer-events: none;
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.contact-hero p {
    font-size: 20px;
    color: var(--text-grey);
    text-align: center;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Contact Information Section */
.contact-info {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fdfd 0%, #ffffff 100%);
}

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

/* Contact Details */
.contact-details h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-details > p {
    font-size: 18px;
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: var(--card-gap);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: var(--content-gap);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(45, 135, 131, 0.08);
    transition: var(--transition-normal);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(45, 135, 131, 0.15);
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
    color: white;
}

.contact-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-text p {
    font-size: 16px;
    color: var(--text-grey);
    line-height: 1.6;
    margin: 0;
}

.phone-link,
.email-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.phone-link:hover,
.email-link:hover {
    color: var(--light-teal);
    text-decoration: underline;
}

.highlight {
    color: var(--primary-teal);
    font-weight: 600;
}

/* Social Contact Section - Full Width */
.social-contact-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fdfd 0%, #ffffff 100%);
}

.social-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--content-gap);
    margin-top: var(--content-gap);
}

.social-group {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(45, 135, 131, 0.08);
    transition: var(--transition-normal);
}

.social-group:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(45, 135, 131, 0.15);
}

.social-group h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-teal);
    text-align: center;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(45, 135, 131, 0.1);
    transition: var(--transition-normal);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.social-link:hover {
    background: rgba(45, 135, 131, 0.05);
    transform: translateY(-2px);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-teal);
}

/* Right Column */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: var(--small-gap);
}

/* Map Section */
.map-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(45, 135, 131, 0.08);
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Quick Contact Section */
.quick-contact {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(45, 135, 131, 0.08);
    text-align: center;
}

.quick-contact h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.quick-contact p {
    color: var(--text-grey);
    margin-bottom: 25px;
    line-height: 1.6;
}

.quick-contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.quick-contact-btn.primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    color: white;
}

.quick-contact-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.quick-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Service Hours Section */
.service-hours {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(45, 135, 131, 0.08);
}

.service-hours h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(45, 135, 131, 0.05);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-teal);
}

.hours-day {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
}

.hours-time {
    color: var(--primary-teal);
    font-weight: 500;
    font-size: 16px;
}

.hours-item.today {
    background: rgba(45, 135, 131, 0.1);
    border-left-color: var(--light-teal);
}

.hours-item.today .hours-day {
    color: var(--primary-teal);
}

/* Office Locations Section */
.office-locations {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fdfd 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--content-gap);
}

.section-header h2 {
    font-size: var(--h2-size);
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--small-gap);
}

.office-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(45, 135, 131, 0.08);
    position: relative;
    transition: var(--transition-normal);
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(45, 135, 131, 0.15);
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--light-teal));
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.office-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(45, 135, 131, 0.1);
}

.office-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.office-badge {
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    color: white;
    padding: 6px 12px;
    border-radius: var(--border-radius-md);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-address {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.address-icon {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--primary-teal);
}

.office-address p {
    margin: 0;
    color: var(--text-grey);
    line-height: 1.6;
    font-size: 16px;
}

.office-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(45, 135, 131, 0.1);
    transition: var(--transition-normal);
    cursor: pointer;
}

.contact-detail:hover {
    background: rgba(45, 135, 131, 0.05);
    border-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.contact-detail .contact-icon {
    font-size: 18px;
    color: var(--primary-teal);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-normal);
    flex: 1;
}

.contact-detail:hover a {
    color: var(--primary-teal);
}

/* Animation Keyframes */
@keyframes floatSlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(1deg); }
    50% { transform: translate(-10px, 10px) rotate(-1deg); }
    75% { transform: translate(15px, -15px) rotate(0.5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-info {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--card-gap);
    }
    
    .contact-item {
        padding: 25px;
        gap: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .social-contact-section {
        padding: 60px 0;
    }
    
    .social-groups {
        grid-template-columns: 1fr;
        gap: var(--card-gap);
    }
    
    .social-group {
        padding: 25px;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .service-hours {
        padding: 25px;
    }
    
    .hours-item {
        padding: 12px 15px;
    }
    
    .hours-day,
    .hours-time {
        font-size: 14px;
    }
    
    .office-locations {
        padding: 60px 0;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .office-card {
        padding: 25px;
    }
    
    .contact-detail {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 40px 0 30px;
    }
    
    .contact-info {
        padding: 40px 0;
    }
    
    .office-locations {
        padding: 40px 0;
    }
    
    .social-contact-section {
        padding: 40px 0;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .office-card {
        padding: 20px;
    }
    
    .map-section,
    .quick-contact,
    .service-hours {
        padding: 20px;
    }
}