:root {
    /* Brand palette taken from the logo (green leaf + orange hands + maroon heart) */
    --pc-primary: #3a8a3f;        /* logo green */
    --pc-primary-dark: #2c6b30;   /* darker green */
    --pc-accent: #e8731c;         /* logo orange */
    --pc-heart: #a51d22;          /* logo maroon heart */
    --pc-light: #f3f8f2;          /* soft green tint */
    --pc-dark: #2f3a2c;           /* dark text */
    --pc-muted: #6e7a6a;
    /* Animated green -> red brand gradient */
    --pc-gradient: linear-gradient(110deg, #3a8a3f 0%, #1f9d57 25%, #e8731c 60%, #a51d22 100%);
}

/* Reusable animated gradient text (logo green -> orange -> red) */
.grad-text,
.section-title h2,
.faq-aside h2 {
    background: var(--pc-gradient);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradShift 6s ease-in-out infinite;
}
/* Keep the FAQ sidebar heading white (it sits on a coloured panel) */
.faq-aside h2 { -webkit-text-fill-color: #fff; color: #fff; background: none; animation: none; }

@keyframes gradShift {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

/* Animated gradient accent bar under section titles */
.section-title h2::after {
    content: ""; display: block; width: 70px; height: 4px; margin: .9rem auto 0;
    border-radius: 4px; background: var(--pc-gradient); background-size: 200% auto;
    animation: gradShift 6s ease-in-out infinite;
}
.section-title.text-start h2::after { margin-left: 0; }

* { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--pc-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; }

a { text-decoration: none; }

.text-primary-c { color: var(--pc-primary) !important; }

.btn-primary-c {
    background: var(--pc-gradient);
    background-size: 200% auto;
    border: none;
    color: #fff;
    padding: .65rem 1.7rem;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 6px 18px rgba(58,138,63,.28);
}
.btn-primary-c:hover { background-position: right center; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(165,29,34,.3); }
.btn-primary-c:disabled,
.btn-primary-c[disabled] {
    background: #c2cbc2; color: #f1f4f1; cursor: not-allowed;
    box-shadow: none; transform: none; pointer-events: none;
}

.btn-outline-c {
    border: 2px solid #fff;
    color: #fff;
    padding: .6rem 1.6rem;
    border-radius: 50px;
    font-weight: 500;
    transition: .25s;
}
.btn-outline-c:hover { background: #fff; color: var(--pc-primary); }

/* Top bar */
.topbar {
    background: var(--pc-primary-dark);
    color: #cfe9f1;
    font-size: .85rem;
    padding: .5rem 0;
}
.topbar a { color: #cfe9f1; margin-left: 1rem; }
.topbar a:hover { color: #fff; }

/* Navbar */
.navbar-brand .brand-logo {
    height: 60px;
    width: auto;
}
@media (max-width: 576px) {
    .navbar-brand .brand-logo { height: 46px; }
}
.navbar { padding-top: .6rem; padding-bottom: .6rem; }
.navbar-nav { align-items: center; gap: .15rem; }
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--pc-dark);
    padding: .55rem .9rem !important;
    border-radius: 8px;
    position: relative;
    transition: color .2s, background .2s;
}
.navbar-nav .nav-link:hover { color: var(--pc-primary); background: var(--pc-light); }
.navbar-nav .nav-link.active { color: var(--pc-primary); }
.navbar-nav .nav-link.active::after {
    content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 2px;
    width: 22px; height: 3px; background: var(--pc-gradient); background-size: 200% auto; border-radius: 3px;
}
.navbar-nav .nav-link.has-mega { display: inline-flex; align-items: center; gap: .35rem; }

/* Mega menu */
.mega-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(20,54,66,.16);
    padding: 1rem;
    margin-top: 0;
    min-width: 360px;
    overflow: hidden;
}
.mega-menu::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--pc-gradient); background-size: 200% auto;
}
.mega-menu-wide { min-width: 540px; max-width: min(540px, calc(100vw - 2rem)); }
.mega-grid { display: grid; grid-template-columns: 1fr; gap: .35rem; }
.mega-grid-2 { grid-template-columns: 1fr 1fr; }
.mega-link {
    display: flex; align-items: center; gap: .8rem;
    padding: .7rem .8rem; border-radius: 12px;
    color: var(--pc-dark); text-decoration: none; transition: .18s;
}
.mega-ico {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px;
    background: var(--pc-light); color: var(--pc-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: .2s;
}
.mega-txt { display: flex; flex-direction: column; line-height: 1.25; }
.mega-txt strong { font-size: .92rem; font-weight: 600; color: var(--pc-dark); transition: .2s; }
.mega-txt small { font-size: .76rem; color: var(--pc-muted); }
.mega-link:hover { background: var(--pc-light); }
.mega-link:hover .mega-ico { background: var(--pc-gradient); background-size: 180% auto; color: #fff; transform: scale(1.05); }
.mega-link:hover .mega-txt strong { color: var(--pc-primary); }
.mega-foot {
    border-top: 1px solid #eef2ee; margin-top: .6rem; padding: .7rem .8rem 0;
}
.mega-foot a { color: var(--pc-primary); font-weight: 600; font-size: .9rem; text-decoration: none; }
.mega-foot a:hover { color: var(--pc-primary-dark); }

.mega-caret { font-size: .65rem; transition: transform .2s; opacity: .7; }

/* Mega menu inner layout (section / head / list / footer pill) */
.mega-section { padding: .15rem .15rem 0; }
.mega-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.mega-head-ico {
    width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: var(--pc-gradient); background-size: 180% auto; color: #fff; font-size: 1.05rem;
}
.mega-head h6 { margin: 0; font-size: 1rem; font-weight: 600; color: var(--pc-dark); }

.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .1rem; }
.mega-list-2 { grid-template-columns: 1fr 1fr; column-gap: .8rem; }
.mega-list li { margin: 0; }
.mega-list a {
    display: block; padding: .5rem .65rem; border-radius: 10px;
    color: var(--pc-dark); text-decoration: none; font-size: .92rem; font-weight: 500;
    transition: background .15s, color .15s;
}
.mega-list a:hover { background: var(--pc-light); color: var(--pc-primary); }

/* Icon variant: each link gets a small rounded icon chip. */
.mega-list-ico a { display: flex; align-items: center; gap: .65rem; }
.mega-list-ico a i {
    width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--pc-light); color: var(--pc-primary); font-size: 1rem;
    transition: background .18s, color .18s, transform .18s;
}
.mega-list-ico a:hover i {
    background: var(--pc-gradient); background-size: 180% auto; color: #fff; transform: scale(1.05);
}
.mega-list-ico a span { line-height: 1.2; }

.mega-foot-pill { display: flex; justify-content: flex-end; }
.mega-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem 1.1rem; border-radius: 999px;
    background: var(--pc-gradient); background-size: 180% auto; color: #fff !important;
    font-size: .9rem; font-weight: 600; text-decoration: none; transition: .2s;
}
.mega-pill:hover { background-position: right center; transform: translateY(-1px); }
.mega-pill i { transition: transform .2s; }
.mega-pill:hover i { transform: translateX(3px); }

/* Book Appointment button in navbar */
.btn-book { white-space: nowrap; padding: .55rem 1.3rem; font-size: .92rem; }
@media (max-width: 991.98px) {
    .btn-book { display: block; margin: .6rem 0 0 0; text-align: center; }
}

/* Open dropdowns on hover (desktop only). The top-level link stays a real
   link (click navigates to the page); hover reveals the mega menu. */
@media (min-width: 992px) {
    .navbar .dropdown.mega { position: relative; }
    /* Center the menu horizontally under its trigger. */
    .navbar .dropdown.mega > .dropdown-menu {
        display: block;                 /* present but hidden, for a smooth fade */
        opacity: 0; visibility: hidden; pointer-events: none;
        margin: 0; top: 100%; left: 50%; right: auto;
        transform: translateX(-50%) translateY(8px);
        transition: opacity .18s, transform .18s, visibility .18s;
    }
    /* Hover bridge: an invisible block filling the gap between the nav item and
       the menu, so the cursor never lands on empty space. It belongs to the LI
       so it's part of the hover target. */
    .navbar .dropdown.mega::after {
        content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px;
        display: none;
    }
    .navbar .dropdown.mega:hover::after { display: block; }

    .navbar .dropdown.mega:hover > .dropdown-menu,
    .navbar .dropdown.mega > .dropdown-menu:hover {
        opacity: 1; visibility: visible; pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    .navbar .dropdown.mega:hover .mega-caret { transform: rotate(180deg); }
}

/* On mobile (collapsed navbar) show the mega items inline as a simple list. */
@media (max-width: 991.98px) {
    .navbar-collapse { max-height: 80vh; overflow-y: auto; }
    .navbar-nav { gap: 0; }
    .navbar-nav .nav-link { padding: .7rem .9rem !important; }
    .navbar .dropdown.mega > .dropdown-menu {
        display: block !important; position: static !important; float: none;
        opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
        transform: none !important; box-shadow: none; border: none; border-radius: 0;
        padding: 0 0 .5rem 0; min-width: 0; width: 100%; filter: none;
    }
    .mega-menu::before { display: none; }
    .mega-section { padding: 0; }
    .mega-head { padding: .4rem 1rem; margin-bottom: .2rem; }
    .mega-list, .mega-list-2 { grid-template-columns: 1fr; gap: 0; }   /* single column on mobile */
    .mega-list a { padding: .55rem .9rem .55rem 1.6rem; border-radius: 0; }
    .mega-foot-pill { justify-content: flex-start; padding: .5rem .9rem 0 1.6rem; }
    .mega-caret { display: none; }
}

/* About area sub-navigation */
.about-subnav {
    background: var(--pc-light);
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.about-subnav .nav-link {
    color: var(--pc-muted); font-weight: 500; padding: 1rem 1.2rem;
    border-bottom: 3px solid transparent;
}
.about-subnav .nav-link:hover { color: var(--pc-primary); }
.about-subnav .nav-link.active {
    color: var(--pc-primary); border-bottom-color: var(--pc-primary);
}

/* Page hero (inner pages) — animated brand gradient */
.page-hero {
    background: linear-gradient(115deg, #2c6b30 0%, #3a8a3f 40%, #e8731c 78%, #a51d22 100%);
    background-size: 200% 200%;
    animation: heroShift 14s ease-in-out infinite;
    color: #fff;
    padding: 4.5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255,255,255,.12), transparent 40%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.4rem; margin-bottom: .5rem; }
.page-hero .breadcrumb { justify-content: center; }
.page-hero .breadcrumb a { color: #cfe9f1; }
.page-hero .breadcrumb-item.active { color: #fff; }

/* Home hero — brand green→red gradient wash over the photo */
.hero {
    position: relative;
    background: linear-gradient(115deg, rgba(44,107,48,.93) 0%, rgba(58,138,63,.85) 45%, rgba(232,115,28,.78) 80%, rgba(165,29,34,.8) 100%),
        url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1600&q=80') center/cover;
    background-size: 200% 200%, cover;
    color: #fff;
    padding: 6rem 0;
    animation: heroShift 14s ease-in-out infinite;
    overflow: hidden;
}
@keyframes heroShift {
    0%, 100% { background-position: 0% 50%, center; }
    50%      { background-position: 100% 50%, center; }
}
/* Soft floating blobs for depth */
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(8px); opacity: .18;
}
.hero::before { width: 280px; height: 280px; background: #fff; top: -80px; right: -60px; }
.hero::after  { width: 200px; height: 200px; background: var(--pc-accent); bottom: -70px; left: 8%; opacity: .25; }
.hero h1 { font-size: 2.9rem; font-weight: 700; margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; max-width: 620px; opacity: .95; }
.hero .hero-actions { margin-top: 1.8rem; }
.hero .hero-actions .btn { margin-right: .75rem; }

/* Section */
.section { padding: 5rem 0; }
.section-light { background: var(--pc-light); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title span { color: var(--pc-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; }
.section-title h2 { font-size: 2.1rem; margin-top: .4rem; }
.section-title p { color: var(--pc-muted); max-width: 640px; margin: .8rem auto 0; }

/* Feature / info cards */
.info-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.6rem;
    height: 100%;
    box-shadow: 0 8px 30px rgba(20,54,66,.07);
    transition: .3s;
    border-bottom: 3px solid transparent;
}
.info-card { position: relative; overflow: hidden; }
.info-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--pc-gradient); background-size: 200% auto;
    transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.info-card:hover { transform: translateY(-8px); border-bottom-color: transparent; box-shadow: 0 16px 40px rgba(20,54,66,.13); }
.info-card:hover::before { transform: scaleX(1); animation: gradShift 6s ease-in-out infinite; }
.info-card .icon {
    width: 56px; height: 56px; flex: 0 0 56px; border-radius: 14px;
    background: var(--pc-light); color: var(--pc-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; transition: .35s;
}
.info-card:hover .icon {
    background: var(--pc-gradient); background-size: 180% auto; color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.info-card h4 { font-size: 1.2rem; }
.info-card p { color: var(--pc-muted); font-size: .95rem; margin-bottom: 0; }

/* Icon + heading on one row (site-wide pattern) */
.info-card-head {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.info-card-head h4, .info-card-head h5 { margin: 0; }

/* Service card */
.service-card { text-align: center; }
.service-card .icon { margin: 0 auto 1.2rem; }

/* Image on service / education cards */
.service-img {
    width: 100%; height: 200px; object-fit: cover; display: block;
}

/* Patient-education: show the FULL infographic, never cropped */
.edu-img-wrap {
    display: block;
    background: #f3f8f2;          /* soft frame so portrait/landscape images sit nicely */
    padding: 12px;
}
.edu-img {
    width: 100%;
    height: auto;                 /* natural height — whole image visible */
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

/* Gallery */
.gallery-item {
    display: block; border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(20,54,66,.07);
}
.gallery-item img {
    width: 100%; height: 260px; object-fit: cover; display: block; transition: .4s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Home gallery carousel (event-wise) */
.gallery-carousel { position: relative; padding: 0 10px; }
.gallery-carousel .gallery-item img { height: 200px; }   /* compact tiles inside the carousel */
.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
    width: auto; opacity: 1; top: 50%; transform: translateY(-50%); bottom: auto;
}
.gallery-carousel .carousel-control-prev { left: -8px; }
.gallery-carousel .carousel-control-next { right: -8px; }
.gallery-nav {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--pc-primary, #3a8a3f); color: #fff; font-size: 1.4rem;
    box-shadow: 0 6px 18px rgba(58,138,63,.35); transition: .2s;
}
.gallery-nav:hover { background: var(--pc-primary-dark, #2c6b30); transform: scale(1.08); }
.gallery-carousel .carousel-indicators { position: static; margin: 0; }
.gallery-carousel .carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%; border: none;
    background: #c3d3c5; opacity: 1; margin: 0 5px; transition: .2s;
}
.gallery-carousel .carousel-indicators .active { background: var(--pc-primary, #3a8a3f); width: 26px; border-radius: 6px; }
@media (max-width: 575.98px) {
    .gallery-carousel .carousel-control-prev { left: -4px; }
    .gallery-carousel .carousel-control-next { right: -4px; }
    .gallery-nav { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* Specialty (two big columns on home) */
.specialty-card {
    background: #fff; border-radius: 16px; overflow: hidden; height: 100%;
    box-shadow: 0 10px 35px rgba(20,54,66,.08);
}
.specialty-card .head {
    background: var(--pc-primary); color: #fff; padding: 1.5rem 1.8rem;
    display: flex; align-items: center; gap: .8rem; font-size: 1.4rem; font-weight: 600;
}
.specialty-card .head i { font-size: 1.8rem; }
.specialty-card .body { padding: 1.8rem; }
.specialty-card .body p { color: var(--pc-muted); }

/* Testimonials */
.testimonial-card {
    background: #fff; border-radius: 14px; padding: 2rem;
    box-shadow: 0 8px 30px rgba(20,54,66,.07); height: 100%;
}
.testimonial-card .stars { color: #f2b705; margin-bottom: .8rem; }
.testimonial-card .quote { font-style: italic; color: var(--pc-dark); }
.testimonial-card .author { font-weight: 600; color: var(--pc-primary); margin-top: 1rem; }

/* Team */
.team-card {
    background: #fff; border-radius: 16px; overflow: hidden; text-align: center;
    box-shadow: 0 8px 30px rgba(20,54,66,.08); transition: .3s; height: 100%;
}
.team-card:hover { transform: translateY(-6px); }
.team-card .photo {
    height: 380px; background: var(--pc-light); display: flex; align-items: center; justify-content: center;
    color: var(--pc-primary); font-size: 5rem;
}
.team-card .photo-img { padding: 0; overflow: hidden; }
/* Show the FULL doctor photo — never crop the head/face */
.team-card .photo-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
}
.team-card .info { padding: 1.5rem; }
.team-card .info h4 { margin-bottom: .2rem; }
.team-card .info .role { color: var(--pc-accent); font-weight: 500; font-size: .9rem; }
.team-card .info .qual { color: var(--pc-muted); font-size: .85rem; margin: .4rem 0 .8rem; }

/* CTA strip */
.cta-strip {
    background: linear-gradient(115deg, #2c6b30 0%, #3a8a3f 40%, #e8731c 80%, #a51d22 100%);
    background-size: 200% 200%;
    animation: heroShift 14s ease-in-out infinite;
    color: #fff; padding: 3.5rem 0; text-align: center;
}
.cta-strip h2 { font-size: 2rem; color: #fff; -webkit-text-fill-color: #fff; }
.cta-strip .phone { font-size: 1.6rem; font-weight: 700; margin-top: .5rem; }
.cta-strip .phone a { color: #fff; }

/* Contact page */
.contact-wrap {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 18px 50px rgba(20,54,66,.10);
}
.contact-info-panel {
    background: linear-gradient(155deg, #2c6b30 0%, #3a8a3f 50%, #a51d22 150%);
    color: #fff; padding: 2.8rem 2.4rem; position: relative; overflow: hidden;
}
.contact-info-panel::after {
    content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,.07); bottom: -70px; right: -60px;
}
.contact-info-panel .section-tag { color: #ffd9c2; }
.contact-info-panel h2 { color: #fff; -webkit-text-fill-color: #fff; background: none; animation: none; font-size: 1.6rem; margin: .4rem 0 1rem; }
.contact-info-panel p { color: rgba(255,255,255,.9); font-size: .95rem; }
.contact-line { display: flex; align-items: flex-start; gap: .9rem; margin-top: 1.3rem; position: relative; z-index: 1; }
.contact-line-icon {
    width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
    background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.contact-line small { display: block; opacity: .8; font-size: .76rem; margin-bottom: .15rem; }
.contact-line span, .contact-line a { color: #fff; font-size: .92rem; font-weight: 500; }
.contact-social a {
    display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff; align-items: center; justify-content: center;
    margin-right: .5rem; transition: .25s; position: relative; z-index: 1;
}
.contact-social a:hover { background: #fff; color: var(--pc-primary); }
.contact-form-panel { padding: 2.8rem 2.6rem; }
.contact-form-panel h2 { font-size: 1.6rem; }
.contact-form-panel .form-label { font-weight: 500; font-size: .9rem; color: var(--pc-dark); margin-bottom: .35rem; }

.contact-map { line-height: 0; }
.contact-map iframe { width: 100%; height: 420px; display: block; }

/* Honeypot — visually & semantically hidden, but bots still fill it. */
.hp-field {
    position: absolute !important; left: -9999px !important; top: auto;
    width: 1px; height: 1px; overflow: hidden;
}

/* Math captcha — clean inline equation (icon label + sum on one line) */
.captcha-row {
    display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
}
.captcha-label {
    width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
    background: var(--pc-light); color: var(--pc-primary);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.captcha-box {
    display: inline-flex; align-items: center; gap: .5rem;
}
.captcha-ok {
    color: #2e9e4f; font-size: 1.3rem; opacity: 0; transform: scale(.6);
    transition: .2s; margin-left: .25rem;
}
.captcha-ok.show { opacity: 1; transform: scale(1); }
.captcha-q {
    font-size: 1.15rem; font-weight: 700; color: var(--pc-primary-dark);
    min-width: 24px; text-align: center;
}
.captcha-op { font-size: 1.05rem; font-weight: 600; color: var(--pc-muted); }
.captcha-input {
    width: 64px; height: 46px; text-align: center; margin-left: .15rem;
    border: 1px solid #ced4da; border-radius: 10px;
    font-size: 1.1rem; font-weight: 700; color: var(--pc-dark); background: #fff;
    -moz-appearance: textfield;
}
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-input:focus { outline: none; border-color: var(--pc-primary); box-shadow: 0 0 0 .2rem rgba(58,138,63,.15); }

.form-control { border-radius: 10px; padding: .7rem 1rem; }
.form-control:focus { border-color: var(--pc-primary); box-shadow: 0 0 0 .2rem rgba(58,138,63,.15); }

.alert-note { border-radius: 10px; }

/* Footer */
.site-footer { background: var(--pc-dark); color: #c4d2d8; padding: 3.5rem 0 0; }
.footer-brand { color: #fff; }
.footer-brand i { color: var(--pc-accent); }
.footer-text { font-size: .92rem; color: #9fb2ba; }
.footer-heading { color: #fff; margin-bottom: 1.1rem; font-size: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #c4d2d8; font-size: .92rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; transition: .2s; }
.footer-contact li { margin-bottom: .8rem; font-size: .9rem; color: #c4d2d8; }
.footer-contact i { color: var(--pc-primary); margin-right: .4rem; }
.footer-contact a { color: #c4d2d8; }
.footer-social a {
    display: inline-flex; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center;
    margin-right: .5rem; transition: .25s;
}
.footer-social a:hover { background: var(--pc-primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding: 1.2rem 0;
    font-size: .85rem; color: #8fa3ab;
}
.footer-legal a { color: #c4d2d8; }
.footer-legal a:hover { color: #fff; }
.footer-legal .sep { margin: 0 .5rem; color: #5e6f66; }
.dev-credit { color: var(--pc-accent); font-weight: 600; }
.dev-credit:hover { color: #fff; }

/* Legal pages (terms / privacy) */
.legal h4 { margin-top: 1.8rem; margin-bottom: .6rem; color: var(--pc-primary); font-size: 1.15rem; }
.legal p, .legal li { color: #4a564a; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }

/* FAQ page */
.section-tag { color: var(--pc-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; }
.faq-aside {
    position: sticky; top: 100px;
    background: linear-gradient(150deg, #2c6b30 0%, #3a8a3f 55%, #a51d22 140%);
    color: #fff; border-radius: 20px; padding: 2.5rem 2.2rem;
    box-shadow: 0 18px 50px rgba(44,107,48,.25); overflow: hidden; position: relative;
}
.faq-aside::after {
    content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,255,255,.08); top: -60px; right: -50px;
}
.faq-aside-icon {
    width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 1.2rem;
    position: relative; z-index: 1;
}
.faq-aside .section-tag { color: #ffd9c2; position: relative; z-index: 1; }
.faq-aside h2 {
    color: #fff; -webkit-text-fill-color: #fff; background: none; animation: none;
    font-size: 1.7rem; margin: .4rem 0 1rem; position: relative; z-index: 1;
}
.faq-aside p { color: rgba(255,255,255,.9); font-size: .95rem; position: relative; z-index: 1; }
.faq-help {
    display: flex; align-items: center; gap: .9rem; margin-top: 1rem;
    background: rgba(255,255,255,.1); border-radius: 12px; padding: .8rem 1rem;
    position: relative; z-index: 1;
}
.faq-help-icon {
    width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
    background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.faq-help small { display: block; opacity: .8; font-size: .76rem; }
.faq-help a { color: #fff; font-weight: 600; word-break: break-word; }
.faq-aside-btn {
    background: #fff; color: var(--pc-primary-dark); font-weight: 600; border-radius: 50px;
    padding: .7rem 1.6rem; position: relative; z-index: 1; transition: .25s;
}
.faq-aside-btn:hover { background: var(--pc-light); color: var(--pc-primary-dark); transform: translateY(-2px); }

.faq-accordion .accordion-item {
    border: 1px solid #eaf0ea; border-radius: 14px !important; margin-bottom: 1rem; overflow: hidden;
    box-shadow: 0 6px 20px rgba(20,54,66,.05); transition: box-shadow .25s, border-color .25s;
}
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    box-shadow: 0 12px 32px rgba(58,138,63,.14); border-color: transparent;
}
.faq-accordion .accordion-button {
    font-weight: 600; color: var(--pc-dark); font-size: 1.02rem; padding: 1.25rem 1.4rem;
    display: flex; align-items: center; gap: 1rem;
}
.faq-num {
    flex: 0 0 auto; font-size: .9rem; font-weight: 700; color: var(--pc-accent);
    background: var(--pc-light); width: 34px; height: 34px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; transition: .25s;
}
.faq-q { flex: 1; }
.faq-accordion .accordion-button:not(.collapsed) {
    background: #fff; color: var(--pc-primary-dark); box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) .faq-num {
    background: var(--pc-gradient); background-size: 180% auto; color: #fff;
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after {
    background-image: none; content: "\F64D"; font-family: "bootstrap-icons";
    font-size: .9rem; color: var(--pc-primary); transition: transform .25s; width: auto; height: auto; margin-left: .5rem;
}
.faq-accordion .accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.faq-accordion .accordion-body {
    color: var(--pc-muted); font-size: .95rem; padding: 0 1.4rem 1.3rem 4.4rem; line-height: 1.7;
}
@media (max-width: 576px) { .faq-accordion .accordion-body { padding-left: 1.4rem; } }

/* Pagination */
.pagination .page-link {
    color: var(--pc-primary);
    border-radius: 8px; margin: 0 4px; border: 1px solid #e2e8e2;
    min-width: 42px; text-align: center;
}
.pagination .page-link:hover { background: var(--pc-light); color: var(--pc-primary-dark); }
.pagination .page-item.active .page-link {
    background: var(--pc-primary); border-color: var(--pc-primary); color: #fff;
}
.pagination .page-item.disabled .page-link { color: #b6c2b6; }

/* Lightbox */
.lb-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(15, 25, 18, .92);
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .25s;
}
.lb-overlay.open { display: flex; opacity: 1; }
.lb-stage {
    max-width: 90vw; max-height: 86vh;
    display: flex; flex-direction: column; align-items: center;
}
.lb-img {
    max-width: 90vw; max-height: 78vh;
    object-fit: contain; border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,.5);
    background: #fff;
}
.lb-caption {
    color: #e6f0e6; margin-top: .9rem; font-size: 1rem; text-align: center;
    max-width: 80vw;
}
.lb-counter {
    position: absolute; top: 18px; left: 22px;
    color: #cfe0cf; font-size: .9rem; letter-spacing: .5px;
}
.lb-btn {
    position: absolute; background: rgba(255,255,255,.12); color: #fff;
    border: none; width: 52px; height: 52px; border-radius: 50%;
    font-size: 1.4rem; cursor: pointer; transition: .2s;
    display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { background: var(--pc-primary); }
.lb-close { top: 18px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 576px) {
    .lb-prev { left: 10px; } .lb-next { right: 10px; }
    .lb-btn { width: 44px; height: 44px; font-size: 1.2rem; }
}

/* Make gallery/edu images show a pointer (they open the lightbox) */
.gallery-item, .edu-img-wrap { cursor: zoom-in; }

/* Back to top */
.back-to-top {
    position: fixed; bottom: 25px; right: 25px; width: 44px; height: 44px;
    background: var(--pc-primary); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: .3s; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--pc-primary-dark); color: #fff; }

/* ---- Responsive type scale (fluid headings) ---- */
.hero h1 { font-size: clamp(1.7rem, 5.5vw, 2.9rem); }
.section-title h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
.page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.cta-strip h2 { font-size: clamp(1.4rem, 4vw, 2rem); }

@media (max-width: 768px) {
    .hero { padding: 4rem 0; }
    .hero p { font-size: 1rem; }
    .section { padding: 3.5rem 0; }
    .section-title { margin-bottom: 2rem; }
    .info-card, .testimonial-card, .specialty-card .body { padding: 1.4rem; }
    .specialty-card .head { font-size: 1.15rem; padding: 1.1rem 1.3rem; }
    .contact-info-panel, .contact-form-panel { padding: 1.8rem 1.4rem; }
    .faq-aside { padding: 1.8rem 1.4rem; position: static; }
    .cta-strip .phone { font-size: 1.3rem; }
    .topbar { font-size: .78rem; }
}

@media (max-width: 576px) {
    .container { padding-left: 1.1rem; padding-right: 1.1rem; }
    .hero h1 { overflow-wrap: break-word; }
    .hero .hero-actions .btn { display: block; width: 100%; margin: 0 0 .6rem 0; }
    .btn { white-space: normal; }
    .section-title p { font-size: .92rem; }
    .info-card-head { gap: .7rem; }
    .footer-bottom .container { flex-direction: column; gap: .4rem; text-align: center; }
    .contact-line span, .footer-contact li, .faq-help a { word-break: break-word; }
}
