/* ==========================================================================
   Bloom IVF – front-end styles
   Values mirror the original Elementor/Vamtam theme (desktop ≥1025px,
   tablet 768–1024px, mobile ≤767px). Bootstrap 5 provides reset + grid.
   ========================================================================== */

@font-face {
    font-family: 'Nexa';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/NexaBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Nexa';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/NexaLight.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Roboto-Regular-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --accent-1: #132573;
    --accent-2: #FF8D8D;
    --accent-3: #2A3D53;
    --accent-4: #D8D8D8;
    --accent-5: #FFFFFF;
    --accent-6: #000000;
    --accent-7: #F5F5F5;
    --accent-8: #E6F1F7;
    --brand-blue: #32A5F1;
    --brand-blue-2: #31A3EE;
    --heading-dark: #191919;
    --text: #2E3031;
    --font-body: "Helvetica", Arial, sans-serif;
    --font-heading: "Nexa", sans-serif;
    --font-hero: "Roboto", Arial, sans-serif;
}

/* ---------- Base ---------- */
b, strong { font-weight: 700; } /* theme: bold = 700 (Bootstrap's "bolder" would give 900 inside headings) */
:root {
    scroll-behavior: auto; /* Bootstrap enables smooth scrolling; the original site does not */
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    overflow-x: hidden;
}

p {
    margin: 0;
}

a {
    color: var(--accent-1);
    text-decoration: none;
    transition: color .3s ease;
}

a:hover {
    color: var(--accent-6);
}

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

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

h1 { font-size: 56px; line-height: 1.2em; color: #2A3D53; }
h2 { font-size: 38px; line-height: 1.4em; color: var(--accent-6); }
h3 { font-size: 26px; line-height: 1.4em; color: var(--brand-blue); }
h4 { font-size: 20px; line-height: 1.3em; color: var(--accent-6); }

.rich p a {
    color: var(--brand-blue);
}

.visually-hidden-focusable:focus {
    z-index: 10000;
}

/* ---------- Layout primitives (Elementor section / container / column) ---------- */
.el-section {
    position: relative;
    padding: 0 30px;
}

.el-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    max-width: 1260px;
    margin: 0 auto;
}

.el-col {
    position: relative;
    min-height: 1px;
    padding: 10px;
}

.el-col-full { width: 100%; }

.col-w20 { width: 20%; }
.col-w25 { width: 25%; }
.col-w33 { width: 33.333%; }
.col-w40 { width: 40%; }
.col-w50 { width: 50%; }
.col-w26 { width: 26.666%; }

.el-heading-title {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.el-spacer-30 { height: 30px; }

.btn-row {
    line-height: 0;
    text-align: center;
}

/* ---------- Buttons ---------- */
.el-btn {
    display: inline-block;
    padding: 17px 30px 13px;
    border: 0;
    border-radius: 0;
    background-color: var(--accent-1);
    color: #fff;
    fill: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    transition: all .3s;
}

.el-btn:hover,
.el-btn:focus {
    background-color: var(--accent-3);
    color: #fff;
}

.el-btn--sm {
    padding: 20px 30px 16px;
}

/* Glowing pulse used on every Elementor link button of the original site */
.el-btn--glow {
    animation: glowing 1500ms infinite;
}

@keyframes glowing {
    0%   { background-color: #132573; box-shadow: 0 0 3px #F9C1BE; }
    50%  { background-color: #132573; box-shadow: 0 0 20px #003257; }
    100% { background-color: #132573; box-shadow: 0 0 3px #F9C1BE; }
}

.black-box {
    padding: 20px;
    background-color: var(--brand-blue-2);
    color: #fff;
    text-align: center;
}

.cta-btn {
    margin: 20px auto;
    text-align: center;
}

.cta-btn a {
    padding: 10px;
    background-color: #2A3A81;
    color: #fff;
    text-decoration: none;
}

.cta-btn a:hover {
    color: #fff;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background-color: var(--brand-blue);
    animation: fadeIn 1.25s both; /* original header fades in on load (CSS only, no JS wait) */
}

.header-desktop {
    display: flex;
    align-items: center;
    padding: 15px;
}

.header-desktop .header-logo {
    width: 20%;
    flex: 0 0 20%;
}

.header-desktop .header-logo img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
}

.header-desktop .header-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    padding-right: 30px;
}

.nav-menu,
.nav-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu > li {
    position: relative;
    margin: 0 15px;
}

.nav-menu > li:first-child { margin-left: 0; }
.nav-menu > li:last-child { margin-right: 0; }

.nav-desktop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.nav-desktop > li > a {
    display: block;
    padding: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
}

.nav-desktop > li > a:hover,
.nav-desktop > li:hover > a,
.nav-desktop > li > a:focus {
    color: var(--heading-dark);
}

.nav-desktop > li > a.is-active {
    color: #fff;
}

.nav-desktop .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 140px;
    margin-top: 15px;
    width: max-content;
    max-width: 320px;
    background-color: var(--accent-7);
    border-bottom: 1px solid var(--accent-3);
    box-shadow: 0 0 10px rgba(0, 0, 0, .05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

/* invisible bridge so the pointer can travel into the dropdown */
.nav-desktop > li > .sub-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.nav-desktop .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
}

.nav-desktop li:hover > .sub-menu,
.nav-desktop li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav-desktop .sub-menu li {
    position: relative;
}

.nav-desktop .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 30px;
    color: var(--accent-3);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .2px;
    white-space: nowrap;
}

.nav-desktop .sub-menu a:hover,
.nav-desktop .sub-menu a.is-active {
    background-color: var(--accent-5);
    color: var(--accent-6);
}

.nav-desktop .sub-menu .sub-arrow {
    font-size: 10px;
}

.header-mobile {
    display: none;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 2 / 1;
    container-type: inline-size;
}

.hero-title {
    position: absolute;
    top: 50%;
    left: calc(20 / 1200 * 100cqw);
    width: calc(600 / 1200 * 100cqw);
    margin: 0;
    transform: translateY(-50%);
    color: #000;
    font-family: var(--font-hero);
    font-size: calc(46 / 1200 * 100cqw);
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.hero-media {
    position: absolute;
    top: 50%;
    right: calc(10 / 1200 * 100cqw);
    width: calc(650 / 1200 * 100cqw);
    transform: translateY(-50%);
}

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-spacer {
    height: 43.2px;
}

/* ---------- Counters ---------- */
.counter-card {
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    text-align: center;
}

.counter-number {
    display: flex;
    color: var(--brand-blue);
    font-size: 69px;
    font-weight: 600;
    line-height: 1;
}

.counter-number span:first-child,
.counter-number span:last-child {
    flex-grow: 1;
    white-space: pre-wrap;
}

.counter-number span:first-child { text-align: right; }
.counter-number span:last-child { text-align: left; }

.counter-title {
    font-size: 19px;
    font-weight: 400;
    line-height: 2.5;
    text-align: center;
}

/* ---------- Section titles ---------- */
.intro-title {
    color: #000;
    text-align: center;
    font-size: 56px;
    line-height: 1.2em;
}

.section-title {
    color: #000;
    font-size: 38px;
    line-height: 1.4em;
}

.section-title--dark {
    color: var(--heading-dark);
}

.section-title--offset {
    padding: 0 0 0 25%;
}

.section-title--offset .section-title {
    margin: 5px;
}

/* ---------- About ---------- */
.about {
    margin: 200px 0 125px;
}

.about .el-col {
    padding: 0;
}

.about-label,
.services-label {
    display: block;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6em;
}

.about-label {
    position: relative;
    z-index: 5;
    margin-bottom: 25px;
}

.big-title {
    position: relative;
    z-index: 10;
    color: var(--heading-dark);
    font-size: 64px;
    line-height: 1.1em;
}

.about-media,
.help-media {
    padding-right: 12%;
}

.about-image {
    position: relative;
    z-index: 5;
    margin: 0 0 20px -25%;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 120px 0;
}

.text-path-wrap {
    /* zero-height row under the image; the circle is pulled up 75% / left 55% of the column width */
    display: flex;
    align-items: flex-start;
    height: 0;
}

.text-path {
    position: relative;
    z-index: 1;
    flex: 0 0 95%;
    width: 95%;
    margin: -75% 0 0 -55%;
    color: var(--accent-2);
    font-size: 15px;
    pointer-events: none;
}

.text-path svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    transform: rotate(var(--tp-rotate, 310deg));
}

.text-path path {
    fill: transparent;
    stroke: var(--accent-2);
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
}

.text-path text {
    fill: var(--accent-2);
    font-family: var(--font-body);
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text .rich {
    margin-bottom: 25px;
}

/* ---------- Carousel (Slide Anything / Owl look-alike) ---------- */
.sa-carousel {
    position: relative;
}

.sa-viewport {
    overflow: hidden;
}

.sa-track {
    display: flex;
    will-change: transform;
}

.sa-slide {
    flex: 0 0 auto;
}

.sa-slide-inner {
    padding: 5%;
}

.sa-carousel[data-items="4"] .sa-slide { width: 25%; }
.sa-carousel[data-items="1"] .sa-slide { width: 100%; }

.sa-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.sa-award p {
    padding-bottom: 9px;
}

.sa-nav {
    display: none;
}

.sa-carousel:hover .sa-nav {
    display: block;
}

.sa-prev,
.sa-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 30px;
    height: 40px;
    margin-top: -20px;
    padding: 2px 0;
    border: 0;
    color: transparent;
    font-size: 0;
    background: rgba(0, 0, 0, .3) no-repeat center center;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.sa-prev { left: 10px; background-image: url('../images/icon_prev.png'); }
.sa-next { right: 10px; background-image: url('../images/icon_next.png'); }

.sa-prev:hover,
.sa-next:hover {
    background-color: rgba(0, 0, 0, .8);
}

.sa-dots {
    padding-top: 10px;
    font-size: 12px;
    line-height: 12px;
    text-align: center;
}

.sa-dots button {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .2);
    vertical-align: top;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.sa-dots button.active,
.sa-dots button:hover {
    background-color: rgba(0, 0, 0, .5);
}

/* ---------- Doctors ---------- */
.doctor-slide img {
    display: block;
    width: 400px;
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.doctor-info {
    margin: 10px 0 46px;
}

.doctor-more {
    margin-top: 20px;
}

.doctor-more a {
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--accent-1);
    color: #fff;
}

.doctor-more a:hover {
    color: #fff;
}

/* ---------- Services ---------- */
.services {
    margin-bottom: 150px;
}

.services .el-container {
    max-width: 1080px;
}

.services .el-col {
    padding: 0;
}

.service-col {
    background-repeat: no-repeat;
    background-size: 180px auto;
}

.service-col-inner {
    margin-top: 48%;
}

.service-col--left .service-col-inner {
    padding: 25px 35px 0 25px;
    background: url('../../uploads/2021/06/shape-rec-1.svg') no-repeat 0 0 / 180px auto;
}

.service-col--right .service-col-inner {
    padding: 25px 25px 0 35px;
    background: url('../../uploads/2021/06/shape-rec-2.svg') no-repeat top right / 180px auto;
}

.service-col--center {
    padding: 25px 30px 0 !important;
}

.services-label {
    margin-bottom: 10px;
}

.services .section-title {
    margin: 5px;
    color: var(--heading-dark);
}

.cta-card {
    display: block;
    overflow: hidden;
    color: inherit;
}

.cta-card--left { border-radius: 75px 0 0 0; }
.cta-card--right { border-radius: 0 0 100px 0; }

.cta-card__bg-wrap {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.cta-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 35%;
    transition: transform 1.5s;
}

.cta-card:hover .cta-card__bg {
    transform: scale(1.2);
}

.cta-card__content {
    padding: 20px;
    background-color: var(--accent-7);
    text-align: left;
}

.cta-card__title {
    margin: 0;
    color: var(--heading-dark);
    font-size: 20px;
    line-height: 1.5;
    transition: color .3s;
}

.cta-card:hover .cta-card__title {
    color: var(--accent-3);
}

/* ---------- Help ---------- */
.help {
    margin-bottom: 10%;
}

.help .el-col {
    padding: 0;
}

.help-heading {
    padding-top: 40px !important;
}

.help-image {
    margin: 0 0 0 -25%;
}

.about-image,
.help-image {
    max-width: none;
}

.help-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 75vh;
    object-fit: cover;
    object-position: center center;
    border-radius: 0 0 120px 0;
}

.help-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.help-text .rich {
    margin-bottom: 40px;
}

.icon-list {
    margin: 0 0 50px;
    padding: 0;
    list-style: none;
}

.icon-list li {
    display: flex;
    align-items: center;
}

.icon-list li:not(:last-child) { padding-bottom: 15px; }
.icon-list li:not(:first-child) { margin-top: 15px; }

.icon-list i {
    flex: 0 0 10px;
    width: 10px;
    margin-right: 7px;
    color: var(--accent-2);
    font-size: 10px;
}

.help-text .el-btn-wrap {
    line-height: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 268px;
    margin: 0 10px 40px; /* 40px = space the original slider keeps for its pagination */
    overflow: hidden;
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    background-color: var(--brand-blue-2);
    color: #fff;
}

.testimonial-card--alt {
    background-color: var(--brand-blue);
}

.testimonial-header {
    display: flex;
    align-items: center;
    padding: 14px 16px 14px;
    border-bottom: 1px solid #fff;
    background-color: var(--brand-blue);
}

.testimonial-header img {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    flex: 1 1 auto;
    margin-left: 12px;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
}

.testimonial-icon {
    color: #fff;
    font-size: 25px;
    line-height: 1;
}

.testimonial-text {
    padding: 14px 16px 16px;
    font-size: 14px;
    line-height: 20px;
}

/* ---------- Videos ---------- */
.video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- FAQ ---------- */
.faq-heading-section {
    margin-bottom: 40px;
}

.faq-list h3 {
    margin: 15.6px 0;
    padding: 0;
    color: var(--brand-blue);
    font-size: 26px;
    line-height: 1.4em;
}

.faq-list h3 a {
    color: var(--accent-1);
}

.faq-list h3 a:hover {
    color: var(--accent-6);
}

.faq-list {
    padding-bottom: 26px;
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 50px;
}

.footer-main {
    padding: 50px;
    background-color: var(--brand-blue);
}

.footer-main .el-container {
    align-items: stretch;
}

.footer-col-1 { width: 30%; }
.footer-col-2 { width: 18%; }
.footer-col-3 { width: 22%; }
.footer-col-4 { width: 30%; }

.footer-logo {
    margin-bottom: 20px;
    padding-right: 25px;
}

.footer-logo img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}

.footer-about {
    margin-bottom: 20px;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.5em;
}

.footer-phones {
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.5em;
}

.footer-phones h4 {
    margin: 26.6px 0;
    color: #000;
    font-size: 20px;
    line-height: 1.5em;
}

.site-footer--inner .footer-phones h4 { margin: .6em 0; } /* theme h4 margin on inner pages */

.footer-phones a {
    color: #fff;
    font-size: 15px;
    line-height: 30px;
}

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

.footer-title {
    margin: 0 0 20px;
    color: var(--accent-1);
    font-size: 20px;
    line-height: 1.3em;
}

.footer-title a {
    color: var(--accent-1);
}

.footer-menu {
    margin: 0 0 20px;
    padding: 1px 0 0;
    list-style: none;
}

.footer-menu:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    display: block;
    padding: 5px 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.footer-menu a:hover,
.footer-menu a.is-active {
    color: var(--accent-1);
}

.footer-contact {
    position: relative;
    z-index: 2;
    padding: 0 !important;
}

.footer-contact-card {
    height: 100%;
    padding: 35px;
    border-radius: 20px;
    background-color: #fff;
}

.footer-addresses {
    margin-bottom: 20px;
}

.footer-addresses p {
    font-size: 16px;
    line-height: 20px;
}

.footer-addresses a {
    color: var(--brand-blue);
    font-size: 14px;
}

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

.footer-addresses hr {
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    opacity: 1;
}

.footer-addresses .addr-gap {
    height: 20px;
}

.social-icons {
    display: flex;
    gap: 5px;
    margin-bottom: -10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43.2px;
    height: 43.2px;
    border-radius: 4px;
    background-color: var(--accent-5);
    color: var(--accent-1);
    font-size: 24px;
    transition: background-color .3s;
}

.social-icons a:hover {
    background-color: var(--accent-8);
    color: var(--accent-1);
}

.footer-disclaimer {
    padding-bottom: 20px;
    background-color: var(--brand-blue);
}

.footer-disclaimer p {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
}

.footer-bottom {
    padding: 0 30px 20px;
    background: #fff;
}

.footer-bottom .el-container {
    align-items: center;
}

.footer-bottom p {
    padding-right: 20px;
    color: #6C6C6C;
    font-size: 12px;
    line-height: 1.8em;
}

/* "Book Appointment" scroll popup – copied from the original site */
.scroll-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.scroll-popup-overlay[hidden] { display: none; }

.scroll-popup {
    position: relative;
    width: 480px;
    max-width: 95%;
    padding: 35px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
    animation: popupFade .35s ease-in-out;
}

@keyframes popupFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-popup .close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    padding: 0;
    border: 0;
    background: none;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.scroll-popup h3 {
    margin: 15.6px 0;
    color: var(--brand-blue);
    font-size: 26px;
    line-height: 1.4em;
}

.contactpageq p { margin: 0; }

.contactpageq input {
    display: block;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #DDD;
    border-radius: 20px;
    background: transparent;
    color: #000;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 22.4px;
    outline: 0;
}

.contactpageq input:focus { border-color: var(--accent-1); }

.contactpageq .form-submit {
    margin: 0 0 20px;
    padding: 17px 30px 13px;
    border: solid var(--accent-1);
    border-width: 2px 2px 3px;
    border-radius: 20px;
    background: var(--accent-1);
}

.contactpageq .form-submit:hover { border-color: var(--accent-3); background: var(--accent-3); }

@media (max-width: 768px) {
    .scroll-popup { width: 95%; padding: 25px; }
}

/* Scroll-linked vertical motion target (see main.js "data-motion-y") */
[data-motion-y] > * {
    transition: transform .1s;
    will-change: transform;
}

/* ---------- Floating actions ---------- */
.float-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 60px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #008000;
    color: #fff;
    font-size: 25px;
    line-height: 1;
}

.float-whatsapp:hover {
    color: #fff;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 200;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: var(--accent-1);
    fill: var(--accent-5);
    line-height: 36px;
    text-align: center;
    opacity: 0;
    transform: scale3d(0, 0, 0);
    transition: opacity .3s ease-out, background .3s ease-out, transform .3s ease-out;
    cursor: pointer;
}

.scroll-top.is-visible {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

.scroll-top:hover {
    background: var(--accent-3);
}

.scroll-top svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
}

/* ---------- Entrance animations (Elementor fadeIn / fadeInUp / slideInDown) ---------- */
.js [data-anim] {
    visibility: hidden;
}

.js [data-anim].animated {
    visibility: visible;
    animation-duration: 1.25s;
    animation-fill-mode: both;
}

.js [data-anim="fadeInUp"].animated { animation-name: fadeInUp; }
.js [data-anim="slideInDown"].animated { animation-name: slideInDown; }
.js [data-anim="fadeIn"].animated { animation-name: fadeIn; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 100%, 0); }
    to   { opacity: 1; transform: none; }
}

@keyframes slideInDown {
    from { transform: translate3d(0, -100%, 0); visibility: visible; }
    to   { transform: translate3d(0, 0, 0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .js [data-anim] { visibility: visible; }
    .js [data-anim].animated { animation: none; }
    .el-btn--glow { animation: none; }
}

/* ==========================================================================
   Inner pages (header 241 / footer 248 of the original theme)
   ========================================================================== */
.col-w66 { width: 66.666%; }

.site-header--inner {
    animation: none; /* stays sticky (top: 0) like the original inner header 68f3bd4: sticky on all devices */
}

.site-header--inner .header-desktop {
    display: block;
    padding: 0 30px;
}

.header-inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1260px;
    margin: 0 auto;
    padding: 5px 0;
}

.header-desktop--inner .header-nav { padding-right: 0; }

.header-inner-container .header-logo img {
    display: block;
    width: 252px;
    height: auto;
}

.nav-desktop--inner > li { margin: 0 5px; }
.nav-desktop--inner > li:first-child { margin-left: 0; }
.nav-desktop--inner > li:last-child { margin-right: 0; }

.nav-desktop--inner > li > a {
    padding: 20px 0; /* theme custom CSS: .elementor-item {padding-left:0; padding-right:0} */
    line-height: 1.2em;
    letter-spacing: .3px;
}

.nav-desktop--inner > li > a:hover,
.nav-desktop--inner > li:hover > a { color: var(--accent-6); }

.nav-desktop--inner > li > a.is-active,
.nav-desktop--inner > li.is-ancestor > a { color: var(--accent-3); }

.nav-desktop--inner .sub-menu {
    margin-top: 5px;
    border-bottom: 8px solid var(--accent-3);
}

.nav-desktop--inner > li > .sub-menu::before { top: -5px; height: 5px; }

.nav-desktop--inner .sub-menu a { padding: 5px 10px; }

.is-inner .float-whatsapp {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

/* Content typography (Elementor text editor + theme custom CSS: h2/h3 are brand blue) */
.rich h1 { font-size: 56px; line-height: 1.2em; color: var(--accent-3); }
.rich h2 { margin: 22.8px 0; font-size: 38px; line-height: 1.4em; color: var(--brand-blue); }
.rich h3 { margin: 15.6px 0; font-size: 26px; line-height: 1.4em; color: var(--brand-blue); }
.rich h4 { margin: 12px 0; font-size: 20px; line-height: 1.3em; color: var(--accent-6); }
.rich h5 { margin: 9.6px 0; font-size: 16px; line-height: 1.5em; color: var(--accent-6); text-transform: uppercase; letter-spacing: .5px; }
.rich h6 { margin: 7.2px 0; font-size: 12px; line-height: 1.6em; color: var(--accent-3); }
.rich ul, .rich ol { margin: 0 1.5em .5em 1.5em; padding: 0; } /* theme: ol,ul{margin:0 1.5em .5em 1.5em} */
.rich img { display: inline-block; max-width: 100%; height: auto; vertical-align: baseline; } /* text-editor images sit on the baseline */
.rich a:not([href]) { color: var(--accent-1); } /* theme colours every <a>, Bootstrap would inherit */
.rich a { color: var(--accent-1); }
.rich a:hover { color: var(--accent-6); }
.rich p a { color: var(--brand-blue); }
.rich .alignleft { float: left; margin: 0 20px 10px 0; }
.rich .alignright { float: right; margin: 0 0 10px 20px; }
.rich .aligncenter { display: block; margin: 0 auto; }

/* Tables – same rules as the original theme (Vamtam) + its custom CSS (padding 10px) */
.rich table {
    width: 100%;
    margin: 0 0 1.5em;
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 2;
}

.rich tr {
    border: 0;
    border-bottom: 1px solid #F5F5F5;
}

.rich tr:first-child { border-top: 1px solid #F5F5F5; }

.rich td,
.rich th {
    padding: 10px !important;
    border: 0;
    border-left: 1px solid #F5F5F5;
    line-height: 2;
    text-align: start;
    vertical-align: top;
}

.rich th { font-weight: 700; }
.rich td { font-weight: 400; }
.rich td:last-child,
.rich th:last-child { border-right: 1px solid #F5F5F5; }

.rich .table-responsive { overflow-x: auto; }

.rich blockquote {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 20px 0;
    padding: 20px 20px 20px 50px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #444;
}

.rich blockquote::before {
    content: "\201C";
    position: absolute;
    top: 5px;
    left: 15px;
    color: #ccc;
    font-family: serif;
    font-size: 40px;
}

:where(.rich) blockquote p { margin: 1em 0 !important; font-weight: 400; } /* theme rule, same specificity as the original (.servicedetail p still wins) */

.servicedetail h2 { color: var(--brand-blue); }
/* Elementor section pasted inside a text widget: theme section padding 0 30px + column padding 10px */
.page-main .servicedetail { display: flow-root; padding: 10px 40px; }
.servicedetail p { margin-bottom: 15px !important; }
.contactpage p { margin-bottom: 20px; }

.serv12sad { margin: 10px 0; text-align: center; }
.serv12sad a { padding: 10px 20px; border-radius: 5px; background: var(--brand-blue); color: #fff !important; }

.content-btn { margin: 20px 0; }
.content-btn.text-center { text-align: center; }

.btn-content,
.rich .btn-content {
    display: inline-block;
    padding: 17px 30px 13px;
    background: var(--accent-1);
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    animation: glowing 1500ms infinite;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -10px;
}

.content-col { padding: 10px; }

.video-embed { position: relative; aspect-ratio: 16 / 9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Banner */
.page-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 0 30px;
    overflow: hidden;
    background: #2C2A2A var(--banner-image, none) center center / cover no-repeat;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #2C2A2A;
    opacity: .49;
}

.page-banner__inner {
    position: relative;
    width: 100%;
    max-width: 1410px;
    padding: 0 10px;
    text-align: center;
}

.page-banner__title {
    margin: 0;
    color: #fff;
    font-size: 50px;
    line-height: 1.2em;
}

.page-banner__subtitle {
    margin: 20px 0 0; /* Elementor widget gap */
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.page-banner__subtitle--small { line-height: 1; }
.page-banner__subtitle--medium { font-size: 19px; line-height: 1; }

.page-banner__subtitle--h5 {
    font-family: var(--font-heading);
    letter-spacing: .5px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}

.breadcrumbs p {
    color: var(--accent-3);
    font-size: .85em;
    line-height: 25.6px;
}

.breadcrumbs a { color: var(--brand-blue); }

.breadcrumbs--on-banner {
    position: relative;
    z-index: 2;
    margin-top: -47px;
}

.breadcrumbs--on-banner p { color: #fff; }

.breadcrumbs--empty { height: 1px; margin-top: -47px; }

/* Booking bar */
.booking-bar { background: var(--brand-blue); }

/* Elementor kit placeholder colour (all forms) */
input::placeholder,
textarea::placeholder { color: #2E3031; opacity: 1; }

.booking-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.booking-form__title {
    white-space: nowrap;
    margin: 9.6px 10px 9.6px 0;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .5px;
    text-transform: none;
}

.booking-form__field {
    flex: 0 0 398px; /* natural width of a size="40" CF7 input */
    margin: 0 20px 0 0;
}

.booking-form input,
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 22.4px;
    outline: 0;
}

.booking-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent-1); }

.booking-form__submit {
    margin: 0;
}

.booking-form input { padding: 15px 20px 10px; } /* .serviceform input */

.form-submit {
    padding: 17px 30px 13px;
    border: solid var(--accent-1); /* Elementor kit button */
    border-width: 2px 2px 3px;
    background: var(--accent-1);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    cursor: pointer;
    transition: background .3s;
}

.form-submit:hover, .form-submit:focus { border-color: var(--accent-3); background: var(--accent-3); }
.form-submit[disabled] { opacity: .6; cursor: wait; }

.form-message { width: 100%; font-size: 14px; }
.form-message:empty { display: none; }
.form-message.is-error { color: #b00020; }
.booking-bar .form-message.is-error { color: #fff; font-weight: 700; }
.form-message.is-success { color: #0a7d2c; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.page-gap { height: 50px; }

/* Content + sidebar */
.page-body .el-container { align-items: stretch; }
.page-main { align-self: flex-start; }

/* Elementor sticky "top" + "stay in column" */
.page-aside__inner.is-sticky {
    position: sticky;
    top: var(--sticky-top, 85px);
    z-index: 2;
}
.page-main > :first-child { margin-top: 0; }

.sidebar-content {
    padding: 0 15px 20px;
    border: 2px solid var(--brand-blue);
    border-radius: 20px;
}

.sidebn h4 {
    margin: .6em 0; /* theme h4 margin */
    padding: 5px 0;
    border-radius: 10px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 28px;
    line-height: 1.5;
    text-align: center;
}

.sidebn ul {
    margin: 0 1.5em .5em 1.5em;
    padding: 0;
}

.sidebn ul a { color: var(--accent-1); }
.sidebn ul a:hover { color: var(--accent-6); }

.sidebtensasa { margin: 0; text-align: center; }

.sidebtensasa a {
    padding: 10px 15px;
    border-radius: 10px;
    background: var(--accent-1);
    color: #fff;
}

/* WordPress button block used under the costs + testimonials boxes */
.sidebtensasa--block { display: flow-root; margin: 0; padding: 20px 0; } /* wp-block-buttons flex wrapper: the button's 20px margins never collapse */
.sidebtensasa--block a { font-size: 18px; }
.page-post .sidebtensasa--block a { display: inline-block; } /* block-library CSS is only loaded on posts */

.sidebtensasa a:hover { background: var(--accent-3); color: #fff; }

.sidebar-testimonials h6 {
    margin: .6em 0;
    padding: 5px 0;
    border-radius: 10px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 28px;
    line-height: 1.6;
    text-align: center;
}

/* Real Testimonials (free) slider */
.side-reviews { position: relative; overflow: hidden; }
.side-reviews .sa-viewport { margin: 0 50px 50px; }

.side-review { display: flow-root; text-align: center; color: #333; }

.side-review h5 {
    margin: 9.6px 0 18px;
    color: #333;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.side-review p { margin: 0 0 20px; font-size: 16px; line-height: 26px; }

.side-reviews .side-review__nav {
    top: 50%;
    z-index: 22;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 32px;
    height: 36px;
    margin-top: -22px;
    padding: 0;
    border: 2px solid #777;
    background: transparent;
    color: #777;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50px);
    transition: all .3s ease;
}

.side-reviews .side-review__nav:hover { border-color: #1595ce; background: #1595ce; color: #fff; }
.side-reviews .sa-prev { left: 0; }
.side-reviews .sa-next { right: 0; }

.side-reviews .sa-dots {
    position: absolute;
    right: 0;
    bottom: 11px;
    left: 0;
    display: flex;
    justify-content: center;
    padding: 0;
    line-height: 0;
}

.side-reviews .sa-dots button { width: 13px; height: 13px; margin: 0 6px; background: #ccc; transition: none; }
.side-reviews .sa-dots button.active { background: #1595ce; }

/* Table of contents – Easy Table of Contents plugin styles */
.toc-box {
    position: relative;
    display: table;
    margin-bottom: 1em;
    padding: 10px 20px 10px 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #f9f9f9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.toc-box__head { display: table; width: 100%; }

.toc-box__title {
    display: initial;
    margin: 0;
    padding: 0;
    font-size: 120%;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
}

.toc-box__toggle {
    float: right;
    display: flex;
    box-sizing: content-box;
    width: 35px;
    height: 32px;
    margin-left: 10px;
    padding: 1px 5px;
    border: 0;
    border-radius: 3px;
    background: none;
    cursor: pointer;
}

.toc-box__icon {
    position: relative;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 35px;
    height: 32px;
    border: 1px solid #999191;
    border-radius: 5px;
}

.toc-box .toc-level-1 { margin: 0; }

.toc-box ul {
    margin: 0 1.5em .5em 1.5em;
    padding: 0;
    list-style: none;
    counter-reset: item;
}

.toc-box ul ul { margin: 0 0 0 1.5em; }

.toc-box li {
    padding: 0;
    font-size: 95%;
    font-weight: 500;
    line-height: 1.6;
}

.toc-box nav ul ul li { font-size: 90%; }

.toc-box a {
    display: inline-flex;
    align-items: stretch;
    flex-wrap: nowrap;
    color: #444 !important;
    text-decoration: none;
}

.toc-box a:hover { text-decoration: underline; }

.toc-box a::before {
    content: counters(item, ".", decimal) ". ";
    counter-increment: item;
    display: inline-block;
    flex: 0 0 auto;
    margin-right: .2em;
    float: left;
}

.toc-box.is-collapsed .toc-box__list { display: none; }

/* FAQ accordion */
.rich .faq-title { margin: 0 0 20px; padding-top: 20px; color: var(--brand-blue); } /* own heading widget: content margins + 20px widget gap */

.accordion-faq { margin-bottom: 20px; }

.accordion-faq__item {
    border: 1px solid #d5d8dc;
}

.accordion-faq__item + .accordion-faq__item { border-top: 0; }

.accordion-faq__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 20px;
    color: var(--accent-1);
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    list-style: none;
    cursor: pointer;
}

.accordion-faq__title::-webkit-details-marker { display: none; }
.accordion-faq__item .icon-open { display: none; }
.accordion-faq__item[open] .icon-open { display: inline-block; }
.accordion-faq__item[open] .icon-closed { display: none; }

.accordion-faq__content {
    padding: 15px 20px;
    border-top: 1px solid #d5d8dc;
}

/* Doctor card (above the inner footer) */
.doctor-card .el-container { align-items: flex-start; } /* Elementor default: columns top-aligned */
.doctor-card__media { text-align: center; }
.doctor-card__media img { width: 500px; max-width: 100%; height: auto; }
.doctor-card .section-title { margin-bottom: 20px; color: var(--brand-blue); }
.doctor-card__text h5 { margin: 9.6px 0; color: #000; font-size: 16px; line-height: 24px; text-transform: uppercase; letter-spacing: .5px; }

.doctor-card__text { display: flow-root; } /* Elementor widgets don't collapse margins */

.doctor-card__text .doctor-card__socials {
    display: flex;
    margin: 20px 24px 8px; /* 20px widget gap + theme list margin */
    padding: 0;
    list-style: none;
}

.doctor-card__socials li { margin-right: 10px; }
.doctor-card__socials a { color: var(--accent-1); }
.btn-row-left { margin-top: 20px; line-height: 0; }

/* Hero strip + grey title band (listing, blog, contact) */
.hero-strip {
    position: relative;
    min-height: 35vh;
    overflow: hidden;
    background: #ddd;
}

.hero-strip__bg,
.doctor-hero__bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform-origin: 50% 50%;
    transition: transform .1s; /* --e-transform-transition-duration 100ms */
    will-change: transform;
}

.doctor-hero__bg { background-position: top center; }

.hero-strip__share {
    position: absolute;
    right: max(30px, calc((100% - 1260px) / 2 + 0px));
    bottom: 10px;
}

.share-btn {
    width: 66px;
    height: 46px;
    border: 0;
    background: var(--accent-3);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.title-band {
    min-height: 159px;
    padding-bottom: 17px;
}

.title-band--grey { background: #F5F5F5; }

.title-band .el-col { padding: 30px 0 0; }

.title-band__label {
    display: block;
    margin-bottom: 17px;
    color: var(--accent-3);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.title-band__title {
    margin: 0;
    color: var(--accent-3);
    font-size: 56px;
    line-height: 1.2em;
}

/* Listing cards */
.listing-cards { padding-top: 0; }

.cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.cta-box__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 35%;
    transition: transform 1.5s;
}

.cta-box__overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 28, 28, .8);
    transition: background-color 1.5s;
}

.cta-box:hover .cta-box__bg { transform: scale(1.2); }
.cta-box:hover .cta-box__overlay { background: #191717; }

.cta-box__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    min-height: inherit;
    padding: 35px;
}

/* Elementor "grow" content animation: every item scales on hover (1s) */
.cta-box__item { display: block; margin-bottom: 15px; transition: transform 1s; }
.cta-box__item:last-child { margin-bottom: 0; }
.cta-box:hover .cta-box__item { transform: scale(1.1); }

.cta-box__icon img { display: inline-block; width: 50px; height: 50px; vertical-align: baseline; }

.cta-box__title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4em;
}

.cta-box__desc { font-size: 16px; line-height: 1.6em; }

.cta-box__btn {
    display: inline-block;
    padding: 17px 30px 13px;
    border: 2px solid #fff;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1em;
    transition: all .3s;
}

/* kit button hover */
.cta-box__btn:hover { border-color: var(--accent-3); background: var(--accent-3); color: #fff; }
.cta-box:hover { color: #fff; }

/* Doctor profile */
.doctor-hero {
    display: flex;
    align-items: flex-end;
    min-height: 30vh;
    padding: 0 30px;
    background: var(--accent-7);
}

.doctor-hero__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1260px;
    min-height: 372px;
    margin: 0 auto;
}

.doctor-hero__text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 25px;
}

.doctor-hero__name { margin: 0 0 15px; color: var(--accent-3); font-size: 39px; line-height: 1.2em; }

.doctor-hero__subtitle {
    margin: 0;
    color: var(--accent-3);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}

.doctor-hero__divider { width: 100%; margin: 25px 0; /* divider widget: 20px gap + 5px padding each side */ border: 0; border-top: 1px solid var(--accent-4); opacity: 1; }
.doctor-hero__text .el-btn { align-self: flex-start; }

.doctor-hero__photo {
    position: relative;
    flex: 0 0 24%;
    overflow: hidden;
    background: #ddd;
}

.doctor-hero__socials {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 28px;
    padding: 15px 25px;
    background: var(--brand-blue);
    transform: translateX(-50%);
}

.doctor-hero__socials a { display: flex; justify-content: center; width: 16px; color: var(--accent-1); font-size: 16px; line-height: 16px; }

.doctor-tabs { display: flex; align-items: flex-start; }

.doctor-tabs__nav {
    display: flex;
    flex: 0 0 25%;
    flex-direction: column;
}

.doctor-tabs__tab {
    padding: 20px 25px;
    border: 1px solid transparent;
    border-right: 0;
    background: transparent;
    color: var(--accent-1);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
    cursor: pointer;
}

.doctor-tabs__tab.is-active {
    position: relative;
    z-index: 1;
    border-color: #d5d8dc;
    background: #fff;
}

.doctor-tabs__panels {
    flex: 1 1 auto;
    margin-left: -1px;
    border: 1px solid #d5d8dc;
}

.doctor-tabs__panel { padding: 20px; }
.doctor-tabs__panel p { margin: 0 0 15px; }
.doctor-tabs h5 { color: var(--brand-blue); text-transform: capitalize; } /* .docbrief h5 on the original profile section */
.doctor-tabs__mobile-title { display: none; }

/* Contact */
/* Contact page (original section: padding 110px 30px 15px, two bordered cards) */
.contact-boxes { padding: 110px 30px 15px; }
.contact-boxes .el-col { display: flex; padding: 0; }
.contact-boxes .el-col:first-child { padding-right: 15px; }
.contact-boxes .el-col:last-child { padding-left: 15px; }

.contact-box {
    width: 100%;
    padding: 30px;
    border: 1px solid #F5F5F5;
    box-shadow: 4px 4px 0 0 #F5F5F5;
    transition: border-color .3s, box-shadow .3s;
}

.contact-box:hover { border-color: #C5D7E0; box-shadow: 4px 4px 0 0 #C5D7E0; }

.contact-box__title {
    display: inline-block;
    margin: 0;
    border-bottom: 5px solid var(--accent-8, #E6F1F7);
    color: var(--accent-3);
    font-size: 20px;
    line-height: 30px;
}

.contact-box__title--pad { padding-bottom: 4px; }

.contact-box__addresses { padding-top: 20px; }
.contact-box__addresses p { margin: 0; }
.contact-box__addresses a { color: var(--brand-blue); }
.contact-box__addresses hr { margin: 0; border: 0; border-top: 1px solid #ccc; opacity: 1; }

.contact-box__phones { margin-top: 25px; padding-top: 20px; }
.contact-box__phones h4 { margin: 12px 0; color: #000; font-size: 20px; line-height: 30px; }
.contact-box__phones p { margin: 0; }
.contact-box__phones a { color: var(--accent-1); }

.contact-form { padding-top: 0; }

.contact-form__heading {
    margin: 9.6px 0;
    color: #000;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.contact-form p { margin: 0 0 20px; }

.contact-form input,
.contact-form textarea { margin: 0; padding: 15px 20px 10px; background: transparent; color: #000; line-height: 22.4px; }
.contact-form textarea { display: inline-block; vertical-align: baseline; height: 266px; min-height: 0; margin-bottom: 8px; padding: 20px; color: var(--text); resize: vertical; }
.contact-form .form-submit { margin-top: 30px; }

.contact-maps iframe { display: block; width: 100%; height: 300px; border: 0; }
.contact-maps .el-col { line-height: 0; }

/* Gallery */
.gallery-title { border-bottom: 1px solid #F5F5F5; } /* theme meta header */
.gallery-title .el-col { padding: 41px 0 40px; }

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 0 20px;
}

.gallery-filters button {
    padding: 7px 14px;
    border: 0;
    background: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
    cursor: pointer;
}

.gallery-grid { position: relative; } /* items are positioned by the justified layout script */

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
}

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

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background-color: transparent;
    transition: background-color 800ms;
}

.gallery-item:hover .gallery-item__overlay { background-color: rgba(0, 0, 0, .5); }
.gallery-item.is-hidden { display: none; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .9);
}

.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__figure img { max-width: 88vw; max-height: 82vh; }
.lightbox__figure figcaption { margin-top: 10px; color: #fff; }

.lightbox button {
    position: absolute;
    border: 0;
    background: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.lightbox__close { top: 15px; right: 20px; }
.lightbox__prev { left: 15px; top: 50%; }
.lightbox__next { right: 15px; top: 50%; }

/* Awards & media coverage */
.awards-grid .el-col { text-align: center; }
.awards-grid img { max-width: 100%; height: auto; vertical-align: middle; }
.awards-spacer { height: 140px; } /* two 50px spacer sections */

.coverage-item .el-container { align-items: flex-start; }
.coverage-item .is-reversed { flex-direction: row-reverse; }
.coverage-item__media { text-align: center; line-height: 0; }
.coverage-item__media img { max-width: 100%; height: auto; }
.coverage-item__body h3 a { color: var(--accent-1); }

/* Reviews / videos pages */
/* testimonial carousel widget settings on /written-testimonial/ */
.reviews-grid .testimonial-header { padding: 15px 15px 6px; }
.reviews-grid .testimonial-header img { flex-basis: 36px; width: 36px; height: 36px; }
.reviews-grid .testimonial-name { margin-left: 9px; }
.reviews-grid .testimonial-icon { width: 25px; text-align: center; }
.reviews-grid .testimonial-text { padding: 6px 15px 15px; }
.videos-grid .video-wrap { margin-bottom: 0; }

/* Blog */
.blog-list { padding: 110px 30px; }

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

.blog-list .el-col { padding: 0; }

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #F5F5F5;
    box-shadow: 4px 4px 0 0 #F5F5F5;
}

.post-card__thumb { position: relative; display: block; margin-bottom: 20px; padding-bottom: 41%; overflow: hidden; }
.post-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); }

.post-card__body { padding: 5px 30px 10px; }

.post-card__title { margin: 0 0 10px; font-size: 20px; line-height: 26px; }
.post-card__title a { color: var(--accent-1); }
.post-card__title a:hover { color: var(--accent-1); }

.post-card__date {
    margin: 0 0 13px;
    color: #ADADAD;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6em;
    text-transform: uppercase;
}

.post-card__excerpt { margin-bottom: 10px; color: #777; font-size: 14px; line-height: 21px; }

/* Category archive (theme archive template) */
.archive-wrap { max-width: 1260px; margin: 0 auto; }
.archive-hero .hero-strip__bg { background-position: 23% 46%; }

.archive-band { min-height: 159px; padding: 30px 30px 0; background: #F5F5F5; }
.archive-band__label { margin: 0 0 17px; color: var(--accent-3); font-size: 16px; line-height: 24px; letter-spacing: .5px; text-transform: uppercase; }
.archive-band__title { margin: 0 0 17px; color: var(--accent-3); font-size: 56px; line-height: 1.2em; }

.archive-list { padding: 110px 30px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.archive-post { display: flex; flex-direction: column; }
.archive-post__thumb { position: relative; display: block; margin-bottom: 20px; padding-bottom: 41%; overflow: hidden; }
.archive-post__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); }
.archive-post__title { margin: 0 0 10px; font-size: 20px; line-height: 26px; }
.archive-post__title a { color: var(--accent-1); }
.archive-post__date { margin-bottom: 13px; color: #ADADAD; font-size: 11px; font-weight: 600; line-height: 1.6em; text-transform: uppercase; }
.archive-post__excerpt { margin-bottom: 10px; }
.archive-post__excerpt p { margin: 0; color: #777; font-size: 14px; line-height: 21px; }

.pagination-wp {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 3px solid #F5F5F5;
    font-size: 21px;
    font-weight: 700;
    text-align: center;
}

.pagination-wp a, .pagination-wp .current { margin: 0 7px; }
.pagination-wp a { color: var(--accent-1); }
.pagination-wp .current { color: #000; }

.post-head { padding: 30px 30px 0; }
.post-head__inner { max-width: 1000px; margin: 0 auto; }
.post-head__cat { margin-bottom: 10px; font-family: var(--font-heading); font-size: 18px; font-weight: 700; }
.post-head__cat a { color: var(--accent-1); }
.post-head__title { margin: 0 0 15px; color: var(--accent-3); font-size: 56px; line-height: 1.2em; }
.post-head__meta { display: flex; flex-wrap: wrap; margin: 0 0 30px; padding: 0; list-style: none; color: var(--accent-1); }
.post-head__meta li { position: relative; display: flex; align-items: center; margin-right: 30px; padding-bottom: 10px; }
.post-head__meta li:not(:last-child)::after { content: ""; position: absolute; top: 0; right: -15px; bottom: 10px; border-left: 1px solid #ddd; }
.post-head__meta i { width: 20px; font-size: 16px; line-height: 1; }
.post-head__meta span { padding-left: 5px; }

.post-featured .el-container { justify-content: center; }
.post-featured img { display: block; width: 100%; max-width: 1200px; height: auto; }
.post-body { padding-top: 30px; }

/* Thank you / 404 */
.thank-you { padding: 80px 30px; }
.thank-you__icon { margin-bottom: 20px; color: var(--brand-blue); font-size: 64px; }
.thank-you__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 30px; }
.error-code { margin: 0; color: var(--brand-blue); font-family: var(--font-heading); font-size: 120px; font-weight: 700; line-height: 1; }

/* ==========================================================================
   Desktop small (1025–1260px)
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1260px) {
    .nav-menu > li { margin: 0 10px; }
}

/* ==========================================================================
   Tablet (≤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    h1 { font-size: 48px; }
    h2 { font-size: 32px; }
    h3 { font-size: 22px; }
    h4 { font-size: 17px; }

    .intro-title { font-size: 48px; }
    .section-title { font-size: 32px; }
    .big-title { font-size: 48px; }
    .faq-list h3 { font-size: 22px; }

    .header-desktop,
    .site-header--inner .header-desktop { display: none; }

    .header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 30px;
    }

    .header-mobile .header-logo img {
        display: block;
        width: 115px;
        height: auto;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: .25em;
        border: 0;
        background: transparent;
        color: var(--accent-3);
        font-size: 25px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        background-color: var(--accent-7);
        border-bottom: 8px solid var(--accent-3);
        box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    }

    .mobile-nav[hidden] { display: none; }

    .nav-mobile li { position: relative; margin: 0; }

    .nav-mobile li:not(:last-child) {
        border-bottom: 1px solid rgba(42, 61, 83, .15);
    }

    .nav-mobile a {
        display: block;
        padding: 15px 60px 15px 30px;
        color: var(--accent-3);
        font-size: 14px;
        letter-spacing: .2px;
        line-height: 20px;
    }

    .nav-mobile > li > a {
        font-family: var(--font-heading);
        font-weight: 700;
    }

    .nav-mobile a:hover,
    .nav-mobile a.is-active {
        background: var(--accent-5);
        color: var(--accent-6);
    }

    .nav-mobile .sub-menu { display: none; background: rgba(255, 255, 255, .5); }
    .nav-mobile .sub-menu a { padding-left: 45px; }
    .nav-mobile .sub-menu .sub-menu a { padding-left: 60px; }
    .nav-mobile li.is-open > .sub-menu { display: block; }

    .sub-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
        border: 0;
        background: transparent;
        color: var(--accent-3);
        font-size: 12px;
        cursor: pointer;
    }

    .nav-mobile li.is-open > .sub-toggle i { transform: rotate(180deg); }

    .about {
        margin: 0 0 90px;
    }

    .text-path { display: none; }

    .services {
        margin-bottom: 100px;
    }

    .service-col--left .service-col-inner { padding: 25px 20px 0 25px; }
    .service-col--right .service-col-inner { padding: 25px 25px 0 20px; }
    .service-col--center { padding: 0 10px !important; }
    .cta-card__bg-wrap { min-height: 300px; }

    .help {
        margin-bottom: 100px;
    }

    .help .help-heading {
        width: 50%;
        display: flex;
        align-items: center;
        margin-bottom: 100px;
        padding: 0 !important;
    }

    .help .help-media-col {
        width: 50%;
    }

    .help .help-media {
        padding: 0;
    }

    .help-image { margin-left: -45%; }

    .help-image img {
        width: 100%;
        height: 70vh;
    }

    .help .help-text {
        width: 100%;
        padding-top: 40px !important;
    }

    .faq-heading-section {
        margin-bottom: 30px;
    }

    .page-banner__title { font-size: 40px; }
    .booking-form__title { width: 100%; margin: 15px 0 10px; }
    .booking-form__field { flex: 1 1 200px; margin: 0 10px 10px 0; }
    .booking-form__submit { margin-bottom: 10px; }
    .post-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-list { padding: 80px 30px; }
    .archive-band { min-height: 0; padding: 25px 30px 10px; }
    .archive-band__label { margin-bottom: 10px; }
    .archive-band__title { margin-bottom: 10px; font-size: 48px; }
    .title-band__title, .post-head__title { font-size: 48px; }
    .post-head__cat { font-size: 14px; }
    .cta-box__title { font-size: 32px; }

    .doctors-title-section {
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   Mobile (≤767px)
   ========================================================================== */
@media (max-width: 767px) {
    h1 { font-size: 30px; line-height: 1.3em; }
    h2 { font-size: 25px; }
    h3 { font-size: 19px; }
    h4 { font-size: 16px; }

    .intro-title { font-size: 30px; line-height: 1.3em; }
    .section-title { font-size: 25px; }
    .big-title { font-size: 30px; line-height: 1.3em; }
    .faq-list h3 { font-size: 19px; }

    .el-section { padding: 0 20px; }

    .el-col,
    .col-w20, .col-w25, .col-w26, .col-w33, .col-w40, .col-w50,
    .footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4 {
        width: 100%;
    }

    .header-mobile { padding: 10px 20px; }

    /* Hero: stacked image + text (mobile slider of the original) */
    .hero-inner {
        aspect-ratio: auto;
        padding: 10px 10px 0;
    }

    .hero-media,
    .hero-title {
        position: static;
        width: 100%;
        transform: none;
    }

    .hero-title {
        padding: 10px 0 10px 10px;
        font-size: 30px;
    }

    .about {
        margin: 0 0 60px;
    }

    .about .about-heading { margin-bottom: 30px; }
    .about-media { padding: 0; }
    .about-image { margin: 0; }

    .section-title--offset { padding-left: 0; }

    .services { margin-bottom: 60px; }
    .service-col-inner { margin-top: 0; }
    .service-col--left .service-col-inner,
    .service-col--right .service-col-inner { padding: 25px 20px 0 25px; }
    .service-col--center { margin-bottom: 30px; padding: 0 !important; }
    .service-col--left { margin-bottom: 30px; }
    .cta-card__bg-wrap { min-height: 350px; }

    .help { margin-bottom: 60px; }

    .help .help-heading,
    .help .help-media-col,
    .help .help-text {
        width: 100%;
        margin: 0 0 30px;
        padding: 0 !important;
    }

    .help-image { margin: 0; }
    .help-image img { height: 380px; }
    .help-text .rich,
    .icon-list { margin-bottom: 30px; }

    .testimonial-card { margin: 0 0 10px; }

    .footer-main { padding: 50px 20px; }
    .footer-col-2, .footer-col-3 { text-align: left; }
    .footer-contact-card { height: auto; }

    .footer-bottom p { padding-right: 0; }

    .col-w66 { width: 100%; }
    .page-banner { min-height: 300px; padding-bottom: 40px; }
    .breadcrumbs--on-banner { margin-top: -62px; }
    .breadcrumbs--on-banner p { line-height: 18px; }
    .page-banner__title { font-size: 30px; }
    .page-gap { height: 30px; }
    .booking-form__field { flex: 1 1 100%; margin-right: 0; }
    .page-aside { margin-top: 30px; }
    .page-aside__inner.is-sticky { position: static; }
    .rich h2 { font-size: 25px; }
    .rich h3 { font-size: 19px; }
    .post-grid { grid-template-columns: 1fr; }
    .archive-grid { grid-template-columns: 1fr; }
    .archive-band__title { font-size: 30px; line-height: 1.3em; }
    .blog-list { padding: 50px 20px; }
    .hero-strip { min-height: 200px; }
    .title-band__title, .post-head__title { font-size: 30px; line-height: 1.3em; }
    .post-head__cat { line-height: 1.3em; }
    .content-row { display: block; }
    .content-col { width: 100% !important; }
    .doctor-hero { padding: 0; }
    .doctor-hero__inner { flex-direction: column-reverse; }
    .doctor-hero__divider { display: none; }
    .doctor-hero__photo { flex-basis: 380px; }
    .doctor-hero__text { padding: 30px 20px; }
    .doctor-tabs { display: block; }
    .doctor-tabs__nav { display: none; }
    .doctor-tabs__panels { margin: 0; border: 0; }
    .doctor-tabs__panel { display: block !important; padding: 0; border: 1px solid #d5d8dc; }
    .doctor-tabs__panel + .doctor-tabs__panel { border-top: 0; }
    .doctor-tabs__mobile-title {
        display: block; width: 100%; padding: 15px 20px; border: 0; background: none;
        color: var(--accent-1); font-weight: 700; text-align: left;
    }
    .doctor-tabs__panel:not(.is-open) .doctor-tabs__body { display: none; }
    .doctor-tabs__body { padding: 0 20px 20px; }
    .contact-box { margin-bottom: 20px; }
    .cta-box { min-height: 350px; }
}
