/*
Theme Name: Edgard El Chaar DDS
Theme URI:
Author: 45Press
Description: Custom WordPress theme for Dr. Edgard El Chaar, DDS, PC - Periodontics and Implant Dentistry practice in New York City.
Version: 1.0.0
Text Domain: edgar-el-chaar-dds
*/

/* FONTS */
@font-face {
    font-family: 'Prata';
    src: url('./assets/fonts/Prata-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Marcellus';
    src: url('./assets/fonts/Marcellus-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('./assets/fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('./assets/fonts/glacial-indifference.bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS CUSTOM PROPERTIES */
:root {
    --header-height: 106px;
    --primary: #68505D;
    --primary-dark: #574250;
    --primary-light: #7D6570;
    --text-dark: #151515;
    --text-medium: #151515;
    --text-light: #777777;
    --bg-white: #FFFFFF;
    --bg-purple: #CBC7CB;
    --bg-blue: #BFCBCE;
    --bg-light-blue: #F0F8F9;
    --bg-light: #F2EAE6;
    --bg-warm: #E8E3DE;
    --heading-color: #68505D;
    --bg-nav: #88A3AE;
    --bg-nav-dark: #7494A1;
    --bg-footer: #88A3AE;
    --bg-institute: #BCCBCF;
    --caption-bg: rgba(213, 204, 200, 0.85);
    --border-light: #C5BDB5;
    --font-heading: 'Prata', 'Georgia', serif;
    --font-subheading: 'Marcellus', 'Georgia', serif;
    --font-body: 'Glacial Indifference', 'Helvetica Neue', Arial, sans-serif;
}

/* RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 17.5px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1;
    color: #2A2A2A;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul,
ol {
    list-style: none;
}

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

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 80px;
}

.site-header .container {
    max-width: none;
    padding: 0 40px;
}

.site-footer .container {
    padding: 0;
}

/*  BUTTONS */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--bg-nav);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--bg-nav-dark);
}

.site-header .btn-primary {
    background-color: #FFFFFF;
    color: var(--primary);
}

.site-header .btn-primary:hover {
    background-color: #f0f0f0;
}

.btn-secondary {
    background-color: var(--primary);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}

/* HEADER / NAVIGATION */
.site-header {
    background-color: var(--bg-nav);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 250px;
}

.header-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.header-logo-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.3;
}

.header-logo-text span {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 2px;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex: 1;
}

.primary-nav li {
    list-style: none;
    position: relative;
}

/* Parent items with dropdowns are not clickable */
.primary-nav > li.menu-item-has-children > a {
    pointer-events: none;
    cursor: default;
}

/* Submenu toggle button — mobile only */
.submenu-toggle {
    display: none;
}

/* Down caret on parent items */
.primary-nav > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.75);
    margin-left: 7px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* DROPDOWN */
.primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-nav-dark);
    min-width: 200px;
    padding: 6px 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    list-style: none;
}

.primary-nav .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.primary-nav li:hover > .sub-menu {
    display: block;
}

.primary-nav .sub-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 0.8125rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.primary-nav .sub-menu li:last-child a {
    border-bottom: none;
}

.primary-nav .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.primary-nav a {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.primary-nav a:hover {
    color: #E0D6DA;
}

.header-cta {
    flex: 0 0 250px;
    text-align: right;
}

.header-cta .btn {
    padding: 14px 35px;
    font-size: 0.8125rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #FFFFFF;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* VIDEO HERO SECTION */
.video-hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
}

.video-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .video-hero-section {
        height: calc(100svh - var(--header-height));
    }
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(to right, #CCC6CB, #F5F3F5);
    display: flex;
    align-items: stretch;
    min-height: 550px;
    overflow: hidden;
}

.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 80px 60px 80px 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 3vw + 0.5rem, 3.5rem);
    line-height: 1.25;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1.1rem, 1vw + 0.4rem, 1.25rem);
    color: var(--text-medium);
    margin-bottom: 35px;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    overflow: hidden;
    border-radius: 999px 0 0 999px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* EXCELLENCE SECTION */
.excellence-section {
    padding: 10px 0 0;
    background-color: #BDCBCE;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.excellence-section .container {
    padding: 0px 2rem !important;
    max-width: 95%;
}

.excellence-section::after {
    content: '';
    display: block;
    height: 16px;
    background-color: #ffffff;
}

.excellence-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 90px;
}

.excellence-icon {
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    width: clamp(80px, 10vw, 145px);
    height: clamp(80px, 10vw, 145px);
}

.excellence-icon img {
    width: clamp(80px, 10vw, 145px);
    height: clamp(80px, 10vw, 145px);
    border-radius: 50%;
    object-fit: cover;
    background: #BDCBCE;
    transform: translateY(calc(25% + 8px));
    display: block;
}


.excellence-section h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: #ffffff;
}

.excellence-divider {
    display: none;
}

/* ABOUT DR SECTION */
.about-dr-section {
    display: flex;
    min-height: 600px;
    background-color: var(--bg-light);
}

.about-dr-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.about-dr-image img {
    max-height: 700px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-dr-content {
    flex: 1;
    padding: 50px 50px 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-dr-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.about-dr-credentials {
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.5;
    margin-bottom: 30px;
}

.about-dr-credentials p {
    margin-bottom: 2px;
}

.about-dr-bio p {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 18px;
}

/* OUR TEAM SECTION */
.team-section {
    padding: 70px 0 0;
    padding-top: 90px;
    text-align: center;
    background: linear-gradient(to top, #b8c4cc, #f0f0f0);
}

.team-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw + 0.4rem, 2.85rem);
    color: var(--heading-color);
    margin-bottom: 15px;
}

.team-section>.container>p {
    font-size: clamp(0.9rem, 0.75vw + 0.3rem, 1rem);
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.team-section .btn {
    position: relative;
    z-index: 2;
}

.team-section .container {
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
}

.team-photo {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin-top: -5%;
}

.team-photo img {
    max-width: 1200px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    max-height: 550px;
}

/* OUR DENTAL OFFICE SECTION */
.office-section {
    padding: 70px 0 80px;
    text-align: center;
    background-color: var(--bg-white);
}

.office-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw + 0.4rem, 2.85rem);
    margin-bottom: 10px;
}

.office-section>.container>p {
    font-size: clamp(0.9rem, 0.75vw + 0.3rem, 1rem);
    color: var(--text-medium);
    margin-bottom: 40px;

}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.office-card {
    position: relative;
    overflow: hidden;

}

.office-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.office-card-caption {
    background-color: var(--bg-purple);
    padding: 14px 20px;
    text-align: center;
}

.office-card-caption h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color);
}

.office-cta {
    text-align: center;
    margin-top: 40px;
}

/* STATS SECTION */
.stats-section {
    display: none;
    padding: 70px 0;
    background-color: var(--bg-blue);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-circle {
    width: 245px;
    height: 245px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 10px;
}

.stat-number {
    font-family: var(--font-body);
    font-size: clamp(2.75rem, 3vw + 0.5rem, 3.75rem);
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--primary);
    max-width: 170px;
    margin: 6px auto 0;
    line-height: 1.6;
    text-align: center;
}

/* PODCAST SECTION  */
.podcast-section {
    background-color: var(--bg-purple);
    padding: 80px 20px;
}

.podcast-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.podcast-host-col {
    display: flex;
    flex-direction: column;
}

.podcast-host-top {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.podcast-host-img {
    width: 170px;
    flex-shrink: 0;
}

.podcast-host-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
}

.podcast-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1.2;
}

.podcast-host-col p {
    font-size: 0.9rem;
    margin-bottom: 24px;
    color: var(--text-medium);
    line-height: 1.6;
}

.podcast-host-col > .btn {
    align-self: flex-start;
}

/* Episode slider column */
.podcast-episodes-col {
    display: flex;
    flex-direction: column;
}

.podcast-episodes-slider {
    flex: 1;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Episode cards */
.episode-card {
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border-radius: 10px 10px 0 0;
}

.episode-card-img-wrap {
    position: relative;
    font-size: 0;
    line-height: 0;
}

.episode-card-img-wrap > img:not(.episode-card-icon) {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
}

.episode-card-icon {
    position: absolute;
    bottom: 0;
    left: 14px;
    transform: translateY(50%);
    width: 64px;
    height: 64px;
    object-fit: contain;
    z-index: 1;
}

.episode-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 20px;
}

.episode-card.has-icon .episode-card-body {
    padding-top: 40px;
}

.episode-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 10px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.episode-card p {
    font-size: 0.78rem;
    color: var(--text-medium);
    opacity: 0.75;
    margin-bottom: 16px;
    line-height: 1.5;
}

.episode-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Slider controls */
.slider-controls {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
}

.slider-arrows {
    position: absolute;
    left: 0;
    display: flex;
    gap: 5px;
}

.slider-arrows button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary);
    transition: all 0.3s ease;
}

.slider-arrows button:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(104, 80, 93, 0.25);
    cursor: pointer;
    transition: background 0.2s;
}

.slider-dot.active {
    background: var(--primary);
}

/* btn-sm utility */
.btn-sm {
    padding: 8px 22px;
    font-size: 0.72rem;
}

/* INSTAGRAM SECTION */
.instagram-section {
    padding: 60px 0;
    background-color: var(--bg-light-blue);
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.instagram-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
}

.instagram-handle {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.25rem;
}

.instagram-cta {
    text-align: center;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    position: relative;
    padding: 80px 0;
    padding-left: 10%;
    padding-right: 0px !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.testimonials-section .container {
    padding-right: 0;
}

.testimonials-content-wrap {
    background-color: var(--bg-purple);
    padding: 60px clamp(30px, 5vw, 80px) 60px clamp(30px, 5vw, 80px);
    margin-right: 0;
    position: relative;
    z-index: 2;
}

.testimonials-inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.testimonials-left {
    flex: 0 0 280px;
}

.testimonials-quote-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    min-width: 45px;
    border-radius: 50%;
    background-color: var(--bg-white);

    font-size: 7.5rem;
    line-height: 1;
    color: var(--primary);
    font-family: Georgia, serif;
    padding-top: 65px;
    margin-bottom: 0px;
}

.testimonials-left h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.testimonials-stars {
    color: var(--bg-white);
    font-size: 1.55rem;
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.testimonials-rating-text {
    font-size: 0.875rem;
    color: var(--primary);
}

.testimonials-right-wrapper {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.testimonials-carousel {
    display: flex;
    gap: 20px;
}

.testimonial-card {
    flex: 0 0 calc((100% - 40px) / 3);
    background: var(--bg-white);
    padding: 30px;
    border-radius: 4px;
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.testimonial-card-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #FFFFFF;
    font-family: Georgia, serif;
    font-size: 3.5rem;
    padding-top: 28px;
}

.testimonial-card-stars {
    color: var(--primary);
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.testimonial-card p {
    font-size: 0.875rem;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 18px;
}

.testimonial-card .reviewer {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.testimonials-arrows {
    display: flex;
    gap: 5px;
}

.testimonials-arrows button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.testimonials-arrows button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;

    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dots span.active {
    background-color: var(--primary);
    outline: 1px solid var(--bg-white);
}

/* EEC INSTITUTE SECTION */
.institute-section {
    padding: 40px 0 80px;
    background-color: var(--bg-light-blue);
    text-align: center;
}

.institute-logo {
    max-width: 250px;
    margin: 0 auto 16px;
}

.institute-logo img {
    width: 100%;
    height: auto;
}

.institute-description {
    max-width: 1100px;
    margin: 0 auto 35px;
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ABOUT INSTITUTE SECTION */
.about-institute-section {
    display: flex;
    min-height: 500px;
    background-color: var(--bg-white);
}

.about-institute-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.about-institute-image img {
    max-height: 700px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-institute-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-institute-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw + 0.4rem, 2.6rem);
    margin-bottom: 25px;
}

.about-institute-content p {
    font-size: clamp(0.875rem, 0.75vw + 0.3rem, 1rem);
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 18px;
}

/* FOOTER */
.site-footer {
    background-color: var(--bg-footer);
    padding: 50px 60px 40px;
    color: #FFFFFF;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.3;
}

.footer-logo-text span {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 2px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
}

.footer-column h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.footer-column a {
    display: block;
    color: #FFFFFF;
    font-size: 0.9375rem;
    margin-bottom: 6px;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 0.8;
}

.footer-column p {
    color: #FFFFFF;
    font-size: 0.9375rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.footer-hours-location {
    margin-bottom: 15px;
}

.footer-hours-location h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    color: #FFFFFF;
    margin-bottom: 5px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .podcast-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .podcast-host-top {
        flex-wrap: wrap;
    }

    .testimonials-inner {
        flex-direction: column;
    }

    .testimonials-left {
        flex: none;
        text-align: center;
    }

    .testimonials-right-wrapper {
        width: 100%;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .footer-columns {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 30px;
    }

    .excellence-inner {
        height: auto;
        padding: 12px 0;
        align-items: center;
    }

    .excellence-icon img {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .primary-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .primary-nav.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--bg-nav);
        padding: 16px 30px 24px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .primary-nav.active a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        width: 100%;
        font-size: 0.9375rem;
    }

    .primary-nav.active li:last-child a {
        border-bottom: none;
    }

    .primary-nav.active li.menu-item-has-children {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .primary-nav.active li.menu-item-has-children > a {
        pointer-events: none;
        cursor: default;
        flex: 1;
        width: auto;
        border-bottom: none;
    }

    .primary-nav.active li.menu-item-has-children > a::after {
        display: none;
    }

    .submenu-toggle {
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.75);
        padding: 12px 8px;
        cursor: pointer;
        font-size: 0.75rem;
        line-height: 1;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .submenu-toggle.is-open {
        transform: rotate(180deg);
    }

    .primary-nav.active li.menu-item-has-children > a + .submenu-toggle {
        display: inline-flex;
        align-items: center;
    }

    .primary-nav.active .sub-menu {
        display: none;
        width: 100%;
        position: static;
        transform: none;
        box-shadow: none;
        background: none;
        border-radius: 0;
        min-width: 0;
        padding: 0;
    }

    .primary-nav.active .sub-menu.is-open {
        display: block;
    }

    .primary-nav.active .sub-menu a {
        padding: 10px 0 10px 20px;
        font-size: 0.875rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        letter-spacing: 1px;
        color: rgba(255, 255, 255, 0.85);
    }

    .primary-nav.active .sub-menu li:last-child a {
        border-bottom: none;
    }

    .hero-section {
        flex-direction: column;
        min-height: auto;
    }

    .hero-content {
        flex: none;
        max-width: 100%;
        padding: 50px 30px;
    }

    .hero-image {
        height: 380px;
        border-radius: 0;
    }

    .excellence-section h2 {
        font-size: 1.325rem;
    }

    .excellence-inner {
        height: auto;
        padding: 12px 0;
        align-items: center;
    }

    .excellence-icon img {
        transform: translateY(0);
    }

    .about-dr-section {
        flex-direction: column;
    }

    .about-dr-image {
        flex: none;
        max-width: 100%;
        height: 400px;
    }

    .about-dr-content {
        padding: 30px;
    }

    .office-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        justify-items: center;
    }

    .stat-circle {
        width: 200px;
        height: 200px;
        padding: 12px;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-description {
        max-width: 145px;
        font-size: 0.75rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonials-section {
        padding-left: 0;
    }

    .testimonials-inner {
        flex-direction: column;
    }

    .testimonials-left {
        flex: none;
        text-align: center;
    }

    .about-institute-section {
        flex-direction: column;
    }

    .about-institute-image {
        flex: none;
        max-width: 100%;
        height: 350px;
    }

    .about-institute-content {
        padding: 30px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

}

@media (max-width: 480px) {
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        justify-items: center;
    }

    .stat-circle {
        width: 155px;
        height: 155px;
        padding: 10px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-description {
        font-size: 0.65rem;
        max-width: 120px;
        line-height: 1.35;
    }

    .podcast-host-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .podcast-episodes-slider {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        flex-direction: column;
        gap: 16px;
    }

    .slider-arrows {
        position: static;
    }

    .excellence-inner {
        flex-direction: row;
        align-items: center;
        text-align: left;
        height: auto;
        padding: 12px 0;
    }

    .excellence-icon img {
        transform: translateY(0);
        width: 70px;
        height: 70px;
    }
}

/* ========================================
   LOCATIONS PAGE
   ======================================== */

/* SECTION 1: INTRO SPLIT */
.loc-intro-section {
    display: flex;
    min-height: 560px;
    max-height: 640px;
    overflow: hidden;
}

.loc-intro-content {
    flex: 0 0 48%;
    max-width: 48%;
    padding: 50px 100px;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    overflow: hidden;
}

.loc-intro-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw + 0.5rem, 3.5rem);
    color: var(--heading-color);
    margin-bottom: 30px;
}

.loc-intro-content p {
    font-size: clamp(0.875rem, 0.75vw + 0.4rem, 1rem);
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 18px;
}

.loc-intro-content .btn {
    margin-top: 20px;
    align-self: flex-start;
}

.loc-intro-content .btn-outline {
    background-color: var(--bg-nav);
    color: #FFFFFF;
    border-color: var(--bg-nav);
}

.loc-intro-content .btn-outline:hover {
    background-color: #7A9097;
    border-color: #7A9097;
}

.loc-intro-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.loc-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SECTION 2: PLAN YOUR VISIT */
.loc-plan-section {
    padding: 90px 30px 50px;
    background: linear-gradient(to bottom, var(--bg-purple), #ffffff);
    text-align: center;
}

.loc-plan-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: black;
    margin-bottom: 25px;
}

.loc-plan-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 3vw + 0.5rem, 3rem);
    color: var(--heading-color);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.3;
}

/* SECTION 3: LOCATION CARDS */
.loc-cards-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.loc-cards-section .container {
    max-width: 1100px;
}

.loc-cards-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.loc-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.loc-card-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 18px;
}

.loc-card-image-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.loc-card-caption {
    display: block;
    background-color: var(--bg-purple);
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 400;
    padding: 10px 16px;
}

.loc-card address {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 14px;
}

.loc-card-phone {
    font-size: 0.9375rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.loc-card-phone a:hover {
    color: var(--primary);
}

.loc-card>.btn {
    align-self: flex-start;
}

.loc-cards-center {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.loc-cards-center h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2vw + 0.4rem, 2.25rem);
    color: var(--heading-color);
    margin-bottom: -18px;
}

.loc-cards-center p {
    font-size: 0.9375rem;
    color: var(--text-dark);
}

/* LOCATIONS RESPONSIVE */
@media (max-width: 900px) {
    .loc-intro-section {
        flex-direction: column;
    }

    .loc-intro-content {
        flex: none;
        max-width: 100%;
        padding: 60px 30px;
    }

    .loc-intro-image {
        height: 400px;
    }

    .loc-cards-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .loc-cards-center {
        flex: none;
        order: -1;
        padding-top: 0;
    }

    .loc-card-image-wrap img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .loc-intro-content {
        padding: 40px 20px;
    }

    .loc-intro-image {
        height: 280px;
    }

    .loc-plan-section {
        padding: 60px 20px;
    }

    .loc-cards-section {
        padding: 50px 0;
    }
}

/* ========================================
   SERVICES PAGE
   ======================================== */

/* HERO */
.svc-hero-section {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-blue);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 1;
}

.svc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 60px 30px;
}

.svc-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw + 0.5rem, 3.25rem);
    color: var(--heading-color);
    margin-bottom: 20px;
}

.svc-hero-content p {
    font-size: clamp(0.9rem, 1vw + 0.3rem, 1.1rem);
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 30px;
}

/* BANNER */
.svc-banner-section {
    background-color: #BDCBCE;
    padding: 8px 0 0;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.svc-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 8px;
    overflow: visible;
    height: 100px;
}

.svc-banner-left,
.svc-banner-right {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw + 0.3rem, 1.55rem);
    color: #ffffff;
    flex: 1;
}

.svc-banner-right {
    text-align: right;
}

.svc-banner-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    transform: translateY(calc(20% + 8px));
}

.svc-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc-banner-border {
    height: 16px;
    background-color: #ffffff;
}

/* DENTAL SERVICES CARDS */
.dental-cards-section {
    padding: 70px 60px;
    background: linear-gradient(to bottom, #87999D, #F7F7F8);
}

.dental-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(380px, auto);
    gap: 48px;
}

.dental-card {
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 36px 30px;
    overflow: hidden;
}

.dental-card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.dental-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.dental-card-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.3;
}

.dental-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dental-card-body p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-top: auto;
}

.dental-card-read-more {
    color: var(--primary);
    font-style: italic;
    white-space: nowrap;
}

.dental-card-read-more:hover {
    text-decoration: underline;
}

.dental-card--image-only {
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    background: none;
}

.dental-card--image-only img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Laptop */
@media (max-width: 1200px) {
    .dental-cards-section {
        padding: 70px 40px;
    }

    .dental-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(340px, auto);
        gap: 36px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .dental-cards-section {
        padding: 60px 24px;
    }

    .dental-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(300px, auto);
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 580px) {
    .dental-cards-section {
        padding: 50px 16px;
    }

    .dental-cards-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(280px, auto);
        gap: 16px;
    }
}

/* GRID */
.svc-grid-section {
    padding: 70px 0;
    background: none;
}

.svc-sections-wrap {
    background: linear-gradient(180deg, #91A2A8 0%, var(--bg-light-blue) 100%);
}

.svc-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #D9CDC1;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    padding: 32px 24px;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.svc-card-image {
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
}

.svc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.svc-card:hover .svc-card-image img {
    transform: scale(1.04);
}

.svc-card-label {
    display: block;
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

/* TECHNOLOGY SECTION */
.svc-tech-section {
    padding-top: 0;
    background: none;
}

.svc-tech-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2vw + 0.5rem, 2.5rem);
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 40px;
}

.svc-card--tech {
    background: #D9CDC1;
}

/* SINGLE SERVICE PAGE */
.single-svc-section {
    padding: 70px 0 90px;
    background-color: var(--bg-white);
}

.single-svc-back {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 40px;
    font-family: var(--font-body);
    transition: color 0.2s;
}

.single-svc-back:hover {
    color: var(--primary-dark);
}

.single-svc-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.single-svc-image {
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 8px;
    overflow: hidden;
}

.single-svc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-svc-content {
    flex: 1;
}

.single-svc-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 2.5vw + 0.5rem, 2.75rem);
    color: var(--heading-color);
    margin-bottom: 24px;
}

.single-svc-content p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 18px;
}

.single-svc-content .btn {
    margin-top: 16px;
}

/* SERVICES RESPONSIVE */
@media (max-width: 900px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-banner-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        padding: 20px 0 28px;
        gap: 12px;
    }

    .svc-banner-right {
        text-align: center;
    }

    .svc-banner-icon {
        transform: translateY(0);
        width: 72px;
        height: 72px;
    }

    .single-svc-inner {
        flex-direction: column;
    }

    .single-svc-image {
        flex: none;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }

    .svc-hero-section {
        min-height: 380px;
    }
}

/* ========================================
   DOCTORS PAGE
   ======================================== */

/* HERO */
.doc-hero-section {
    display: flex;
    min-height: 460px;
    max-height: 540px;
    overflow: hidden;
    background-color: var(--bg-purple);
}

.doc-hero-content {
    flex: 0 0 42%;
    max-width: 42%;
    padding: 40px 80px;
    background-color: var(--bg-purple);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    overflow: hidden;
}

.doc-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw + 0.5rem, 3.25rem);
    color: var(--heading-color);
    margin-bottom: 20px;
}

.doc-hero-content p {
    font-size: clamp(0.875rem, 0.75vw + 0.4rem, 1rem);
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 30px;
}

.doc-hero-content .btn {
    align-self: flex-start;
}

.doc-hero-content .btn-primary {
    background-color: #FFFFFF;
    color: var(--primary);
}

.doc-hero-content .btn-primary:hover {
    background-color: #f0f0f0;
    color: var(--primary);
}

.doc-hero-image {
    flex: 1;
    overflow: hidden;
    border-radius: 999px 0 0 999px;
}

.doc-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* GRID */
.doc-grid-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #91A2A8 0%, var(--bg-light-blue) 100%);
}

.doc-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.doc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 80px;
    justify-content: center;
    align-items: flex-start;
}

.doc-grid .doc-card {
    flex: 0 0 calc(33.333% - 56px);
}

.doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 100%;
    max-width: 480px;
    transition: transform 0.25s ease;
}

.doc-card:hover {
    transform: translateY(-4px);
}

.doc-card-image {
    width: 100%;
    overflow: hidden;
    border-radius: 120px 120px 0 0;
    margin-bottom: 16px;
}

.doc-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}

@media (hover: hover) {
    .doc-card:hover .doc-card-image img {
        transform: scale(1.03);
    }
}

.doc-card-name {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw + 0.3rem, 1.2rem);
    font-weight: 600;
    color: var(--heading-color);
    text-align: center;
}

/* DOCTOR BIO ACCORDION */
.doc-card--expandable {
    cursor: pointer;
}

.doc-card--expandable .doc-card-trigger {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-card-subtitle {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--primary);
    text-align: center;
    margin-top: 4px;
    letter-spacing: 0.03em;
    opacity: 0.8;
}

.doc-card-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    color: var(--primary);
    opacity: 0.7;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
}

.doc-card--expandable:hover .doc-card-chevron {
    opacity: 1;
}

.doc-card.is-open .doc-card-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.doc-bio-drawer {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    opacity: 0;
    transition: grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease 0.05s;
}

.doc-card.is-open .doc-bio-drawer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.doc-bio-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 2px;
}

.doc-bio-credentials {
    padding-top: 20px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.65;
    opacity: 0.85;
}

.doc-bio-credentials p {
    margin: 0 0 5px;
}

.doc-bio-text {
    padding-top: 14px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.75;
    padding-bottom: 8px;
}

.doc-bio-text p {
    margin: 0 0 12px;
}

.doc-bio-text p:last-child {
    margin-bottom: 0;
}

/* OPEN CARD — expands to full width at top of grid */
.doc-grid.has-open .doc-card.is-open {
    flex: 0 0 100%;
    order: -1;
    max-width: 100%;
    z-index: 2;
}

.doc-grid.has-open .doc-card:not(.is-open) {
    order: 0;
}

.doc-card.is-open .doc-bio-drawer {
    width: min(820px, 90%);
}

.doc-card.is-open .doc-bio-inner {
    padding: 28px 40px 20px;
}

.doc-card.is-open .doc-card-image {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.doc-card.is-open .doc-card-name {
    font-size: 1.35rem;
}

.doc-card.is-open .doc-bio-text {
    font-size: 0.96rem;
    line-height: 1.75;
}

/* LOCATIONS HERO CAROUSEL */
.loc-hero-carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.loc-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.45, 0, 0.25, 1);
    pointer-events: none;
}

.loc-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.loc-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.loc-hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.loc-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.35s ease, transform 0.35s ease;
}

.loc-hero-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* SINGLE DOCTOR PAGE */
.single-doc-section {
    padding: 70px 0 90px;
    background-color: var(--bg-white);
}

.single-doc-back {
    display: inline-block;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.single-doc-back:hover {
    color: var(--primary-dark);
}

.single-doc-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.single-doc-image {
    flex: 0 0 340px;
    max-width: 340px;
    border-radius: 120px 120px 0 0;
    overflow: hidden;
}

.single-doc-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.single-doc-content {
    flex: 1;
}

.single-doc-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 2.5vw + 0.5rem, 2.75rem);
    color: var(--heading-color);
    margin-bottom: 6px;
}

.single-doc-title {
    font-size: 1rem;
    color: var(--primary-light);
    margin-bottom: 24px;
    font-style: italic;
}

.single-doc-credentials {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.single-doc-credentials p {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 6px;
}

.single-doc-bio p {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.single-doc-content .btn {
    margin-top: 24px;
}

/* DOCTORS RESPONSIVE */
@media (max-width: 900px) {
    .doc-hero-section {
        flex-direction: column;
        max-height: none;
    }

    .doc-hero-content {
        flex: none;
        max-width: 100%;
        padding: 50px 30px;
    }

    .doc-hero-image {
        height: 380px;
        border-radius: 0;
    }

    .doc-grid .doc-card {
        flex: 0 0 calc(50% - 20px);
    }

    .single-doc-inner {
        flex-direction: column;
    }

    .single-doc-image {
        flex: none;
        max-width: 280px;
        margin: 0 auto;
    }

    .loc-cards-center {
        padding-bottom: .5rem;
    }
}

@media (max-width: 600px) {
    .doc-hero-content {
        padding: 40px 20px;
    }

    .doc-hero-image {
        height: 260px;
    }

    .doc-grid .doc-card {
        flex: 0 0 calc(100% - 0px);
        max-width: 300px;
    }
}

/* Mobile: disable FLIP reorder — simple dropdown only */
@media (max-width: 768px) {
    .doc-grid.has-open .doc-card.is-open {
        flex: unset;
        order: unset;
        max-width: unset;
    }

    .doc-grid.has-open .doc-card:not(.is-open) {
        order: unset;
    }

    .doc-card.is-open .doc-card-image {
        transform: none;
        transition: none;
        max-width: unset;
        margin-left: unset;
        margin-right: unset;
    }

    .doc-card.is-open .doc-bio-drawer {
        width: 100%;
    }
}

/* ========================================
   ABOUT PAGE
   ======================================== */

/* SECTION 1: SPLIT */
.about-split-section {
    display: flex;
    min-height: 420px;
}

.about-split-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 80px 100px;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.about-split-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 2.5vw + 0.5rem, 2.75rem);
    color: var(--primary-dark);
    margin-bottom: 36px;
}

.about-split-content p {
    font-size: clamp(0.875rem, 0.7vw + 0.4rem, 1rem);
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.about-split-content p:last-child {
    margin-bottom: 0;
}

.about-split-image {
    flex: 1;
    overflow: hidden;
    padding: 0;
    align-self: stretch;
}

.about-split-image-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-split-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* SECTION 2: BANNER */
.about-banner-section {
    background-color: var(--bg-purple);
    padding: 10px 0 0;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.about-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 8px;
    overflow: visible;
    height: 100px;
}

.about-banner-left,
.about-banner-right {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2vw + 0.3rem, 13rem);
    color: var(--heading-color);
    flex: 1;
}

.about-banner-right {
    text-align: right;
}

.about-banner-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    transform: translateY(calc(50% + 8px));
}

.about-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-banner-border {
    height: 16px;
    background-color: var(--primary-dark);
}

/* SECTION 3: SURVEY RESULTS */
.about-survey-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #91A2A8 0%, var(--bg-light-blue) 100%);
}

.about-survey-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2vw + 0.5rem, 2.25rem);
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
    line-height: 1.3;
}

.about-survey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.about-survey-card {
    padding: 70px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    min-height: 280px;
}

.about-survey-card--blue {
    background-color: var(--bg-nav);
}

.about-survey-card--beige {
    background-color: var(--bg-warm);
}

.about-survey-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw + 0.5rem, 5rem);
    color: #FFFFFF;
    line-height: 1;
}

.about-survey-card--beige .about-survey-number {
    color: var(--primary);
}

.about-survey-card p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: #FFFFFF;
    line-height: 1.45;
}

.about-survey-card--beige p {
    color: var(--primary);
}

.about-survey-footnote {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--primary);
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* SECTION 4: VISION & MISSION */
.about-vm-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 130px 60px;
}

.about-vm-overlay {
    display: none;
}

.about-vm-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: -30px auto 0;
}

.about-vm-col {
    flex: 1;
    text-align: center;
    padding: 0 60px;
}

.about-vm-col h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.about-vm-col p {
    font-family: var(--font-subheading);
    font-size: clamp(0.9rem, 0.75vw + 0.4rem, 1.05rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
}

.about-vm-divider {
    width: 1px;
    align-self: stretch;
    background-color: var(--primary);
    opacity: 0.3;
    flex-shrink: 0;
}

/* ABOUT IMAGE ROW */
.about-image-row-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.about-image-row-item {
    padding: 70px 37px;
}

.about-image-row-item img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ABOUT RESPONSIVE */
@media (max-width: 900px) {
    .about-banner-section {
        display: none;
    }

    .about-split-section {
        flex-direction: column;
        min-height: auto;
    }

    .about-split-content {
        flex: none;
        max-width: 100%;
        padding: 60px 30px;
    }

    .about-split-image {
        min-height: 420px;
    }

    .about-split-image-frame {
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .about-survey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .about-survey-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-vm-inner {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .about-vm-divider {
        width: 60px;
        height: 1px;
        align-self: auto;
    }

    .about-vm-col {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .about-split-content {
        padding: 40px 20px;
    }

    .about-split-image {
        min-height: 320px;
    }

    .about-vm-section {
        padding: 70px 20px;
    }

    .about-image-row-section {
        grid-template-columns: 1fr;
    }

    .about-image-row-item {
        padding: 30px 37px;
    }

    .about-image-row-item img {
        height: auto;
        object-fit: unset;
    }
}

/* ========================================
   LOCATION CONTACT MODALS
   ======================================== */
/* ========================================
   404 PAGE
   ======================================== */
.error-404-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background-color: var(--bg-white);
    text-align: center;
}

.error-404-inner {
    max-width: 560px;
}

.error-404-code {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 9rem);
    color: var(--bg-purple);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw + 0.5rem, 2.5rem);
    color: var(--primary);
    margin-bottom: 20px;
}

.error-404-message {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

.error-404-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Temporarily hidden */
.loc-cards-center .btn {
    display: none;
}

.loc-contact-btn:hover {
    background-color: #68505D !important;
    color: #fff !important;
    border-color: #68505D !important;
}

.loc-card-btns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    align-self: flex-start;
}

.loc-card-btns .btn {
    margin: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loc-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loc-modal[hidden] {
    display: none;
}

.loc-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

.loc-modal-box {
    position: relative;
    background: #F8F6F7;
    border-radius: 6px;
    padding: 48px 48px 40px;
    width: 90%;
    max-width: 740px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.loc-modal-heading {
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 0 0 20px;
    font-size: clamp(1.4rem, 2vw + 0.5rem, 1.9rem);
}

.loc-modal-x {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
}

.loc-modal-x:hover {
    color: var(--primary-dark);
}

/* Field spacing */
.loc-modal-box .gform_wrapper .gform_fields {
    row-gap: 13px !important;
}

.loc-modal-box .gform_wrapper .gfield {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Field labels */
.loc-modal-box .gform_wrapper .gfield_label {
    font-size: 0.95rem !important;
    margin-bottom: 4px !important;
}

/* Sub-labels (First, Last) */
.loc-modal-box .gform_wrapper .ginput_complex label,
.loc-modal-box .gform_wrapper .ginput_complex .ginput_full label,
.loc-modal-box .gform_wrapper .ginput_complex .ginput_left label,
.loc-modal-box .gform_wrapper .ginput_complex .ginput_right label {
    font-size: 0.85rem !important;
}

/* Form description */
.loc-modal-box .gform_wrapper .gform_description {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    display: block !important;
    margin-bottom: 12px !important;
}

/* Thank you / confirmation message */
.loc-modal-box .gform_confirmation_wrapper,
.loc-modal-box .gform_confirmation_message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.loc-modal-box .gform_confirmation_message {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--primary);
    line-height: 1.6;
}

.loc-modal-box .gform_confirmation_message::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--bg-nav);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Submit button — blue, not all caps */
.loc-modal-box .gform_wrapper .gform_button,
.loc-modal-box .gform_wrapper input[type="submit"] {
    background-color: var(--bg-nav) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 32px !important;
    font-family: var(--font-body) !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    cursor: pointer !important;
}

.loc-modal-box .gform_wrapper .gform_button:hover,
.loc-modal-box .gform_wrapper input[type="submit"]:hover {
    background-color: var(--bg-nav-dark) !important;
}

@media (max-width: 600px) {
    .loc-modal-box {
        padding: 44px 20px 28px;
    }
}