:root {
    --primary: #2C3E50;
    --secondary: #34495E;
    --accent: #5D7D9F;
    --background: #FAFBFC;
    --light-gray: #E8ECEF;
    --gray: #A0AAB4;
    --text: #1A2026;
    --muted-text: #5A6670;
    --white: #FFFFFF;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h3 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h4 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
}

h5 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

h6 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(73, 96, 120, 0.2);
}

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

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.section-title p {
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Navbar */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.35s ease;
    height: 88px;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 5px 25px rgba(73, 96, 120, 0.15);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

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

.logo img {
    height: 55px;
    width: auto;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.logo-text {
    font-family: 'Instrument Serif', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.01em;
    transition: color 0.35s ease;
}

.logo-text-sub {
    font-size: 1.1rem;
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.logo a {

    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    font-family: serif;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: all 0.35s ease;
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a.nav-btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-family: serif;
    letter-spacing: 0.02em;
    transition: all 0.35s ease;
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.nav-links a.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(73, 96, 120, 0.2);
}

.nav-links a.nav-btn::after {
    display: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.35s ease;
}

.navbar.scrolled .nav-links a::after {
    background: var(--primary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--white);
    padding: 5px;
    transition: color 0.35s ease;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--primary);
}

.mobile-menu-close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.mobile-menu-close-btn:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        flex-direction: column;
        background: var(--white);
        width: 90%;
        height: 100vh;
        padding: 40px 30px;
        box-shadow: 0 10px 30px rgba(73, 96, 120, 0.15);
        transition: right 0.3s ease;
        gap: 25px;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 120px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        color: var(--text) !important;
    }

    .nav-links a::after {
        background: var(--primary) !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        /* color: white !important; */
    }

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

    .mobile-menu-close-btn {
        display: block;
    }

    .navbar .container {
        padding: 15px 20px;
    }

    .logo-text {
        font-size: 1.2rem;
        display: none;
    }

    .logo img {
        height: 75px;
        width: auto;
        display: block;
    }
}

/* Hero Section */
/* Hero Section - Improved Responsive Typography */
.hero {
    position: relative;
    min-height: 900px;
    padding: 120px 0 140px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    overflow: visible;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(12, 25, 45, 0.279),
            rgba(12, 25, 45, 0)),
        url("bagroundAI.jpeg") center center / cover no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    max-width: 620px;
}

.hero-text h1 {
    font-size: 4rem;
    color:rgb(29, 51, 76);
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: rgba(103, 84, 36, 0.95);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.4;
}

.hero-location {
    font-size: 1.08rem;
    color: rgba(103, 84, 36, 0.95);
    margin-bottom: 28px;
    max-width: 540px;
    line-height: 1.5;
}

.hero-text ul {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 15px 40px;
    color: var(--text);
    padding: 12px 0 0 20px;
    margin-bottom: 28px;
}

.hero-text ul li::marker {
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 35px;
}

.hero-buttons .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.32);
}

.hero-buttons .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}


/* Hero Features */

.hero-features {
    position: absolute;
    left: 50%;
    bottom: -70px;
    transform: translateX(-50%);
    width: min(1200px, 95%);
    background: #fff;
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 35px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    z-index: 5;
}

.hero-features .feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.hero-features .feature:not(:last-child) {
    border-right: 1px solid #ececec;
    padding-right: 20px;
}

.hero-features .feature i {
    font-size: 38px;
    color: #15345c;
    flex-shrink: 0;
}

.hero-features .feature h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: var(--text);
}

.hero-features .feature p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.floating-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floating-card h3 {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.floating-card .stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.floating-card .stat {
    text-align: center;
}

.floating-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.floating-card .stat-label {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.google-rating .stars {
    color: #FFD700;
}




/* =========================================================
   TABLET (769px - 991px)
   ========================================================= */
@media (min-width: 769px) and (max-width: 991px) {

    .hero {
        min-height: 100vh;
        padding: 110px 0 50px;
    }


    .hero-text {
       padding-left: 15px;
    }

    
}


/* =========================================================
   MOBILE (max-width: 768px)
   ========================================================= */
@media (max-width:767px) {

    .hero {
        min-height: 100vh;
        padding: 90px 0 24px;
    }

    .hero::before {
        background-image:
            linear-gradient(rgba(12, 25, 45, .32), rgba(12, 25, 45, .08)),
            url("bamobile2.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-items: center;
        min-height: calc(100vh - 90px);
    }

    /* White gradient behind text */
    .hero-text {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 42px 24px;
        border-radius: 24px;
        overflow: hidden;
         z-index: 2;
    }

    .hero-text::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(
            circle at left center,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(255, 255, 255, 0) 78%,
            transparent 100%
        );
    }

    .hero-text h1 {
        font-size: clamp(2.7rem, 8vw, 3.2rem);
        line-height: 1.16;
        letter-spacing: -0.02em;
        color: #ffffff;
        margin-bottom: 22px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.55;
        color: #ffffff;
        margin-bottom: 16px;
        letter-spacing: 0.015em;
    }

    .hero-location {
        font-size: 1rem;
        line-height: 1.7;
        color: #ffffff;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .hero-text ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 0 0 18px;
        margin: 0 0 34px;
    }

    .hero-text ul li {
        font-size: 1rem;
        line-height: 1.6;
        color: #1b2f4a;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 16px 22px;
        font-size: 1rem;
        text-align: center;
    }

    .hero-features {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 36px;
        padding: 28px 20px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-features .feature {
        padding: 0;
        margin: 0;
    }

    .hero-features .feature:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #ececec;
        padding-bottom: 18px;
    }

    .hero-features .feature i {
        font-size: 30px;
    }

    .hero-features .feature h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .hero-features .feature p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}


/* =========================================================
   EXTRA SMALL PHONES (max-width: 480px)
   ========================================================= */
@media (max-width: 480px) {

    .hero {
        padding-top: 86px;
    }

    .hero-text {
        padding: 36px 20px;
    }

    .hero-text h1 {
        font-size: clamp(2.35rem, 9vw, 2.9rem);
        line-height: 1.14;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-location {
        font-size: 0.95rem;
    }

    .hero-text ul li {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        padding: 15px 20px;
    }
}


/* About Preview */
.about-preview {
    background: var(--white);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.129);
    backdrop-filter: blur(1px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


.about-images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}


.about-text h3 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: var(--text);
}

.about-text p {
    color: var(--text);
    margin-bottom: 20px;


}

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

    .about-expertise-list {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
    }
}

/* Why Choose Us */
.why-choose {
    background: var(--background);
    padding: 108px 0;
}

.why-choose .container {
    max-width: 1320px;
}

.why-choose-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.why-choose-kicker {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-light, var(--muted-text));
}

.why-choose-header-line {
    display: block;
    width: 36px;
    height: 1px;
    margin: 18px auto 22px;
    background: currentColor;
    opacity: 0.25;
    color: var(--primary);
}

.why-choose-header h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 2px;
    margin: 0;
    color: var(--text);
}

.why-choose-intro {
    max-width: 620px;
    margin: 18px auto 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.why-choose-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.68fr);
    gap: 42px;
    align-items: stretch;
}

.why-choose-figure {
    position: relative;
    margin: 0;
    min-height: 560px;
}

.why-choose-figure img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: block;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 300ms ease;
}

.why-choose-trust-card {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    width: min(76%, 260px);
    background: var(--surface, var(--white));
    border-radius: 18px;
    padding: 16px 20px 18px;
    box-shadow: 0 10px 28px rgba(26, 32, 38, 0.08);
    text-align: center;
    transition: transform 300ms ease;
}

.why-choose-trust-line {
    display: block;
    width: 22px;
    height: 1px;
    margin: 0 auto 14px;
    background: currentColor;
    opacity: 0.25;
    color: var(--primary);
}

.why-choose-trust-card p {
    margin: 0;
    font-family: 'Instrument Serif', serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
}

.why-choose-trust-stars {
    margin-top: 10px;
    font-size: 20px;
    letter-spacing: 3px;
    color: var(--primary);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-choose-item {
    padding: 18px 28px 24px;
    min-height: 168px;
    border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
    transition: color 300ms ease;
}

.why-choose-item:nth-child(odd) {
    border-right: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.why-choose-item:nth-last-child(-n + 2) {
    border-bottom: none;
}

.why-choose-number {
    display: block;
    font-family: 'Instrument Serif', serif;
    font-size: 38px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.35;
    transition: color 300ms ease, opacity 300ms ease;
}

.why-choose-divider {
    display: block;
    width: 36px;
    height: 1px;
    margin: 14px 0 18px;
    background: currentColor;
    opacity: 0.25;
    color: var(--primary);
}

.why-choose-item h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 10px;
    max-width: 260px;
    transition: color 300ms ease;
}

.why-choose-item p {
    max-width: 260px;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--muted-text);
}

.why-choose-figure:hover img {
    transform: scale(1.02);
}

.why-choose-figure:hover .why-choose-trust-card {
    transform: translateX(-50%) translateY(-3px);
}

.why-choose-item:hover h3 {
    color: var(--primary);
}

.why-choose-item:hover .why-choose-number {
    opacity: 0.5;
}

/* Responsive for why choose us */
@media (max-width: 1200px) {
    .why-choose {
        padding: 90px 0;
    }

    .why-choose-header {
        margin-bottom: 54px;
    }

    .why-choose-header h3 {
        font-size: 2.5rem;
    }

    .why-choose-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-figure,
    .why-choose-figure img {
        min-height: 520px;
    }

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

@media (max-width: 768px) {
    .why-choose {
        padding: 74px 0;
    }

    .why-choose-header {
        margin-bottom: 36px;
    }

    .why-choose-kicker {
        font-size: 12px;
        letter-spacing: 4px;
    }

    .why-choose-header h3 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .why-choose-intro {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .why-choose-figure {
        display: none;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-item {
        min-height: 0;
        padding: 24px 0 28px;
        border-right: none;
        border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
    }

    .why-choose-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
    }

    .why-choose-item:last-child {
        border-bottom: none;
    }

    .why-choose-item h3,
    .why-choose-item p {
        max-width: none;
    }

    .why-choose-item h3 {
        font-size: 26px;
    }
}

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.statistics .section-title h2 {
    color: var(--white);
}

.statistics .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

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

.stat-item .number {
    font-size: 3.5rem;
    font-weight: 400;
    font-family: 'Instrument Serif', serif;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.view-services-btn {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.service-card {
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(73, 95, 114, 0.15);
}

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

.service-card-content {
    padding: 25px;
}

.service-card-content i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card-content p {
    color: var(--muted-text);
    margin-bottom: 20px;
}


/* ========================================
   SERVICE DETAIL CARD - CLEAN REDESIGN
   ======================================== */

.service-detail-card {
    max-width: 1400px;
    margin: 40px auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ── Hero Image ── */
.service-detail-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* ── Content Area ── */
.service-detail-content {
    padding: 48px 52px;
}

/* ── Main Title ── */
.service-detail-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2332;
    line-height: 1.35;
    margin: 0 0 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef1f5;
}

/* ── Paragraphs ── */
.service-detail-content p {
    font-size: 0.97rem;
    color: #5a6a7a;
    line-height: 1.85;
    margin-bottom: 16px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* ── Section Headings ── */
.service-detail-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2332;
    margin: 40px 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail-content h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--primary, #2a7fda);
    border-radius: 4px;
    flex-shrink: 0;
}

/* ==========================================
   BENEFITS LIST — 2 col clean grid
   ========================================== */

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: #f4f8ff;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 0.9rem;
    color: #2e3d50;
    line-height: 1.5;
    transition: background 0.2s;
}

.benefits-list li:hover {
    background: #e4efff;
}

.benefits-list li i {
    color: var(--primary, #2a7fda);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==========================================
   FAQ ACCORDION — ultra clean
   ========================================== */

.faq {
    margin-top: 10px;
}

.faq-item {
    border-bottom: 1px solid #eef1f5;
    transition: all 0.25s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 4px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}

.faq-question span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2332;
    line-height: 1.45;
    transition: color 0.2s;
}

.faq-question i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--primary, #2a7fda);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question span {
    color: var(--primary, #2a7fda);
}

.faq-item.active .faq-question i {
    background: var(--primary, #2a7fda);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 4px 18px;
    font-size: 0.92rem;
    color: #5a6a7a;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================
   HIGHLIGHT BOX — microscope section
   ========================================== */

.service-highlight-box {
    background: linear-gradient(135deg, #f0f7ff, #e6f0fb);
    border-radius: 16px;
    padding: 28px 30px;
    margin-top: 40px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.highlight-icon {
    width: 46px;
    height: 46px;
    background: var(--primary, #2a7fda);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.highlight-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 8px;
}

.highlight-text p {
    font-size: 0.92rem;
    color: #5a6a7a;
    line-height: 1.75;
    margin: 0;
}

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

@media (max-width: 700px) {
    .service-detail-content {
        padding: 30px 22px;
    }

    .service-detail-content h2 {
        font-size: 1.35rem;
    }

    .service-detail-card img {
        height: 220px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .service-highlight-box {
        flex-direction: column;
        gap: 14px;
    }
}



/* Doctors Preview */
.doctors-preview {
    background: var(--background);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.view-doctors-btn {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.doctor-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: auto;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(73, 95, 114, 0.1);
}

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

.doctor-info {
    padding: 25px;
    text-align: center;
}

.doctor-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.doctor-info .specialization {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .doctor-card img {
        height: 280px;
    }

    .doctor-info {
        padding: 22px 20px;
    }
}

@media (max-width: 576px) {
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .doctor-card img {
        height: 320px;
    }

    .doctor-info h4 {
        font-size: 1.2rem;
    }

    .doctor-info .specialization {
        margin-bottom: 0;
        font-size: 0.95rem;
    }

    .view-doctors-btn {
        margin-top: 28px;
    }

    .view-doctors-btn .btn {
        width: 100%;
        max-width: 280px;
    }
}

.doctor-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.doctor-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.doctor-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Testimonials */
.testimonials {
    background: var(--background);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-cards {
    position: relative;
    min-height: 350px;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.testimonial-nav.prev {
    left: -70px;
}

.testimonial-nav.next {
    right: -70px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

.testimonial-dot:hover {
    background: var(--primary);
}

.testimonial-card .stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author-info h5 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.testimonial-author-info span {
    color: var(--muted-text);
    font-size: 0.9rem;
}


.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; /* Space between icons */
    margin-top: 20px;
}

.social-icons img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
    transform: translateY(-3px) scale(1.08);
    opacity: 0.85;
}

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

    .testimonial-card {
        padding: 30px 20px;
    }
}

/* Gallery Preview */
.gallery-preview {
    background: var(--white);
}

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

.view-gallery-btn {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

/* Gallery Page */
.gallery-page-section {
    padding: 100px 0;
}

.gallery-page-intro {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.gallery-page-intro h2 {
    font-size: 2.7rem;
    margin-bottom: 14px;
    color: var(--text);
}

.gallery-page-intro p {
    color: var(--muted-text);
    max-width: 640px;
    margin: 0 auto;
}

.gallery-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    border: 1px solid var(--light-gray);
    background: var(--white);
    color: var(--text);
    border-radius: 999px;
    padding: 12px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.15);
}

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

.gallery-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card[hidden] {
    display: none !important;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    padding: 10px;
}

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

.gallery-card-body {
    padding: 22px;
}

.gallery-card-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(44, 62, 80, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gallery-card h3 {
    font-size: 1.55rem;
    margin-bottom: 8px;
    color: var(--text);
}

.gallery-card p {
    color: var(--muted-text);
    margin: 0;
}

@media (max-width: 991px) {
    .gallery-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-page-section {
        padding: 70px 0;
    }

    .gallery-page-intro h2 {
        font-size: 2.15rem;
    }
}

@media (max-width: 576px) {
    .gallery-category-nav {
        gap: 10px;
    }

    .gallery-filter-btn {
        width: 100%;
    }

    .gallery-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Instrument Serif', serif;
    letter-spacing: 0;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-map {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.footer-maps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.footer-map-card h5 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 1.1rem;
    text-align: center;
}

.branch-details {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.branch-details li {
    list-style: none;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 8px;
    line-height: 1.6;
}

.branch-details li:last-child {
    margin-bottom: 0;
}

.footer-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

@media (max-width: 768px) {
    .footer-maps {
        grid-template-columns: 1fr;
    }
}

/* Floating Buttons */
.floating-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    bottom: 30px;
    right: 30px;
    background: #25D366;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1001;
    width: 0%;
}

/* Page Hero */
.page-hero {
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(9, 43, 64));
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: 'Instrument Serif', serif;
}

.page-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

/* Page-specific hero backgrounds */
.home-hero {
    background-image: url('CTA BANAT.png');
}

.about-hero {
    background-image: url('CTA\ BANAT.png');
}

.services-hero {
    background-image: url('CTA BANAT.png');
}

.doctors-hero {
    background-image: url('CTA FOR DOC.png');
}

.blog-hero {
    background-image: url('CTA BANAT.png');
}

.gallery-hero {
    background-image: url('CTA BANAT.png');
}

.contact-hero {
    background-image: url('CTA BANAT.png');
}

.appointment-hero {
    background-image: url('CTA BANAT.png');
}

.single-blog-hero {
    background-image: url('CTA BANAT.png');
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

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

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

.blog-content {
    padding: 30px;
}

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

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

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

.blog-content h3 {
    font-family: 'Instrument Serif', serif;
    margin-bottom: 15px;
    color: var(--text);
}

.blog-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: var(--muted-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Blog Content Section */
.blog-content-section {
    padding: 100px 0;
}

.blog-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.blog-main-content {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.blog-main-content img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.blog-main-content img:hover {
    transform: translateY(-5px);
}

.blog-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    color: var(--muted-text);
    flex-wrap: wrap;
    font-size: 0.95rem;
}

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

.blog-meta i {
    color: var(--primary);
    font-size: 1rem;
}

.blog-main-content h2 {
    font-family: 'Instrument Serif', serif;
    margin: 40px 0 18px;
    color: var(--text);
    font-weight: 400;
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.blog-main-content h2:first-of-type {
    margin-top: 0;
}

.blog-main-content p {
    color: var(--muted-text);
    line-height: 1.85;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: var(--background);
    border-radius: 14px;
    margin-top: 50px;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.author-box img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: none !important;
    transition: none !important;
}

.author-info h4 {
    margin-bottom: 8px;
    color: var(--text);
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 1.35rem;
}

.author-info p {
    color: var(--muted-text);
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.author-info .footer-social {
    display: flex;
    gap: 12px;
}

.author-info .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.author-info .footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.sidebar-widget h3 {
    font-family: 'Instrument Serif', serif;
    margin-bottom: 24px;
    color: var(--text);
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    display: block;
    line-height: 1.5;
    font-weight: 500;
}

.sidebar-widget ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr 320px;
        gap: 45px;
    }

    .blog-main-content {
        padding: 40px;
    }

    .sidebar-widget {
        padding: 30px;
    }

    .bento-grid {
        gap: 20px;
    }

    .bento-item {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .blog-content-section {
        padding: 80px 0;
    }

    .blog-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-main-content {
        padding: 35px;
    }

    .blog-main-content img {
        margin-bottom: 28px;
    }

    .blog-main-content h2 {
        margin: 35px 0 15px;
        font-size: 1.55rem;
    }

    .blog-main-content p {
        font-size: 1rem;
    }

    .author-box {
        padding: 28px;
        gap: 20px;
    }

    .author-box img {
        width: 75px;
        height: 75px;
    }

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

    .bento-col-2 {
        order: 3;
    }

    .bento-item-lg img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .blog-content-section {
        padding: 60px 0;
    }

    .blog-main-content {
        padding: 28px;
    }

    .blog-meta {
        gap: 18px;
        font-size: 0.9rem;
    }

    .blog-main-content h2 {
        margin: 30px 0 12px;
        font-size: 1.4rem;
    }

    .blog-main-content p {
        line-height: 1.75;
        margin-bottom: 20px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .author-box img {
        width: 85px;
        height: 85px;
    }

    .author-info .footer-social {
        justify-content: center;
    }

    .sidebar-widget {
        padding: 25px;
    }

    .bento-item {
        padding: 28px;
    }

    .bento-item i {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .blog-main-content {
        padding: 22px;
        border-radius: 12px;
    }

    .blog-main-content img {
        border-radius: 10px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }

    .blog-main-content h2 {
        font-size: 1.3rem;
    }

    .bento-item {
        padding: 24px;
    }

    .bento-item-lg img {
        height: 160px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Success Popup */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.success-popup.active .popup-content {
    transform: scale(1);
}

.popup-content i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--muted-text);
    margin-bottom: 25px;
}

/* Doctors Page - Accordion */
.doctor-section {
    padding: 100px 0;
}

.doctors-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doctor-accordion-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-accordion-item:hover {
    box-shadow: var(--card-shadow-hover);
}

.doctor-accordion-header {
    width: 100%;
    padding: 24px 32px;
    background: var(--white);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.doctor-accordion-header:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 10px;
}

.doctor-accordion-header h3 {
    font-family: 'Instrument Serif', serif;
    margin: 0;
    color: var(--text);
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.doctor-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doctor-header-specialization {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.doctor-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.doctor-accordion-item.active .doctor-accordion-content {
    max-height: 4000px;
}

.doctor-accordion-inner {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 0 32px 32px;
    align-items: start;
}

.doctor-accordion-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
}


.doctor-accordion-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctor-accordion-details .qualification {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.doctor-accordion-details .specialization {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.doctor-accordion-details .bio {
    color: var(--muted-text);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-word;
}

.doctor-expertise {
    margin: 6px 0 18px;
}

.doctor-expertise h4 {
    font-size: 1.15rem;
    margin: 0 0 14px;
    color: var(--text);
}

.doctor-expertise-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted-text);
}

.doctor-expertise-list li {
    line-height: 1.7;
}

.doctor-accordion-details .btn {
    align-self: flex-start;
}

@media screen and (max-width: 991px) {
    .doctor-accordion-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .doctor-accordion-image img {
        height: 300px;
    }

    .doctor-accordion-header {
        padding: 20px 24px;
    }

    .doctor-accordion-inner {
        padding: 0 24px 24px;
    }

    .doctor-accordion-details .bio {
        text-align: left;
        /* Prevent stretched words */
    }

    .doctor-expertise-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .doctor-accordion-header h3 {
        font-size: 1.3rem;
    }

    .doctor-accordion-image img {
        height: 250px;
    }
}

/* About Page */
.about-section {
    padding: 100px 0;
}

.about-section-alt {
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images img {
    width: 100%;
    border-radius: 10px;
}

.about-text h3 {
    font-family: 'Instrument Serif', serif;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.about-text p {
    color: var(--muted-text);
    margin-bottom: 20px;
}

.about-text-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}

.about-expertise-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    padding-left: 18px;
    margin: 0 0 24px;
    color: var(--muted-text);
}

.about-expertise-list li {
    line-height: 1.7;
}

.about-text-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}

.about-expertise-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    padding-left: 18px;
    margin: 0 0 24px;
    color: var(--muted-text);
}

.about-expertise-list li {
    line-height: 1.7;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mission-vision-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-vision-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(44, 62, 80, 0.15);
}

.mission-vision-card h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.mission-vision-card h3 i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-vision-card p {
    color: var(--muted-text);
    line-height: 1.7;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--primary);
    border: 4px solid var(--white);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 24px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.timeline-content h4 {
    color: var(--text);
    font-weight: 600;
}

.timeline-content p {
    color: var(--muted-text);
    margin-top: 8px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.facility-card {
    padding: 36px;
    background: var(--white);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.facility-card i {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.facility-card h4 {
    color: var(--text);
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.facility-card p {
    color: var(--muted-text);
}

@media screen and (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 29px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 19px;
    }

    .timeline-item.right {
        left: 0;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h3,
.contact-form-container h3 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    min-width: 30px;
    margin-top: 5px;
}

.info-text h4 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: bold;
}

.info-text p {
    color: var(--muted-text);
    line-height: 1.6;
}

.info-text a {
    color: var(--muted-text);
    text-decoration: none;
    transition: color 0.3s ease;
    /* font-weight: bold; */
    font-size: 15px;


}

.info-text a:hover {
    color: var(--primary);
}

.contact-form-container {
    background: var(--background);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.contact-form-container .form-group label {
    font-family: 'Inter', sans-serif;
}

.contact-form-container .btn {
    width: 100%;
}

.btn-submit:disabled {
    opacity: 0.72;
    cursor: wait;
}

.branch-selection {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0 24px;
}

.branch-selection-title {
    grid-column: 1 / -1;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.branch-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 18px 48px;
    border: 1px solid rgba(16, 47, 63, 0.12);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.branch-option:hover {
    border-color: rgba(16, 47, 63, 0.22);
}

.branch-option input[type="radio"] {
    position: absolute;
    top: 20px;
    left: 18px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.branch-option-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.branch-option-subtext {
    font-size: 0.92rem;
    color: var(--muted-text);
}

.branch-option:has(input:checked) {
    border-color: rgba(13, 148, 136, 0.55);
    background-color: rgba(13, 148, 136, 0.06);
}

.appointment-form-container .btn-primary:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.96;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .branch-selection {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--background);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--card-shadow-hover);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(93, 125, 159, 0.05);
}

.faq-question h4 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text);
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.5;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--muted-text);
    line-height: 1.7;
    margin: 0;
}

@media (min-width: 992px) {
    .faq-container {
        max-width: 1180px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        align-items: start;
    }

    .faq-item {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h4 {
        font-size: 1.05rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

/* Service Detail Section */
.service-detail {
    padding: 80px 0;
}

.service-detail .container {
    max-width: 1360px;
}

.service-detail-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.service-detail-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.service-detail-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-detail-content {
    padding: 40px;
}

.service-detail-content h2 {
    font-family: 'Instrument Serif', serif;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.service-detail-content p {
    color: var(--muted-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-detail-content h3 {
    margin-bottom: 15px;
    font-family: 'Instrument Serif', serif;
    letter-spacing: -0.01em;
}

.benefits-list {
    list-style: none;
    margin: 20px 0;
}

.benefits-list li {
    padding: 10px 0;
    color: var(--muted-text);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.benefits-list li i {
    color: var(--primary);
}

.service-detail .faq {
    margin-top: 40px;
}

.service-detail .faq-item {
    transition: all 0.25s ease;
}

@media (max-width: 768px) {
    .service-detail {
        padding: 60px 0;
    }

    .service-detail-content {
        padding: 25px;
    }

    .service-detail-card img {
        height: auto;
    }
}

@media (min-width: 992px) {
    .service-detail-card {
        display: block;
        max-width: 1320px;
        margin: 0 auto 40px;
        border-radius: 24px;
        box-shadow: 0 14px 45px rgba(26, 32, 38, 0.08);
        padding: 38px 42px 42px;
    }

    .service-detail-card:hover {
        box-shadow: 0 18px 55px rgba(26, 32, 38, 0.11);
    }

    .service-detail-card>img,
    .service-detail-card> :first-child:not(.service-detail-content) {
        float: left;
        width: 420px;
        height: 320px;
        margin: 86px 36px 22px 0;
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 14px 34px rgba(26, 32, 38, 0.12);
        background: #eef3f8;
    }

    .service-detail-card>img,
    .service-detail-card> :first-child:not(.service-detail-content) img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .service-detail-content {
        padding: 0;
    }

    .service-detail-content h2 {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 24px;
    }

    .service-detail-content p {
        font-size: 1rem;
        line-height: 1.85;
        margin-bottom: 18px;
        text-align: justify;
    }

    .service-detail-content p+p {
        text-indent: 1.5rem;
    }

    .service-detail-content h3 {
        font-size: 1.35rem;
        margin-top: 34px;
        margin-bottom: 18px;
        clear: both;
    }

    .benefits-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
        margin: 20px 0 8px;
    }

    .benefits-list li {
        min-height: 100%;
        padding: 14px 16px;
        align-items: flex-start;
        background: #f4f8ff;
        border-radius: 14px;
        line-height: 1.6;
    }

    .benefits-list li:hover {
        background: #eaf2ff;
        transform: translateY(-2px);
    }

    .benefits-list li i {
        margin-top: 3px;
        flex-shrink: 0;
    }

    .service-detail .faq {
        clear: both;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 18px;
        margin-top: 38px;
        align-items: start;
    }

    .service-detail .faq>h3 {
        grid-column: 1 / -1;
        margin: 0 0 4px;
    }

    .service-detail .faq-item {
        align-self: start;
        border: 1px solid #e7edf3;
        border-radius: 16px;
        background: #fbfcfe;
        padding: 0 20px;
        box-shadow: 0 4px 14px rgba(26, 32, 38, 0.04);
    }

    .service-detail .faq-question {
        padding: 18px 0;
    }

    .service-detail .faq-answer {
        padding: 0 0 20px;
    }

    .service-detail .faq-item.active {
        background: var(--white);
        box-shadow: 0 8px 24px rgba(26, 32, 38, 0.08);
    }

    .service-detail .benefits-list,
    .service-detail .service-highlight-box {
        clear: both;
    }

    .service-highlight-box {
        margin-top: 36px;
    }
}

/* Learn More Button */
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.learn-more-btn::after {
    content: '→';
    transition: transform 0.35s ease;
}

.learn-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(44, 62, 80, 0.25);
}

.learn-more-btn:hover::after {
    transform: translateX(4px);
}

.learn-more-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
