/**
 * Enhanced Contact Page Styles for BK Pilates
 *
 * @package BK_Pilates
 */

/* --------------------------------------------------------------
# Contact Hero Section
-------------------------------------------------------------- */
.contact-hero-section {
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.contact-hero-section .section-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-hero-section .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.contact-hero-section .section-background-color {
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
}

.contact-hero-section .section-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.contact-hero-section:hover .section-background img {
    transform: scale(1.05);
}

.contact-hero-section .section-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.contact-hero-content {
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-family: var(--font-main), sans-serif;
    font-size: 166px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: unset;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------
# Locations Section with Background
-------------------------------------------------------------- */
.contact-locations-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--secondary-color);
    overflow: hidden;
}

/* Background overlay pattern for visual interest */
.contact-locations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(224, 163, 111, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.contact-locations-section .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 80px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
}

.section-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Enhanced Location Item Design with Glass Effect */
.location-item {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 0;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.location-item:hover {
    transform: translateY(-12px);
    box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.16),
            0 0 0 1px rgba(224, 163, 111, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(224, 163, 111, 0.4);
}

/* Glass morphism shine effect */
.location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent
    );
    transition: left 0.6s ease;
    z-index: 2;
    pointer-events: none;
}

.location-item:hover::before {
    left: 100%;
}

/* Alternating layout */
.location-item:nth-child(even) {
    direction: rtl;
}

.location-item:nth-child(even) .location-map,
.location-item:nth-child(even) .location-info {
    direction: ltr;
}

/* Map/Image Column with overlay gradient */
.location-map {
    /*height: 400px;*/
    overflow: hidden;
    position: relative;
}

.location-map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            45deg,
            rgba(224, 163, 111, 0.1) 0%,
            transparent 50%
    );
    pointer-events: none;
    z-index: 1;
}

.map-embed {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.3s ease;
}

.location-item:hover .map-embed iframe {
    filter: grayscale(0%) contrast(120%);
}

.location-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.location-item:hover .location-image img {
    transform: scale(1.1);
}

.location-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #999;
}

.location-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Enhanced Info Column with Advanced Background */
.location-info {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

/* Animated background pattern - more subtle */
.location-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
            radial-gradient(circle at 30% 30%, rgba(224, 163, 111, 0.05) 0%, transparent 25%),
            radial-gradient(circle at 70% 70%, rgba(221, 193, 172, 0.03) 0%, transparent 25%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: 0;
}

/* Ensure all content is above background with full opacity */
.location-header,
.location-details,
.location-actions {
    position: relative;
    z-index: 2;
}

.location-title {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    opacity: 1;
}

/* Decorative side accent - full height */
.location-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
            to bottom,
            var(--accent-color) 0%,
            rgba(224, 163, 111, 0.8) 50%,
            var(--accent-color) 100%
    );
    z-index: 1;
}

/* Right accent for even items (second row, etc.) */
.location-item:nth-child(even) .location-info::after {
    left: auto;
    right: 0;
}

/* Floating animation for background */
@keyframes backgroundFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-10px, -10px) rotate(1deg);
    }
    66% {
        transform: translate(10px, -5px) rotate(-1deg);
    }
}

.location-header {
    margin-bottom: 30px;
}

.location-title {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.location-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            135deg,
            var(--accent-color) 0%,
            rgba(224, 163, 111, 0.7) 50%,
            var(--accent-color) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.location-item:hover .location-title::before {
    opacity: 1;
}

.location-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(224, 163, 111, 0.5));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-item:hover .location-title::after {
    width: 80px;
}

/* Enhanced Location Details - Two Column Layout */
.location-details {
    margin-bottom: 30px;
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    align-items: start;
}

/* Ensure each detail item takes full width within its column */
.location-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.location-detail:hover {
    background-color: rgba(224, 163, 111, 0.05);
    transform: translateX(3px);
}

.location-detail:last-child {
    margin-bottom: 0;
}

.detail-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(224, 163, 111, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(224, 163, 111, 0.3);
    transition: transform 0.3s ease;
}

.location-detail:hover .detail-icon {
    transform: scale(1.05);
}

.detail-content {
    flex-grow: 1;
}

.detail-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content p {
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
    font-size: 14px;
}

.detail-content a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.detail-content a:hover {
    color: var(--accent-color);
}

/* Enhanced Action Buttons */
.location-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.location-actions .btn {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/*.location-actions .btn::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: -100%;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);*/
/*    transition: left 0.6s;*/
/*}*/

/*.location-actions .btn:hover::before {*/
/*    left: 100%;*/
/*}*/

.location-actions .btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/*.location-actions .btn:hover i {*/
/*    transform: translateX(3px);*/
/*}*/

/*.location-actions .btn-secondary {*/
/*    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);*/
/*    color: var(--primary-color);*/
/*    border: 2px solid #ddd;*/
/*}*/

/*.location-actions .btn-secondary:hover {*/
/*    background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);*/
/*    color: var(--primary-color);*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.location-actions .btn-primary {*/
/*    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(224, 163, 111, 0.8) 100%);*/
/*    color: #fff;*/
/*    border: 2px solid var(--accent-color);*/
/*    box-shadow: 0 4px 15px rgba(224, 163, 111, 0.3);*/
/*}*/

/*.location-actions .btn-primary:hover {*/
/*    background: linear-gradient(135deg, rgba(224, 163, 111, 0.9) 0%, var(--accent-color) 100%);*/
/*    color: #fff;*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 8px 25px rgba(224, 163, 111, 0.4);*/
/*}*/

/* --------------------------------------------------------------
# Main Contact Section (moved to bottom)
-------------------------------------------------------------- */
.contact-main-section {
    padding: 60px 0;
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
}

/* Background image support */
.contact-main-section.has-background-image {
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-main-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.contact-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 30% 20%, rgba(224, 163, 111, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(221, 193, 172, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.contact-main-section .container {
    position: relative;
    z-index: 2;
    padding-block: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-form-column,
.contact-info-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    height: 100%;
}

.contact-form-wrapper:hover,
.contact-info-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    flex-shrink: 0;
}

.contact-form-wrapper h2::after,
.contact-info-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.contact-form-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-form {
    margin-top: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Enhanced Contact Form styling - compact */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
    position: relative;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(224, 163, 111, 0.1);
    transform: translateY(-1px);
}

.contact-form textarea {
    height: 80px;
    resize: vertical;
    flex-grow: 1;
    min-height: 80px;
}

.contact-form input[type="submit"],
.contact-form button[type="submit"] {
    /*background: linear-gradient(135deg, var(--accent-color) 0%, rgba(224, 163, 111, 0.8) 100%);*/
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(224, 163, 111, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    align-self: flex-start;
}

/*.contact-form input[type="submit"]:hover,*/
/*.contact-form button[type="submit"]:hover {*/
/*    background: linear-gradient(135deg, rgba(224, 163, 111, 0.9) 0%, var(--accent-color) 100%);*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 6px 20px rgba(224, 163, 111, 0.4);*/
/*}*/

/* Enhanced Contact Info Column - equal height */
.contact-details {
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-detail:hover {
    background-color: rgba(224, 163, 111, 0.05);
    transform: translateX(3px);
}

.contact-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(224, 163, 111, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(224, 163, 111, 0.3);
    transition: transform 0.3s ease;
}

.contact-detail:hover .contact-icon {
    transform: scale(1.05);
}

.contact-text {
    flex-grow: 1;
}

.contact-text h3 {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text p {
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
    font-size: 14px;
}

.contact-detail a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

/* Enhanced Social Media Links - compact */
.contact-social {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.contact-social h3 {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(224, 163, 111, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(224, 163, 111, 0.3);
}

.social-links a i {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------
# Additional Content Section
-------------------------------------------------------------- */
.contact-content-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-page-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-page-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-page-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #666;
}

/* --------------------------------------------------------------
# Animations
-------------------------------------------------------------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Add animation to location items */
.location-item {
    animation: slideInUp 0.6s ease forwards;
}

.location-item:nth-child(1) { animation-delay: 0.1s; }
.location-item:nth-child(2) { animation-delay: 0.2s; }
.location-item:nth-child(3) { animation-delay: 0.3s; }
.location-item:nth-child(4) { animation-delay: 0.4s; }

/* --------------------------------------------------------------
# Responsive Styles
-------------------------------------------------------------- */
@media (max-width: 1200px) {
    .contact-hero-title {
        font-size: 50px;
    }

    .location-item {
        gap: 0;
    }

    .location-info {
        padding: 40px 30px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 40px 35px;
    }
}

@media (max-width: 991px) {
    .contact-hero-section {
        padding: 120px 0 60px;
        min-height: 50vh;
    }

    .contact-hero-title {
        font-size: 42px;
    }

    .contact-hero-description {
        font-size: 16px;
    }

    .contact-locations-section {
        padding: 80px 0;
    }

    .locations-grid {
        gap: 30px;
    }

    .location-item {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .location-item:nth-child(even) {
        direction: ltr;
    }

    .location-map {
        height: 300px;
        order: 1;
    }

    .location-info {
        order: 2;
        padding: 40px 30px;
    }

    .location-title {
        font-size: 24px;
    }

    .location-actions {
        flex-direction: column;
    }

    .location-actions .btn {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 40px 30px;
        min-height: auto;
    }

    /* Location details - return to single column on tablets */
    .location-details {
        gap: 15px;
    }

    .location-detail {
        margin-bottom: 15px;
        padding: 12px;
    }
}

@media (max-width: 767px) {
    .contact-hero-section {
        padding: 100px 0 50px;
        min-height: 40vh;
    }

    .contact-hero-title {
        font-size: 36px;
    }

    .contact-hero-description {
        font-size: 15px;
    }

    .section-title {
        font-size: 40px;
    }

    .section-description {
        font-size: 16px;
    }

    .contact-locations-section {
        padding: 60px 0;
    }

    .locations-grid {
        gap: 25px;
    }

    .location-map {
        height: 250px;
    }

    .location-info {
        padding: 30px 25px;
    }

    .location-title {
        font-size: 22px;
    }

    .location-detail {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 15px;
        gap: 30px;
    }

    .location-details,
    .location-header {
        margin-bottom: unset;
    }

    .detail-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px 25px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 26px;
    }

    .contact-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .contact-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .contact-text {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-main-section {
        background-attachment: scroll;
    }

    /* Location details - single column on mobile */
    .location-details {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .location-detail {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 12px;
        margin-bottom: unset;
    }

    .detail-icon {
        margin-right: 12px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .detail-content h4 {
        font-size: 13px;
    }

    .detail-content p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .contact-hero-section {
        padding: 90px 0 40px;
    }

    .contact-hero-title {
        font-size: 30px;
    }

    .contact-locations-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 24px;
    }

    .locations-grid {
        gap: 20px;
    }

    .location-map {
        height: 200px;
    }

    .location-info {
        padding: 25px 20px;
    }

    .location-title {
        font-size: 20px;
    }

    .location-actions .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .contact-main-section {
        padding: 60px 0;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 25px 20px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 24px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea {
        padding: 15px 18px;
        font-size: 15px;
    }

    .contact-form input[type="submit"],
    .contact-form button[type="submit"] {
        padding: 15px 30px;
        font-size: 14px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .detail-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        margin-right: 10px;
    }

    /* Location details - compact layout on small mobile */
    .location-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .location-detail {
        padding: 10px;
    }

    .detail-content h4 {
        font-size: 12px;
    }

    .detail-content p {
        font-size: 12px;
    }
}