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

/* === Container === */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === Hero Section === */
.contact-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/static/images/backgrounds/contactbg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.contact-hero-overlay {
    width: 100%;
    position: relative;
}

.contact-hero-content {
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.contact-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--anity-white);
}

.contact-hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    opacity: 0.95;
}

/* === Contact Info Section === */
.contact-info-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-info-card a {
    color: #FF5528;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #e64a23;
}

.contact-hours,
.contact-response {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* === Contact Form Section === */
.contact-form-section {
    padding: 6rem 0;
    background: white;
}

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

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

.contact-form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-form-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* === Form Styles === */
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-input-wrapper {
    position: relative;
}

.contact-input-wrapper input,
.contact-textarea-wrapper textarea {
    width: 100%;
    padding: 1.5rem 1.25rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-input-wrapper label,
.contact-textarea-wrapper label {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-size: 1rem;
    color: #94a3b8;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 500;
}

.contact-input-wrapper input:focus,
.contact-input-wrapper input:not(:placeholder-shown),
.contact-textarea-wrapper textarea:focus,
.contact-textarea-wrapper textarea:not(:placeholder-shown) {
    border-color: #FF5528;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 85, 40, 0.1);
}

.contact-input-wrapper input:focus + label,
.contact-input-wrapper input:not(:placeholder-shown) + label,
.contact-textarea-wrapper textarea:focus + label,
.contact-textarea-wrapper textarea:not(:placeholder-shown) + label {
    top: 0rem;
    font-size: 0.8rem;
    color: #FF5528;
    font-weight: 600;
}

.contact-select-wrapper {
    position: relative;
}

.contact-select-wrapper select {
    width: 100%;
    padding: 1.5rem 1.25rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
    cursor: pointer;
}



.contact-select-wrapper select:focus {
    border-color: #FF5528;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 85, 40, 0.1);
}

.contact-select-wrapper label {
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
    font-size: 0.8rem;
    color: #FF5528;
    font-weight: 600;
}

.contact-textarea-wrapper {
    margin-bottom: 3rem;
}

.contact-textarea-wrapper textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* === Submit Button === */
.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.5rem 2rem;
    background: #FF5528;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-submit-btn:hover {
    background: #e64a23;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 85, 40, 0.3);
}

.contact-btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover .contact-btn-arrow {
    transform: translateX(5px);
}

/* === Map Section === */
.contact-map-section {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.contact-map-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.contact-map-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); */
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 1.5rem;
    }
    
    .contact-hero-section {
        min-height: 50vh;
    }
    
    .contact-info-section,
    .contact-form-section,
    .contact-map-section {
        padding: 3rem 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 640px) {
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-input-wrapper input,
    .contact-textarea-wrapper textarea,
    .contact-select-wrapper select {
        padding: 1.25rem 1rem 0.5rem;
    }
    
    .contact-input-wrapper label,
    .contact-textarea-wrapper label {
        left: 1rem;
    }
    
    .contact-select-wrapper label {
        left: 1rem;
    }
    
    .contact-select-wrapper::after {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-info-section,
    .contact-form-section,
    .contact-map-section {
        padding: 2rem 0;
    }
    
    .contact-map-wrapper iframe {
        height: 300px;
    }
}