/* ====== GLOBAL STYLES ====== */
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --primary-light: #e3f2ff;
    --accent: #0f766e;
    --text-main: #1f2933;
    --text-muted: #6b7280;
    --bg-light: #f1f5f9;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #0f172a;
}

p {
    margin: 0 0 0.75rem;
}

ul {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
}

/* ====== LAYOUT HELPERS ====== */
.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
    background-color: var(--white);
}

.section-alt {
    background-color: var(--bg-light);
}

.section-intro {
    max-width: 650px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.subheading {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

/* ====== SCROLL REVEAL ====== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== HEADER & NAV ====== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
}

.logo span {
    color: #0f172a;
    font-weight: 700;
    margin-left: 0.2rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f172a;
    position: relative;
    padding-bottom: 0.15rem;
    text-decoration: none;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    width: 32px;
    height: 24px;
    justify-content: space-between;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    height: 3px;
    border-radius: 999px;
    background: #0f172a;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ====== HERO ====== */
.hero {
    padding: 4.5rem 0 4rem;
    background:
        linear-gradient(
            115deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(15, 23, 42, 0.85) 30%,
            rgba(59, 130, 246, 0.65) 60%,
            rgba(59, 130, 246, 0.65) 100%   /* keep blue to the end */
        ),
        url("images/hero-collage.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    align-items: center;
    gap: 3rem;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.hero-tagline {
    font-size: 1.35rem;      /* bigger */
    font-weight: 700;        /* bold */
    max-width: 650px;
}

.hero-sub {
    margin-top: 0.75rem;
    color: #f9fafb;          /* slightly brighter */
    font-size: 1.1rem;       /* bigger */
    font-weight: 600;        /* semi‑bold */
}

.hero-actions {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-image {
    justify-self: center;
}

.hero-image img {
    width: 60%;                 /* about 60% of the previous width */
    border-radius: 50%;         /* keep it circular */
    box-shadow: var(--shadow-soft);
    border: 0px solid var(--white);
    animation: float 6s ease-in-out infinite;
    display: block;
    margin: 0 auto;             /* centered in the card */
}

/* Small floating animation for hero image */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
                transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn i {
    margin-right: 0.4rem;
}

.btn-primary {
    background: #25d366; /* WhatsApp green */
    border-color: #1ebe57;
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(37, 211, 102, 0.28);
}

.btn-primary:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
}

.section .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.section .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ====== WHY CHOOSE US ====== */
.benefits-grid {
    margin-top: 1.7rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: var(--white);
    border-radius: 0.9rem;
    padding: 1.3rem 1.2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.benefit-card h3 {
    margin-bottom: 0.35rem;
    font-size: 1.02rem;
    color: #0f172a;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Hover effect: blue box + white text */
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    background-color: var(--primary);
    border-color: var(--primary-dark);
}

.benefit-card:hover h3,
.benefit-card:hover p {
    color: #ffffff;
}

/* ====== REVIEWS GALLERY – 3‑CARD SLIDER (layout + card style) ====== */

/* Outer layout: arrows + slider */
.reviews-carousel {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Visible window */
.reviews-window {
    flex: 1;
    overflow: hidden;
}

/* Sliding track: 3 cards visible, horizontal scrolling */
.reviews-track {
    display: grid;
    grid-auto-flow: column;
    /* 3 cards + 2 gaps (2 * 1.5rem = 3rem) = full width */
    grid-auto-columns: calc((100% - 3rem) / 3);
    column-gap: 1.5rem;
    transition: transform 0.4s ease;
}

/* Review card (comfortable padding, taller) */
#reviews .gallery-item {
    padding: 1.4rem 1.7rem 1.6rem;  /* more space inside */
    border-radius: 1.1rem;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 240px;             /* taller frame so text breathes */
}

/* Header: avatar + name/date + Google icon */
#reviews .review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.1rem;
}

#reviews .review-user {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

#reviews .review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
}

#reviews .review-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
}

#reviews .review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Google G badge – coloured logo (use images/google-g-icon.png) */
#reviews .review-source {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff url("images/google-g-icon.png") center/70% 70% no-repeat;
    box-shadow: 0 0 0 1px #e5e7eb;
}

/* Hide Font Awesome G – fallback only */
#reviews .review-source i {
    display: none;
}

/* Stars row */
#reviews .review-rating {
    color: #fbbf24; /* yellow stars */
    font-size: 0.9rem;
}

/* Review text with hidden extra lines (… effect) */
#reviews .review-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;            /* easier to read */
    display: -webkit-box;
    -webkit-line-clamp: 5;        /* show 5 lines instead of 4 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover effect like your other cards */
#reviews .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* Arrows */
.reviews-arrow {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.reviews-arrow i {
    font-size: 0.9rem;
}

.reviews-arrow:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.2);
}

.reviews-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

/* REVIEWS – mobile layout: 1 full-width card, arrows overlaid */
@media (max-width: 768px) {
    /* Use the full width for the review card; arrows overlap on sides */
    .reviews-carousel {
        position: relative;
        gap: 0;
        padding: 0 1rem;          /* small inner padding so card isn't touching screen edge */
    }

    /* 1 card per view */
    .reviews-track {
        grid-auto-columns: 100%;
        column-gap: 0.75rem;
    }

    #reviews .gallery-item {
        min-height: 260px;
    }

    /* Arrows sit on top of the card instead of taking width */
    .reviews-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
    }

    .reviews-arrow-prev {
        left: 0;                  /* touches inner padding of .reviews-carousel */
    }

    .reviews-arrow-next {
        right: 0;
    }

    /* Keep vertical centering on hover */
    .reviews-arrow:hover:not(:disabled) {
        transform: translateY(-50%) scale(1.03);
    }
}
/* ====== SPECIALIST ====== */
.specialist-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.5fr);
    gap: 2rem;
    align-items: center;
}

.specialist-photo img {
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specialist-photo img:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.specialist-info ul {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.specialist-quote {
    margin-top: 0.9rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    font-style: italic;
    color: var(--text-muted);
}

.specialist-certifications {
    margin-top: 1rem;
}

.specialist-certifications h4 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

/* ====== PROCESS ====== */
.process-image-wrapper {
    margin: 1.75rem 0 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.16);
}

.process-steps {
    padding-left: 1.2rem;
    color: var(--text-muted);
    margin: 0;
}

.process-steps li {
    margin-bottom: 0.4rem;
}


/* ====== SERVICES ====== */
.services-grid {
    margin-top: 2rem;
    display: grid;
    /* 4 cards in first row, 4 in second on large screens */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1.8rem;   /* left–right spacing between frames */
    row-gap: 2rem;        /* spacing between top 4 and bottom 4 */
}

.service-card {
    background: var(--primary);
    border-radius: 1.1rem;
    padding: 1.1rem 1.1rem 1.3rem;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0.2rem;     /* small extra space left & right for each frame */
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                background-color 0.25s ease, border-color 0.25s ease;
}

/* White inner box for your image */
.service-image {
    background: transparent;   /* no white box */
    padding: 0;                /* no inner border */
    margin-bottom: 0.8rem;
}

.service-image img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 0.9rem;     /* rounded corners directly on the photo */
}

.service-card h3 {
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
    color: #ffffff;
}

.service-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
    background-color: var(--primary-dark);
    border-color: #083f9c;
}

/* Responsive columns: 2 per row on tablet, 1 per row on mobile */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== MEDIA GALLERY ====== */
/* ====== MEDIA GALLERY ====== */
.media-gallery {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.6rem;
}

/* Blue frames similar to services: media (img/video) on top, text at bottom */
.media-item {
    background: var(--primary);
    border-radius: 1.1rem;
    padding: 1rem 1rem 1.1rem;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0.2rem;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 0.9rem;
}

/* Caption below the media */
.media-item figcaption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

/* Hover effect, like services */
.media-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
    background-color: var(--primary-dark);
    border-color: #083f9c;
}

/* ====== BOOKING ====== */
.booking-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.booking-text p {
    color: var(--text-muted);
}

.booking-form {
    background: var(--white);
    padding: 1.5rem 1.4rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.booking-form:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    border-color: rgba(13, 110, 253, 0.35);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 0.6rem;
    border: 1px solid var(--border-color);
    padding: 0.55rem 0.7rem;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.25);
    transform: translateY(-1px);
}

.booking-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
}

.direct-whatsapp {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.direct-whatsapp .btn {
    margin-top: 0.5rem;
}

/* ====== FAQ ====== */
.faq-list {
    max-width: 800px;
    margin-top: 1.5rem;
}

.faq-item {
    border-radius: 0.9rem;
    border: 1px solid var(--border-color);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    margin-bottom: 0.9rem;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.faq-item.open {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
    border-color: rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0.85rem 1.1rem;
    font-size: 0.96rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0.75rem 1.1rem 1rem;
    border-top: 1px solid rgba(13, 110, 253, 0.35);
    background: var(--primary-light);      /* light blue box */
    color: #0f172a;                        /* dark text for readability */
    font-size: 0.95rem;
    border-radius: 0 0 0.9rem 0.9rem;      /* rounded bottom corners */
}

/* ====== SOCIAL MEDIA ====== */
.social {
    text-align: center;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease,
                transform 0.15s ease, box-shadow 0.15s ease;
}

.social-link i {
    margin-right: 0.45rem;
    font-size: 1rem;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(13, 110, 253, 0.35);
}

/* ====== CONTACT ====== */
.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-info p {
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 1.5rem 1.4rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    border-color: rgba(13, 110, 253, 0.35);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.contact-map {
    margin-top: 2rem;
}

.contact-map iframe {
    width: 100%;
    height: 260px;
    border-radius: 0.9rem;
    border: 0;
    box-shadow: var(--shadow-soft);
}

.map-note {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ====== FOOTER ====== */
.main-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 1.75rem 0 1.4rem;
    margin-top: 1rem;
}

.footer-inner {
    text-align: center;
    font-size: 0.9rem;
}

.footer-note {
    color: #9ca3af;
    margin-top: 0.35rem;
}

/* ====== FLOATING WHATSAPP BUTTON (MOBILE) ====== */
.floating-whatsapp {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 50;
    background: #25d366;
    color: #ffffff;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.4);
    display: none; /* hidden on desktop */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.floating-whatsapp i {
    margin-right: 0.4rem;
    font-size: 1.05rem;
}

.floating-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.55);
}

/* Show only on mobile / small tablets */
@media (max-width: 768px) {
    .floating-whatsapp {
        display: inline-flex;
    }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
       /* delete this block, or comment it out
    .hero {
        background: linear-gradient(145deg, #0f172a 0%, #0d6efd 65%, #ffffff 100%);
    }
    */

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 420px;
        margin: 0 auto 1.5rem;
    }

    .specialist-inner,
    .booking-inner,
    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-inner {
        gap: 1.75rem;
    }

    .contact-inner {
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    /* Mobile nav */
    .main-nav {
        position: absolute;
        inset: 64px 0 auto 0;
        background: rgba(255, 255, 255, 0.97);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.25rem 1rem;
        gap: 0.5rem;
    }

    .main-nav.open {
        transform: translateY(0%);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .hero {
        padding-top: 4rem;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        gap: 0.5rem;
    }

    .main-nav ul {
        gap: 0.3rem;
    }
}
/* ====== ABOUT SECTION BACKGROUND ====== */
/* ====== ABOUT SECTION BACKGROUND + READABLE TEXT ====== */
/* ====== ABOUT SECTION BACKGROUND + READABLE TEXT ====== */
#about {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

/* Text card on top of the image */
#about .container {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
      background: rgba(255, 255, 255, 0.7);  /* more transparent white box */
    padding: 1.75rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    color: #111827;                        /* dark text */
}

#about h2 {
    color: #0f172a;
    margin-bottom: 0.75rem;
}

/* Background image, slightly softened */
#about::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("images/about-clinic-bg.png") center/cover no-repeat;
    opacity: 0.75;  /* image still visible but not overpowering */
}

/* optional: spacing for the bullet list */
#about .about-points {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
}
/* Booking form: highlight invalid fields */
.booking-form input:invalid,
.booking-form select:invalid,
.booking-form textarea:invalid {
    border-color: #dc2626;
}