/* Mellea Clone Premium Theme CSS */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600&display=swap");

:root {
    --primary: #582c3b;
    --primary-dark: #3a1e19;
    --secondary: #debfa9;
    --secondary-dark: #c5a18a;
    --accent: #f8e8e8;
    --text-dark: #311c18;
    --bg-light: #faf0f04a;
    --card-bg: #ffffff;
    --btn-bg: #9c9c52;
    --btn-dark: #616115;
    --font-heading: "Playfair Display", serif;
    --font-body: system-ui, -apple-system, sans-serif;


    /* old colors shades of brown */

    /*   
  --primary: #58332c;
 
  --primary-dark: #3a1e19;
  --secondary: #debfa9;
  --secondary-dark: #c5a18a;
  --accent: #f8efe8;
  --text-dark: #311c18;
  --bg-light: #faf5f0;
  --card-bg: #ffffff;
  --btn-bg:#c46f33;
  --btn-dark:#652c00; */

    /* Typography */
    --font-heading: "Playfair Display", serif;
    --font-body: system-ui, -apple-system, sans-serif;

    /* Layout Spacing */
    --section-padding: 50px 0;
    --section-padding-sm: 30px 0;
}

/* Global Reset & Typography */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

p,
li {
    color: #3f3c3c !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

p.text-muted,
li.text-muted,
span.text-muted,
.text-muted {
    color: rgb(51, 50, 50) !important;
}

li.fs-6,
span.fs-6,
p.fs-6 {
    font-size: 16px !important;
}

li.fs-5,
span.fs-5,
p.fs-5 {
    font-size: 20px !important;
}

/* Scroll Progress Button */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;

    background-color: #9c9c5285 !important;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary) !important;
    font-size: 20px;
    z-index: 2;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #b24f69;
    /* primary color */
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

/* Floating Action Buttons */
.floating-action-btn {
    position: fixed;
    right: 30px;
    height: 50px;
    width: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2), 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-action-btn:hover {
    transform: scale(1.1);
    color: white;
}

.floating-wp {
    bottom: 95px;
    background-color: #25D366;
    /* WhatsApp Green */
}

.floating-call {
    bottom: 160px;
    background-color: var(--primary);
    /* Website Primary Color */
}

@media (max-width: 768px) {

    .floating-action-btn,
    .progress-wrap {
        right: 15px;
        height: 45px;
        width: 45px;
        font-size: 20px;
    }

    .progress-wrap {
        bottom: 15px;
    }

    .floating-wp {
        bottom: 75px;
    }

    .floating-call {
        bottom: 135px;
    }

    .progress-wrap i {
        font-size: 18px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

/* Logo Typography */


@media (max-width: 992px) {

    .site-header .navbar-brand {
        white-space: normal !important;
        max-width: 100% !important;
    }

    .logo a span:first-child,
    .logo-title {
        font-size: 30px !important;
    }

    .logo a span:last-child,
    .logo-subtitle {
        font-size: 15px !important;
    }

    .section-title {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 576px) {

    .logo a span:first-child,
    .logo-title {
        font-size: 27px !important;
    }

    .logo a span:last-child,
    .logo-subtitle {
        font-size: 13px !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }
}

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

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

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

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

/* Sticky Header */
.site-header .container {
    flex-wrap: nowrap !important;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 5px 0;
}

.header-transparent {
    background-color: transparent;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
}

.header-transparent .nav-link,
.header-transparent .navbar-brand {
    color: var(--primary) !important;
}

.header-solid {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-solid .nav-link,
.header-solid .navbar-brand,
.footer-brand {
    color: var(--primary) !important;
}

.header-solid .nav-link:hover {
    color: var(--primary-dark) !important;
}

.nav-link {
    font-size: 18px !important;
    font-size: 0.9rem;

    letter-spacing: 1px;
    font-weight: 500;
    padding: 0 15px !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: currentColor;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: calc(100% - 30px);
}

.nav-link.hover-underline:hover {
    color: inherit !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--text-dark);
    padding-top: 140px;
    padding-bottom: 80px;
    /* offset for header */
    overflow: hidden;
}

.hero-bg-split {
    position: absolute;
    top: 0;
    right: 0;
    width: 32%;
    height: 100%;
    background-color: var(--secondary-bg);
    z-index: 0;
}

.hero-section h1 {
    color: var(--text-dark);
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-image-single-wrapper {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-img-single {
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    max-height: 600px;
    width: 100%;
}

/* About Section Shapes */
.about-img-wrapper {
    padding: 40px 0 0 40px;
}

.about-img-wrapper .about-bg-shape {
    position: absolute;
    bottom: -30px;
    left: -10px;
    width: 60%;
    height: 60%;
    background-color: #4a533b;
    /* Dark Olive Green */
    z-index: 0;
}

.about-img-wrapper .about-border-shape {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 3px solid #d7d799;
    z-index: 1;
}

img.about-img-custom {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Buttons */
.btn-primary-theme {
    background-color: var(--btn-bg);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px;
    border-radius: 0;
    border: none;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-theme:hover {
    background-color: var(--btn-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-theme {
    background-color: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px;
    border-radius: 0;
    border: 1px solid #fff;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-theme:hover {
    background-color: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-dark-theme {
    background-color: var(--secondary);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px;
    border-radius: 0;
    border: none;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-dark-theme:hover {
    background-color: var(--secondary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section-padding {
    padding: var(--section-padding);
}

/* Service Carousel Card */
.service-carousel-card {
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #eee;
}

.service-carousel-card img {
    transition: transform 0.6s ease;
}

.service-carousel-card:hover img {
    transform: scale(1.05);
}

.service-carousel-card .service-icon-link {
    width: 45px;
    height: 45px;
    background-color: #fff;
    color: #000;
    transition: all 0.3s ease;
    z-index: 2;
}

.service-carousel-card:hover .service-icon-link {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.service-carousel-card .service-content-box {
    z-index: 2;
}

.service-carousel-card .service-content-inner {
    background-color: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-carousel-card .service-content-inner h5 {
    color: #000;
    transition: color 0.3s ease;
}

.service-carousel-card .service-content-inner p {
    color: #6c757d;
    transition: color 0.3s ease;
}

.service-carousel-card:hover .service-content-inner {
    background-color: var(--primary);
}

/* About Page */
.about-simple {
    background: var(--accent);
    color: var(--text-dark);
}

.simple-breadcrumb {
    position: relative;
    min-height: 360px;
    padding: 145px 0 88px;
    background:
        linear-gradient(180deg, rgba(248, 232, 232, .96), rgba(248, 232, 232, .88)),
        radial-gradient(circle at 16% 18%, rgba(88, 44, 59, .10), transparent 28%),
        radial-gradient(circle at 84% 22%, rgba(222, 191, 169, .28), transparent 26%);
    border-bottom: 1px solid rgba(88, 44, 59, .08);
    overflow: hidden;
}

.simple-breadcrumb .container {
    position: relative;
    z-index: 3;
}

.breadcrumb-content {
    position: relative;
    z-index: 3;
}

.breadcrumb-wave {
    position: absolute;
    left: -5%;
    width: 110%;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
}

.breadcrumb-wave-one {
    bottom: 34px;
    background: rgba(255, 255, 255, .42);
    transform: rotate(4deg);
}

.breadcrumb-wave-two {
    bottom: -18px;
    background: rgba(255, 255, 255, .55);
    transform: rotate(-4deg);
}

.crumb-line {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 14px;
    position: relative;
    z-index: 4;
}

.crumb-line a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.breadcrumb-subtitle {
    color: var(--primary);
    font-size: 22px;
    font-weight: 500;
}

.about-simple-title {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

.simple-breadcrumb .about-simple-title {
    color: var(--primary-dark);
    font-size: 55px;
    line-height: 1;
}

.simple-section {
    padding: 50px 0;
}

.about-main-section {
    background: #fff;
}

.simple-kicker {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.doctor-intro {
    position: relative;
    padding-top: 28px;
}

.doctor-pattern {
    position: absolute;
    left: -18px;
    top: 0;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(rgba(88, 51, 44, .22) 2px, transparent 2px);
    background-size: 14px 14px;
    z-index: 0;
}

.doctor-simple-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 330px;
    border-radius: 165px 165px 14px 14px;
    background: #fff;
    padding: 12px 12px 0;
    box-shadow: 0 16px 35px rgba(88, 44, 59, .12);
}

.doctor-simple-img img {
    width: 100%;
    height: 385px;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

.simple-copy {
    font-size: 16px;
    line-height: 1.82;
    color: var(--text-dark);
}

.doctor-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    margin: 4px 5px 4px 0;
    border-radius: 8px;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
}

.doctor-chip i {
    color: var(--primary);
}

.simple-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .6px;
    font-size: 13px;
    border-radius: 2px;
}

.simple-btn:hover {
    color: #fff;
    background: var(--primary-dark);
}

.soft-area {
    background: #fff;
}

.education-area {
    background: var(--accent);
}

.minimal-card {
    background: transparent;
    border: 0;
    border-left: 2px solid rgba(88, 44, 59, .25);
    border-radius: 0;
    padding: 8px 8px 8px 24px;
    height: 100%;
}

.minimal-card h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 14px;
}

.year-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(88, 44, 59, 0.2);
    transition: all 0.3s ease;
}

.experience-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.experience-list::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.experience-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
    transition: all 0.4s ease;
    padding-right: 20px;
}

.experience-item::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 10px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 4px rgba(88, 44, 59, 0.1);
    z-index: 2;
}

.experience-item:hover {
    transform: translateX(10px);
}

.experience-item:hover::before {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(88, 44, 59, 0.2);
}

.experience-item:hover .year-tag {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(88, 44, 59, 0.3);
}

.experience-item h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 600;
}

.experience-item p.fw-bold {
    color: var(--primary-dark);
    font-size: 18px;
}

.experience-item p,
.experience-item li {
    color: #555 !important;
    line-height: 1.8;
}

.experience-item ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.experience-item li {
    margin-bottom: 8px;
}

.experience-item li::marker {
    color: var(--primary);
}

.simple-tags {
    max-width: 920px;
    margin: 0 auto;
}

.simple-tag {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(88, 44, 59, .12);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
}

.clinical-note {
    /* max-width: 880px; */
    margin: 0 auto;
    padding: 34px;
    border-left: 4px solid var(--primary);
    background: #fff;
    border-radius: 18px;
}

.clinical-note ul {
    columns: 2;
    padding-left: 18px;
    margin-bottom: 0;
}

.clinical-note li {
    break-inside: avoid;
    margin-bottom: 10px;
    color: #68615f;
}

@media (max-width: 991px) {
    .simple-breadcrumb {
        min-height: 300px;
        padding-top: 128px;
    }

    .doctor-intro {
        text-align: center;
        margin-bottom: 35px;
    }
}

@media (max-width: 575px) {
    .simple-breadcrumb {
        min-height: 270px;
        padding: 118px 0 62px;
    }

    .breadcrumb-subtitle {
        font-size: 18px;
    }

    .simple-section {
        padding: 52px 0;
    }

    .doctor-simple-img img {
        height: 310px;
    }

    .clinical-note ul {
        columns: 1;
    }
}

.service-carousel-card:hover .service-content-inner h5,
.service-carousel-card:hover .service-content-inner p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--btn-bg);
    color: white;
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background-color: var(--btn-dark);
    color: #fff;
}

.servicesSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

/* Cards */
.service-card {
    background-color: var(--card-bg);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(107, 47, 47, 0.1);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-card-body {
    padding: 30px;
}

/* Process List */
.process-item {
    display: flex;
    margin-bottom: 30px;
}

.process-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 20px;
}

/* Testimonials */
.testimonial-swiper .swiper-slide {
    height: auto;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Stats */
.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg,
            var(--primary) 0%,
            var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
}

/* Logo shared styles */
.logo a span:first-child {
    color: var(--primary);
    /* font-size: 27px !important; */
    font-family: 'Playfair Display', serif;
}

.logo a span:last-child {
    /* font-size: 22px !important; */
    margin-top: 2px;
}

/* Desktop Navigation Overrides */
#desktopNav .nav-link {
    text-transform: none;
}

/* Mobile Offcanvas */
#mobileOffcanvas {
    width: auto;
    border-right: none;
}

#mobileOffcanvas .nav-link {
    text-transform: none;
    font-size: 18px;
}

#mobileOffcanvas .nav-link>i.fa-solid:first-child {
    width: 25px;
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: var(--bg-light);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-title::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    margin-right: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--primary);
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Info Sidebar */
.info-sidebar {
    position: fixed;
    top: 0;
    right: -480px;
    /* Hide completely off-screen matching the 480px width */
    width: 480px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1050;
    padding: 40px;
    overflow-y: auto;
    transition: right 0.5s ease-in-out;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    /* Background circles similar to image */
    background-image:
        radial-gradient(circle at 10% 40%,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 40%),
        radial-gradient(circle at 70% 70%,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 50%);
}

.info-sidebar.active {
    right: 0;
}

.sidebar-logo {
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
}

.sidebar-logo .navbar-brand,
.sidebar-logo .navbar-brand span {
    color: var(--text-dark) !important;
}

.sidebar-intro {
    color: #fff;
    font-size: 17px;
    line-height: 1.65;
}

.sidebar-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    color: #fff;
    font-size: 16px;
    line-height: 1.65;
}

.sidebar-contact-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-top: 2px;
    color: var(--primary);
    background: #fff;
    border-radius: 50%;
    font-size: 15px;
}

.close-sidebar {
    transition: transform 0.3s ease;
}

.close-sidebar:hover {
    transform: rotate(90deg);
    color: var(--accent) !important;
}

.menu-toggle {
    cursor: pointer;
    z-index: 1010;
}

.toggle-line {
    display: block;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.header-solid .toggle-line {
    background-color: var(--primary);
}

.toggle-line.line-1 {
    width: 30px;
}

.toggle-line.line-2 {
    width: 20px;
}

.toggle-line.line-3 {
    width: 30px;
}

.menu-toggle:hover .toggle-line.line-2 {
    width: 30px;
}

/* Sidebar Social Links */
.info-sidebar .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.info-sidebar .social-link:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* Custom Sidebar Scrollbar */
.info-sidebar::-webkit-scrollbar {
    width: 6px;
}

.info-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.info-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.info-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Custom Scrollbar for Main Page */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--primary) !important;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Gallery Hover Overlay */
.gallery-item .gallery-overlay {
    background-color: rgba(255, 255, 255, 0.5);
    /* semi-transparent white overlay */
    opacity: 0;
    z-index: 1;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-icon {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.gallery-item img {
    transform: scale(1);
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Custom Extracted Utilities for home.blade.php */
.bg-light-custom {
    background-color: var(--bg-light);
}

.btn-text-sm {
    font-size: 17px;
}

.about-img-custom {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    /* border-radius: 10px; */
    max-width: 450px;
}

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

.object-fit-cover {
    object-fit: cover;
}

.icon-rotate-45 {
    transform: rotate(-45deg);
}

.bg-pattern-dots {
    background-image: radial-gradient(var(--secondary-dark) 1px,
            transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: 0;
    mask-image: radial-gradient(circle,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0) 70%);
    -webkit-mask-image: radial-gradient(circle,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0) 70%);
}

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

.icon-box-lg {
    width: 75px;
    height: 75px;
    color: var(--primary);
}

.circle-img-wrapper {
    width: 350px;
    height: 350px;
    background-color: var(--accent);
}

.circle-img-inner {
    object-fit: cover;
    object-position: top;
}

/* Laparoscopic procedures showcase */
.laparoscopic-showcase {
    isolation: isolate;
    background: linear-gradient(135deg,
            #fff 0%,
            var(--accent) 48%,
            #f4dddd 100%);
}

.laparoscopic-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(88, 44, 59, 0.18) 1px,
            transparent 1px);
    background-size: 28px 28px;
    opacity: 0.2;
}

.laparoscopic-glow {
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    z-index: -1;
}

.laparoscopic-glow-left {
    left: -180px;
    bottom: -220px;
    background: var(--secondary);
}

.laparoscopic-glow-right {
    right: -180px;
    bottom: -220px;
    background: var(--primary);
}

.laparoscopic-heading {
    max-width: 760px;
    margin: 0 auto 58px;
}

.laparoscopic-heading h2 {
    margin: 8px 0 0;
    /* color: var(--primary-dark); */
}

.laparoscopic-heading p {
    color: #6f6064;
}

.laparoscopic-kicker {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.laparoscopic-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 38px;
}

.laparoscopic-procedure {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 92px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(88, 44, 59, 0.16);
}

.laparoscopic-procedure:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.laparoscopic-list-left .laparoscopic-procedure {
    flex-direction: row-reverse;
    text-align: right;
}

.laparoscopic-procedure .icon-box-lg {
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    color: #fff;
    background: var(--primary);
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(88, 44, 59, 0.16);
}

.laparoscopic-procedure .icon-box-lg i {
    font-size: 22px !important;
}

.laparoscopic-procedure h5 {
    margin: 0 0 7px;
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 700;
}

.laparoscopic-procedure p {
    margin: 0;
    color: #6f6064;
    font-size: 16px;
    line-height: 1.55;
}

.laparoscopic-image-wrap {
    position: relative;
    max-width: 370px;
    margin: auto;
}

.laparoscopic-image-wrap::before {
    content: "";
    position: absolute;
    inset: 7% 2%;
    z-index: -1;
    border-radius: 48%;
    /* background: rgba(0, 0, 0, 0.32); */
    /* filter: blur(22px); */
}

.laparoscopic-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
}

@media (max-width: 991.98px) {
    .laparoscopic-heading {
        margin-bottom: 38px;
    }

    .laparoscopic-visual {
        order: -1;
        margin-bottom: 42px;
    }

    .laparoscopic-image-wrap {
        max-width: 310px;
    }

    .laparoscopic-list {
        gap: 22px;
        margin-bottom: 22px;
    }

    .laparoscopic-list-left .laparoscopic-procedure {
        flex-direction: row;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .about-simple-title {
        font-size: 40px !important;
    }

    .laparoscopic-image-wrap {
        max-width: 250px;
    }

    .laparoscopic-procedure {
        gap: 14px;
        min-height: 78px;
        padding-bottom: 18px;
    }

    .laparoscopic-procedure .icon-box-lg {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }
}

.decor-circle-lg {
    width: 800px;
    height: 800px;
    /* background-color: var(--accent); */
    top: -100px;
    left: -150px;
    z-index: 0;
    opacity: 0.8;
}

.decor-star-pos {
    top: 15%;
    left: 10%;
    z-index: 1;
}

.decor-star-icon {
    color: var(--primary-dark);
    opacity: 0.8;
}

.line-separator {
    width: 40px;
    height: 1px;
    background-color: var(--text-dark);
    display: inline-block;
    margin-right: 15px;
}

.text-dark-custom {
    color: var(--text-dark);
}

.list-icon-sm {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    color: #fff;
    font-size: 10px;
}

.list-text-dark {
    color: var(--text-dark);
    font-weight: 500;
}

.btn-outline-custom {
    font-size: 0.85rem;
    color: #fff;
    border: none;
    border-radius: 0;
    background-color: var(--primary-dark);
    letter-spacing: 1px;
}

.btn-outline-custom:hover {
    background-color: var(--btn-dark);
    color: #fff;
    transform: translateY(-3px);
}

.featured-treatment-img {
    border-radius: 40px;
    max-height: 550px;
    width: 100%;
    max-width: 450px;
    object-fit: cover;
    background-color: var(--secondary);
}

.laparoscopy-image-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    grid-template-rows: repeat(2, 235px);
    gap: 18px;
    max-width: 610px;
    margin-left: auto;
}

.laparoscopy-image-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(88, 44, 59, .1);
    border-radius: 24px;
    box-shadow: 0 16px 35px rgba(88, 44, 59, .12);
}

.laparoscopy-image-card-main {
    grid-row: 1 / 3;
    align-self: center;
    height: 390px;
}

.laparoscopy-image-card img {
    width: 100%;
    min-height: 0;
    flex: 1;
    object-fit: cover;
    background: var(--accent);
}

.laparoscopy-image-card-main img {
    object-position: center;
}

.laparoscopy-image-card h5 {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px 14px;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 575.98px) {
    .laparoscopy-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 16px;
    }

    .laparoscopy-image-card-main {
        grid-row: auto;
        height: auto;
    }

    .laparoscopy-image-card img {
        height: 230px;
        flex: none;
    }

    .laparoscopy-image-card:first-child img,
    .laparoscopy-image-card:last-child img {
        height: 350px;
    }
}

.floating-badge-lg {
    width: 140px;
    height: 140px;
    background-color: var(--primary-dark);
    border: 8px solid #fff;
    border-radius: 50%;
    bottom: 15%;
    left: -60px;
    color: #fff;
    z-index: 2;
}

.floating-badge-text-sm {
    font-size: 0.75rem;
}

.gallery-img-custom {
    height: 300px;
    object-fit: cover;
}

.gallery-icon-custom {
    width: 60px;
    height: 60px;
    opacity: 0;
    transform: scale(0.5);
    background-color: var(--primary);
}

/* Custom Hero Section */
.custom-hero-wrapper {
    padding: 20px 5%;
    padding-top: 110px;
    background-color: var(--bg-light);
}

.custom-hero-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: 80vh;
    max-width: 1400px;
    margin: 0 auto;
}

.custom-hero-slide {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* .custom-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
} */

.custom-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 800px;
    padding: 40px;
    margin-left: 5%;
}

.custom-hero-content h1 {
    font-size: 3.5rem;
    /* color: #fff; */
    font-family: "Playfair Display", serif;
    font-weight: 500;
    margin-bottom: 2rem;
}

.custom-hero-btn {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-radius: 0;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
}

.custom-hero-btn i {
    color: #fff !important;
}

.custom-hero-btn:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.custom-shape-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-bottom .shape-fill {
    fill: var(--bg-light);
    /* Or #fff depending on the next section */
}

@media (max-width: 991.98px) {
    .custom-hero-wrapper {
        padding: 10px;
        padding-top: 110px;
    }

    .custom-hero-card {
        border-radius: 20px;
        min-height: auto;
        background-color: var(--accent) !important;
    }

    .custom-hero-slide {
        background-image: none !important;
        background-color: transparent !important;
        flex-direction: column !important;
        justify-content: flex-start;
        padding-top: 30px;
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 50px;
    }

    .custom-hero-content h1,
    .custom-hero-content p {
        margin-bottom: 1rem !important;
    }

    .custom-hero-content {
        padding: 0 20px;
        text-align: left;
        width: 100%;
    }

    .custom-hero-content h1,
    .custom-hero-content p {
        color: #000 !important;
    }

    .custom-hero-mobile-img {
        margin: 30px auto 20px auto;
        padding: 0 20px;
        max-width: 350px;
    }

    .custom-hero-mobile-img img {
        border: 4px solid var(--primary) !important;
        border-radius: 1rem !important;
        /* Matches Bootstrap rounded-4 */
    }

    .custom-hero-content h1 {
        font-size: 2.2rem;
    }
}

/* iPad/Tablet Specific Sizing */
@media (min-width: 768px) and (max-width: 991.98px) {
    .contact-section {
        padding-bottom: 30px !important;
    }

    .about-simple-title {
        font-size: 50px !important;
    }

    .custom-hero-mobile-img {
        max-width: 350px;
        /* Reduced from 450px to save vertical space */
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .custom-hero-wrapper {
        padding-top: 120px !important;
        /* Slightly less top padding on iPad */
    }

    .custom-hero-slide {
        padding-top: 35px;
        /* Reduce inner padding to save height */
    }

    .custom-hero-content {
        text-align: center;
        margin: 0 auto;
    }
}

/* Mobile Navbar Hover Effect */
.offcanvas-body .nav-link {
    transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    background-color: var(--primary-dark) !important;
    color: #fff !important;
}

.offcanvas-body .nav-link:hover i {
    color: #fff !important;
}

/* Footer Copyright Bar */
.footer-copyright {
    background-color: var(--primary-dark);
    padding: 20px 0;
    width: 100%;
}


/* Services mega menu */
.services-nav-item {
    position: static;
}

.services-nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
}

.services-chevron {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.services-mega-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: 50%;
    width: min(920px, calc(100vw - 48px));
    padding: 28px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(88, 44, 59, 0.13);
    border-top: 4px solid var(--primary);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 55px rgba(58, 30, 25, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s;
    z-index: 1100;
}

.services-nav-item:hover .services-mega-menu,
.services-nav-item:focus-within .services-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.services-nav-item:hover .services-chevron,
.services-nav-item:focus-within .services-chevron {
    transform: rotate(180deg);
}

.services-menu-header {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(88, 44, 59, 0.12);
}

.services-menu-header h3 {
    margin: 2px 0 0;
    color: var(--primary-dark);
    font-size: 24px;
}

.services-menu-kicker {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.services-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 16px;
}

.service-menu-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 5px 8px;
    color: #2c2527;
    font-size: 16px;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.2s ease;
}

.service-menu-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    color: var(--primary);
    background: rgba(88, 44, 59, 0.09);
    border-radius: 10px;
}

.service-menu-label {
    flex: 1;
}

.service-menu-arrow {
    position: relative;
    display: inline-block;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: var(--primary);
    background: var(--accent);
    border-radius: 50%;
    font-size: 9px;
    line-height: 1;
    opacity: 1;
    overflow: hidden;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.service-menu-arrow::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    margin: 0;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.service-menu-item:hover,
.service-menu-item:focus {
    color: var(--primary-dark);
    font-size: 16px;
    background: var(--accent);
    transform: translateX(3px);
}

.service-menu-item:hover .service-menu-icon,
.service-menu-item:focus .service-menu-icon {
    color: #fff;
    background: var(--primary);
}

.service-menu-item:hover .service-menu-arrow,
.service-menu-item:focus .service-menu-arrow {
    color: #fff;
    background: var(--primary);
    transform: translateX(2px);
}

.mobile-services-list {
    margin: 6px 0;
    border-left: 0;
}

.mobile-services-list a {
    font-size: 17px;
    line-height: 1.35;
    border-radius: 8px;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.mobile-services-list a:hover,
.mobile-services-list a:focus {
    color: var(--primary) !important;
    font-size: 17px;
    background: var(--accent);
}

.mobile-services-list i {
    color: var(--primary);
    font-size: 9px;
}

/* =========================================
   Doctor Profile Section Design 
========================================= */

/* 1. Doctor Image Square Design */
.about-doctor-square-wrapper {
    position: relative;
    max-width: 420px;
    /* Increased width */
    padding: 25px;
    margin: 0 auto;
}

.about-doctor-border-1 {
    position: absolute;
    top: -5px;
    bottom: 5px;
    left: 10px;
    right: -3px;
    border: 4px solid var(--accent);
    z-index: 0;
}

.about-doctor-border-2 {
    position: absolute;
    top: 15px;
    bottom: -10px;
    left: -5px;
    right: 15px;
    border: 4px solid var(--primary);
    z-index: 0;
}

.about-doctor-img-container {
    /* position: relative; */
    z-index: 2;
    padding: 8px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.about-doctor-img-container img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    /* Square image */
}

.about-floral-overlay {
    position: absolute;
    bottom: -15px;
    left: -30px;
    width: 140px;
    z-index: 3;
    pointer-events: none;
}

.about-floral-overlay img {
    mix-blend-mode: multiply;
    filter: sepia(0.8) hue-rotate(345deg) saturate(1.5) brightness(1.1);
}

/* 2. Doctor Name & Designation */
.about-doctor-name {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.about-doctor-designation {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-doctor-designation .divider {
    color: var(--secondary);
    font-weight: 300;
    margin: 0 10px;
}

/* 3. Degree Card */
.degree-card {
    background: linear-gradient(145deg, #ffffff, #faf7f5);
    border-radius: 50px;
    padding: 8px 24px 8px 8px;
    border: 1px solid rgba(88, 44, 59, 0.1);
    box-shadow: 0 6px 15px rgba(88, 44, 59, 0.05);
    display: inline-flex;
    align-items: center;
}

.degree-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.degree-icon i {
    font-size: 1.2rem !important;
    color: #ffffff !important;
}

.degree-text h5 {
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0;
}


/* 4. Education Section - Horizontal Cards */
.edu-horizontal-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(88, 44, 59, 0.04);
    border: 1px solid rgba(88, 44, 59, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.edu-horizontal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.edu-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(88, 44, 59, 0.08);
}

.edu-horizontal-card:hover::before {
    transform: scaleX(1);
}

.edu-year-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.edu-degree-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.edu-inst-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

/* =========================================
   Testimonial Page Design 
========================================= */

.testimonials-page {
    background-color: #fcfcfc;
}

.testimonial-card-premium {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-left: 6px solid var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.testimonial-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-brand-icon {
    flex-shrink: 0;
    margin-right: 15px;
}

.testimonial-author-info h4 {
    margin: 0 0 5px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 0.95rem;
}

.testimonial-quote-icon {
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 3.5rem;
    color: var(--secondary);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-body {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    font-family: var(--font-body);
}

.testimonial-more-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.testimonial-more-link:hover {
    color: var(--primary-dark);
}

/* =========================================
   Gallery Page Design
========================================= */

.gallery-page-item {
    cursor: pointer;
}

.gallery-page-img {
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.45s ease;
    display: block;
}

.gallery-page-item:hover .gallery-page-img {
    transform: scale(1.07);
}

.gallery-page-overlay {
    background: linear-gradient(to top,
            rgba(88, 44, 59, 0.82) 0%,
            rgba(88, 44, 59, 0.35) 45%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-page-item:hover .gallery-page-overlay {
    opacity: 1;
}

.gallery-page-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    backdrop-filter: blur(4px);
    transition: transform 0.35s ease, background 0.35s ease;
}

.gallery-page-item:hover .gallery-page-icon {
    transform: translateX(-50%) translateY(0);
    background: var(--primary);
    border-color: var(--primary);
}

/* Gallery icon - centered override */
.gallery-page-icon {
    position: absolute !important;
    bottom: auto !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.7) !important;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    backdrop-filter: blur(4px);
    transition: transform 0.35s ease, background 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}

.gallery-page-item:hover .gallery-page-icon {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1;
    background: var(--primary);
    border-color: var(--primary);
}


/* ===============================
   CONTACT SECTION
==================================*/

.contact-wrapper {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    margin-top: 40px;
}

/* LEFT SIDE */

.contact-left {
    background: var(--primary);
    padding: 70px 45px;
    height: 100%;
}

.contact-item {
    text-align: left;
    color: #fff;
}

.contact-item:not(:last-child) {
    padding-bottom: 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

/* ICON */

.contact-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: .4s;
}

.contact-icon i {
    font-size: 28px;
    color: var(--primary);
}

.contact-item:hover .contact-icon {
    transform: translateY(-5px);
    background: var(--secondary);
}

/* TITLE */

.contact-item h5 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
}

/* TEXT */

.contact-item p,
.contact-item a {
    color: #fff;
    font-size: 18px;
    line-height: 1.9;
    text-decoration: none;
    transition: .3s;
}

.contact-item a:hover {
    color: var(--secondary);
}

/* RIGHT */

.contact-right {
    background: #fff;
    /* padding:30px; */
}

/* MAP */

.contact-map {
    /* border-radius:20px; */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
    height: 100%;
    min-height: 650px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===============================
   RESPONSIVE
==================================*/

@media(max-width:991px) {

    .contact-left {
        padding: 45px 30px;
    }

    .contact-right {
        padding: 20px;
    }

    .contact-map {
        min-height: 450px;
    }

}

@media(max-width:767px) {

    .contact-left {
        padding: 35px 25px;
    }

    .contact-item h5 {
        font-size: 24px;
    }

    .contact-item p,
    .contact-item a {
        font-size: 16px;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
    }

    .contact-icon i {
        font-size: 24px;
    }

    .contact-map {
        min-height: 350px;
    }

}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    color: #fff;
}

.contact-item:not(:last-child) {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .35s;
}

.contact-icon i {
    font-size: 22px;
    color: var(--primary);
}

.contact-item:hover .contact-icon {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-content {
    flex: 1;
}

.contact-content h5 {
    color: #fff;
    font-size: 26px;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    text-align: left;
}

.contact-content p {
    text-align: left;
    color: #fff;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

.contact-content a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: .3s;
    word-break: break-word;
    text-align: left !important;
}

.contact-content a:hover {
    color: var(--secondary);
}

@media(max-width:767px) {

    .contact-item {
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .contact-icon i {
        font-size: 18px;
    }

    .contact-content h5 {
        font-size: 22px;
    }

    .contact-content p,
    .contact-content a {
        font-size: 15px;
    }

}

/* professional experienc */

.experience-section {
    background: #fff !important;
}

.experience-card {

    display: flex;
    align-items: flex-start;
    gap: 35px;

    background: var(--bg-light);

    padding: 40px;

    border-radius: 24px;

    margin-bottom: 30px;

    border: 1px solid rgba(0, 0, 0, .05);

    transition: .35s;

}

.experience-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);

}

.experience-icon {

    width: 90px;
    height: 90px;

    flex-shrink: 0;

    border-radius: 24px;

    background: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--secondary);

    font-size: 34px;

    border: 1px solid #eee;

}

.experience-content {

    flex: 1;

}

.experience-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 20px;

}

.experience-top h4 {

    margin: 0;

    font-size: 32px;

    color: var(--primary);

}

.experience-top h6 {

    margin-top: 8px;

    color: #666;

    font-size: 18px;

}

.experience-date {

    background: #fff;

    padding: 12px 20px;

    border-radius: 50px;

    font-weight: 700;

    color: var(--secondary);

    white-space: nowrap;

}

.experience-content p {

    color: #666;

    line-height: 1.9;

    margin-bottom: 25px;

}

.experience-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.experience-tags span {

    background: #fff;

    padding: 10px 18px;

    border-radius: 40px;

    font-size: 14px;

    border: 1px solid #e7e7e7;

    color: var(--primary);

    font-weight: 600;

}

@media(max-width:768px) {

    .experience-card {

        flex-direction: column;

        padding: 25px;

    }

    .experience-top {

        flex-direction: column;

    }

    .experience-date {

        width: max-content;

    }

}

/* Laparoscopic Appendix Surgery Page */
.service-image-wrapper {
    margin-left: 20px;
    margin-bottom: 20px;
}

.service-image-wrapper img {
    object-fit: cover;
}

.service-image-bg {
    background-color: #b9698494;
    width: 100%;
    height: 100%;
    bottom: -20px;
    left: -20px;
    z-index: -1;
}

.text-justify {
    text-align: justify !important;
}

.list-icon-check {
    width: 25px !important;
    height: 25px !important;
    font-size: 12px !important;
}

/* Custom Swiper Pagination - Lines */
.custom-hero-wrapper .swiper-pagination-bullet {
    width: 35px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background-color: #fff !important;
    opacity: 0.4;
    transition: all 0.3s ease;
    margin: 0 5px !important;
}

.custom-hero-wrapper .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background-color: var(--primary) !important;
    width: 45px !important;
}

/* Invisible Click Areas for Hero Slider */
.click-area-prev,
.click-area-next {
    width: 15% !important;
    /* Covers edges without blocking center content */
    height: 100% !important;
    top: 0 !important;
    margin-top: 0 !important;
    opacity: 0 !important;
    /* Fully invisible */
    cursor: pointer;
    z-index: 5 !important;
    /* Above background, below content */
}

.click-area-prev {
    left: 0 !important;
}

.click-area-next {
    right: 0 !important;
}

.click-area-prev::after,
.click-area-next::after {
    display: none !important;
    /* Hide default swiper arrows */
}

.custom-hero-content {
    position: relative;
    z-index: 10;
    /* Ensure button and text are clickable */
}

/* Gradient Overlay for Hero Slider */
.custom-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(211 153 173 / 40%) 0%, rgb(164 85 118 / 20%) 50%, rgba(0, 0, 0, 0) 100%);
    /* background: linear-gradient(to right, rgb(188 97 129 / 40%) 0%, rgb(164 85 118 / 20%) 50%, rgba(0, 0, 0, 0) 100%); */
    /* background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%); */
    z-index: 1;
}

/* Ensure 1 row per list item in clinical notes on iPad and mobile */
@media (max-width: 991px) {
    .clinical-note ul {
        columns: 1 !important;
        display: block !important;
    }

    .clinical-note ul li {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Utility classes */
.no-underline {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Achievements Tabs */
.achievements-tabs .nav-link {
    background-color: #fff;
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.achievements-tabs .nav-link:hover {
    background-color: var(--accent);
    color: var(--primary-dark) !important;
}

.achievements-tabs .nav-link.active {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* Membership Card */
.membership-card {
    background: linear-gradient(135deg, var(--accent) 0%, var(--bg-light) 100%);
    border: 1px solid rgba(88, 44, 59, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Ribbon Membership Design */
.membership-ribbon-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 750px;
    margin: 0 auto;
    padding-left: 60px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.membership-ribbon-container:hover {
    transform: scale(1.02);
}

.membership-ribbon-badge {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    z-index: 2;
    border: 5px solid #e0c4c4;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.membership-ribbon-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.membership-ribbon-container:hover .membership-ribbon-badge img {
    /* transform: scale(1.15) rotate(5deg); */
}

.membership-ribbon-content {
    background-color: var(--primary);
    color: #fff;
    padding: 25px 40px 25px 70px;
    /* Adjusted padding */
    width: 100%;
    min-height: 110px;
    /* ensure equal height */
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 4px 15px rgba(88, 44, 59, 0.2);
}

.membership-ribbon-content h4 {
    color: #fff !important;
    font-size: 22px;
    /* slightly smaller for 2-col */
    line-height: 1.4;
    margin-bottom: 5px;
}

.membership-ribbon-content p {
    color: var(--secondary) !important;
    font-size: 1.1rem;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .membership-ribbon-container {
        flex-direction: column;
        padding-left: 0;
        padding-top: 55px;
        margin-bottom: 40px;
    }

    .membership-ribbon-badge {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }

    .membership-ribbon-container:hover .membership-ribbon-badge {
        transform: translateX(-50%) scale(1.05);
    }

    .membership-ribbon-content {
        clip-path: none;
        border-radius: 12px;
        padding: 70px 20px 30px 20px;
        text-align: center;
    }
}

/* Mobile Services List */
.mobile-service-link {
    transition: all 0.3s ease;
}

.mobile-service-link:hover {
    background-color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mobile-service-link:hover span {
    color: var(--primary) !important;
}

.contact-section {
    padding-bottom: 40px !important;
}

@media (max-width: 991.98px) {
    .text-justify-mobile {
        text-align: justify !important;
    }

    /* Responsive Headings for Mobile & iPad (Service pages and About page) */
    .about-doctor-name,
    main.about-simple h2 {
        font-size: 2.2rem !important;
    }

    .about-simple-title {
        font-size: 32px !important;
    }
}

@media (max-width: 767.98px) {

    .about-doctor-name,
    main.about-simple h2 {
        font-size: 1.8rem !important;
    }

    .about-simple-title {
        font-size: 26px !important;
    }
}

/* Degree Icon Wrapper */
.degree-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.degree-icon-wrapper i {
    color: var(--primary) !important;
    font-size: 0.95rem;
}

.degree-name {
    font-size: 18px !important;
}

/* Global Logo Styles */
.logo a span:first-child {
    font-size: 36px;
    color: var(--primary) !important;
}

.logo a span:last-child {
    font-size: 18px;
    margin-top: 2px;
    font-weight: 500 !important;
}

/* Home Page Extracted Styles */
.hero-subtitle-opacity {
    opacity: 0.9;
}

.hero-img-square {
    aspect-ratio: 1/1;
}

.about-img-accent {
    background-color: var(--accent);
}

.cta-section-bg {
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--accent) 100%);
}

.cta-badge {
    background-color: var(--secondary);
    color: var(--primary);
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.cta-text {
    line-height: 1.8;
    text-align: justify;
}

.cta-heading-color {
    color: var(--primary);
}

.cta-img-offset-border {
    border: 2px solid var(--primary);
    top: 15px;
    left: 15px;
    z-index: 0;
}

.cta-doctor-img {

    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 390px;
}

.text-primary-bold {
    color: var(--primary) !important;
    font-weight: bold;
    text-decoration: none;
}

/* iPad Responsive adjustments for CTA Image */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .ipad-cta-wrapper {
        width: 75%;
        margin: 0 auto;
    }
}