/* contact.css */

/* ─────────────────────────────────────────────
   GLOBAL & LAYOUT
   ───────────────────────────────────────────── */
body {
    background-color: #FAFAFA;
}

.section-padding {
    padding: 80px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ─────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────── */
.contact-hero {
    background: linear-gradient(135deg, #FFFDF8 0%, #FDF4E3 40%, #F5EAD4 100%);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.contact-hero-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.ch-left {
    flex: 1;
    max-width: 500px;
    margin-left: -80px; /* Pull text block further left */
}

.ch-tag {
    color: #C98516;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.ch-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a2530;
}

.ch-title span {
    color: #C98516;
}

.ch-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Icon Grid in Hero */
.ch-icon-grid {
    display: flex;
    gap: 30px;
}

.ch-icon-box {
    flex: 1;
}

.ch-icon-wrap {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.ch-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ch-icon-box h5 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.ch-icon-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.4;
}

/* Hero Right (Form) */
.ch-right {
    flex: 1;
    position: relative;
    max-width: 600px;
}

.contact-form-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    position: relative;
    z-index: 2;
}

.contact-form-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a2530;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-box .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-box .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form-box .form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form-box .form-group input, 
.contact-form-box .form-group select, 
.contact-form-box .form-group textarea {
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #333;
    background: #F9FAFB;
    transition: all 0.3s ease;
}

.contact-form-box .form-group input:focus, 
.contact-form-box .form-group select:focus, 
.contact-form-box .form-group textarea:focus {
    border-color: #C98516;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,133,22,0.1);
}

.contact-form-box .form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox input {
    accent-color: #C98516;
    width: 16px;
    height: 16px;
}

.form-checkbox label {
    font-size: 15px;
    color: #666;
}

.form-checkbox label a {
    color: #C98516;
    text-decoration: none;
}

.btn-form-submit {
    width: 100%;
    background: #C98516;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-form-submit:hover {
    background: #b57613;
}

/* Hero Liver Image */
.hero-liver-img {
    position: absolute;
    right: -450px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    z-index: 1;
    pointer-events: none;
}


/* ─────────────────────────────────────────────
   VISIT US SECTION
   ───────────────────────────────────────────── */
.contact-visit-us {
    background: #fff;
}

.visit-wrap {
    display: flex;
    gap: 60px;
    align-items: center;
}

.visit-left {
    flex: 1;
}

.section-title-small {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a2530;
}

.visit-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.visit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.visit-icon {
    width: 45px;
    height: 45px;
    background: #FFF9F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C98516;
    font-size: 18px;
    flex-shrink: 0;
}

.visit-item.emergency .visit-icon {
    background: #FFF0F0;
    color: #DC2626;
}

.visit-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.visit-info.emergency h4 {
    color: #DC2626;
}

.visit-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.visit-info.emergency p {
    font-weight: 600;
    color: #DC2626;
}

.visit-right {
    flex: 1.5;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
}

.map-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #e9ebee; /* Fallback */
}

/* Fallback visual map if no image is provided */
.map-fallback {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="%23f2f2f2"/%3E%3Cpath d="M20 0v100M40 0v100M60 0v100M80 0v100" stroke="%23e5e5e5" stroke-width="2"/%3E%3Cpath d="M0 20h100M0 40h100M0 60h100M0 80h100" stroke="%23e5e5e5" stroke-width="2"/%3E%3Cpath d="M10 10l80 80M90 10L10 90" stroke="%23dcdcdc" stroke-width="4" opacity="0.5"/%3E%3C/svg%3E') center center;
    position: relative;
}

.map-card {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    max-width: 280px;
    z-index: 2;
}

.map-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.map-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-directions {
    background: #C98516;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-directions:hover {
    background: #b57613;
}

.map-pin {
    position: absolute;
    left: 55%;
    top: 45%;
    color: #DC2626;
    font-size: 32px;
    text-shadow: 0 5px 10px rgba(220,38,38,0.3);
    z-index: 2;
}

/* ─────────────────────────────────────────────
   WHY CHOOSE US
   ───────────────────────────────────────────── */
.contact-why-choose {
    background: #FAFAFA;
}

.why-header {
    text-align: center;
    margin-bottom: 40px;
}

.why-grid {
    display: flex;
    justify-content: space-between;
    background: #FEFBF6;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    flex-wrap: wrap;
    gap: 20px;
}

.why-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.why-item i {
    font-size: 32px;
    color: #C98516;
    margin-bottom: 15px;
}

.why-item h4 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.why-item p {
    font-size: 18px;
    color: #666;
}

/* ─────────────────────────────────────────────
   FAQ & APPOINTMENT
   ───────────────────────────────────────────── */
.contact-bottom-split {
    background: #fff;
}

.split-wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.faq-section {
    flex: 1;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-left: 45px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #C98516;
    font-size: 20px;
    font-weight: 400;
}

.faq-item[open] summary::before {
    content: '−';
}

.faq-item[open] summary {
    color: #C98516;
}

.faq-item p {
    padding: 0 20px 20px 45px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.faq-support-card {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #F3E8D6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #FFFDF8;
}

.faq-support-card i {
    color: #C98516;
    font-size: 24px;
}

.faq-support-card span {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.faq-support-card a {
    color: #C98516;
}

.appointment-card {
    flex: 1;
    background: #111A24;
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.appointment-card::before {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -50px;
    width: 400px;
    height: 400px;
    background: url('assets/images/bg-livercure.png') center/contain no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.appt-content {
    position: relative;
    z-index: 2;
    max-width: 350px;
}

.appt-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.appt-content p {
    font-size: 17px;
    color: #A0ABC0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.appt-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.appt-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #CBD5E1;
}

.appt-list li i {
    color: #C98516;
    margin-top: 3px;
}

.appt-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.appt-btns .btn-gold {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 15px;
    background: #C98516;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
}

.appt-btns .divider {
    text-align: center;
    color: #64748B;
    font-size: 12px;
    position: relative;
}

.appt-btns .divider::before,
.appt-btns .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.appt-btns .divider::before { left: 0; }
.appt-btns .divider::after { right: 0; }

/* ─────────────────────────────────────────────
   OTHER WAYS
   ───────────────────────────────────────────── */
.contact-other-ways {
    background: #FAFAFA;
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.other-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.other-card:hover {
    transform: translateY(-5px);
}

.other-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #FFFDF8;
    color: #C98516;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.other-card.whatsapp .other-icon {
    background: #F0FDF4;
    color: #16A34A;
}

.other-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.other-info p {
    font-size: 15px;
    color: #666;
    margin-bottom: 2px;
}

.other-info span {
    font-size: 14px;
    color: #999;
}

.social-icons-small {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.social-icons-small a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

.social-icons-small .fb { background: #1877F2; }
.social-icons-small .ig { background: #E4405F; }
.social-icons-small .yt { background: #FF0000; }
.social-icons-small .li { background: #0A66C2; }

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hero-liver-img {
        right: -50px;
        width: 300px;
        opacity: 0.3;
    }
}

@media (max-width: 991px) {
    .contact-hero-wrap, .visit-wrap, .split-wrap {
        flex-direction: column;
    }
    
    .ch-left, .ch-right, .visit-left, .visit-right, .faq-section, .appointment-card {
        max-width: 100%;
        width: 100%;
    }
    .ch-left {
        margin-left: 0;
    }
    
    .hero-liver-img {
        display: none;
    }
    
    .other-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .other-grid, .why-grid {
        grid-template-columns: 1fr;
    }
    
    .ch-icon-grid {
        flex-direction: column;
        gap: 15px;
    }
}

.why-icon-img {
    height: 65px;
    margin-bottom: 15px;
    object-fit: contain;
}

/* Other Ways to Reach Us */
.other-reach-section {
    background-color: #ffffff;
    padding-bottom: 80px;
}
.reach-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 46px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.reach-divider {
    height: 10px;
    object-fit: contain;
    margin-bottom: 40px;
}
.reach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.reach-card {
    background: #ffffff;
    border: 1px solid #EBE4D6;
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: left;
}
.reach-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.green-icon {
    color: #25D366;
    border: 2px solid #25D366;
}
.gold-outline-icon {
    color: #C98516;
    border: 2px solid #C98516;
}
.reach-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a2530;
    margin-bottom: 6px;
}
.reach-main {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.reach-sub {
    font-size: 15px;
    color: #777;
    margin: 0;
}
.reach-socials {
    display: flex;
    gap: 10px;
    margin: 12px 0;
}
.reach-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}
.social-fb { background: #3b5998; }
.social-ig { background: #E1306C; }
.social-yt { background: #ff0000; }
.social-in { background: #0077b5; }

@media (max-width: 1024px) {
    .reach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .reach-grid {
        grid-template-columns: 1fr;
    }
}
