/* Modern Contact Section - Google-Inspired Design */

.contact-modern {
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

/* No background pattern */
.contact-modern::before {
    display: none;
}

/* Section Header */
.contact-modern-title {
    font-size: var(--h1-size);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.contact-modern-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #1a73e8;
    border-radius: 2px;
}

.contact-modern-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 24px;
}

/* Left Column - Benefits */
.contact-modern-section-title {
    font-size: 24px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 24px;
}

.contact-modern-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.contact-modern-checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 16px;
    color: #5f6368;
    line-height: 1.6;
}

.contact-modern-checklist li i {
    color: #1a73e8;
    font-size: 20px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-modern-checklist li span {
    flex: 1;
}

/* Section Subtitle */
.contact-modern-section-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 16px;
    margin-top: 24px;
}

/* "Not For" List */
.contact-modern-not-for-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-modern-not-for-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 15px;
    color: #5f6368;
    line-height: 1.6;
}

.contact-modern-not-for-list li i {
    color: #ea4335;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-modern-not-for-list li span {
    flex: 1;
}

/* Trust Signal */
.contact-modern-trust {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 32px;
}

.contact-modern-trust p {
    font-size: 14px;
    color: #5f6368;
    margin: 0;
}

.contact-modern-trust i {
    margin-right: 8px;
    color: #1a73e8;
}

.contact-modern-trust i.bi-whatsapp {
    color: #25D366;
}

.contact-modern-trust a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.contact-modern-trust a:hover {
    text-decoration: underline;
}

/* Form Wrapper */
.contact-modern-form-wrapper {
    background: #ffffff;
    padding: 0;
}

.contact-modern-form {
    max-width: 100%;
}

/* Form Groups */
.form-group-modern {
    margin-bottom: 24px;
}

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

.form-input-modern {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    color: #202124;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

.form-input-modern:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.form-input-modern::placeholder {
    color: #80868b;
}

/* Select Dropdown */
select.form-input-modern {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235f6368' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Textarea */
textarea.form-input-modern {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox */
.form-check-modern {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.form-check-input-modern {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1a73e8;
}

.form-check-label-modern {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.5;
    cursor: pointer;
}

.form-check-label-modern a {
    color: #1a73e8;
    text-decoration: none;
}

.form-check-label-modern a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-modern-primary {
    display: inline-block;
    width: auto;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background: var(--sn-primary);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.btn-modern-primary:hover {
    background: var(--sn-primary-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.btn-modern-primary:active {
    background: var(--sn-primary-dark);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

/* Response Time */
.contact-modern-response-time {
    text-align: center;
    font-size: 14px;
    color: #5f6368;
    margin-top: 16px;
    margin-bottom: 0;
}

.contact-modern-response-time i {
    margin-right: 6px;
    color: #1a73e8;
}

/* Form Messages */
#form-message {
    margin-bottom: 24px;
    margin-top: 16px;
}

#form-message .alert {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-modern-title {
        font-size: 36px;
    }

    .contact-modern-subtitle {
        font-size: 18px;
    }

    .contact-modern-section-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .contact-modern {
        padding: var(--section-padding-sm) 0 !important;
    }

    .contact-modern-title {
        font-size: 32px;
    }

    .contact-modern-subtitle {
        font-size: 16px;
    }

    .contact-modern-checklist li {
        font-size: 15px;
    }

    .form-input-modern {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
}

/* Accessibility */
.form-input-modern:focus-visible,
.form-check-input-modern:focus-visible,
.btn-modern-primary:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

/* Loading State */
.btn-modern-primary:disabled {
    background: #dadce0;
    color: #80868b;
    cursor: not-allowed;
}

.btn-modern-primary.loading {
    position: relative;
    color: transparent;
}

.btn-modern-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Contact Section (from main.css)
--------------------------------------------------------------*/
.contact .info-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 24px 0 30px 0;
}

.contact .info-item i {
    font-size: 20px;
    color: var(--accent-color);
    width: 56px;
    height: 56px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
    font-size: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

/* ============================================
   CONSULTATION / CONTACT SECTION Overrides
   (Merged from custom.css)
   ============================================ */

/* Benefit Icons (left column) */
.consultation-benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sn-primary);
    font-size: 1.4rem;
}

/* Form Card */
.consultation-form-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* Form Inputs */
.consultation-input {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease;
}

.consultation-input:focus {
    background: #ffffff !important;
    border-color: var(--sn-primary) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    outline: none;
}

.consultation-input::placeholder {
    color: #94a3b8 !important;
}

/* Submit Button */
.consultation-submit-btn {
    background: var(--sn-primary) !important;
    border: none !important;
    padding: 0.875rem 2rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2) !important;
}

.consultation-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3) !important;
}


/* ============================================
   Contact Hero Section (extracted inline styles)
   ============================================ */

#contact-hero {
    padding: var(--section-padding) 0;
    padding-top: 80px;
    background-color: #f8f9fa;
}

#contact-hero .contact-hero-title {
    color: #202124;
    font-size: var(--font-size-4xl);
}

#contact-hero .contact-hero-highlight {
    color: #1a73e8;
}

#contact-hero .contact-hero-lead {
    color: #5f6368;
}

#contact-hero .contact-hero-text {
    color: #5f6368;
}

#contact-hero .contact-hero-cta {
    padding: 16px 40px;
    border-radius: 4px;
}

#contact-hero .hero-image-wrapper {
    text-align: center;
}

#contact-hero .hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Contact Form Section (extracted inline styles) */
#contact-form-section {
    background: #ffffff;
    padding: var(--section-padding) 0;
}

/* Why Contact Section (extracted inline styles) */
#why-contact {
    background-color: #f8f9fa;
}

#why-contact .why-contact-title {
    color: #202124;
}

#why-contact .why-contact-highlight {
    color: #1a73e8;
}

.why-contact-card {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.why-contact-card:hover {
    transform: translateY(-4px);
}

.why-contact-icon {
    width: 50px;
    height: 50px;
    background-color: #e8f0fe;
    border-radius: 10px;
    color: #1a73e8;
}

.why-contact-card-title {
    color: #202124;
}


/* Contact Hero Image */
.service-image-wrapper {
    position: relative;
    width: 100%;
    text-align: center;
}

.service-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}