﻿/* ═══════════════════════════════════════
   CONTACT US — NEW LAYOUT STYLES
═══════════════════════════════════════ */

/* ─── Hero ─── */
.cu-main { background: #eef2f7; }

.cu-hero {
    background: linear-gradient(rgba(0,0,0,0.70), rgba(0,0,0,0.70)),
                url('../images/illustrations/Contact us hero.jpg') center/cover no-repeat;
    padding: 70px 20px 60px;
    text-align: center;
    border-bottom: 3px solid #2563eb;
}
.cu-hero-inner { max-width: 640px; margin: 0 auto; }
.cu-hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.12); color: #2563eb;
    border: 1px solid #2563eb; font-size: 11px;
    font-weight: 700; letter-spacing: 2px;
    padding: 6px 18px; border-radius: 50px;
    margin-bottom: 22px; text-transform: uppercase;
}
.cu-hero-title { font-size: 40px; font-weight: 800; color: #ffffff; line-height: 1.2; margin-bottom: 16px; }
.cu-hero-sub { font-size: 15px; color: rgba(255,255,255,0.90); line-height: 1.8; }

/* ─── Container ─── */
.cu-container { max-width: 1000px; margin: 0 auto; padding: 44px 20px 60px; }

/* ─── 3 Contact Cards ─── */
.cu-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }

.cu-card {
    background: #fff; border-radius: 14px;
    padding: 32px 26px; display: flex;
    flex-direction: column; gap: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.cu-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-4px); }
.cu-card-wa:hover { border-color: #10b981; }
.cu-card-tg:hover { border-color: #0ea5e9; }
.cu-card-em:hover { border-color: #2563eb; }

.cu-card-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px;
}
.cu-card-wa .cu-card-icon { background: #e8fdf0; color: #10b981; }
.cu-card-tg .cu-card-icon { background: #e0f2ff; color: #0ea5e9; }
.cu-card-em .cu-card-icon { background: #e0f2fe; color: #1d4ed8; }

.cu-card h3 { font-size: 20px; font-weight: 800; color: #0f172a; margin: 0; }
.cu-card p { font-size: 14px; color: #475569; line-height: 1.7; margin: 0; flex: 1; }

.cu-card-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.cu-card-meta span { font-size: 12px; color: #64748b; background: #f1f5f9; padding: 4px 10px; border-radius: 50px; }

.cu-card-btn {
    display: block; text-align: center; margin-top: 6px;
    padding: 13px 0; border-radius: 8px;
    font-size: 14px; font-weight: 700;
    text-decoration: none; transition: opacity 0.2s;
}
.cu-card-btn:hover { opacity: 0.85; }
.cu-card-wa .cu-card-btn { background: #10b981; color: #ffffff; }
.cu-card-tg .cu-card-btn { background: #0ea5e9; color: #ffffff; }
.cu-card-em .cu-card-btn { background: #f8fafc; color: #2563eb; }

/* ─── Before / After Info ─── */
.cu-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.cu-info-card {
    background: #fff; border-radius: 12px;
    padding: 28px 26px; border: 1px solid #dbe4ef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cu-info-icon { font-size: 28px; margin-bottom: 12px; }
.cu-info-card h4 { font-size: 16px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.cu-info-card p { font-size: 14px; color: #475569; line-height: 1.8; margin: 0; }

/* ─── Agent Banner ─── */
.cu-agent-banner {
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
    border-radius: 14px; padding: 36px 40px;
    display: flex; align-items: center; gap: 32px;
    border: 1px solid #222;
}
.cu-agent-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid #2563eb; flex-shrink: 0; }
.cu-agent-text h3 { font-size: 22px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.cu-agent-text p { font-size: 14px; color: #64748b; line-height: 1.8; margin-bottom: 20px; }
.cu-agent-btn {
    display: inline-block; background: #2563eb; color: #ffffff;
    font-size: 14px; font-weight: 700; padding: 12px 28px;
    border-radius: 50px; text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.cu-agent-btn:hover { background: #1d4ed8; transform: translateY(-2px); }

/* ─── Responsive ─── */
@media (max-width: 860px) {
    .cu-cards-grid { grid-template-columns: 1fr 1fr; }
    .cu-hero-title { font-size: 30px; }
}
@media (max-width: 600px) {
    .cu-hero { padding: 52px 16px 44px; min-height: 260px; background-position: center top; }
    .cu-hero-title { font-size: 24px; }
    .cu-cards-grid { grid-template-columns: 1fr; }
    .cu-info-grid { grid-template-columns: 1fr; }
    .cu-agent-banner { flex-direction: column; text-align: center; padding: 28px 20px; }
}

/* ─── Keep old classes so footer still works ─── */
.contact-main { background: #eef2f7; }
.contact-container { max-width: 900px; margin: 0 auto; }

/* Communication Illustration */
.communication-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.communication-image {
    display: block;
    margin: 0 auto;
    max-width: 250px;
    width: 100%;
    height: auto;
}

/* Contact Information Text */
.contact-info-text {
    text-align: center;
    margin-bottom: 40px;
}

.contact-heading {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-details {
    max-width: 650px;
    margin: 0 auto;
}

.service-item {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 10px;
    text-align: center;
}

.service-item strong {
    color: #0f172a;
    font-weight: 600;
}

/* Contact Method Buttons */
.contact-methods {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 0 20px;
}

.contact-method-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    justify-content: center;
}

.contact-method-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.contact-method-btn svg {
    flex-shrink: 0;
}

/* Button Colors */
.telegram-btn {
    background-color: #0ea5e9;
}

.telegram-btn:hover {
    background-color: #0284c7;
}

.online-cs-btn {
    background-color: #f59e0b;
}

.online-cs-btn:hover {
    background-color: #d97706;
}

.email-btn {
    background-color: #2563eb;
}

.email-btn:hover {
    background-color: #1d4ed8;
}

/* Contact Card Section */
.contact-card-section {
    margin-top: 50px;
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.card-left {
    flex: 0 0 auto;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.card-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.card-center {
    flex: 0 0 auto;
}

.profile-image {
    display: block;
    margin: 0 auto;
    max-width: 100px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hello-banner {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8B3 100%);
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 15px 20px;
    flex: 1;
}

.hello-text {
    font-size: 20px;
    font-weight: 800;
    color: #FF9800;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.hello-message {
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
    margin: 0;
}

.decorative-graphic {
    flex: 0 0 auto;
    text-align: center;
}

.decorative-image {
    display: block;
    max-width: 120px;
    width: 100%;
    height: auto;
}

/* Footer */
.footer {
    background-color: #f8fafc;
    color: #0f172a;
    padding: 50px 20px 25px;
    border-top: 1px solid #ffffff;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(100, 116, 139, 0.53);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #2563eb;
}

.footer-column p {
    color: rgba(100, 116, 139, 0.53);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ffffff;
}

.footer-bottom p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 25px;
    }

    .card-left,
    .card-center,
    .card-right {
        width: 100%;
    }

    .card-right {
        flex-direction: column;
    }

    .hello-banner {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-main {
        padding: 40px 15px 60px;
    }

    .contact-heading {
        font-size: 16px;
    }

    .service-item {
        font-size: 13px;
    }

    .contact-methods {
        gap: 12px;
    }

    .contact-method-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 140px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .card-title {
        font-size: 20px;
    }

    .hello-text {
        font-size: 18px;
    }

    .hello-message {
        font-size: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .contact-main {
        padding: 30px 10px 50px;
    }

    .contact-container {
        max-width: 100%;
    }

    .communication-image {
        max-width: 180px;
    }

    .contact-heading {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .service-item {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .contact-methods {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 0 10px;
    }

    .contact-method-btn {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 12px 20px;
        font-size: 14px;
    }

    .contact-method-btn svg {
        width: 20px;
        height: 20px;
    }

    .contact-card {
        padding: 20px 12px;
        gap: 20px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .card-subtitle {
        font-size: 12px;
    }

    .profile-image {
        max-width: 70px;
    }

    .hello-banner {
        padding: 12px 15px;
    }

    .hello-text {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .hello-message {
        font-size: 11px;
        line-height: 1.5;
    }

    .decorative-image {
        max-width: 80px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a,
    .footer-column p {
        font-size: 12px;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .contact-main {
        padding: 20px 8px 40px;
    }

    .communication-illustration svg {
        width: 120px;
        height: 120px;
    }

    .contact-heading {
        font-size: 13px;
    }

    .service-item {
        font-size: 11px;
    }

    .contact-method-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .contact-card {
        padding: 15px 10px;
    }

    .card-title {
        font-size: 15px;
    }

    .hello-text {
        font-size: 14px;
    }

    .hello-message {
        font-size: 10px;
    }
}
