/* =====================================================================
   PEMBROKE HEALTH CENTRE – style.css
   Bootstrap 5 Custom Theme
   ===================================================================== */

/* ─── CSS Variables ──────────────────────────────────────────── */
:root {
    --primary: #5b5b9a;
    /* Indigo */
    --primary-dark: #42427a;
    --accent: #14cfe1;
    /* Cyan */
    --accent-dark: #0f9fb0;
    --highlight-green: #2eac6e;
    /* Green */
    --text-dark: #1e1e2e;
    --text-muted: #6c757d;
    --light-bg: #f8f9fc;
    --white: #ffffff;
    --footer-bg: #2b2b4a;
    --footer-bottom: #1e1e36;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --nav-height: 76px;
    --transition: 0.3s ease;
}

/* ─── Base Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ─── Custom Utilities ───────────────────────────────────────── */
.text-accent {
    color: var(--accent) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

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

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    transition: var(--transition);
}
.btn-accent:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

/* ─── Button Overrides ───────────────────────────────────────── */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── HEADER & NAVBAR ────────────────────────────────────────── */
#pembroke-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
}

#pembroke-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
}

#main-navbar {
    padding: 0;
    min-height: var(--nav-height);
}

/* Logo */
#site-logo {
    display: flex;
    align-items: center;
}

#site-logo img {
    max-height: 64px;
    width: auto;
}

.logo-text-fallback {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

/* Nav links */
#primary-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 10px 11px !important;
    transition: color var(--transition);
    white-space: nowrap;
}

#primary-nav .nav-link:hover,
#primary-nav .nav-link.active {
    color: var(--accent);
}

/* Dropdown */
#primary-nav .dropdown-menu {
    border: none;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 200px;
    margin-top: 0;
    animation: dropFadeIn 0.18s ease;
}

@keyframes dropFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#primary-nav .dropdown-item {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-dark);
    padding: 8px 18px;
    transition: background var(--transition), color var(--transition);
}

#primary-nav .dropdown-item:hover {
    background: var(--primary);
    color: var(--white);
}

/* Dropdown section headers */
#primary-nav .dropdown-header {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 6px 18px 4px;
}

/* Active nav link */
#primary-nav .nav-link.active {
    color: var(--accent) !important;
}

/* Book Online CTA button */
.nav-btn-cta {
    background: var(--accent);
    color: var(--white) !important;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 9px 20px !important;
    border-radius: 4px;
    border: 2px solid var(--accent);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-btn-cta:hover {
    background: transparent;
    color: var(--accent) !important;
    border-color: var(--accent);
}

/* Mobile toggler */
.navbar-toggler {
    border-color: var(--primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235b5b9a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── STICKY APPOINTMENT BUTTON ─────────────────────────────── */
#sticky-appointment-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 10px;
    border-radius: 8px 0 0 8px;
    text-decoration: none !important;
    z-index: 1040;
    box-shadow: -3px 0 20px rgba(0, 0, 0, 0.22);
    transition: background var(--transition), padding var(--transition);
}

#sticky-appointment-btn:hover {
    background: var(--accent);
    padding: 18px 14px;
}

#sticky-appointment-btn i {
    font-size: 1.3rem;
    color: var(--white);
}

.sticky-btn-text {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    line-height: 1.4;
    color: var(--white);
}

/* ─── HERO SLIDER ────────────────────────────────────────────── */
#hero-slider {
    width: 100%;
    position: relative;
}

.pembroke-hero-swiper {
    width: 100%;
    height: 100vh;
    min-height: 560px;
    max-height: 860px;
}

.hero-slide-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(91, 91, 154, 0.95) 0%,
            rgba(91, 91, 154, 0.75) 45%,
            rgba(91, 91, 154, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-title span {
    font-family: 'Great Vibes', cursive;
    font-size: 1.3em;
    /* Script fonts usually need to be a bit larger */
    font-weight: 400;
    color: var(--highlight-green) !important;
    display: inline-block;
    padding-left: 8px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 420px;
}

.btn-hero {
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 13px 32px;
    border-radius: 4px;
    border: 2px solid var(--accent);
    transition: all var(--transition);
}

.btn-hero:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Swiper overrides */
.swiper-button-prev,
.swiper-button-next {
    color: var(--white) !important;
    background: rgba(91, 91, 154, 0.5);
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    transition: background var(--transition);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--accent);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px !important;
    font-weight: 800;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6) !important;
    width: 10px !important;
    height: 10px !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
    width: 28px !important;
    border-radius: 5px !important;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
#pembroke-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-body);
}

.footer-logo {
    max-height: 54px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
}

.footer-about {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-list i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-list a:hover {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem;
    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white) !important;
    transform: translateY(-3px);
}

/* Footer bottom bar */
.footer-bottom {
    background: var(--footer-bottom);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ─── SHARED SECTION HEADER ──────────────────────────────────── */
.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
    padding: 5px 18px;
    margin-bottom: 14px;
    background: rgba(20, 207, 225, 0.06);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-title .script-highlight {
    font-family: 'Great Vibes', cursive;
    font-size: 1.2em;
    font-weight: 400;
    color: var(--highlight-green) !important;
    display: inline;
}
.script-highlight {
    color: var(--highlight-green) !important;
}

.section-desc {
    font-size: 0.97rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ─── SERVICES SECTION ───────────────────────────────────────── */
.services-section {
    padding: 100px 0;
    background: var(--light-bg);
}

/* Card wrapper */
.service-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 340px;
    cursor: pointer;
}

/* Number badge – top left corner */
.svc-number {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--white);
    background: var(--accent);
    border-radius: 50px;
    padding: 4px 12px;
    line-height: 1.6;
    transition: background 0.3s;
}

.service-card:hover .svc-number {
    background: var(--primary);
}

/* Background image */
.svc-img {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.service-card:hover .svc-img img {
    transform: scale(1.08);
}

/* Overlay panel */
.svc-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* default gradient: visible title strip at bottom */
    background: linear-gradient(to top,
            rgba(91, 91, 154, 0.88) 0%,
            rgba(91, 91, 154, 0.35) 50%,
            rgba(91, 91, 154, 0.05) 100%);
    transition: background 0.4s ease;
    border-radius: 18px;

    /* accent border on hover via outline trick */
    box-shadow: inset 0 0 0 0px var(--accent);
    transition: box-shadow 0.35s ease, background 0.4s ease;
}

.service-card:hover .svc-overlay {
    background: linear-gradient(to top,
            rgba(91, 91, 154, 0.96) 0%,
            rgba(91, 91, 154, 0.72) 55%,
            rgba(91, 91, 154, 0.25) 100%);
    box-shadow: inset 0 0 0 3px var(--accent);
}

/* Icon (visible only on hover) */
.svc-overlay-top {
    padding: 0 22px;
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 20px;
}

.svc-icon {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.service-card:hover .svc-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Content body */
.svc-overlay-body {
    padding: 18px 22px 22px;
}

.svc-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
    transition: margin-bottom 0.3s ease;
}

.service-card:hover .svc-title {
    margin-bottom: 10px;
}

.svc-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin-bottom: 14px;
    /* hidden by default, slides in on hover */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease;
}

.service-card:hover .svc-desc {
    max-height: 80px;
    opacity: 1;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s, color 0.2s;
}

.service-card:hover .svc-link {
    opacity: 1;
    transform: translateY(0);
}

.svc-link:hover {
    color: var(--white);
}

.svc-link i {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.svc-link:hover i {
    transform: translateX(4px);
}


/* ─── STATS SECTION ──────────────────────────────────────────── */
.stats-section {
    background: var(--primary);
    padding: 70px 0;
}

.stat-item {
    padding: 10px 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1;
}

.stat-number span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.7em;
    font-weight: 600;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.btn-hero {
    background: var(--accent);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-top: 15px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-hero:hover {
    background: var(--white);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Custom Hero Navigation (Bottom Left) */
#hero-prev,
#hero-next {
    top: auto;
    bottom: 50px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    margin: 0;
}

#hero-prev:hover,
#hero-next:hover {
    background: var(--accent);
    border-color: var(--accent);
}

#hero-prev {
    left: 5vw;
}

#hero-next {
    left: calc(5vw + 65px);
    right: auto;
}

#hero-prev::after,
#hero-next::after {
    font-size: 1.2rem;
}

/* Swiper Pagination Styling (Bottom Right) */
#hero-pagination {
    text-align: right;
    padding-right: 5vw;
    bottom: 65px;
}

#hero-pagination .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

#hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent);
}

/* ─── INNER PAGE HEADERS ─────────────────────────────────────── */
.page-header {
    position: relative;
    padding: 140px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.custom-breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.custom-breadcrumb .breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--accent);
}

.custom-breadcrumb .breadcrumb-item.active {
    color: var(--accent);
}

.custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    line-height: 1;
    vertical-align: middle;
}

.custom-breadcrumb.pill-style {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
}

.custom-breadcrumb.pill-style .breadcrumb-item {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.custom-breadcrumb.pill-style .breadcrumb-item i {
    margin-right: 4px;
}

.page-header-content {
    border-left: 4px solid var(--accent);
    padding-left: 30px;
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
    transform: translateX(-30px);
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    /* Decreased font size */
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.page-hero-title .script-highlight {
    font-family: 'Great Vibes', cursive;
    font-size: 1.4em;
    font-weight: 400;
}

/* ─── ABOUT SECTION ──────────────────────────────────────────── */
.about-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

/* Photo collage grid */
.about-photo-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 20px;
}

.about-photo-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.about-photo {
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-photo:hover img {
    transform: scale(1.04);
}

/* Top row: small left, large right */
.top-row .small-photo {
    width: 42%;
    height: 200px;
}

.top-row .large-photo {
    width: 58%;
    height: 260px;
}

/* Bottom row: large left, small right */
.bottom-row .large-photo {
    width: 58%;
    height: 260px;
}

.bottom-row .small-photo {
    width: 42%;
    height: 200px;
}

/* Right content */
.about-content {
    padding-left: 20px;
}

.about-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
    padding: 5px 18px;
    margin-bottom: 18px;
    background: rgba(46, 172, 110, 0.06);
}

.about-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 18px;
}

.about-heading-script {
    font-family: 'Great Vibes', cursive;
    font-size: 1.25em;
    font-weight: 400;
    color: var(--accent);
    display: block;
    margin-top: 4px;
}

.about-desc {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 500px;
}

/* Checklist */
.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.about-checklist li i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Rating box */
.about-rating-row {
    margin-bottom: 28px;
}

.about-rating-box {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    background: var(--light-bg);
    border-radius: 10px;
    padding: 14px 20px;
    border-left: 4px solid var(--accent);
}

.rating-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.rating-stars {
    color: #f5a623;
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.rating-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.rating-platform {
    font-size: 0.82rem;
    font-weight: 700;
    color: #00b67a;
    margin: 0;
}

.rating-platform i {
    margin-right: 4px;
}

/* About CTA button */
.btn-about-cta {
    background: var(--accent);
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 32px;
    border-radius: 50px;
    border: 2px solid var(--accent);
    transition: all var(--transition);
}

.btn-about-cta:hover {
    background: transparent;
    color: var(--accent) !important;
}

/* ─── TEAM SECTION ───────────────────────────────────────────── */
.team-section {
    padding: 100px 0;
    background: var(--white);
}

.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-card-img-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f4f6f8;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

/* Floating Specialty Tag */
.team-specialty-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Slide-up Socials Overlay */
.team-socials {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 50, 0.85) 0%, rgba(10, 25, 50, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-card:hover .team-socials {
    opacity: 1;
}

.team-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover .team-social-btn {
    transform: translateY(0);
    opacity: 1;
}

.team-social-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1) !important;
}

/* Staggered delay for socials */
.team-social-btn:nth-child(1) {
    transition-delay: 0.05s;
}

.team-social-btn:nth-child(2) {
    transition-delay: 0.1s;
}

.team-social-btn:nth-child(3) {
    transition-delay: 0.15s;
}

/* Info Section */
.team-card-info {
    padding: 22px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 18px;
}

/* Experience Progress Bar */
.team-exp-bar {
    margin-top: auto;
    text-align: left;
}

.team-exp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-exp-track {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.team-exp-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 10px;
    /* Animate on hover */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-card:hover .team-exp-fill {
    transform: scaleX(1);
}

/* ─── TESTIMONIALS SECTION ───────────────────────────────────── */
.testimonials-section {
    padding: 100px 0;
    background: var(--primary);
    /* Dark navy background */
    overflow: hidden;
}

.testimonial-nav {
    display: flex;
    gap: 15px;
}

.testi-prev,
.testi-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testi-prev:hover,
.testi-next:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.testi-swiper {
    overflow: hidden;
    padding: 20px 0;
    /* Add slight vertical padding for box-shadows */
}

.testi-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 35px 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    height: 100%;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: rgba(46, 172, 110, 0.1);
    line-height: 1;
}

.testi-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 25px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.2rem;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 2px;
}

.author-role {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── BLOG SECTION ───────────────────────────────────────────── */
.blog-section {
    padding: 100px 0;
    background: #f9fafb;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-date {
    position: absolute;
    bottom: -20px;
    right: 25px;
    background: var(--accent);
    color: var(--white);
    width: 55px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(46, 172, 110, 0.3);
    z-index: 2;
}

.blog-date .day {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.blog-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.blog-card-body {
    padding: 35px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--accent);
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: var(--accent);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.blog-read-more:hover {
    color: var(--accent);
    gap: 12px;
}

/* ─── SERVICE DETAILS PAGE (MEGA LAYOUT) ─────────────────────── */
.mega-service-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.mega-service-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--light-bg), transparent);
    z-index: 1;
}

.mega-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
}

.mega-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    opacity: 0.9;
}

.floating-content-section {
    position: relative;
    z-index: 10;
    margin-top: -100px;
}

.floating-card {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sticky-sidebar {
    position: sticky;
    top: 120px;
}

/* Condition Grid */
.condition-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, background 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.condition-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding-left: 20px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(0, 0, 0, 0.08);
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -20px;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.step-content {
    padding-top: 8px;
}

/* Premium Booking Card */
.premium-booking-card {
    background: linear-gradient(135deg, var(--primary), #112946);
    position: relative;
    overflow: hidden;
}

.premium-booking-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.pulse-icon i {
    animation: pulseHeart 2s infinite;
}

@keyframes pulseHeart {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Custom Accordion */
.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    margin-bottom: 10px;
}

.custom-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    padding: 20px 0;
    background: transparent;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: transparent;
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    filter: grayscale(1);
    opacity: 0.5;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: none;
    opacity: 1;
}

.custom-accordion .accordion-body {
    padding: 0 0 25px 0;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── RESPONSIVE TWEAKS ──────────────────────────────────────── */
@media (max-width: 1199px) {
    #primary-nav .nav-link {
        font-size: 0.85rem;
        padding: 10px 8px !important;
    }
}

@media (max-width: 991px) {
    .pembroke-hero-swiper {
        height: 70vh;
        min-height: 420px;
    }

    .hero-content {
        padding: 30px 10px;
    }

    .col-lg-6.offset-lg-6 {
        max-width: 100%;
        flex: 0 0 100%;
        margin-left: 0;
    }

    .hero-overlay {
        background: rgba(10, 25, 50, 0.60);
    }
}

@media (max-width: 767px) {
    .pembroke-hero-swiper {
        height: 90vw;
        min-height: 360px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    #sticky-appointment-btn {
        padding: 12px 8px;
    }

    .sticky-btn-text {
        font-size: 0.6rem;
    }
}