/*
 * Contact Page Styles
 * Hero + Info Cards + Form + Notices
 */

/* =========================================================
   CONTACT HERO BANNER
========================================================= */
.contact-hero {
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    padding: 72px 24px 56px;
}

.contact-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
}

.contact-hero p {
    font-size: 17px;
    color: #fff !important;
    opacity: 1;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================================
   CONTACT LAYOUT
========================================================= */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

/* =========================================================
   CONTACT INFO CARDS
========================================================= */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: transparent;
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0f172a, #0891b2);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon--whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 4px;
}

.contact-card p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.contact-card a {
    color: #64748b;
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: var(--color-accent);
}

/* =========================================================
   CONTACT FORM WRAPPER
========================================================= */
.contact-form-wrap {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.contact-form-wrap h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.contact-form-subtitle {
    color: #94a3b8;
    font-size: 14px;
    margin: 0 0 28px;
}

/* =========================================================
   FORM ELEMENTS
========================================================= */
.hec-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.hec-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hec-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.hec-form-group label .required {
    color: #ef4444;
}

.hec-form-group input,
.hec-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.hec-form-group input::placeholder,
.hec-form-group textarea::placeholder {
    color: #94a3b8;
}

.hec-form-group input:focus,
.hec-form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.1);
}

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

/* =========================================================
   SUBMIT BUTTON
========================================================= */
.hec-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-accent), #ffb347);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hec-submit-btn:hover {
    background: linear-gradient(135deg, #e06b10, #ffa726);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 122, 24, 0.35);
}

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

.hec-submit-btn .btn-icon {
    transition: transform 0.3s ease;
}

.hec-submit-btn:hover .btn-icon {
    transform: translateX(3px) translateY(-3px);
}

/* =========================================================
   SUCCESS / ERROR NOTICES
========================================================= */
.hec-form-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    animation: slideDown 0.4s ease;
}

.hec-notice-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.hec-notice-success svg {
    stroke: #10b981;
}

.hec-notice-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.hec-notice-error svg {
    stroke: #ef4444;
}

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

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 48px 20px 40px;
    }

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

    .contact-section {
        padding: 48px 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

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

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

    .hec-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   CONTACT INTRO SECTION
========================================================= */
.contact-intro-section {
    padding: 48px 0 0;
}

.contact-intro-box {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
}

/* =========================================================
   CONTACT INFO HEADING
========================================================= */
.contact-info-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 20px;
}

.contact-card-meta {
    font-size: 13px;
    color: #94a3b8;
    margin: 2px 0 0;
}

/* =========================================================
   SELECT / DROPDOWN STYLING
========================================================= */
.hec-form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.hec-form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.1);
}

/* =========================================================
   CONTACT FAQ SECTION
========================================================= */
.contact-faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-faq-heading {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
    margin: 0 0 40px;
}

.contact-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.contact-faq-item:hover {
    border-color: var(--color-accent);
}

.contact-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    font-family: inherit;
    gap: 16px;
}

.contact-faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #94a3b8;
}



.contact-faq-item.is-open .contact-faq-question svg {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.contact-faq-answer {
    display: none;
    padding: 0 24px 20px;
}

.contact-faq-item.is-open .contact-faq-answer {
    display: block;
}

.contact-faq-answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
}

/* =========================================================
   RESPONSIVE — FAQ
========================================================= */
@media (max-width: 768px) {
    .contact-faq-section {
        padding: 48px 0;
    }

    .contact-faq-heading {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .contact-faq-question {
        font-size: 15px;
        padding: 16px 18px;
    }

    .contact-faq-answer {
        padding: 0 18px 16px;
    }

    .contact-intro-section {
        padding: 32px 0 0;
    }
}
