/* Contact Page Specific Styling - Exact Match to Original main.css.backup */

/* Header Overrides - Ensure exact match to product page */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 58, 116, 0.1);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-atlantic-blue);
    letter-spacing: -0.02em;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}



/* Highlight/Accent Class - Exact Original Styling */
.highlight {
    color: var(--gold-signal);
    font-weight: 600;
}

/* Contact Options Grid - Exact Original Styling */
.contact-options {
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
    background: var(--white);
}

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

.option-card {
    background: var(--white);
    padding: var(--space-3);        /* 24px - comfortable card padding */
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(23, 104, 212, 0.08);
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 58, 116, 0.02) 0%, rgba(23, 104, 212, 0.02) 100%);
    opacity: 0;
    transition: var(--transition);
}

.option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(23, 104, 212, 0.1);
}

.option-card:hover::before {
    opacity: 1;
}

.option-icon {
    width: 64px;                    /* Increased size for better visibility */
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 32px;
    color: var(--white) !important;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    overflow: hidden;
}

.option-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.option-icon:hover::before {
    transform: translateX(100%);
}

.option-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white) !important;
    fill: var(--white) !important;
    stroke: var(--white) !important;
    stroke-width: 1.5px;
}

.option-icon svg * {
    stroke: var(--white) !important;
    fill: var(--white) !important;
    color: var(--white) !important;
}

.option-title {
    color: var(--deep-atlantic-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.option-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.option-card .btn {
    position: relative;
    z-index: 1;
}

/* Contact Form Section - Exact Original Styling */
.contact-form-section {
    background: linear-gradient(135deg, var(--mist-grey) 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23E5E7EB" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.form-container {
    position: relative;
    z-index: 1;
}

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

.form-title {
    color: var(--deep-atlantic-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.form-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form Styling */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(14, 58, 116, 0.08), 0 8px 16px rgba(14, 58, 116, 0.06);
    border: 1px solid rgba(14, 58, 116, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: 0 24px 48px rgba(14, 58, 116, 0.12), 0 12px 24px rgba(14, 58, 116, 0.08);
    transform: translateY(-2px);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.contact-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 58, 116, 0.02) 0%, rgba(23, 104, 212, 0.01) 50%, rgba(45, 166, 110, 0.01) 100%);
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--white) 0%, rgba(245, 247, 250, 0.3) 100%);
    color: var(--text-dark);
    position: relative;
    box-shadow: 0 2px 4px rgba(14, 58, 116, 0.02);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: rgba(23, 104, 212, 0.3);
    box-shadow: 0 4px 8px rgba(14, 58, 116, 0.05);
    transform: translateY(-1px);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--royal-wave-blue);
    box-shadow: 0 0 0 4px rgba(23, 104, 212, 0.1), 0 8px 16px rgba(14, 58, 116, 0.08);
    transform: translateY(-2px);
    background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
    transition: var(--transition);
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    opacity: 0.5;
    transform: translateX(4px);
}

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

.form-select {
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Checkbox Styling - Enhanced */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
    padding: 0.5rem 0;
    transition: var(--transition);
    position: relative;
}

.checkbox-label:hover {
    color: var(--text-dark);
}

.form-checkbox {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-top: 2px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(245, 247, 250, 0.5) 100%);
    box-shadow: 0 2px 4px rgba(14, 58, 116, 0.03);
    position: relative;
}

.checkmark::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.2s ease;
}

.form-checkbox:checked + .checkmark {
    background: linear-gradient(135deg, var(--royal-wave-blue) 0%, var(--deep-atlantic-blue) 100%);
    border-color: var(--royal-wave-blue);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(23, 104, 212, 0.2);
}

.form-checkbox:checked + .checkmark::before {
    transform: rotate(-45deg) scale(1);
}

.checkbox-label:hover .checkmark {
    border-color: var(--royal-wave-blue);
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(14, 58, 116, 0.08);
}



/* Submit Button - Enhanced Modern Styling */
.submit-btn {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--royal-wave-blue) 0%, var(--deep-atlantic-blue) 50%, var(--royal-wave-blue) 100%);
    background-size: 200% 200%;
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(23, 104, 212, 0.3), 0 4px 8px rgba(14, 58, 116, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(23, 104, 212, 0.4), 0 8px 16px rgba(14, 58, 116, 0.15);
    background-position: 100% 100%;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover::after {
    width: 300px;
    height: 300px;
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(23, 104, 212, 0.3), 0 4px 8px rgba(14, 58, 116, 0.1);
}

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

.submit-btn .btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white !important;
}

.submit-btn .btn-loading {
    position: relative;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white !important;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 200px;
    position: relative;
}

.contact-form.loading .btn-text {
    display: none;
}

.contact-form.loading .btn-loading {
    display: flex;
}

/* Contact Info Sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(14, 58, 116, 0.06);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.info-title {
    color: var(--deep-atlantic-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--white) !important;
    background: var(--gradient-accent);
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 16px;
    height: 16px;
    color: var(--white) !important;
    stroke: var(--white) !important;
    fill: none !important;
}

.info-icon svg * {
    stroke: var(--white) !important;
    color: var(--white) !important;
    fill: none !important;
}

.info-text {
    flex: 1;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-weight: 500;
    color: var(--deep-atlantic-blue);
    font-size: 1rem;
}

/* Response Times */
.response-times {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.response-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--mist-grey);
    border-radius: 8px;
    border-left: 3px solid var(--verdant-rise-green);
}

.response-type {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.response-time {
    font-size: 0.85rem;
    color: var(--verdant-rise-green);
    font-weight: 600;
}

/* Office Location */
.office-item {
    padding: 1rem 0;
}

.office-name {
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    margin-bottom: 0.5rem;
}

.office-address {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section - Clean & Subtle Design */
.faq {
    background: var(--mist-grey);
    padding: 5rem 0;
}

.faq .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq .section-title {
    color: var(--deep-atlantic-blue);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq .section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(14, 58, 116, 0.06);
    border: 1px solid rgba(23, 104, 212, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(14, 58, 116, 0.12);
    border-color: rgba(23, 104, 212, 0.15);
}

.faq-item.active {
    border-color: var(--royal-wave-blue);
    box-shadow: 0 4px 20px rgba(23, 104, 212, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: rgba(23, 104, 212, 0.02);
}

.faq-item.active .faq-question {
    background: rgba(23, 104, 212, 0.04);
    border-bottom: 1px solid rgba(23, 104, 212, 0.1);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(23, 104, 212, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--royal-wave-blue);
}

.faq-item.active .faq-toggle {
    background: var(--royal-wave-blue);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 1rem 2rem 1.5rem;
    max-height: 200px;
}



/* Responsive Design */
@media (max-width: 768px) {
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .faq .section-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.75rem;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0.75rem 1.5rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .option-card {
        padding: 2rem 1.5rem;
    }

    .faq {
        padding: var(--space-6) 0;      /* 48px - consistent section spacing */
    }

    .faq .section-title {
        font-size: 1.75rem;
    }

    .faq .section-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
        padding-right: 0.5rem;
    }

    .faq-toggle {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: 0.75rem 1.25rem 1rem;
        font-size: 0.85rem;
    }
}

/* Form Animation Enhancement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form {
    animation: fadeInUp 0.6s ease-out;
}

.form-group {
    animation: slideInLeft 0.5s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }
.form-group:nth-child(5) { animation-delay: 0.3s; }
.form-group:nth-child(6) { animation-delay: 0.35s; }
.form-group:nth-child(7) { animation-delay: 0.4s; }
.form-group:nth-child(8) { animation-delay: 0.45s; }
.form-group:nth-child(9) { animation-delay: 0.5s; }

.form-row .form-group:nth-child(1) { animation-delay: 0.1s; }
.form-row .form-group:nth-child(2) { animation-delay: 0.15s; }

/* Success State for Form */
.form-success {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--verdant-rise-green) 0%, #239A5C 100%);
    color: white;
    border-radius: 16px;
    text-align: center;
    margin-top: 1rem;
    box-shadow: 0 8px 20px rgba(45, 166, 110, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

.form-success h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.form-success p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Enhanced Select Dropdown - Remove duplicate background images to fix multiple arrows */