/* Contact Page Styles - dark marketing theme (pairs with marketing-dark-theme.css) */
body.marketing-dark {
    background: linear-gradient(180deg, #070B14 0%, #0B1220 55%, #070B14 100%) !important;
}

.contact-container {
    min-height: 100vh;
    background: transparent;
}

/* Hero Section */
body.marketing-dark section.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 64px !important;
    background: linear-gradient(180deg, #0a1327 0%, #0f1b36 100%) !important;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(112, 145, 230, 0.2), transparent 50%);
    pointer-events: none;
}

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

body.marketing-dark .contact-hero h1 {
    font-size: 3rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 1rem;
}

body.marketing-dark .contact-hero p {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Section */
body.marketing-dark section.contact-form-section {
    padding: 64px 0 32px !important;
    background: transparent !important;
}

.contact-form-wrapper {
    background: rgba(20, 30, 60, 0.65);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4F7CFF 0%, #7091E6 100%);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

body.marketing-dark .form-header h2 {
    font-size: 2rem !important;
    color: #ffffff !important;
    margin-bottom: 0.75rem;
}

body.marketing-dark .form-header p {
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 500px;
    margin: 0 auto;
}

/* Form Sections */
.form-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

body.marketing-dark .form-section h3 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #E8EDF6 !important;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #4F7CFF;
    margin-right: 12px;
    border-radius: 2px;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #CBD5E1;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.form-group.is-focused label {
    color: #7FA0FF;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #243049;
    border-radius: 10px;
    font-size: 1rem;
    color: #E8EDF6;
    background: #0B1220;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color-scheme: dark;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748B;
}

.form-group select option {
    background: #111827;
    color: #E8EDF6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F7CFF;
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.2);
}

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

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 32px;
}

body.marketing-dark .submit-btn {
    background: #4F7CFF !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 220px;
}

body.marketing-dark .submit-btn:hover {
    background: #3D6AF0 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(79, 124, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info Section */
body.marketing-dark section.contact-info-section {
    padding: 32px 0 96px !important;
    background: transparent !important;
}

.contact-info-section .row {
    row-gap: 24px;
}

.contact-info-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 20px;
    background: rgba(20, 30, 60, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    height: 100%;
}

.contact-info-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.info-icon {
    width: 64px;
    height: 64px;
    background: rgba(79, 124, 255, 0.15);
    border: 1px solid rgba(79, 124, 255, 0.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 1.5rem;
    color: #7FA0FF;
}

body.marketing-dark .contact-info-card h4 {
    font-size: 1.15rem !important;
    color: #ffffff !important;
    margin-bottom: 12px;
}

body.marketing-dark .contact-info-card p {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 4px;
    line-height: 1.6;
}

.contact-info-card a {
    color: #E8EDF6;
    text-decoration: none;
    font-weight: 500;
}

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

/* Notification popups (success + error) */
.notification-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 12, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.notification-container {
    width: 100%;
    max-width: 480px;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.success-notification,
.error-notification {
    padding: 2rem;
    border-radius: 16px;
    background: #111827;
    border: 1px solid #243049;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.notification-flex {
    display: flex;
    align-items: flex-start;
}

.notification-icon {
    flex-shrink: 0;
    margin-right: 1rem;
}

.success-svg,
.error-svg {
    width: 1.5rem;
    height: 1.5rem;
}

.success-svg {
    color: #4ADE80;
}

.error-svg {
    color: #F87171;
}

.notification-content {
    flex: 1;
}

body.marketing-dark .notification-heading {
    font-weight: 600;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem;
}

body.marketing-dark .notification-message,
body.marketing-dark .notification-message p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.9rem !important;
}

.notification-message {
    margin-bottom: 1.5rem;
}

.appointment-details {
    background: #0B1220;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 3px solid #4F7CFF;
}

.appointment-details strong {
    color: #E8EDF6;
}

.appointment-details p {
    margin-bottom: 0.5rem;
}

.appointment-details p:last-child {
    margin-bottom: 0;
}

.notification-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.notification-btn-main,
.notification-btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.marketing-dark .notification-btn-main {
    background: #4F7CFF !important;
    color: #ffffff !important;
}

body.marketing-dark .notification-btn-main:hover {
    background: #3D6AF0 !important;
}

body.marketing-dark .error-notification .notification-btn-main {
    background: #EF4444 !important;
}

body.marketing-dark .error-notification .notification-btn-main:hover {
    background: #DC2626 !important;
}

.notification-btn-secondary {
    background: transparent;
    color: #E8EDF6;
    border: 1px solid #2F3E5E;
}

.notification-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    body.marketing-dark .contact-hero h1 {
        font-size: 2.25rem !important;
    }

    body.marketing-dark .contact-hero p {
        font-size: 1rem !important;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    body.marketing-dark .form-header h2 {
        font-size: 1.6rem !important;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .notification-buttons {
        flex-direction: column;
    }

    .notification-btn-main,
    .notification-btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body.marketing-dark section.contact-hero {
        padding: 96px 0 48px !important;
    }

    body.marketing-dark .contact-hero h1 {
        font-size: 1.9rem !important;
    }

    body.marketing-dark section.contact-form-section {
        padding: 40px 0 24px !important;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
    }

    .success-notification,
    .error-notification {
        padding: 1.5rem;
    }
}

/* Loading State */
.form-loading .submit-btn {
    pointer-events: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #F87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.error-message {
    color: #F87171;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

/* Success State */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #4ADE80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
