

:root {
    --primary: #20262A;
    --secondary: #641F32;
    --accent: #8B7A5A;
    --background: #FAF0E8;
    --surface: #FFFFFF;
    --text-main: #20262A;
    --text-muted: #6B6B6B;
    --border-color: #E2D9D0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.playfair {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary);
    color: #FFFFFF;
    padding: 8px 0;
    font-size: 12px;
    width: 100%;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: #FFFFFF;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

/* Main Header */
.main-header-wrapper {
    background-color: var(--surface);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 100;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    width: 100%;

}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    max-width: 1520px;
    margin: 0 auto;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-text h1 {
    font-size: 18px;
    color: var(--primary);
    line-height: 1.1;
    font-weight: 700;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-icon-btn {
    background: none;
    border: none;
    font-size: 15px;
    color: var(--primary);
    cursor: pointer;
}

.btn-book {
    background-color: var(--secondary);
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-book:hover {
    background-color: #4e1727;
}

/* Hero Section */
.hero-section-wrapper {
    background-color: var(--primary);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    width: 100%;
    /* margin-top: -15px; */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 15px;
}

.hero-section-inner {
    display: flex;
    align-items: stretch;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 0 0 40px;
}

.hero-left-content {
    flex: 1.1;
    padding: 65px 20px 75px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-tagline {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d1d5db;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-main-title {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-main-title span {
    color: #d4a373;
}

.hero-description {
    font-size: 14px;
    line-height: 1.6;
    color: #d1d5db;
    margin-bottom: 30px;
    max-width: 480px;
}

.btn-specialists-hero {
    display: none;
    background-color: var(--secondary);
    color: #FFFFFF;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.hero-right-image {
    flex: 1;
    position: relative;

    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    min-height: 480px;
}

.emergency-pill {
    position: absolute;
    bottom: 35px;
    right: 35px;
    background: var(--surface);
    color: var(--primary);
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.emergency-pill i {
    font-size: 22px;
    color: var(--secondary);
}

.emergency-pill h4 {
    font-size: 15px;
    font-weight: 700;
}

.emergency-pill p {
    font-size: 11px;
    color: var(--text-muted);
}

/* Specialties Section - Exact Image Alignment */
.specialties-section {
    padding: 50px 0 35px 0;
    background-color: var(--background);
    width: 100%;
}

.specialties-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.specialties-header h2 {
    font-size: 34px;
    color: var(--primary);
    font-weight: 700;
}

.specialties-timeline-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 45px;
}

/* Continuous connecting line behind icons */
.specialties-timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 30px;
    right: 50px;
    height: 1.5px;
    background: #d8cebe;
    z-index: 1;
}

.spec-item-box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.spec-icon-circle {
    width: 58px;
    height: 58px;
    background: var(--surface);
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s;
}

.spec-item-box:hover .spec-icon-circle {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.spec-item-box span {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
}

.spec-arrow-btn {
    width: 42px;
    height: 42px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.2s;
}

.spec-arrow-btn:hover {
    background: #4e1727;
}

/* Content Grid Section */
.content-grid-section {
    padding: 10px 0 50px 0;
    width: 100%;
}

.content-grid-inner {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 25px;
}

.section-card-box {
    background: var(--surface);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.section-box-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.section-box-title h2 {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

.section-box-title p {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.view-all-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Specialists 4 Grid */
.doctors-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.doctor-card-item {
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-card-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.doctor-card-info {
    padding: 12px 10px;
}

.doctor-card-info h4 {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 3px;
}

.doctor-card-info p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.btn-read-bio {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-read-bio:hover {
    background: #4e1727;
}

/* Patient Stories 2 Grid */
.stories-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.story-card-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    background: #000;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
}

.story-card-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.story-card-content {
    position: relative;
    z-index: 2;
}

.story-card-content p {
    font-size: 13px;
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.4;
}

.story-card-content h5 {
    font-size: 13px;
    font-weight: 700;
}

.story-card-content span {
    font-size: 11px;
    color: #d1d5db;
}

.play-btn-circle {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Features Bottom Bar */
.features-bottom-wrapper {
    padding: 0 0 50px 0;
    width: 100%;
}

.features-bottom-bar {
    background: var(--surface);
    padding: 30px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.feature-item-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item-box i {
    font-size: 26px;
    color: var(--secondary);
    background: var(--background);
    padding: 15px;
    border-radius: 12px;
}

.feature-item-box h4 {
    font-size: 15px;
    margin-bottom: 3px;
    color: var(--primary);
    font-weight: 700;
}

.feature-item-box p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Footer */
footer {
    /* background-color: var(--primary); */
    background-color: #000;
    color: #FFFFFF;
    padding: 55px 0 20px 0;
    width: 100%;
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 35px;
}

.footer-col-box h3 {
    font-size: 15px;
    margin-bottom: 18px;
    color: #fff;
}

.footer-col-box p {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col-box ul {
    list-style: none;
}

.footer-col-box ul li {
    margin-bottom: 8px;
}

.footer-col-box ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 12px;
}

.newsletter-input-group {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.newsletter-input-group input {
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    outline: none;
    flex: 1;
}

.newsletter-input-group button {
    background: var(--secondary);
    border: none;
    color: #fff;
    padding: 0 12px;
    border-radius: 6px;
    cursor: pointer;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9ca3af;
}

.footer-bottom-links-group {
    display: flex;
    gap: 15px;
}

.footer-bottom-links-group a {
    color: #9ca3af;
    text-decoration: none;
}

@media(max-width: 1024px) {
    .doctors-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid-inner {
        grid-template-columns: 1fr;
    }

    .features-bottom-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid-layout {
        grid-template-columns: repeat(1, 1fr);
    }

    .specialties-flex-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-section-inner {
        padding-left: 20px;
    }
}

/* animation */


/* =========================================
   PREMIUM ANIMATION ADD-ON
   Existing Design Unchanged
========================================= */

/* Smooth page */
html {
    scroll-behavior: smooth;
}

/* Page loading */
body {
    animation: pageReveal 1s ease both;
}

@keyframes pageReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Top bar */
.top-bar {
    animation: slideDown 0.8s ease both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.main-header-wrapper {
    animation: headerReveal 1s ease 0.15s both;
}

@keyframes headerReveal {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo animation */
.logo-box {
    transition: transform 0.4s ease;
}

.logo-box:hover {
    transform: translateY(-3px);
}

.logo-icon {
    transition: all 0.5s ease;
}

.logo-box:hover .logo-icon {
    transform: rotate(360deg) scale(1.08);
    box-shadow: 0 0 0 8px rgba(100, 31, 50, 0.08);
}

/* Navigation */
.nav-menu li {
    opacity: 0;
    animation: navItemReveal 0.6s ease forwards;
}

.nav-menu li:nth-child(1) {
    animation-delay: .2s;
}

.nav-menu li:nth-child(2) {
    animation-delay: .3s;
}

.nav-menu li:nth-child(3) {
    animation-delay: .4s;
}

.nav-menu li:nth-child(4) {
    animation-delay: .5s;
}

.nav-menu li:nth-child(5) {
    animation-delay: .6s;
}

.nav-menu li:nth-child(6) {
    animation-delay: .7s;
}

@keyframes navItemReveal {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav underline effect */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Header buttons */
.btn-book,
.btn-specialists-hero {
    display: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.btn-book::before,
.btn-specialists-hero::before {
    display: none;
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .35),
            transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-book:hover::before,
.btn-specialists-hero:hover::before {
    left: 140%;
}

.btn-book:hover,
.btn-specialists-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(100, 31, 50, 0.25);
}

/* Hero */
.hero-section-wrapper {
    position: relative;
}

.hero-left-content {
    animation: heroTextReveal 1s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateX(-70px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-tagline {
    animation: fadeUp 0.8s ease .3s both;
}

.hero-main-title {
    animation: fadeUp 1s ease .45s both;
}

.hero-description {
    animation: fadeUp 1s ease .6s both;
}

.btn-specialists-hero {
    animation: fadeUp 1s ease .75s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero image */
.hero-right-image {
    animation: heroImageReveal 1.2s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes heroImageReveal {
    from {
        opacity: 0;
        transform: translateX(80px) scale(1.08);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Hero image subtle zoom */
.hero-right-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent 30%,
            rgba(255, 255, 255, .08),
            transparent 70%);
    transform: translateX(-100%);
    transition: transform 1s ease;
    pointer-events: none;
}

.hero-right-image:hover::after {
    transform: translateX(100%);
}

/* Emergency pill */
.emergency-pill {
    animation: emergencyFloat 3s ease-in-out infinite;
}

@keyframes emergencyFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Emergency icon pulse */
.emergency-pill i {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

/* Specialties heading */
.specialties-header {
    animation: fadeLeft 0.9s ease both;
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Specialty timeline */
.specialties-timeline-wrapper {
    animation: fadeRight 1s ease both;
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Specialty icons */
.spec-item-box {
    transition: transform 0.4s ease;
}

.spec-item-box:hover {
    transform: translateY(-10px);
}

.spec-icon-circle {
    position: relative;
    transition: all 0.45s ease;
}

.spec-icon-circle::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.45s ease;
}

.spec-item-box:hover .spec-icon-circle {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 12px 30px rgba(100, 31, 50, .22);
}

.spec-item-box:hover .spec-icon-circle::before {
    border-color: var(--secondary);
    transform: rotate(-45deg);
}

/* Timeline line animation */
.specialties-timeline-wrapper::before {
    transform-origin: left;
    animation: lineGrow 1.4s ease .4s both;
}

@keyframes lineGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Arrow */
.spec-arrow-btn {
    transition: all 0.4s ease;
}

.spec-arrow-btn:hover {
    transform: translateX(6px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(100, 31, 50, .3);
}

.spec-arrow-btn i {
    transition: transform 0.3s ease;
}

.spec-arrow-btn:hover i {
    transform: translateX(4px);
}

/* Cards */
.section-card-box {
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.section-card-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(32, 38, 42, .10);
    border-color: rgba(100, 31, 50, .18);
}

/* Doctor cards */
.doctor-card-item {
    transition:
        transform 0.45s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.45s ease;
}

.doctor-card-item:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 0 18px 35px rgba(32, 38, 42, .14);
}

.doctor-card-item img {
    transition: transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

.doctor-card-item:hover img {
    transform: scale(1.08);
}

/* Doctor image shine */
.doctor-card-item {
    position: relative;
}

.doctor-card-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 170px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .35),
            transparent);
    transform: skewX(-20deg);
    z-index: 3;
    pointer-events: none;
}

.doctor-card-item:hover::before {
    animation: cardShine .8s ease;
}

@keyframes cardShine {
    from {
        left: -120%;
    }

    to {
        left: 140%;
    }
}

/* Read bio */
.btn-read-bio {
    transition: all 0.35s ease;
}

.btn-read-bio:hover {
    transform: translateY(-2px);
    letter-spacing: .3px;
    box-shadow: 0 8px 18px rgba(100, 31, 50, .22);
}

/* Story cards */
.story-card-item {
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.story-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
}

.story-card-item img {
    transition: transform 0.8s ease, opacity .5s ease;
}

.story-card-item:hover img {
    transform: scale(1.1);
    opacity: .55;
}

/* Story play button */
.play-btn-circle {
    transition: all .45s ease;
}

.story-card-item:hover .play-btn-circle {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, .12),
        0 10px 30px rgba(0, 0, 0, .25);
}

.play-btn-circle i {
    transition: transform .3s ease;
}

.story-card-item:hover .play-btn-circle i {
    transform: translateX(2px) scale(1.1);
}

/* Feature boxes */
.feature-item-box {
    transition: transform .4s ease;
}

.feature-item-box:hover {
    transform: translateY(-7px);
}

.feature-item-box i {
    transition: all .45s ease;
}

.feature-item-box:hover i {
    transform: rotate(-8deg) scale(1.12);
    box-shadow: 0 10px 25px rgba(100, 31, 50, .15);
}

/* Footer links */
.footer-col-box ul li a {
    display: inline-block;
    transition: all .3s ease;
}

.footer-col-box ul li a:hover {
    color: #fff;
    transform: translateX(6px);
}

/* Social icons */
.social-links a {
    display: inline-flex;
    transition: all .35s ease;
}

.social-links a:hover {
    transform: translateY(-4px) rotate(8deg);
    color: #fff;
}

/* Search */
.search-icon-btn {
    transition: all .35s ease;
}

.search-icon-btn:hover {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary);
}

/* Newsletter */
.newsletter-input-group input {
    transition: all .35s ease;
}

.newsletter-input-group input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.newsletter-input-group button {
    transition: all .35s ease;
}

.newsletter-input-group button:hover {
    transform: scale(1.08);
}

/* Footer logo */
footer .logo-icon {
    animation: footerLogoFloat 3s ease-in-out infinite;
}

@keyframes footerLogoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Scroll reveal base */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22, 1, .36, 1);
}

.scroll-reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll left */
.scroll-left {
    opacity: 0;
    transform: translateX(-60px);
    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.22, 1, .36, 1);
}

.scroll-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll right */
.scroll-right {
    opacity: 0;
    transform: translateX(60px);
    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.22, 1, .36, 1);
}

.scroll-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll scale */
.scroll-scale {
    opacity: 0;
    transform: scale(.85);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22, 1, .36, 1);
}

.scroll-scale.show {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation */
.stagger-item {
    opacity: 0;
    transform: translateY(35px);
}

.stagger-item.show {
    animation: staggerReveal .7s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes staggerReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation utility */
.float-animation {
    animation: softFloat 4s ease-in-out infinite;
}

@keyframes softFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Glow animation utility */
.glow-animation {
    animation: softGlow 2.5s ease-in-out infinite;
}

@keyframes softGlow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(100, 31, 50, 0);
    }

    50% {
        box-shadow: 0 0 25px rgba(100, 31, 50, .18);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* end animation */

/* logo css */
.logo-box {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 60px;
}

.hospital-logo {
    width: 190px;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hospital-logo {
        width: 155px;
    }
}

@media (max-width: 480px) {
    .hospital-logo {
        width: 140px;
    }
}

/* top bar responsive  */
@media (max-width: 1024px) {

    .top-bar-left span:nth-child(3),
    .top-bar-right>span,
    .social-links {
        display: none;
    }

    .top-bar-left {
        width: 100%;
        justify-content: center;
        gap: 80px;
    }

    .top-bar-left span {
        font-size: 8px;
    }
}

@media (max-width: 576px) {
    .top-bar-left {
        gap: 50px;
        justify-content: center;
    }

    .top-bar-left span {
        font-size: 10px;
    }
}

/*end topbar responsive */

/* navbar responsive */

/* ================================
   RESPONSIVE HEADER
   ================================ */

.hospital-logo {
    width: auto;
    height: 78px;
    max-width: 230px;
    object-fit: contain;
    display: block;
}

.main-header {
    position: relative;
}

/* Desktop */
@media (min-width: 1025px) {

    .main-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-box {
        flex-shrink: 0;
    }

    .nav-menu {
        display: flex;
    }

    .header-right-actions {
        display: flex;
    }
}

/* Tablet */
@media (max-width: 1024px) {

    .main-header {
        padding: 12px 20px;
        position: relative;
    }

    .hospital-logo {
        height: 170px;
        max-width: 210px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        width: auto;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: #fff;
        padding: 10px 0;

        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .12);

        z-index: 9999;
    }

    .nav-menu.mobile-open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .header-right-actions {
        gap: 10px;
    }

    .btn-book {
        padding: 9px 15px;
        font-size: 12px;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Mobile */
@media (max-width: 576px) {

    .main-header {
        padding: 10px 15px;
    }

    .hospital-logo {
        height: 150px;

        /* max-width: 170px; */
    }

    .header-right-actions {
        gap: 8px;
    }

    .search-icon-btn {
        font-size: 14px;
    }

    .btn-book {
        display: none;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .nav-menu {
        left: 10px;
        right: 10px;
    }

    .nav-menu a {
        padding: 15px 18px;
        font-size: 13px;
    }
}

/* Hamburger */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 10px;

    background: var(--secondary);
    color: #fff;

    font-size: 18px;
    cursor: pointer;

    transition: .3s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
    background: #4e1727;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
}

/* =====================================
   ABOUT DROPDOWN HOVER FIX
===================================== */

@media (min-width: 1025px) {

    .has-dropdown {
        position: relative;
    }

    /* Invisible hover bridge */
    .has-dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
        z-index: 9998;
    }

    .has-dropdown .dropdown-menu {
        top: calc(100% + 15px);
        z-index: 9999;
    }

    /* Keep dropdown open while moving from About to dropdown */
    .has-dropdown:hover .dropdown-menu,
    .has-dropdown .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform:
            translateX(-50%) translateY(0);
    }

    .has-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }

}

/* end navbar responsive */
/* =========================
   ABOUT DROPDOWN
========================= */

.has-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 9px;
    margin-left: 4px;
    transition: transform .3s ease;
}

/* Dropdown */
.has-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    min-width: 190px;

    background: #fff;
    padding: 8px 0;
    margin: 0;

    list-style: none;

    border-radius: 12px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .12),
        0 5px 15px rgba(0, 0, 0, .05);

    border: 1px solid var(--border-color);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;

    z-index: 9999;
}

/* Small top arrow */
.has-dropdown .dropdown-menu::before {
    content: "";
    position: absolute;

    top: -6px;
    left: 50%;

    width: 12px;
    height: 12px;

    background: #fff;

    transform: translateX(-50%) rotate(45deg);

    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

/* Dropdown links */
.has-dropdown .dropdown-menu li {
    width: 100%;
}

.has-dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 11px 17px;

    font-size: 12px;

    color: var(--primary);

    text-decoration: none;

    border: none !important;

    transition:
        background .3s ease,
        color .3s ease,
        padding-left .3s ease;
}

.has-dropdown .dropdown-menu li a:hover {
    background: #faf0e8;
    color: var(--secondary);
    padding-left: 23px;
}

/* Desktop hover */
@media (min-width: 1025px) {

    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform:
            translateX(-50%) translateY(0);
    }

    .has-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }

}


/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 1024px) {

    .has-dropdown {
        width: 100%;
    }

    .has-dropdown>a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .has-dropdown .dropdown-menu {
        position: static;

        width: 100%;
        min-width: 0;

        transform: none;

        box-shadow: none;

        border: none;

        border-radius: 0;

        padding: 0;

        display: none;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        background: #faf7f4;
    }

    .has-dropdown .dropdown-menu::before {
        display: none;
    }

    .has-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .has-dropdown.dropdown-open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .has-dropdown .dropdown-menu li a {
        padding: 10px 35px;
        font-size: 12px;
    }

    .has-dropdown .dropdown-menu li a:hover {
        padding-left: 42px;
    }

}

/* =========================================
   HERO SLIDER - ADD ONLY
   Existing Design Preserved
========================================= */

.hero-section-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-section-inner {
    position: relative;
}

/* Slider slides */
.hero-slide {
    display: none;
    width: 100%;
}

.hero-slide.active {
    display: flex;
    animation: heroSlideIn 1s cubic-bezier(.22, 1, .36, 1);
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Content animation */
.hero-slide.active .hero-left-content {
    animation: heroContentIn 1s cubic-bezier(.22, 1, .36, 1);
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateX(-70px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image animation */
.hero-slide.active .hero-right-image {
    animation: heroImageIn 1.2s cubic-bezier(.22, 1, .36, 1);
}

@keyframes heroImageIn {
    from {
        opacity: 0;
        transform: translateX(70px) scale(1.08);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Text stagger */
.hero-slide.active .hero-tagline {
    animation: heroFadeUp .7s ease .15s both;
}

.hero-slide.active .hero-main-title {
    animation: heroFadeUp .8s ease .3s both;
}

.hero-slide.active .hero-description {
    animation: heroFadeUp .8s ease .45s both;
}

.hero-slide.active .btn-specialists-hero {
    animation: heroFadeUp .8s ease .6s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   SLIDER ARROWS
========================================= */

.hero-slider-prev,
.hero-slider-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, .92);
    color: var(--secondary);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 20;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);

    transition: all .35s ease;
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: 20px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev i,
.hero-slider-next i {
    transition: transform .3s ease;
}

.hero-slider-prev:hover i {
    transform: translateX(-3px);
}

.hero-slider-next:hover i {
    transform: translateX(3px);
}


/* =========================================
   SLIDER DOTS
========================================= */

.hero-slider-dots {
    position: absolute;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 8px;

    z-index: 20;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, .45);

    cursor: pointer;

    padding: 0;

    transition: all .35s ease;
}

.hero-slider-dot.active {
    width: 25px;
    border-radius: 10px;
    background: var(--secondary);
}


/* =========================================
   IMAGE HOVER
========================================= */

.hero-slide.active .hero-right-image {
    transition: transform .6s ease;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .hero-section-inner {
        padding: 0 20px;
    }

    .hero-left-content {
        padding: 55px 15px 60px 0;
    }

    .hero-main-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-right-image {
        min-height: 420px;
    }

    .hero-slider-prev,
    .hero-slider-next {
        width: 38px;
        height: 38px;
    }

    .hero-slider-prev {
        left: 10px;
    }

    .hero-slider-next {
        right: 10px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .hero-section-inner {
        flex-direction: column;
        padding: 0;
    }

    .hero-slide.active {
        flex-direction: column;
    }

    .hero-left-content {
        width: 100%;
        padding: 45px 20px 35px;
        order: 1;
    }

    .hero-right-image {
        width: 100%;
        min-height: 330px;

        border-radius: 0;
        border-top-left-radius: 35px;
        border-top-right-radius: 35px;

        order: 2;
    }

    .hero-main-title {
        font-size: 32px;
    }

    .hero-description {
        max-width: 100%;
        font-size: 13px;
    }

    .btn-specialists-hero {
        font-size: 13px;
    }

    .emergency-pill {
        bottom: 20px;
        right: 20px;
    }

    .hero-slider-prev,
    .hero-slider-next {
        width: 35px;
        height: 35px;

        font-size: 12px;
    }

    .hero-slider-prev {
        left: 10px;
    }

    .hero-slider-next {
        right: 10px;
    }

    .hero-slider-dots {
        bottom: 12px;
    }

}


/* Small Mobile */

@media (max-width: 480px) {

    .hero-left-content {
        padding: 35px 18px 30px;
    }

    .hero-main-title {
        font-size: 27px;
    }

    .hero-tagline {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .hero-description {
        font-size: 12px;
        line-height: 1.6;
    }

    .hero-right-image {
        min-height: 280px;
    }

    .emergency-pill {
        padding: 10px 14px;
        bottom: 15px;
        right: 15px;
    }

    .emergency-pill i {
        font-size: 18px;
    }

    .emergency-pill h4 {
        font-size: 13px;
    }

    .emergency-pill p {
        font-size: 10px;
    }

}

/* .hero-right-image {
            overflow: hidden;
        } */

.hero-right-image>img {
    position: absolute;
    inset: 0;

    width: 85%;
    height: 85%;
    margin-top: 5%;
    border-radius: 50px;
    object-fit: cover;
    object-position: center;

    z-index: 0;
}

.hero-right-image::before {
    z-index: 1;
}

.hero-right-image .emergency-pill {
    z-index: 3;
}

.hero-right-image>img {
    transition: transform 1.2s ease;
}

.hero-slide.active .hero-right-image>img {
    animation: heroImgZoom 5s ease forwards;
}

@keyframes heroImgZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

/* =========================================
   MOBILE HERO - HORIZONTAL SLIDER FIX
   CONTENT + IMAGE SIDE BY SIDE
========================================= */

@media (max-width: 768px) {

    .hero-section-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .hero-section-inner {
        width: 100%;
        display: block !important;
        padding: 0 !important;
        position: relative;
    }

    .hero-slide {
        width: 100%;
        min-width: 100%;
        height: 360px;
        display: none !important;

        flex-direction: row !important;
        align-items: stretch !important;
    }

    .hero-slide.active {
        display: flex !important;
    }

    /* LEFT CONTENT */
    .hero-slide .hero-left-content {
        width: 50% !important;
        flex: 0 0 50% !important;

        padding: 35px 12px 35px 18px !important;

        display: flex !important;
        flex-direction: column;
        justify-content: center;

        min-width: 0;
    }

    .hero-tagline {
        font-size: 8px !important;
        letter-spacing: 1px !important;
        margin-bottom: 10px !important;
    }

    .hero-main-title {
        font-size: 22px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .hero-description {
        font-size: 10px !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
        max-width: 100% !important;
    }

    .btn-specialists-hero {
        font-size: 9px !important;
        padding: 9px 12px !important;
        gap: 5px !important;
        white-space: nowrap;
    }


    /* RIGHT IMAGE */
    .hero-slide .hero-right-image {
        width: 50% !important;
        flex: 0 0 50% !important;

        min-height: 360px !important;
        height: 360px !important;

        border-radius: 0 !important;
        border-top-left-radius: 35px !important;
        border-bottom-left-radius: 35px !important;

        position: relative;
        overflow: hidden;
    }

    .hero-right-image>img {
        width: 85% !important;
        height: 85% !important;

        position: absolute !important;
        inset: 0 !important;

        object-fit: cover !important;
        object-position: center !important;
    }


    /* EMERGENCY */
    .hero-slide .emergency-pill {
        right: 8px !important;
        bottom: 15px !important;

        padding: 7px 9px !important;

        gap: 6px !important;

        border-radius: 8px !important;
    }

    .hero-slide .emergency-pill i {
        font-size: 15px !important;
    }

    .hero-slide .emergency-pill h4 {
        font-size: 11px !important;
    }

    .hero-slide .emergency-pill p {
        font-size: 8px !important;
    }


    /* ARROWS */
    .hero-slider-prev,
    .hero-slider-next {
        width: 28px !important;
        height: 28px !important;

        font-size: 9px !important;

        top: 50% !important;
        z-index: 30;
    }

    .hero-slider-prev {
        left: 5px !important;
    }

    .hero-slider-next {
        right: 5px !important;
    }


    /* DOTS */
    .hero-slider-dots {
        bottom: 8px !important;
        gap: 5px !important;
    }

    .hero-slider-dot {
        width: 6px !important;
        height: 6px !important;
    }

    .hero-slider-dot.active {
        width: 18px !important;
    }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .hero-slide {
        height: 320px;
    }

    .hero-slide .hero-left-content {
        width: 52% !important;
        flex-basis: 52% !important;

        padding: 25px 8px 25px 15px !important;
    }

    .hero-slide .hero-right-image {
        width: 48% !important;
        flex-basis: 48% !important;

        min-height: 320px !important;
        height: 320px !important;
    }

    .hero-main-title {
        font-size: 19px !important;
    }

    .hero-description {
        font-size: 9px !important;
        line-height: 1.45 !important;
    }

    .hero-tagline {
        font-size: 7px !important;
    }

    .btn-specialists-hero {
        font-size: 8px !important;
        padding: 8px 10px !important;
        display: none;
    }

    .emergency-pill {
        transform: scale(.8);
        transform-origin: bottom right;
    }

}

/* about section css  */
.about-us-section {
    padding: 50px 0;
    background-color: var(--background);
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about-image-col {
    position: relative;
    padding-bottom: 40px;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 4px solid var(--surface);
}

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    bottom: 0;
    right: 20px;
    background-color: var(--secondary);
    color: #FFFFFF;
    padding: 22px 28px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(100, 31, 50, 0.3);
    text-align: center;
}

.about-experience-badge h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.about-experience-badge p {
    font-size: 11px;
    color: #f3d6db;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-tagline {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
}

.about-title {
    font-size: 36px;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-title span {
    color: var(--secondary);
}

.about-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 25px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.highlight-item i {
    color: var(--secondary);
    font-size: 16px;
}

.about-btn-wrap {
    margin-top: 30px;
}

.btn-read-more {
    background-color: var(--secondary);
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(100, 31, 50, 0.2);
}

.btn-read-more:hover {
    background-color: #4e1727;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-main img {
        height: 350px;
    }

    .about-experience-badge {
        right: 10px;
        padding: 18px 22px;
    }
}

/* services */
.services-section {
    padding: 40px 0;
    background-color: var(--surface);
    width: 100%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 25px;
}

.services-tagline {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.services-title-box h2 {
    font-size: 38px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

.services-header-desc {
    max-width: 480px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Filter Tabs Styling */
.services-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--secondary);
    color: #FFFFFF;
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(100, 31, 50, 0.25);
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 30px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    background-color: var(--surface);
    border-color: var(--secondary);
}

.service-card.featured {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(32, 38, 42, 0.2);
}

.service-card.featured h3,
.service-card.featured p {
    color: #FFFFFF;
}

.service-card.featured .service-icon-box {
    background-color: rgba(255, 255, 255, 0.12);
    color: #d4a373;
}

.service-card.featured .service-read-more {
    color: #d4a373;
}

.service-card.featured .service-arrow-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.service-icon-box {
    width: 65px;
    height: 65px;
    background-color: var(--surface);
    color: var(--secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background-color: var(--secondary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.service-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: rgba(100, 31, 50, 0.08);
    color: var(--secondary);
}

.service-badge.highlight {
    background-color: #d4a373;
    color: #FFFFFF;
}

.service-badge.emergency-badge {
    background-color: #dc2626;
    color: #FFFFFF;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.service-card.featured .service-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.service-read-more {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.service-read-more:hover {
    gap: 12px;
}

.service-arrow-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--background);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.2s ease;
}

.service-card:hover .service-arrow-icon {
    background-color: var(--secondary);
    color: #FFFFFF;
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-header-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .nev-menu a {
        padding: 12px 20px;
    }

    .services-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {

    .nav-menu {
        display: none;
    }

    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
    }

    .nav-menu .has-dropdown {
        width: 100%;
    }

    .nav-menu .has-dropdown>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-menu .has-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .nav-menu .has-dropdown.dropdown-open .dropdown-menu li {
        display: block;
    }

    .nav-menu .dropdown-menu li a {
        display: block;
        width: 100%;
    }

}

/* navbar sticky css */
.main-header-wrapper{
    position: sticky;
    top: 0;
 }



 