/* ========================================
   CONTACT PAGE - Professional Stylesheet
   ======================================== */

/* ---- Page Header ---- */
.contact-header {
    background: linear-gradient(135deg, #0a1628 0%, var(--secondary-color) 40%, #0d3a6a 70%, #0a2a4a 100%);
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 206, 209, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 206, 209, 0.05) 0%, transparent 50%);
    animation: headerPulse 8s ease-in-out infinite alternate;
}

@keyframes headerPulse {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.05) rotate(2deg);
    }
}

.contact-header .header-content {
    position: relative;
    z-index: 2;
}

.contact-header .header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 206, 209, 0.12);
    border: 1px solid rgba(0, 206, 209, 0.25);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.contact-header h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contact-header h1 span {
    background: linear-gradient(135deg, var(--primary-color), #5ae0e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Contact Section ---- */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, #0a2a4a, var(--bg-light));
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* ---- Form Card ---- */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.75rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.form-header h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ---- Form Elements ---- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.25s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(0, 206, 209, 0.12);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ---- Checkbox ---- */
.checkbox-group {
    flex-direction: row !important;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

/* ---- Submit Button ---- */
.contact-form .btn-primary.btn-large.btn-block {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #00b0b3);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.5rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary.btn-large.btn-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn-primary.btn-large.btn-block:hover {
    background: linear-gradient(135deg, #00b0b3, #009a9d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 206, 209, 0.35);
}

.contact-form .btn-primary.btn-large.btn-block:hover::before {
    left: 100%;
}

.contact-form .btn-primary.btn-large.btn-block:active {
    transform: translateY(0);
}

/* ---- Form Note ---- */
.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.form-note i {
    color: var(--success);
    font-size: 0.9rem;
}

/* ---- Success Message ---- */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.form-success .success-icon i {
    font-size: 2.5rem;
    color: var(--success);
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- Right Sidebar ---- */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* ---- Steps Card ---- */
.contact-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info-card h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-card h3::before {
    content: '';
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, var(--primary-color), #00b0b3);
    border-radius: 4px;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
    padding-bottom: 1.5rem;
}

.step:last-child {
    padding-bottom: 0;
}

/* Timeline line */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 38px;
    width: 2px;
    height: calc(100% - 38px);
    background: linear-gradient(180deg, var(--primary-color), rgba(0, 206, 209, 0.2));
}

.step-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #00b0b3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 3px 12px rgba(0, 206, 209, 0.3);
    position: relative;
    z-index: 2;
}

.step-content h4 {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ---- Quick Contact Card ---- */
.quick-contact-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0d3a6a 100%);
    border-radius: 20px;
    padding: 2.25rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.quick-contact-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 206, 209, 0.1);
}

.quick-contact-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.quick-contact-card h3::before {
    display: none;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0;
    position: relative;
    z-index: 2;
}

.quick-contact-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-contact-item .qc-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: rgba(0, 206, 209, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-contact-item .qc-icon i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.quick-contact-item .qc-text p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-contact-item .qc-text span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.quick-contact-item .qc-text a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.quick-contact-item .qc-text a:hover {
    color: var(--primary-color);
}

/* ---- Trust Section ---- */
.trust-section {
    padding: 3.5rem 0;
    background: #ffffff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(0, 206, 209, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.trust-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.trust-item h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ---- FAQ Compact ---- */
.faq-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-section .section-header h2 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.faq-section .section-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: default;
}

.faq-item:hover {
    border-color: rgba(0, 206, 209, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.faq-item h4 i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.faq-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    padding-left: 1.35rem;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .contact-header {
        padding: 6rem 0 3rem;
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-wrapper {
        order: -1;
    }

    .trust-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: 5.5rem 0 2.5rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-section {
        padding: 3.5rem 0;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trust-item {
        padding: 1.5rem 1.25rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 5rem 0 2rem;
    }

    .contact-header h1 {
        font-size: 1.65rem;
    }

    .contact-header .header-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .contact-form-wrapper {
        padding: 1.75rem 1.25rem;
    }

    .form-header h2 {
        font-size: 1.3rem;
    }

    .contact-info-card {
        padding: 1.75rem;
    }

    .quick-contact-card {
        padding: 1.75rem;
    }
}