﻿/* ================= CONTACT HERO ================= */
.contact-hero {
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
    padding: 4rem 0 2rem;
}

.contact-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 0 6rem;
}
.type-grid a.type-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
/* ===================== HELIXTAHR STYLE MAP SECTION ===================== */

.helixtahr-location-section {
    position: relative; /* Crucial for positioning the overlay card */
    width: 100%;
    /* Set a fixed height for the map area */
    height: 500px;
    background-color: #f8f9fa;
}

/* The Map Container */
.full-width-map {
    width: 100%;
    height: 100%;
}

/* The White Info Card Overlay */
.map-info-card {
    position: absolute;
    top: 40px;
    left: 5%; /* Adjust to match your site's container alignment */
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
    z-index: 10;
    max-width: 350px;
    border: 1px solid #eaeaea;
}

.clinic-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.clinic-address {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Button styling to match HelixtaHR */
.btn-maps-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0d6efd; /* Bootstrap blue */
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

    .btn-maps-link:hover {
        background-color: #0b5ed7;
        color: white;
    }

/* Ensure the map iframe fills the space */
.full-width-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow-with-line {
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brand-blue);
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}

    .eyebrow-with-line::before {
        content: "";
        display: inline-block;
        width: 24px;
        height: 2px;
        background: var(--brand-green);
    }

.contact-hero-title {
    font-family: var(--brand-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    color: var(--brand-blue);
    margin-bottom: 1.4rem;
    font-weight: 700;
}

.contact-hero-title-green {
    color: var(--brand-green);
}

.contact-hero-subtext {
    font-size: 1.02rem;
    color: #3b4a66;
    line-height: 1.65;
    max-width: 34rem;
    margin: 0;
}

.contact-hero-visual {
    min-height: 320px;
    border-radius: 16px;
    background-image: url('/images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* --- Decorated Consultation Cards --- */
.consult-card {
    display: block;
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

    .consult-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 86, 179, 0.1);
        border-color: #b3d4f5;
    }

.consult-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.consult-card:hover .consult-icon-wrapper {
    transform: scale(1.1);
}

/* Brand Colors for Icons */
.bg-blue-light {
    background-color: #e6f0fa;
    color: #0056b3;
}

.bg-green-light {
    background-color: #e6f5ec;
    color: #198754;
}

.bg-purple-light {
    background-color: #f3e8ff;
    color: #6f42c1;
}

.consult-title {
    color: #0b3b60;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Subtle Arrow that appears on hover */
.consult-arrow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    color: #0056b3;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.consult-card:hover .consult-arrow {
    bottom: 15px;
    opacity: 1;
}
/* ================= SECTION TITLES ================= */
.section-title-line {
    font-family: var(--brand-serif);
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    color: var(--brand-blue);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: .5rem;
    padding-left: 1.6rem;
}

    .section-title-line::before {
        content: "";
        position: absolute;
        left: 0;
        top: .55em;
        width: 24px;
        height: 2px;
        background: var(--brand-green);
    }

/* ================= CONTACT BODY ================= */
.contact-body {
    padding: 2rem 0 4rem;
    background: #fff;
}

/* ---- LEFT: contact info ---- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.4rem 1.4rem 1.6rem;
    border-radius: 14px;
    background: #f9fbfd;
    border: 1px solid #e8eef5;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

    .info-item i {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fff;
        color: var(--brand-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
        border: 1px solid #d6e2f0;
    }

    .info-item small {
        display: block;
        font-size: .72rem;
        color: #5a6a86;
        text-transform: uppercase;
        letter-spacing: .08em;
        margin-bottom: .15rem;
    }

    .info-item strong {
        display: block;
        font-size: 1rem;
        color: var(--brand-blue);
        margin-bottom: .2rem;
    }

    .info-item p {
        margin: 0;
        font-size: .85rem;
        color: #5a6a86;
        line-height: 1.5;
    }

.info-modes {
    margin-top: .4rem !important;
    font-size: .8rem !important;
    color: var(--brand-blue) !important;
}

/* ---- LEFT: fees ---- */
.fee-list {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.fee-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
}

.fee-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eef7e6;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.fee-item h3 {
    font-family: var(--brand-sans);
    font-size: .95rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin: 0 0 .2rem;
}

.fee-price {
    display: block;
    font-size: .88rem;
    color: var(--brand-ink);
    font-weight: 600;
    margin-bottom: .2rem;
}

.fee-meta {
    font-size: .82rem;
    color: #5a6a86;
    margin: 0 0 .2rem;
}

.fee-note {
    font-size: .8rem;
    color: #5a6a86;
    margin: 0;
    line-height: 1.5;
}

/* ---- LEFT: timings ---- */
.timings-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 12px;
    background: #f9fbfd;
    border: 1px solid #e8eef5;
}

.timing-header {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .7rem;
}

    .timing-header i {
        color: var(--brand-blue);
        font-size: 1.15rem;
        margin-top: .1rem;
    }

    .timing-header strong {
        display: block;
        font-size: .9rem;
        color: var(--brand-blue);
    }

    .timing-header small {
        display: block;
        font-size: .75rem;
        color: #5a6a86;
    }

.timing-slots {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

    .timing-slots li {
        font-size: .8rem;
        color: #4a5875;
        background: #fff;
        border: 1px solid #e8eef5;
        border-radius: 999px;
        padding: .2rem .7rem;
    }

.timing-note {
    font-size: .82rem;
    color: var(--brand-blue);
    margin: 0;
}

/* ---- LEFT: how to book ---- */
.how-steps {
    display: flex;
    align-items: stretch;
    gap: .5rem;
    flex-wrap: wrap;
}

.how-step {
    flex: 1 1 140px;
    min-width: 140px;
    padding: .9rem;
    background: #f9fbfd;
    border: 1px solid #e8eef5;
    border-radius: 12px;
}

    .how-step i {
        color: var(--brand-blue);
        font-size: 1.15rem;
        margin-bottom: .4rem;
        display: block;
    }

    .how-step strong {
        display: block;
        font-size: .84rem;
        color: var(--brand-blue);
        margin-bottom: .25rem;
    }

    .how-step p {
        font-size: .76rem;
        color: #5a6a86;
        margin: 0;
        line-height: 1.5;
    }

.how-arrow {
    display: flex;
    align-items: center;
    color: var(--brand-blue);
    opacity: .4;
    font-size: 1rem;
    padding: 0 .2rem;
}

/* ---- RIGHT: booking form ---- */
.booking-card {
    background: #f4f8fb;
    border: 1px solid #e0eaf4;
    border-radius: 16px;
    padding: 1.8rem 1.8rem 2rem;
}

.booking-title {
    font-family: var(--brand-serif);
    font-size: 1.6rem;
    color: var(--brand-blue);
    margin: 0 0 .4rem;
}

.booking-subtitle {
    font-size: .88rem;
    color: #5a6a86;
    margin: 0 0 1.4rem;
    line-height: 1.55;
}

.form-block {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: .45rem;
}

.req {
    color: #c94545;
}

/* Type tiles */
.type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .55rem;
}

.type-tile {
    cursor: pointer;
    margin: 0;
}

    .type-tile input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.type-tile-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .8rem .5rem;
    background: #fff;
    border: 1px solid #cfdcea;
    border-radius: 10px;
    text-align: center;
    font-size: .78rem;
    color: var(--brand-blue);
    line-height: 1.25;
    transition: all .15s ease;
}

    .type-tile-inner i {
        font-size: 1.3rem;
    }

.type-tile input:checked + .type-tile-inner {
    background: #eaf3ff;
    border-color: var(--brand-blue);
    box-shadow: inset 0 0 0 1px var(--brand-blue);
}

.type-tile:hover .type-tile-inner {
    border-color: var(--brand-blue);
}

/* Mode radio */
.mode-row {
    display: flex;
    gap: 1.2rem;
    font-size: .9rem;
    color: var(--brand-ink);
}

.mode-option {
    display: flex;
    align-items: center;
    gap: .4rem;
    cursor: pointer;
    margin: 0;
}

    .mode-option input {
        accent-color: var(--brand-blue);
    }

/* Input with icon */
.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: .8rem;
        top: 50%;
        transform: translateY(-50%);
        color: #8a9ab3;
        font-size: .95rem;
        pointer-events: none;
    }

    .input-with-icon .form-control,
    .input-with-icon .form-select {
        padding-left: 2.3rem;
    }

/* Mobile field */
.mobile-input {
    display: flex;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 .8rem;
    background: #eef3f9;
    border: 1px solid #cfdcea;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: .9rem;
    color: var(--brand-blue);
}

.mobile-input .form-control {
    border-radius: 0 8px 8px 0;
}

/* Form controls */
.form-control,
.form-select {
    font-size: .9rem;
    border: 1px solid #cfdcea;
    border-radius: 8px;
    padding: .6rem .8rem;
    background: #fff;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--brand-blue);
        box-shadow: 0 0 0 .15rem rgba(26, 61, 124, 0.12);
        outline: none;
    }

/* Submit */
.booking-submit {
    margin-top: 1rem;
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    font-weight: 600;
    padding: .85rem 1.4rem;
    border-radius: 8px;
}

    .booking-submit:hover {
        background: #14315f;
        border-color: #14315f;
    }

.booking-footnote {
    text-align: center;
    font-size: .78rem;
    color: #5a6a86;
    margin: .8rem 0 0;
}

/* Important info */
.important-info {
    margin-top: 1.2rem;
    padding: 1.1rem 1.3rem;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
}

.important-info-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .6rem;
    color: var(--brand-blue);
    font-size: .95rem;
}

    .important-info-header i {
        font-size: 1.05rem;
    }

.important-info ul {
    padding-left: 1.2rem;
    margin: 0;
    font-size: .84rem;
    color: #4a5875;
    line-height: 1.65;
}

/* ================= LOCATION ================= */
.location-section {
    padding: 3rem 0 4rem;
    background: #fff;
    border-top: 1px solid #eef1f5;
}

.location-address {
    color: #4a5875;
    font-size: .95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.map-placeholder {
    position: relative;
    height: 220px;
    background: repeating-linear-gradient(45deg, #eef3f9, #eef3f9 20px, #e6eef7 20px, #e6eef7 40px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    border: 1px solid #e0eaf4;
}

.map-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
}

    .map-pin i {
        font-size: 1.8rem;
        color: #c94545;
        margin-bottom: .3rem;
    }

.closing-quote {
    font-family: var(--brand-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--brand-blue);
    line-height: 1.5;
    margin: 0;
    border: none;
    padding: 0;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .contact-hero-inner {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .contact-hero-visual {
        min-height: 240px;
    }

    .timings-card {
        grid-template-columns: 1fr;
    }

    .how-arrow {
        display: none;
    }
}

/* Added 786px breakpoint for tablets and large phones */
@media (max-width: 786px) {
    /* Add specific tablet styling here if needed */
    .helixtahr-location-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .type-grid {
        grid-template-columns: 1fr;
    }

    /* Ensure map is tall enough on small phones */
    .full-width-map {
        min-height: 250px;
    }
}

/* ================= NEW LOCATION & MAP CLASSES ================= */
.helixtahr-location-section {
    background-color: #f8f9fa; /* Optional: light background for the section */
    padding: 4rem 0;
}

.map-info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.full-width-map {
    position: relative;
    width: 100%;
    min-height: 350px; /* Default height for desktop */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .full-width-map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }