.hero-contact {
    background: var(--bg);
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: none;
    pointer-events: none;
    z-index: 1;
}

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

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--border);
}

.breadcrumb-current {
    color: var(--text-main);
    font-weight: 600;
}

.hero-contact h1 {
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-contact h1 span.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-contact-subheadline {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom style to override active page link in navbar */
.nav-links a[href="contact.html"] {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a[href="contact.html"]::after {
    width: 100%;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.contact-intro {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: var(--bg);
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(36, 71, 213, 0.12);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card:nth-child(2) .contact-info-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.contact-info-card:nth-child(3) .contact-info-icon {
    background-color: var(--accent-light);
    color: var(--accent);
}

.contact-info-card:nth-child(4) .contact-info-icon {
    background-color: rgba(236, 72, 153, 0.08);
    color: #EC4899;
}

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

.contact-info-details p {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
}

/* --- Contact Form --- */
.contact-form-container {
    background-color: var(--bg);
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    padding: 48px;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-input-group {
    display: flex;
    gap: 12px;
}

.phone-input-group #country-code {
    width: 90px;
    flex-shrink: 0;
    text-align: center;
}

.phone-input-group #phone-number {
    flex-grow: 1;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--text-main);
    background-color: var(--section-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg);
    box-shadow: 0 0 0 4px rgba(36, 71, 213, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.form-checkbox a {
    color: var(--primary);
    font-weight: 600;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.error-message {
    font-size: 12px;
    color: #EF4444;
    margin-top: 6px;
    font-weight: 500;
    display: none;
}

.form-group.has-error .form-control {
    border-color: #EF4444;
    background-color: rgba(239, 68, 68, 0.02);
}

.form-group.has-error .form-control:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-group.has-error .error-message {
    display: block;
}

/* Form Status Messages */
.form-status {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    display: none;
    line-height: 1.5;
}

.form-status.success {
    display: block;
    background-color: rgba(24, 198, 183, 0.08);
    color: var(--secondary-hover);
    border: 1px solid rgba(24, 198, 183, 0.2);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.08);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- Calendly Section --- */
.calendly-placeholder-card {
    background-color: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    transition: var(--transition-smooth);
}

.calendly-placeholder-card:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.calendly-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--section-bg);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1.5px solid var(--border);
}

.calendly-placeholder-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.calendly-placeholder-card p {
    font-size: 14px;
    color: var(--text-light);
    max-width: 400px;
}

/* --- Google Maps Section --- */
.map-iframe-container {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
    background-color: var(--section-bg);
    margin-top: 40px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.map-placeholder-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.map-placeholder h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.map-placeholder p {
    font-size: 14px;
    color: var(--text-light);
}

/* --- FAQ Accordion Section --- */
.faq-container {
    max-width: 800px;
    margin: 48px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(36, 71, 213, 0.2);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--bg);
    transition: var(--transition-fast);
}

.faq-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    padding-right: 20px;
}

.faq-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--section-bg);
    color: var(--text-main);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-box {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 24px 24px 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Final CTA Section --- */
.cta-box-contact {
    background: linear-gradient(135deg, rgba(36, 71, 213, 0.05) 0%, rgba(122, 90, 248, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(36, 71, 213, 0.1);
    padding: 80px 48px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box-contact::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(24, 198, 183, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box-contact h2 {
    font-size: 40px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-box-contact p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

@media (max-width: 768px) {
    .hero-contact {
        padding-top: 112px;
        padding-bottom: 60px;
    }

    .hero-contact h1 {
        font-size: 40px;
    }

    .hero-contact-subheadline {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-contact-buttons {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-contact-buttons .btn {
        width: 100%;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-container {
        padding: 32px 24px;
    }

    .calendly-placeholder-card {
        padding: 40px 20px;
        min-height: 300px;
    }

    .map-iframe-container {
        height: 300px;
    }

    .cta-box-contact {
        padding: 60px 24px;
    }

    .cta-box-contact h2 {
        font-size: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* --- Toast Notification System --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast-success {
    border-left: 4px solid #10B981;
}

.toast-success .toast-icon {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.toast-error {
    border-left: 4px solid #EF4444;
}

.toast-error .toast-icon {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

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

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background-color 0.2s;
}

.toast-close:hover {
    color: #4B5563;
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 480px) {
    .toast-container {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
    .toast {
        min-width: 100%;
        max-width: 100%;
    }
}
