/* ════════════════════════════════════════════════════════════════════
   contactus.css — Contact us page styles
   ────────────────────────────────────────────────────────────────────
   Loaded ALONGSIDE main style.css.
   ════════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════════
   1. HERO — large with floating bubbles in background
   ════════════════════════════════════════════════════════════════════ */
.contact-hero {
    position: relative;
    padding: 60px 0 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Floating bubble decorations */
.contact-hero-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.contact-hero-bubble-1 {
    top: -80px;
    right: -40px;
    width: 280px;
    height: 280px;
    animation: contactBubbleFloat 8s ease-in-out infinite;
}
.contact-hero-bubble-2 {
    bottom: -120px;
    left: 10%;
    width: 220px;
    height: 220px;
    animation: contactBubbleFloat 10s ease-in-out infinite;
    animation-delay: -2s;
}
.contact-hero-bubble-3 {
    top: 30%;
    left: 35%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    animation: contactBubbleFloat 6s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes contactBubbleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.contact-hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.contact-hero-desc {
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}


/* ════════════════════════════════════════════════════════════════════
   2. FORM SECTION — overlapping with hero bottom
   ════════════════════════════════════════════════════════════════════ */
.contact-form-wrap {
    position: relative;
    margin-top: -36px;
    margin-bottom: 0;
    padding-bottom: 60px;
    z-index: 2;
}


/* ════════════════════════════════════════════════════════════════════
   3. FORM CARD — split-card design (info panel + form)
   ════════════════════════════════════════════════════════════════════ */
.contact-form-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════════════
   4. INFO PANEL (left) — gradient with circles + features list
   ════════════════════════════════════════════════════════════════════ */
.contact-form-panel {
    position: relative;
    padding: 44px 36px;
    background: linear-gradient(135deg, var(--primary-dark), #0c4565);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.contact-form-panel-deco {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.contact-form-panel-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.contact-form-panel-circle-1 {
    top: -60px;
    right: -50px;
    width: 200px;
    height: 200px;
}
.contact-form-panel-circle-2 {
    bottom: -80px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: rgba(224, 123, 60, 0.12);
}

.contact-form-panel-content {
    position: relative;
    z-index: 1;
}

.contact-form-panel-title {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.contact-form-panel-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px;
}

.contact-form-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form-panel-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}
.contact-form-panel-list i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}


/* ════════════════════════════════════════════════════════════════════
   5. FORM BODY (right side)
   ════════════════════════════════════════════════════════════════════ */
.contact-form-body {
    padding: 44px 38px;
}

.contact-form-message {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 600;
}


/* ════════════════════════════════════════════════════════════════════
   6. FORM FIELDS — with floating icon inside input
   ════════════════════════════════════════════════════════════════════ */
.contact-field {
    margin-bottom: 4px;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-700);
    margin: 0 0 8px;
}
.contact-label .required {
    color: var(--accent-coral);
    margin-right: 2px;
}

.contact-input-wrap {
    position: relative;
}
.contact-input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1.15rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 14px 44px 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--gray-900);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.2s ease;
}
.contact-textarea {
    padding: 14px 16px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact-input:hover,
.contact-textarea:hover {
    background: #fff;
    border-color: var(--gray-300);
}
.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(29, 111, 164, 0.1);
}
.contact-input:focus ~ .contact-input-icon,
.contact-input-wrap:focus-within .contact-input-icon {
    color: var(--primary);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: var(--gray-400);
}


/* ════════════════════════════════════════════════════════════════════
   7. SUBMIT BUTTON — full-width, with arrow on right
   ════════════════════════════════════════════════════════════════════ */
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 26px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-orange), #c8651e);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(224, 123, 60, 0.32);
    margin-top: 8px;
}
.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(224, 123, 60, 0.45);
}
.contact-submit i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}
.contact-submit:hover i {
    transform: translateX(-6px);
}


/* ════════════════════════════════════════════════════════════════════
   8. CHANNELS SECTION — 3 cards (mail/phone/social)
   ════════════════════════════════════════════════════════════════════ */
.contact-channels {
    padding: 60px 0 80px;
    background: var(--bg-section);
}

.contact-channels-header {
    text-align: center;
    margin-bottom: 36px;
}
.contact-channels-header h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.4rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.contact-channels-header p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════════════
   9. CHANNEL CARD — with rich hover effects
   ════════════════════════════════════════════════════════════════════ */
.contact-channel {
    position: relative;
    padding: 32px 26px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    isolation: isolate;
}
.contact-channel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}
.contact-channel:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}
.contact-channel:hover::before {
    transform: scaleX(1);
}

.contact-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.7rem;
    margin: 0 auto 18px;
    transition: all 0.4s ease;
}
.contact-channel:hover .contact-channel-icon {
    transform: scale(1.08) rotate(-5deg);
}

.contact-channel-icon-mail {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 8px 20px rgba(29, 111, 164, 0.3);
}
.contact-channel-icon-phone {
    background: linear-gradient(135deg, var(--success), #1a8244);
    box-shadow: 0 8px 20px rgba(34, 165, 82, 0.3);
}
.contact-channel-icon-social {
    background: linear-gradient(135deg, var(--accent-coral), #d05050);
    box-shadow: 0 8px 20px rgba(231, 116, 102, 0.3);
}

.contact-channel-title {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 6px;
}

.contact-channel-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0 0 18px;
}

.contact-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: var(--primary-50);
    transition: all 0.2s ease;
}
.contact-channel-link:hover {
    background: var(--primary);
    color: #fff;
    gap: 10px;
}
.contact-channel-link i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.contact-channel-link:hover i {
    transform: translateX(-2px);
}


/* ════════════════════════════════════════════════════════════════════
   10. SOCIAL ICONS ROW (inside the social channel card)
   ════════════════════════════════════════════════════════════════════ */
.contact-channel-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
}

.contact-channel-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.contact-channel-social-link:hover {
    transform: translateY(-3px) scale(1.08);
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}
.contact-channel-social-fb:hover {
    background: #1877f2;
}
.contact-channel-social-ig:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.contact-channel-social-tw:hover {
    background: #000;
}


/* ════════════════════════════════════════════════════════════════════
   11. RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    /* Stack info panel + form vertically */
    .contact-form-card {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 36px 30px;
    }
    .contact-form-panel-list {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 14px;
    }
    .contact-form-panel-list li {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 44px 0 60px;
    }
    .contact-form-wrap {
        margin-top: -28px;
        padding-bottom: 44px;
    }
    .contact-form-panel {
        padding: 28px 22px;
    }
    .contact-form-panel-title {
        font-size: 1.2rem;
    }
    .contact-form-panel-desc {
        margin-bottom: 20px;
    }
    .contact-form-body {
        padding: 28px 22px;
    }
    .contact-form-card {
        border-radius: 16px;
    }

    .contact-channels {
        padding: 44px 0 60px;
    }
    .contact-channels-grid {
        gap: 16px;
    }
    .contact-channel {
        padding: 26px 20px;
    }
    .contact-channel-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .contact-hero-bubble {
        animation: none;
    }
    .contact-channel,
    .contact-channel-icon,
    .contact-channel-link,
    .contact-channel-social-link,
    .contact-submit,
    .contact-input,
    .contact-textarea {
        transition: none;
    }
    .contact-channel:hover,
    .contact-channel:hover .contact-channel-icon,
    .contact-channel-social-link:hover,
    .contact-submit:hover,
    .contact-submit:hover i {
        transform: none;
    }
}
