/*
 * Contact Page Styles
 * ByteWave Design System
 * Following exact design specifications from screenshot
 */

/* Remove default site-main padding for contact page */
.contact-page.site-main {
    padding: 0;
}

/* Contact Hero Section */
.contact-hero {
    background-color: #E8E7FC;
    padding: 80px 0;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Column - Contact Info */
.contact-info {
    padding-top: 20px;
}

.section-label {
    display: inline-block;
    background-color: #EEF2FF;
    color: #4F46E5;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin-bottom: 16px;
}

.contact-title {
    font-size: 56px;
    line-height: 68px;
    font-weight: 700;
    color: #1F2937;
    letter-spacing: -0.5px;
    margin: 0 0 20px 0;
}

.contact-description {
    font-size: 18px;
    line-height: 30px;
    color: #646570;
    margin: 0 0 40px 0;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: transparent;
    color: #646570;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #f3f4f6;
    color: #1F2937;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #4F46E5;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-text {
    font-size: 16px;
    line-height: 24px;
    color: #1F2937;
    font-weight: 400;
}

/* Right Column - Contact Form */
.contact-form-wrapper {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    width: 100%;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E4E4E4;
    border-radius: 6px;
    font-size: 16px;
    line-height: 24px;
    color: #1F2937;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: all 0.2s ease;
    background-color: #FAFAFA;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9CA3AF;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #4F46E5;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    background-color: #4F46E5;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

/* Locations Section */
.locations-section {
    background-color: #FFFFFF;
    padding: 80px 0 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 44px;
    line-height: 52px;
    font-weight: 700;
    color: #1F2937;
    letter-spacing: -0.5px;
    margin: 0 0 12px 0;
}

.section-subtitle {
    font-size: 18px;
    line-height: 30px;
    color: #646570;
    margin: 0;
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.location-card {
    background-color: #FAF7EF;
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.location-name {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: #1F2937;
    letter-spacing: -0.3px;
    margin: 0 0 24px 0;
}

.location-info {
    margin-bottom: 24px;
}

.location-label {
    font-size: 14px;
    line-height: 20px;
    color: #646570;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.location-text {
    font-size: 16px;
    line-height: 24px;
    color: #1F2937;
    margin: 0 0 20px 0;
}

.location-link {
    display: inline-block;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: #1F2937;
    text-decoration: none;
    border-bottom: 1px solid #1F2937;
    transition: all 0.2s ease;
}

.location-link:hover {
    color: #4F46E5;
    border-bottom-color: #4F46E5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-hero-grid {
        gap: 60px;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-title {
        font-size: 44px;
        line-height: 52px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        margin-bottom: 40px;
    }
    
    .locations-section {
        padding: 60px 0 80px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .btn-submit {
        width: 100%;
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .contact-description {
        font-size: 16px;
        line-height: 26px;
    }
    
    .location-name {
        font-size: 20px;
        line-height: 28px;
    }
    
    .section-title {
        font-size: 32px;
        line-height: 40px;
    }
}

/* ==========================================
   BOTTOM CTA SECTION STYLES (Contact Page)
   ========================================== */

/* Override contact-hero base styles for bottom-cta layout */
.contact-hero.bottom-cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0;
    color: #FFFFFF;
    position: relative;
}

/* Background image support */
.contact-hero.bottom-cta-section.has-background-image {
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background overlay/tint */
.contact-hero.bottom-cta-section .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.85;
    z-index: 1;
}

/* Ensure content is above background and overlay */
.contact-hero.bottom-cta-section .container {
    position: relative;
    z-index: 2;
}

.bottom-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-text {
    padding-right: 20px;
}

.cta-badge {
    display: inline-block;
    background: #4F46E5;
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-hero.bottom-cta-section .cta-title {
    font-size: 40px;
    line-height: 1.3;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 24px 0;
}

.contact-hero.bottom-cta-section .cta-description {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 32px 0;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.cta-benefits li {
    color: #FFFFFF;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.cta-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10B981;
    font-weight: 600;
    font-size: 18px;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.cta-contact p {
    color: #FFFFFF;
    margin: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-contact p svg {
    flex-shrink: 0;
}

.cta-form {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: #000000;
    margin: 0 0 28px 0;
    text-align: left;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group .required {
    color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background: #FFFFFF;
    color: #1F2937;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%239CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: auto;
    padding: 14px 24px;
    background: #1F2937;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-full:hover {
    background: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Bottom CTA Responsive */
@media (max-width: 1279px) {
    .bottom-cta-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-hero.bottom-cta-section .cta-title {
        font-size: 32px;
    }
    
    .cta-form {
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .contact-hero.bottom-cta-section {
        padding: 60px 0;
    }
    
    .contact-hero.bottom-cta-section .cta-title {
        font-size: 28px;
    }
    
    .cta-text {
        padding-right: 0;
    }
}

