/* 
   Project: Dr. Santosh Varma - Orthopaedic Portfolio
   Theme: Modern, Premium, Medical, Calm
*/

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Roboto:wght@300;400;500;700&display=swap");

:root {
    /* Careon Color Palette - Exact Match */
    --primary-color: #006d77;
    /* Careon Base - Dark Teal/Cyan */
    --primary-dark: #005259;
    /* Darker teal for gradients */
    --primary-light: #bee1e6;
    /* Careon Primary - Light Cyan */
    --primary-ultra-light: #f2f4f7;
    /* Careon Extra - Very Light Gray */
    --accent-color: #83c5be;
    /* Accent teal for hover effects */

    /* Navy Blue/Black for Dark Sections */
    --navy-dark: #031b4e;
    /* Careon Black - Very Dark Navy */
    --navy-light: #4a5b80;
    /* Careon Gray - Medium Blue-Gray */

    /* Backgrounds */
    --bg-cream: #f2f4f7;
    /* Careon Extra - Clean light gray */
    --bg-white: #ffffff;
    /* Careon White */
    --bg-surface: #ffffff;
    --bg-teal-light: #bee1e6;
    /* Light cyan for tinted backgrounds */

    /* Text Colors */
    --text-dark: #000000;
    /* Careon Black for headings */
    --text-body: #000000;
    /* Careon Gray for body text */
    --text-light: #ffffff;

    /* Accents */
    --accent-gold: #c3c4c3;
    /* Subtle premium touches */

    /* Accent Colors - Using Careon Teal */
    --accent-orange: #006d77;
    /* Use teal for accents like Careon */
    --accent-orange-light: #bee1e6;
    /* Light cyan for hover */
    --accent-orange-ultra-light: #f2f4f7;
    /* Very light for backgrounds */

    /* Spacing & Layout */
    --header-height: 80px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;

    /* Shadows - Careon Style */
    --shadow-sm: 0 4px 6px rgba(0, 109, 119, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 109, 119, 0.12);
    --shadow-lg: 0 20px 40px rgba(3, 27, 78, 0.15);
    --shadow-hover: 0 25px 50px rgba(3, 27, 78, 0.18);
}

/* Base Reset & Typography */
body {
    font-family: "Roboto", sans-serif;
    /* background-color: var(--bg-cream); */
    color: var(--text-dark);
    font-size: 17px;
    /* Specified minimum font size */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

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

/* Custom Properties & Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

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

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

/* Buttons - Aesthetic & Modern */
.btn-primary-custom {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(102, 49, 48, 0.2);
}

.btn-primary-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-light);
    z-index: -1;
    transition: width 0.4s ease;
    border-radius: 50px;
}

.btn-primary-custom:hover::before {
    width: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(102, 49, 48, 0.3);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.nav-item.btn-primary-custom:hover {
    transform: translateY(0px) !important;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 49, 48, 0.15);
}

/* Orange Accent Button - Careon Style CTA */
.btn-orange-custom {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-orange-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-orange-light);
    z-index: -1;
    transition: width 0.4s ease;
    border-radius: 50px;
}

.btn-orange-custom:hover::before {
    width: 100%;
}

.btn-orange-custom:hover {
    transform: translateY(-3px);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

/* Section Spacing */
section {
    padding: 60px 0;
    position: relative;
}

/* Glassmorphism Utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-lg);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 17px;
    opacity: 0.6;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

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

/* ... Previous styles ... */

/* Header & Navigation */
#main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    /* padding: 15px 0; */
    padding: 3px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    /* max-height: 120px;  */
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.nav-link {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500 !important;
    font-size: 18px !important;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    padding: 10px 15px !important;
}

.nav-link a {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    padding: 10px 15px !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hide default caret */
.nav-link.dropdown-toggle::after {
    display: none;
}

/* Custom Dropdown Icon Styling */
.nav-link.dropdown-toggle i {
    font-size: 15px;
}

/* Mega Menu */
.dropdown-menu.mega-menu {
    width: 100%;
    border: none;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(102, 49, 48, 0.15) !important;
    background: #ffffff;
    padding: 40px 30px;
    margin-top: 0px !important;
    border-top: 4px solid var(--primary-color);
    animation: slideUpFade 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
    display: block;
    /* Bootstrap handles visibility, but we need this for anim when class is added */
    visibility: hidden;
    /* Hidden by default until show class adds visibility */
}

.dropdown-menu.mega-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

.mega-menu-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
}

.mega-menu-title::after {
    display: none;
}

/* Remove old underline */

/* Mega Menu Grid Layout */
.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mega-menu-list li {
    width: 100%;
    margin-bottom: 0;
}

/* Standard Dropdown Styling */
.navbar-nav .dropdown-menu:not(.mega-menu) {
    border: none;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(102, 49, 48, 0.15);
    border-top: 3px solid var(--primary-color);
    padding: 10px 0;
    margin-top: 15px;
    /* Aligns with Mega Menu */
    animation: slideUpFade 0.3s ease-out forwards;
    background: #ffffff;
}

.navbar-nav .dropdown-menu:not(.mega-menu) .dropdown-item {
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-menu:not(.mega-menu) .dropdown-item:hover {
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    padding-left: 30px;
    /* Slight slide effect */
}

/* Card-Style Links Enhanced */
.mega-menu-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(145deg, #ffffff, var(--primary-ultra-light));
    border: 1px solid rgba(102, 49, 48, 0.08);
    position: relative;
    overflow: hidden;
}

.mega-menu-list a i {
    color: var(--primary-color);
    font-size: 14px;
    margin-right: 15px;
    transition: 0.3s;
    width: 22px;
    height: 22px;
    background: rgba(102, 49, 48, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mega-menu-list a img {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 15px;
    transition: 0.3s;
    width: 24px;
    height: 24px;
    background: rgba(102, 49, 48, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Hover Effects Enhanced */
.mega-menu-list a:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(102, 49, 48, 0.1);
}

.mega-menu-list a:hover i {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg);
}

.mega-menu-list a:hover img {
    background: var(--primary-ultra-light);
    color: white;
    transform: rotate(10deg);
}

/* Hero Section */
#hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
            var(--bg-cream) 0%,
            var(--primary-ultra-light) 100%);
    overflow: hidden;
    position: relative;
    padding-top: 140px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 49, 48, 0.08);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    /* background: linear-gradient(45deg, var(--primary-color), var(--primary-ultra-light)); */
    background-color: var(--primary-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle,
            rgba(102, 49, 48, 0.05) 0%,
            transparent 70%);
    z-index: -1;
}

.hero-img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    transition: all 0.5s ease;
    border: 5px solid white;
}

.hero-stat-card {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-info h5 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.stat-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.stat-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: 2s;
}

/* Responsive Adjustments */
@media (max-width: 991px) {

    /* Navbar Toggle */
    .navbar-toggler {
        border: none;
        padding: 0;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Mobile Offcanvas Menu */
    .offcanvas-end {
        width: 100% !important;
        /* Full width as requested */
        border-left: none;
        background-color: rgba(255, 255, 255, 0.98);

        @supports (backdrop-filter: blur(10px)) {
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
        }
    }

    .offcanvas-header {
        padding: 25px;
        border-bottom: 1px solid rgba(102, 49, 48, 0.05);
    }

    .offcanvas-body {
        padding: 30px 25px;
    }

    .nav-item {
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        padding-bottom: 5px;
    }

    .nav-item:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--primary-color) !important;
        padding: 5px 0 !important;
    }

    /* Mega Menu on Mobile */
    .dropdown-menu.mega-menu {
        position: static;
        box-shadow: none !important;
        padding: 0;
        margin-top: 15px;
        background: transparent;
        border-top: none;
    }

    .mega-menu-title {
        font-size: 17px;
        margin-bottom: 15px;
        margin-top: 20px;
        color: var(--text-dark);
        border-bottom: none;
    }

    .mega-menu-title::after {
        display: none;
    }

    .mega-menu-list a {
        background: #fff;
        border: 1px solid #eee;
        margin-bottom: 8px;
    }

    .mega-menu .row>div {
        margin-bottom: 0;
    }

    /* Hero Section Fixes */
    #hero {
        padding-top: 90px;
        text-align: center;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        padding-top: 30px;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
        text-align: justify;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }
}

/* =========================================
   SERVICES SECTION V2 - INTERACTIVE CIRCULAR DESIGN
   ========================================= */

.services-section-v2 {
    background: linear-gradient(180deg, #fdfbf9 0%, #ffffff 50%, #f9f6f4 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.services-section-v2::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(102, 49, 48, 0.03) 0%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-section-v2 .section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Services Showcase Grid */
.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1199px) {
    .services-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

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

/* Service Showcase Card */
.service-showcase-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 5px;
    text-align: center;
    border: 1px solid rgba(102, 49, 48, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    overflow: hidden;
}

.service-showcase-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 25px 60px rgba(102, 49, 48, 0.15);
    border-color: rgba(102, 49, 48, 0.12);
}

/* Card Hover Glow Effect */
.card-hover-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle,
            rgba(102, 49, 48, 0.05) 0%,
            transparent 70%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

/* =========================================
   HERO SECTION ANIMATIONS
   ========================================= */

#hero {
    position: relative;
    overflow: hidden;
    /* Ensure shapes don't spill out */
    z-index: 1;
}

/* Floating Images */
.hero-floating-img {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    /* Subtle visibility */
    transition: all 0.5s ease;
}

.float-knee {
    width: 150px;
    top: 20%;
    right: 5%;
    animation: float-slow 12s ease-in-out infinite;
    transform: rotate(6deg);
}

.float-spine {
    opacity: 0.7;
    width: 200px;
    top: 20%;
    right: 5%;
    animation: float-slow 12s ease-in-out infinite;
}

.float-abstract {
    width: 1400px;
    top: 10%;
    left: -20%;
    opacity: 0.7;
    animation: float-vertical 5s ease-in-out infinite;
}

@keyframes float-vertical {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-70px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes float-reverse {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, -20px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(2deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(10deg);
    }

    100% {
        transform: translate(0, 0) rotate(2deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

/* Ensure content stays above shapes */
.hero-content,
.heroSwiper,
.container {
    position: relative;
    z-index: 2;
}

/* Enhancing Hero Typography */
.hero-title {
    animation: text-reveal 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle {
    animation: text-reveal 0.8s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content .btn {
    animation: text-reveal 0.8s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes text-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness for Shapes */
@media (max-width: 768px) {
    .shape-1 {
        width: 200px;
        height: 200px;
        opacity: 0.4;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
        opacity: 0.4;
    }

    .hero-floating-img {
        opacity: 0.1;
        /* Even more subtle on mobile */
    }

    .float-knee {
        width: 150px;
        right: -30px;
        top: 5%;
    }

    .float-spine {
        width: 100px;
        left: -20px;
        bottom: 10%;
    }

    .float-abstract {
        display: none;
    }
}

.service-showcase-card:hover .card-hover-glow {
    transform: translate(-50%, -50%) scale(1);
}

/* =========================================
   SIDEBAR DISPATCH STYLES
   ========================================= */

.service-sidebar-widget {
    background: var(--bg-cream);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 125px;
    border: 1px solid rgba(102, 49, 48, 0.05);
}

.service-sidebar-widget .widget-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-cream);
    position: relative;
}

.service-sidebar-widget .widget-title::after {
    display: none;
}

.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-menu li {
    margin-bottom: 15px;
}

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

.service-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 25px;
    background: #fff;
    border-radius: 50px;
    /* Pill shape */
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hover State */
.service-menu li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,
            var(--primary-color),
            var(--primary-light));
    z-index: -1;
    transition: width 0.4s ease;
    border-radius: 50px;
}

.service-menu li a:hover,
.service-menu li a.active {
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 109, 119, 0.2);
    border-color: transparent;
    padding-left: 35px;
    /* Slight slide text */
}

.service-menu li a:hover::before,
.service-menu li a.active::before {
    width: 100%;
}

.service-menu li a i {
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.service-menu li a:hover i,
.service-menu li a.active i {
    color: #fff;
    opacity: 1;
    transform: translateX(5px);
}

/* Card Image Container */
.card-image-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    z-index: 1;
}

/* Animated Rings */
.image-ring-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotateRing 20s linear infinite;
}

.image-ring-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88%;
    height: 88%;
    border: 3px solid rgba(102, 49, 48, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.service-showcase-card:hover .image-ring-inner {
    border-color: var(--primary-color);
    border-width: 3px;
    transform: translate(-50%, -50%) scale(1.05);
}

@keyframes rotateRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Circular Image */
.card-image-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(102, 49, 48, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.service-showcase-card:hover .card-image-circle {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow: 0 15px 40px rgba(102, 49, 48, 0.25);
}

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

/* Icon Badge on Image */
.card-icon-badge {
    position: absolute;
    bottom: 5px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5a5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(102, 49, 48, 0.3);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-icon-badge i {
    color: white;
    font-size: 1rem;
}

.service-showcase-card:hover .card-icon-badge {
    transform: scale(1.08) rotate(10deg);
    box-shadow: 0 8px 20px rgba(102, 49, 48, 0.4);
}

/* Card Content Area */
.card-content-area {
    position: relative;
    z-index: 1;
}

/* Category Name */
.card-category-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-showcase-card:hover .card-category-name {
    color: var(--primary-color);
}

/* Sublist Wrapper - Always Visible */
.card-sublist-wrapper {
    max-height: 200px;
    overflow: visible;
    opacity: 1;
}

/* Sublist Styling */
.card-sublist {
    list-style: none;
    padding: 15px 15px 5px;
    margin: 0;
    border-top: 1px solid rgba(102, 49, 48, 0.1);
}

.card-sublist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s ease;
}

.card-sublist li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-sublist li a:hover {
    color: var(--primary-color);
}

.card-sublist li:hover {
    transform: translateX(5px);
}

/* Sublist Icon */
.sublist-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(102, 49, 48, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sublist-icon i {
    font-size: 0.6rem;
    color: var(--primary-color);
}

.card-sublist li a:hover .sublist-icon {
    background: var(--primary-color);
}

.card-sublist li a:hover .sublist-icon i {
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .services-section-v2 {
        padding: 30px 0;
    }

    .card-image-container {
        width: 200px;
        height: 200px;
    }

    .card-image-circle {
        width: 170px;
        height: 170px;
    }

    .card-category-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .services-section-v2 {
        padding: 20px 0;
    }

    .service-showcase-card {
        padding: 25px 15px;
    }

    .card-image-container {
        width: 220px;
        height: 220px;
    }

    .card-image-circle {
        width: 180px;
        height: 180px;
    }

    /* Show sublists by default on mobile */
    .card-sublist-wrapper {
        max-height: 200px;
        opacity: 1;
    }

    .card-sublist li {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================
   WHY CHOOSE US - CENTER HUB DESIGN
   ========================================= */

.why-choose-hub {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
}

/* Section Badge */
.section-badge-center {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(102, 49, 48, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hub Layout Features */
.hub-feature-left,
.hub-feature-right {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hub-feature-left:hover,
.hub-feature-right:hover {
    transform: translateX(0) translateY(-5px);
    background: white;
    box-shadow: 0 15px 40px rgba(102, 49, 48, 0.12);
    border-color: transparent;
}

/* Left features point towards center */
.hub-feature-left {
    flex-direction: row-reverse;
}

.hub-feature-left:hover {
    transform: translateX(10px) translateY(-5px);
}

/* Right features point towards center */
.hub-feature-right:hover {
    transform: translateX(-10px) translateY(-5px);
}

/* Feature Icons */
.feature-icon-left,
.feature-icon-right {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg,
            var(--primary-light) 0%,
            var(--primary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.hub-feature-left:hover .feature-icon-left,
.hub-feature-right:hover .feature-icon-right {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(102, 49, 48, 0.3);
}

/* Feature Content */
.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Center Doctor Image */
.doctor-hub-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hub-image-frame {
    position: relative;
    width: 100%;
    /* max-width: 350px; */
    border-radius: 20%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 20px 60px rgba(102, 49, 48, 0.2);
    z-index: 2;
}

.hub-doctor-img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.doctor-hub-center:hover .hub-doctor-img {
    transform: scale(1.05);
}

/* Image Glow Effect */
.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle,
            rgba(102, 49, 48, 0.15) 0%,
            transparent 70%);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

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

.about-detailed-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Floating Background Shapes */
.about-shape {
    position: absolute;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.shape-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-color);
    top: -50px;
    right: -50px;
    filter: blur(60px);
}

.shape-dots {
    background-image: radial-gradient(var(--primary-color) 2px,
            transparent 2px);
    background-size: 20px 20px;
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: -50px;
    opacity: 0.5;
    z-index: 0;
    animation: float 4s ease-in-out infinite;
}

/* Enhanced Image Wrapper */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.image-frame {
    border-radius: 20px;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
    border: 5px solid #fff;
}

.about-image-wrapper:hover .image-frame {
    transform: rotate(0deg) scale(1.02);
}

/* Floating Experience Badge */
.experience-floating-badge {
    position: absolute;
    bottom: 40px;
    right: -10px;
    background: linear-gradient(135deg, #8ec4c9, #f1d6b9);
    color: var(--primary-color);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 59, 70, 0.25);
    text-align: center;
    border: 4px solid #ffffff;
    z-index: 2;
    animation: floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.experience-floating-badge .years {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-floating-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    opacity: 0.9;
}

/* Education Cards */
/* Education Cards Enhanced */
.education-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
}

.education-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(190, 225, 230, 0.15) 0%,
            rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.education-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-color),
            var(--primary-light));
    transition: width 0.4s ease;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 109, 119, 0.12);
    border-color: rgba(0, 109, 119, 0.1);
}

.education-card:hover::before {
    opacity: 1;
}

.education-card:hover::after {
    width: 100%;
}

/* Icon Box Education */
.icon-box-edu {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-ultra-light);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.4s ease;
    font-size: 1.8rem;
    box-shadow: inset 0 0 20px rgba(0, 109, 119, 0.05);
}

.education-card:hover .icon-box-edu {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 20px rgba(0, 109, 119, 0.2);
}

.education-card h5 {
    transition: color 0.3s ease;
}

.education-card:hover h5 {
    color: var(--primary-color) !important;
}

.education-card p.border-start {
    border-color: var(--primary-light) !important;
    transition: all 0.3s ease;
}

.education-card:hover p.border-start {
    border-color: var(--primary-color) !important;
    padding-left: 24px !important;
    /* Slight shift from original ms-4 which is ~1.5rem (24px). Let's increase slightly or keep same but animate color */
}

/* =========================================
   RESPONSIVE EXPERIENCE TIMELINE
   ========================================= */

.experience-section {
    background-color: #ffffff;
    position: relative;
    padding-bottom: 80px;
}

.experience-timeline {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
}

/* ================= Mobile/Vertical (Default) ================= */

.experience-timeline {
    max-width: 800px;
    padding-left: 0;
}

/* Vertical Line */
.experience-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    /* Aligned left for mobile */
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
            var(--primary-light) 0%,
            var(--primary-color) 20%,
            var(--primary-color) 80%,
            var(--primary-light) 100%);
    opacity: 0.3;
}

.v-exp-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    /* Align start */
    align-items: flex-start;
}

/* Dot */
.v-exp-dot {
    position: absolute;
    left: 11px;
    /* Center on line at 20px */
    top: 0;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.1);
    transition: all 0.3s ease;
}

/* Content */
.v-exp-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.3s ease;
    margin-left: 60px;
    /* Space from line */
    width: calc(100% - 60px);
    text-align: left;
}

.v-exp-item:hover .v-exp-dot {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.2);
}

.v-exp-item:hover .v-exp-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Common Typography */
.v-exp-date {
    display: inline-block;
    background: var(--primary-ultra-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.v-exp-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.v-exp-role {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v-exp-loc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================= Desktop/Horizontal (Zig-Zag) ================= */
@media (min-width: 992px) {
    .experience-timeline {
        max-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 220px 0;
        /* Increased to accommodate tall cards */
        margin-top: 20px;
    }

    /* Horizontal Line */
    .experience-timeline::before {
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg,
                var(--primary-light) 0%,
                var(--primary-color) 20%,
                var(--primary-color) 80%,
                var(--primary-light) 100%);
        transform: translateY(-50%);
    }

    .v-exp-item {
        margin-bottom: 0;
        width: 18%;
        /* 5 items fit loosely */
        height: 2px;
        /* Item sits on the line */
        display: flex;
        /* Reset */
        justify-content: center;
        overflow: visible;
    }

    /* Dot on the line */
    .v-exp-dot {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .v-exp-item:hover .v-exp-dot {
        transform: translate(-50%, -50%) scale(1.2);
    }

    /* Reset override mobile margins */
    .v-exp-content {
        margin-left: 0;
        width: 100%;
        position: absolute;
        text-align: center;
        left: 0;
    }

    /* --- Zig Zag Logic --- */

    /* Odd Items: Above Line */
    .v-exp-item:nth-child(odd) .v-exp-content {
        bottom: 50px;
        /* Increased from 30px */
        top: auto;
    }

    /* Connector for Odd */
    .v-exp-item:nth-child(odd) .v-exp-content::after {
        content: "";
        position: absolute;
        bottom: -20px;
        /* Increased length */
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 20px;
        /* Increased length */
        background: var(--primary-color);
        opacity: 0.3;
    }

    /* Even Items: Below Line */
    .v-exp-item:nth-child(even) .v-exp-content {
        top: 50px;
        /* Increased from 30px */
        bottom: auto;
    }

    /* Connector for Even */
    .v-exp-item:nth-child(even) .v-exp-content::after {
        content: "";
        position: absolute;
        top: -20px;
        /* Increased length */
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 20px;
        /* Increased length */
        background: var(--primary-color);
        opacity: 0.3;
    }

    /* Hover effects */
    .v-exp-item:hover .v-exp-content {
        transform: translateY(-5px);
        /* Gentle float */
    }
}

/* Philosophy Cards */
.philosophy-card {
    transition: all 0.4s ease;
    border: none;
    background: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.philosophy-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 109, 119, 0.03) 0%,
            rgba(0, 109, 119, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 109, 119, 0.1);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 109, 119, 0.08);
    transition: all 0.4s ease;
    color: var(--primary-color);
}

.philosophy-card:hover .icon-circle {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotate(10deg) scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .experience-floating-badge {
        right: 20px;
        bottom: 20px;
        padding: 15px 20px;
    }

    .experience-floating-badge .years {
        font-size: 2rem;
    }

    .timeline-dot {
        left: -29px;
        /* Keep aligned */
    }
}

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

.font-secondary {
    font-family: "Quicksand", sans-serif;
}

/* Hub Badge (Years) */
.hub-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.badge-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .why-choose-hub {
        padding: 70px 0;
    }

    .hub-image-frame {
        max-width: 280px;
        margin-bottom: 40px;
    }

    .hub-badge {
        bottom: -20px;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {

    .hub-feature-left,
    .hub-feature-right {
        flex-direction: row;
        text-align: left;
    }

    .feature-content {
        text-align: left !important;
    }

    .hub-image-frame {
        max-width: 250px;
    }
}

.clinic-gallery-section {
    background-color: var(--bg-cream);
    padding: 60px 0;
    position: relative;
}

.clinic-gallery-section .section-title {
    /* color: var(--text-dark); */
    margin-bottom: 10px;
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 1px 9px 10px 3px rgb(0 0 0 / 25%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(102, 49, 48, 0.15);
}

/* Image Wrapper */
.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
    background: #f0f0f0;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Overlay Effect */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(102, 49, 48, 0.85) 0%,
            rgba(139, 90, 90, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay i {
    color: white;
    font-size: 3rem;
    transform: scale(0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Remove default link styling */
.gallery-item a {
    text-decoration: none;
    display: block;
}

/* Gallery Responsive Design */
/* @media (max-width: 991px) { */
@media (min-width: 576px) and (max-width: 991px) {
    .clinic-gallery-section {
        padding: 30px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Center the 3rd item when it wraps to new row on tablet */
    .gallery-item:nth-child(3) {
        grid-column: span 2;
        justify-self: center;
        width: calc(50% - 12.5px);
    }
}

@media (max-width: 576px) {
    .clinic-gallery-section {
        padding: 20px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-overlay i {
        font-size: 2.5rem;
    }
}

/* =========================================
   YOUTUBE REELS / SHORTS SECTION
   ========================================= */

.reels-section {
    padding: 60px 0;
    background: linear-gradient(160deg,
            #ffffff 0%,
            var(--primary-ultra-light) 60%,
            #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.reels-section::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle,
            rgba(0, 109, 119, 0.06) 0%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.reels-section::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle,
            rgba(0, 109, 119, 0.05) 0%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ---- Text Column ---- */
.reels-text-col {
    /* min-height: 320px; */
    display: flex;
    align-items: center;
}

.reels-text-content {
    padding: 10px 0;
}

.reels-label {
    display: inline-block;
    background: rgba(0, 109, 119, 0.1);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.reels-subheading {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 18px;
}

.reels-description {
    font-size: 1rem;
    color: #000000;
    line-height: 1.75;
    margin-bottom: 10px;
    max-width: 600px;
}

.abouts-text {
    text-align: justify;
}

/* ---- Video Column ---- */
.reels-video-col {
    display: flex;
    justify-content: center;
}

/* Desktop stagger offsets */
@media (min-width: 992px) {
    .reels-video-offset-1 {
        margin-top: 0px;
    }

    .abouts-text {
        text-align: justify;
    }

    .reels-video-offset-2 {
        /* margin-top: 130px; */
        margin-top: 20px;
    }
}

/* ---- Reel Card ---- */
.reel-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 109, 119, 0.12);
    border: 1px solid rgba(0, 109, 119, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    max-width: 280px;
}

/* ---- Inner wrap — ensures both video cols are identically sized ---- */
.reel-inner-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    /* matches reel-card max-width exactly */
}

/* ---- Decorative blurred teal circle behind each card ---- */
.reel-bg-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle,
            rgba(0, 109, 119, 0.12) 0%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

.reel-inner-wrap .reel-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.reel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0, 109, 119, 0.2);
    border-color: rgba(0, 109, 119, 0.15);
}

/* ---- Compact Portrait Ratio Wrapper for Shorts ---- */
.reel-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 120%;
    /* Compact portrait — tall but not full 9:16 */
    height: 0;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #000;
}

.reel-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---- Reel Footer ---- */
.reel-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(90deg, var(--primary-ultra-light), #ffffff);
    border-top: 1px solid rgba(0, 109, 119, 0.07);
}

.reel-footer span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.reel-yt-icon {
    font-size: 1.4rem;
    color: #ff0000;
    line-height: 1;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .reels-section {
        padding: 60px 0;
    }

    .reels-text-col {
        min-height: auto;
        text-align: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .reels-description {
        max-width: 100%;
        margin: 0 auto 10px;
        text-align: justify;
    }

    .patient-video {
        padding-top: 20px;
    }

    .reels-video-offset-1 {
        margin-top: 10px;
    }

    .reels-video-offset-2 {
        margin-top: 20px;
    }

    .reel-card {
        max-width: 240px;
    }
}

@media (max-width: 576px) {
    .reels-section {
        padding: 30px 0;
    }

    .reels-subheading {
        font-size: 1.5rem;
    }

    .reels-video-col {
        width: 100%;
    }

    .reel-card {
        max-width: 300px;
        width: 100%;
    }
}

/* =========================================
   TESTIMONIALS SECTION - MODERN S PLIT LAYOUT WITH AVATAR SYNC
   ========================================= */

.testimonials-modern {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%,
            rgba(0, 109, 119, 0.02) 0%,
            transparent 50%),
        radial-gradient(circle at 80% 70%,
            rgba(0, 109, 119, 0.03) 0%,
            transparent 50%);
    pointer-events: none;
}

/* ==========================
   LEFT SIDE: IMAGE DISPLAY
   ========================== */

.testimonial-image-wrapper {
    position: relative;
    padding: 20px;
}

.testimonial-image-wrapper .image-container {
    /* border-radius: 20px; */
    border-top-left-radius: 220px;
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.testimonial-image-wrapper .image-container img {
    transition: transform 0.5s ease;
}

.testimonial-image-wrapper .image-container:hover img {
    transform: scale(1.05);
}

.testimonial-image-wrapper .floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 3;
    width: 150px;
    height: auto;
}

.testimonial-image-wrapper .floating-badge img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatDelayed {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-float-delayed {
    animation: floatDelayed 4s ease-in-out infinite;
}

/* ============================
   RIGHT SIDE: CONTENT SLIDER
   ============================ */

.testimonial-content-slider {
    padding: 20px 0;
    position: relative;
}

.testimonial-content-slider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background-image: url("../img/google-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.testimonial-content-slider>* {
    position: relative;
    z-index: 1;
}

/* Swiper Container */
.testimonialsModernSwiper {
    padding: 20px 0 60px;
    overflow: visible;
}

/* Testimonial Content */
.testimonial-content {
    padding: 0;
}

.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-body);
    font-weight: 400;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding-left: 50px;
}

.testimonial-quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: -5px;
    width: 50px;
    height: 50px;
    background-image: url("../img/left-quote.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
}

/* Author Info */
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.author-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    font-family: "Quicksand", sans-serif;
}

.testimonial-author .rating {
    display: flex;
    gap: 5px;
    align-items: center;
}

.testimonial-author .rating i {
    color: #ffc107;
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.4));
}

/* ============================
   NAVIGATION CONTROLS
   ============================ */

.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 109, 119, 0.1);
}

/* Counter */
.testimonial-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
}

.current-slide {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.counter-divider {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.3);
}

.total-slides {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1;
}

/* Navigation Arrows */
.nav-arrows {
    display: flex;
    gap: 15px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 55px;
    height: 55px;
    border: 2px solid var(--primary-color);
    background: rgba(0, 109, 119, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.swiper-button-prev-custom::before,
.swiper-button-next-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 109, 119, 0.2);
    color: white;
}

.swiper-button-prev-custom:hover::before,
.swiper-button-next-custom:hover::before {
    opacity: 1;
}

.swiper-button-prev-custom i,
.swiper-button-next-custom i {
    position: relative;
    z-index: 1;
}

/* ==========================
   LEFT SIDE: GOOGLE REVIEWS WIDGET
   ========================== */
.google-reviews-widget-wrap {
    position: relative;
    padding: 10px;
    z-index: 10;
}

.widget-accent-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 109, 119, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
}

.google-reviews-widget-card {
    background: #ffffff;
    border: 1px solid rgba(0, 109, 119, 0.12);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.google-reviews-widget-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 109, 119, 0.25);
}

.google-reviews-widget-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

/* Header Branding */
.google-brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

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

.google-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.google-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.google-subtitle {
    font-size: 0.75rem;
    color: var(--navy-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.widget-verification-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 109, 119, 0.08);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(0, 109, 119, 0.15);
}

.widget-verification-tag i {
    font-size: 0.9rem;
}

/* Rating Summary section */
.widget-rating-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 109, 119, 0.08);
}

.widget-rating-big {
    font-size: 4rem;
    font-weight: 900;
    color: var(--navy-dark);
    line-height: 1;
    font-family: "Lato", sans-serif;
    letter-spacing: -1px;
}

.widget-rating-stars-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget-stars {
    display: flex;
    gap: 4px;
}

.widget-stars i {
    color: #ffc107;
    font-size: 1.35rem;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.widget-rating-subtext {
    font-size: 0.95rem;
    color: var(--navy-light);
    font-weight: 500;
}

/* Rating Progress Bars */
.rating-bars-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--navy-light);
}

.rating-bar-star-num {
    width: 25px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.rating-bar-star-num i {
    color: #ffc107;
    font-size: 0.75rem;
}

.rating-bar-track {
    flex-grow: 1;
    height: 8px;
    background: rgba(0, 109, 119, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.rating-bar-percent {
    width: 32px;
    text-align: right;
    font-weight: 700;
    color: var(--navy-dark);
}

/* Catchy statement quotes */
.widget-catchy-quote {
    background: rgba(0, 109, 119, 0.03);
    border-left: 3px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-size: 1rem;
    color: var(--navy-dark);
    line-height: 1.5;
    margin-bottom: 25px;
    font-style: italic;
    font-weight: 500;
    display: flex;
    gap: 12px;
}

.widget-catchy-quote .quotes-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.5;
    margin-top: 2px;
}

/* Patient Trust Tags */
.patient-trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.trust-tag {
    background: var(--bg-cream);
    color: var(--navy-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.trust-tag:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: rgba(0, 109, 119, 0.15);
}

.trust-tag i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Footer Section */
.widget-footer-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.avatar-img-stack {
    display: flex;
    align-items: center;
}

.avatar-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: -10px;
    transition: transform 0.3s ease, margin 0.3s ease;
}

.avatar-dot:hover {
    transform: translateY(-4px) scale(1.1);
    z-index: 10;
    margin-right: -4px;
}

.avatars-info {
    font-size: 0.85rem;
    color: var(--navy-light);
    line-height: 1.3;
}

.avatars-info strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
}

.btn-google-review {
    background: var(--navy-dark);
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(3, 27, 78, 0.2);
    border: none;
    transition: all 0.3s ease;
}

.btn-google-review:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 109, 119, 0.3);
}

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

/* Tablet View (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .testimonials-modern {
        padding: 60px 0;
    }

    .testimonial-image-wrapper .floating-badge {
        width: 120px;
        bottom: -15px;
        right: -15px;
    }

    .testimonial-heading {
        font-size: 2.2rem;
    }

    .testimonial-quote {
        font-size: 1.05rem;
    }

    .author-name {
        font-size: 1.2rem;
    }

    .current-slide {
        font-size: 2rem;
    }

    .total-slides {
        font-size: 1.3rem;
    }
}

/* Mobile View (< 768px) */
@media (max-width: 767px) {
    .testimonials-modern {
        padding: 30px 0;
    }

    .testimonial-image-wrapper {
        padding: 10px;
        margin-bottom: 20px;
    }

    .testimonial-image-wrapper .floating-badge {
        width: 100px;
        bottom: -10px;
        right: -10px;
    }

    .testimonial-content-slider {
        padding: 0;
    }

    .testimonial-label {
        font-size: 0.85rem;
        letter-spacing: 2px;
        padding-left: 50px;
    }

    .testimonial-label::before {
        width: 35px;
    }

    .testimonial-heading {
        font-size: 1.75rem;
    }

    .testimonialsModernSwiper {
        padding: 15px 0 50px;
    }

    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.8;
        padding-left: 50px;
    }

    .testimonial-quote::before {
        font-size: 3rem;
        top: -5px;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .testimonial-author .rating i {
        font-size: 1rem;
    }

    .testimonial-navigation {
        margin-top: 15px;
        padding-top: 10px;
    }

    .current-slide {
        font-size: 2rem;
    }

    .counter-divider {
        font-size: 1.2rem;
    }

    .total-slides {
        font-size: 1.2rem;
    }

    .swiper-button-prev-custom,
    .swiper-button-next-custom {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .nav-arrows {
        gap: 10px;
    }

    .google-reviews-widget-card {
        padding: 25px;
    }

    .widget-rating-big {
        font-size: 3.2rem;
    }

    .widget-accent-glow {
        display: none;
    }

    .widget-footer-action {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .btn-google-review {
        width: 100%;
    }
}

/* Extra Small Mobile (< 576px) */
@media (max-width: 575px) {
    .testimonials-modern {
        padding: 30px 0;
    }

    .testimonial-image-wrapper .floating-badge {
        width: 80px;
        bottom: -8px;
        right: -8px;
    }

    .testimonial-heading {
        font-size: 1.5rem;
    }

    .testimonial-quote {
        font-size: 0.95rem;
    }

    .author-name {
        font-size: 1rem;
    }

    .current-slide {
        font-size: 1.75rem;
    }

    .total-slides {
        font-size: 1.1rem;
    }

    .swiper-button-prev-custom,
    .swiper-button-next-custom {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* =========================================
   MODERN ELEGANT FOOTER SECTION
   ========================================= */

footer#main-footer {
    background: url("../img/footer-bg.png") no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 60px 0 0 0;
    overflow: hidden;
}

footer#main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Transparent overlay to show image */
    background-color: var(--bg-cream);
    z-index: 0;
}

/* Decorative Background Elements */
.footer-bg-decoration {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%,
            rgba(102, 49, 48, 0.03) 0%,
            transparent 50%),
        radial-gradient(circle at 80% 70%,
            rgba(102, 49, 48, 0.04) 0%,
            transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content-wrapper {
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
}

/* Footer Widget Base */
.footer-widget {
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

.footer-widget:hover {
    transform: translateY(-5px);
}

/* Brand Section */
.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.brand-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg,
            var(--primary-color),
            var(--accent-gold));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-widget:hover .brand-divider {
    width: 100px;
}

.footer-text {
    font-size: 1rem;
    line-height: 1.6;
}

.credentials {
    color: var(--text-dark);
    opacity: 0.8;
    font-size: 1rem;
    font-weight: 500;
}

.footer-description {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

/* Social Buttons - Enhanced */
.footer-socials {
    margin-top: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 49, 48, 0.2);
}

.social-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.social-btn:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 49, 48, 0.35);
    color: white;
}

.social-btn:hover .social-ripple {
    transform: scale(1.3);
    opacity: 1;
}

.social-btn i {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* Widget Title */
.widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-color),
            var(--accent-gold));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-widget:hover .widget-title::after {
    width: 80px;
}

/* Modern Contact Info */
.contact-info-modern {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.contact-item::before {
    display: none;
}

.contact-item:hover {
    background: transparent;

    transform: translateX(5px);
    box-shadow: none;
}

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg,
            var(--primary-ultra-light),
            rgba(102, 49, 48, 0.08));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--primary-light));
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}

.contact-link {
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--primary-color);
}

/* Map Container - Modern */
.footer-map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 49, 48, 0.15);
    transition: all 0.3s ease;
}

.footer-map-container:hover {
    box-shadow: 0 15px 40px rgba(102, 49, 48, 0.25);
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 49, 48, 0.1), transparent);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.footer-map-container:hover .map-overlay {
    opacity: 0;
}

.footer-map-frame {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.footer-map-container:hover .footer-map-frame {
    filter: grayscale(0%);
}

/* View Map Button */
.view-map-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--primary-light));
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(102, 49, 48, 0.2);
    border: none;
}

.view-map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 49, 48, 0.3);
    color: white;
}

.view-map-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.view-map-btn:hover i {
    transform: translateX(5px);
}

/* Copyright Area - Premium */
.footer-copyright {
    color: var(--primary-color);
    padding: 10px 0;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.footer-copyright p {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.copy-text {
    color: var(--accent-orange);
}

.copy-text:hover {
    color: var(--accent-orange);
}

.top-border {
    border-top: 1px solid var(--primary-color);
}

/* Pulse Heart Animation */
.pulse-heart {
    animation: heartPulse 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    footer#main-footer {
        padding: 30px 0 0 0;
        /* margin-top: 60px; */
    }

    .footer-content-wrapper {
        padding-bottom: 30px;
    }

    .footer-widget {
        padding: 0;
        margin-bottom: 15px;
    }

    .footer-icon-accent {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact-item {
        /* padding: 15px; */
        /* flex-direction: column; */
        align-items: flex-start;
    }

    .footer-brand {
        font-size: 1.5rem;
    }

    .widget-title {
        font-size: 1.3rem;
    }

    .footer-map-frame {
        height: 200px;
    }

    .footer-copyright {
        padding: 10px 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    footer#main-footer {
        padding: 30px 0 0 0;
    }

    .footer-content-wrapper {
        padding-bottom: 30px;
    }

    .footer-widget {
        padding: 0;
        margin-bottom: 15px;
    }

    .footer-icon-accent {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact-item {
        /* padding: 15px; */
        /* flex-direction: column; */
        align-items: flex-start;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .footer-socials {
        justify-content: center;
    }

    .social-btn {
        width: 40px;
        height: 40px;
    }

    .footer-map-frame {
        height: 180px;
    }

    .footer-wave svg {
        height: 80px;
    }
}

/* =========================================
   3D Swiper Slider Styles
   ========================================= */
.heroSwiper {
    width: 600px;
    padding: 50px 0;
    overflow: visible;
}

.heroSwiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 400px;
    height: 420px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 9px 30px rgba(0, 0, 0, 0.1);
    /* border: 4px solid #fff; */
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.heroSwiper .swiper-slide-active {
    border-color: var(--primary-color) !important;
    box-shadow: 0 30px 60px var(--primary-color) !important;
    transform: scale(1.02);
    /* Subtle lift */
    z-index: 10;
}

.slide-content {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, var(--primary-color), transparent);
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.heroSwiper .swiper-slide-active .slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.slide-caption h5 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.slide-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: transparent;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .heroSwiper {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .heroSwiper .swiper-slide {
        width: 260px;
        height: 380px;
    }
}

/* =========================================
   About Section Styling
   ========================================= */
.about-section {
    /* background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream) 100%); */
    overflow: hidden;
}

/* .about-content .ls-2 {
    letter-spacing: 2px;
    font-size: 0.9rem;
} */

.section-title {
    color: var(--primary-color);
    line-height: 1.2;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(102, 49, 48, 0.1);
    z-index: -1;
    transform: skewX(-15deg);
}

.highlight-badge {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(102, 49, 48, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 49, 48, 0.1);
}

.highlight-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 49, 48, 0.12);
    background: var(--primary-color);
    color: white;
}

.about-img-wrapper {
    position: relative;
    padding: 20px;
    display: inline-block;
}

/* Decorative Framing Borders */
.about-img-wrapper::before,
.about-img-wrapper::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border: 3px solid var(--accent-orange);
    z-index: 1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.about-img-wrapper::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 10px;
}

.about-img-wrapper::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 80px;
}

.about-img-wrapper:hover::before {
    transform: translate(-10px, -10px);
}

.about-img-wrapper:hover::after {
    transform: translate(10px, 10px);
}

@media (max-width: 600px) {

    .about-img-wrapper::before,
    .about-img-wrapper::after {
        display: none;
    }
}

/* Decorative Background Shape */
.about-shape-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle,
            rgba(102, 49, 48, 0.08) 0%,
            transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.about-img {
    border: 2px solid var(--accent-orange);
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    border-bottom-left-radius: 80px;
    border-top-left-radius: 10px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.about-img-wrapper:hover .about-img {
    transform: rotate(0deg) scale(1.02);
}

/* Floating Experience Badge */
.experience-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(230, 126, 92, 0.15);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    border-left: 5px solid var(--accent-orange);
    animation: float 5s ease-in-out infinite;
}

.experience-badge .display-4 {
    line-height: 1;
    font-size: 3.5rem;
}

@media (max-width: 991px) {
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -30px;
        display: inline-flex;
        transform: none !important;
        animation: none;
        padding: 10px 15px;
    }

    .about-img {
        transform: none;
    }

    .experience-badge .display-4 {
        line-height: 1;
        font-size: 2rem;
    }

    .sec-text {
        font-size: 15.5px;
    }
}

/* Creative Education List */
.creative-list .icon-box {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--primary-ultra-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 77, 28, 0.1);
    transition: all 0.3s ease;
}

.creative-list li:hover .icon-box {
    background: var(--primary-color);
    transform: rotateY(180deg);
}

.creative-list li:hover .icon-box i {
    color: white !important;
}

.education-block h6 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* =========================================
   WHY CHOOSE US - MODERN CARD LAYOUT
   ========================================= */

.why-choose-modern {
    padding: 60px 0;
    /* background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream) 100%); */
    position: relative;
    overflow: hidden;
}

/* Three Sections Background Wrapper */
.three-sections-bg-wrapper {
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: auto !important;
    position: relative;
    width: 100%;
}

/* Responsive background sizing */
@media (max-width: 1400px) {
    .three-sections-bg-wrapper {
        background-size: auto 80% !important;
        background-position: right center !important;
    }
}

@media (max-width: 991px) {
    .three-sections-bg-wrapper {
        background-size: auto 60% !important;
        background-position: right center !important;
    }
}

@media (max-width: 576px) {
    .section-description {
        text-align: justify;
    }

    .about-texts {
        text-align: justify;
    }

    .service-content p,
    .service-content p.mb-2,
    .service-content p.mb-5 {
        text-align: justify !important;
    }
}

/* Left Side Illustration */
.why-choose-illustration {
    position: relative;
    padding: 20px;
}

.why-choose-illustration img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Right Side Content */
.why-choose-content {
    padding-left: 30px;
}

/* Section Header */
.section-header-modern {
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    /* color: var(--accent-orange); */
    font-size: 1.06rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.85;
    line-height: 1.7;
    margin: 0;
}

/* Feature Boxes Grid (2x2) */
.feature-boxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    background: var(--bg-cream);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(102, 49, 48, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--primary-color);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 49, 48, 0.12);
    border-color: var(--primary-ultra-light);
}

.feature-check-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg,
            var(--accent-orange) 0%,
            var(--accent-orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.feature-box-content {
    flex: 1;
}

.feature-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-box-text {
    font-size: 0.98rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .section-heading {
        font-size: 2.25rem;
    }
}

@media (max-width: 991px) {
    .why-choose-modern {
        padding: 30px 0;
    }

    .why-choose-content {
        padding-left: 0;
        /* margin-top: 40px; */
    }

    .section-heading {
        font-size: 2rem;
    }

    .feature-boxes-grid {
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .feature-boxes-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .feature-box {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .section-heading {
        font-size: 1.6rem;
    }

    .feature-box-title {
        font-size: 1rem;
    }

    .feature-box-text {
        font-size: 0.85rem;
    }
}

/* =========================================
   HOW WE WORK PROCESS SECTION
   ========================================= */

.how-we-work-section {
    padding: 60px 0;
    /* background: linear-gradient(135deg, var(--bg-cream) 0%, #ffffff 100%); */
    overflow: hidden;
}

/* Section Header Left */

.section-badge-left {
    display: inline-block;
    background: var(--primary-ultra-light);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Process Steps */
.process-steps {
    position: relative;
}

.process-step-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    position: relative;
    padding-left: 10px;
}

.process-step-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 65px;
    bottom: -35px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    opacity: 0.3;
}

/* Step Number Badge */
.step-number-badge {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg,
            var(--accent-orange),
            var(--accent-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-number-badge span {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.process-step-item:hover .step-number-badge {
    transform: scale(1.15) rotate(10deg);
}

/* Step Content */
.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.process-step-item:hover .step-title {
    color: var(--primary-light);
}

.step-description {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.85;
    line-height: 1.7;
    margin: 0;
}

/* Process Image Wrapper */
.process-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.process-image-circle {
    width: 100%;
    /* max-width: 480px; */
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(102, 49, 48, 0.15);
    border: 8px solid white;
    background: linear-gradient(135deg, var(--primary-ultra-light), white);
}

.process-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.process-image-circle:hover img {
    transform: scale(1.02);
}

.circle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle,
            rgba(102, 49, 48, 0.1) 0%,
            transparent 70%);
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* Floating Badge */
.process-badge-float {
    position: absolute;
    bottom: 60px;
    left: 0;
    background: linear-gradient(135deg,
            var(--accent-orange),
            var(--accent-orange-light));
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 15px 50px rgba(230, 126, 92, 0.35);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    line-height: 1.3;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.badge-highlight {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 2px 0;
}

.badge-subtitle {
    font-size: 1rem;
    font-weight: 600;
}

.badge-description {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 2px;
}

/* Decorative Arrow */
.decorative-arrow {
    position: absolute;
    top: 20%;
    right: -10%;
    opacity: 0.3;
    animation: arrow-float 3s ease-in-out infinite;
}

@keyframes arrow-float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-10px, -10px);
    }
}

/* Responsive for How We Work */
@media (max-width: 991px) {
    .how-we-work-section {
        padding: 30px 0;
    }

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

    .process-image-wrapper {
        margin-top: 40px;
        padding: 20px;
    }

    .process-badge-float {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        display: inline-block;
    }

    .decorative-arrow {
        display: none;
    }

    .process-step-item:not(:last-child)::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .section-title-left {
        font-size: 1.75rem;
    }

    .process-step-item {
        gap: 15px;
    }

    .step-number-badge {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .step-number-badge span {
        font-size: 1.2rem;
    }

    .step-title {
        font-size: 1.15rem;
    }

    .step-description {
        font-size: 0.9rem;
    }
}

/* =========================================
   PATIENT EDUCATION SECTION - SHORTS LAYOUT
   ========================================= */

.patient-education-section {
    padding: 60px 0;
}

/* Shorts Stack (Left Column - 2 Videos Stacked) */
.shorts-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Short Video Card */
.short-video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(102, 49, 48, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.short-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 49, 48, 0.15);
}

/* Single Short (Center) - Larger */
.short-video-single {
    height: 100%;
}

/* Vertical Video Wrapper - 9:16 Ratio for Shorts */
.short-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 120%;
    /* Reduced from 177.78% - more compact on desktop */
    background: #000;
    overflow: hidden;
    max-height: 550px;
    /* Limit max height on large screens */
}

.short-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Content Panel (Right Side) */
.shorts-content-panel {
    padding: 45px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}

.shorts-content-panel:hover {
    box-shadow: 0 20px 60px rgba(202, 202, 202, 0.15);
}

.content-label {
    display: inline-block;
    background: var(--primary-ultra-light);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.content-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: 20px;
}

.content-description {
    font-size: 1.05rem;
    color: var(--text-dark);
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content-additional {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive for Patient Education */
@media (max-width: 1199px) {
    .content-main-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 991px) {
    .patient-education-section {
        padding: 30px 0;
    }

    .shorts-content-panel {
        padding: 35px;
        margin-top: 30px;
    }

    .content-main-title {
        font-size: 1.65rem;
    }

    .short-video-single {
        margin-top: 20px;
    }

    /* Adjust video heights for tablet */
    .short-video-wrapper {
        max-height: 500px;
        padding-bottom: 130%;
    }
}

@media (max-width: 767px) {
    .shorts-stack {
        gap: 15px;
    }

    .shorts-content-panel {
        padding: 30px;
    }

    .content-main-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .patient-education-section {
        padding: 20px 0;
    }

    .shorts-content-panel {
        padding: 25px;
    }

    .content-label {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .content-main-title {
        font-size: 1.4rem;
    }

    .content-description {
        font-size: 1rem;
    }

    .content-additional {
        font-size: 0.9rem;
    }

    /* Adjust video heights for mobile */
    .short-video-wrapper {
        max-height: 450px;
        padding-bottom: 140%;
    }
}

/* =========================================
   BACK TO TOP BUTTON - Modern & Smooth
   ========================================= */

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg,
            var(--accent-orange),
            var(--accent-orange-light));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(230, 126, 92, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg,
            var(--accent-orange-light),
            var(--accent-orange));
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 35px rgba(230, 126, 92, 0.45);
}

.back-to-top-btn:active {
    transform: translateY(-3px) scale(0.95);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Pulse animation on first appearance */
.back-to-top-btn.show:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 1.5s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* =========================================
   STICKY SIDE ACTION BAR
   ========================================= */
.sticky-action-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    /* Ensure buttons align to the right */
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: var(--navy-dark);
    color: white;
    text-decoration: none;
    padding: 8px 10px;
    /* Reduced vertical padding slightly */
    border-top-left-radius: 30px;
    /* More pill-like/rounded left */
    border-bottom-left-radius: 30px;
    width: 60px;
    /* Initial icon width */
    height: 55px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Smoother ease */
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    position: relative;
}

/* Hover: Individual button expands */
.action-btn:hover {
    width: 230px;
    /* Expanded width */
    padding-right: 12px;
}

.action-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border-radius: 50%;
    /* background: rgba(255,255,255,0.15);  */
    margin-left: 15px;
}

.action-text {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease 0.1s;
    margin-right: auto;
    margin-left: 15px;
    color: white;
}

/* Show text on individual hover */
.action-btn:hover .action-text {
    opacity: 1;
    transform: translateX(0);
}

/* Specific Colors */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.call-btn {
    background: linear-gradient(135deg,
            var(--navy-light) 0%,
            var(--navy-dark) 100%);
}

.appointment-btn {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e67e22 100%);
}

.whatsapp-btn .action-icon {
    font-size: 1.5rem;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .sticky-action-bar {
        gap: 8px;
        top: 85%;
        /* display: none; */
    }

    .action-btn {
        width: 40px;
        height: 40px;
        padding: 1px;
    }

    .action-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
        margin-left: 10px;
    }

    .whatsapp-btn .action-icon {
        font-size: 1.4rem;
    }

    .action-btn:hover {
        width: 200px;
    }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Contact Header/Breadcrumb Section */
.contact-header-section {
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--navy-dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-header-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 60%);
    transform: rotate(30deg);
}

.contact-header-section .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.contact-header-section .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Info Cards */
.contact-info-section {
    position: relative;
    z-index: 10;
}

.contact-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.contact-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-ultra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotateY(180deg);
}

.contact-card:hover .icon-wrapper i {
    transform: rotateY(-180deg);
    /* Keep icon facing correct way if needed, or let it spin */
}

.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-card p,
.contact-card a {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Map Section */
.map-section {
    /* background-color: var(--bg-cream); */
}

.map-container {
    border-radius: 0;
    /* Full width aesthetics usually don't have radius, or use radius if containerized */
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    filter: grayscale(20%) contrast(1.1);
    /* Subtle map style to match calm theme */
    display: block;
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .contact-card {
        padding: 30px 20px;
    }

    .contact-info-section {
        top: 0;
        margin-bottom: 0;
        padding-top: 60px;
    }
}

/* Contact Form Section */
.contact-form-section {
    /* background-color: #ffffff; */
}

.contact-image-wrapper {
    /* position: relative;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto; */
}

.image-container {
    /* border-radius: var(--border-radius-lg); */
    /* border-top-left-radius: 220px;
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px; */
    /* border: 5px solid #ffffff; */
    /* transform: rotate(-2deg); */
    /* transition: transform 0.3s ease; */
}

.image-container img {
    border-radius: var(--border-radius-lg);
    border-top-left-radius: 220px;
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border: 5px solid #ffffff;
    transition: transform 0.3s ease;
}

.contact-image-wrapper:hover .image-container {
    transform: rotate(0deg);
}

/* .contact-page-img {
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
} */

/* Contact Info Cards Vertical */
.contact-info-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-icon-inline {
    width: 50px;
    height: 50px;
    background: var(--primary-ultra-light);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.5;
}

.floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 3;
}

.floating-badge i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.badge-1 {
    top: 10%;
    right: 0;
    border: 1px solid var(--primary-color);
    animation: float 5s ease-in-out infinite;
}

.badge-2 {
    bottom: 15%;
    left: 0;
    border: 1px solid var(--primary-color);
    animation: float 6s ease-in-out infinite 1s;
    /* Delayed start */
}

@media (max-width: 767px) {
    .badge-2 {
        bottom: -2%;
        left: 0;
        padding: 8px;
        border: 1px solid var(--primary-color);
        animation: float 6s ease-in-out infinite 1s;
        /* Delayed start */
    }

    .badge-2 img {
        width: 75px;
    }
}

/* Form Styling */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control-custom {
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 1rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.1);
    background-color: #ffffff;
}

.form-floating>label {
    padding: 1rem 1rem;
    color: var(--text-body);
}

/* Floating Shapes Background */
.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    filter: blur(50px);
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-orange);
    bottom: 50px;
    right: -50px;
    filter: blur(40px);
}

.shape-3 {
    width: 100px;
    height: 100px;
    border: 5px solid var(--primary-light);
    top: 20%;
    right: 10%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite 2s;
}

@media (max-width: 991px) {
    .contact-image-wrapper {
        margin-top: 40px;
        padding: 0;
    }

    .floating-badge {
        transform: scale(0.9);
    }
}

/* Universal Page Header */
.universal-page-header {
    background: linear-gradient(135deg, #cce2e4 0%, #8bbac5 100%);
    padding: 180px 0 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.universal-page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 60%);
    transform: rotate(30deg);
}

.universal-page-header h1 {
    color: var(--primary-color);
    /* color: var(--navy-dark); */
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.universal-page-header h1 {
    text-shadow:
        1px 3px 0 #ffffff,
        -1px -1px 0 #ffffff,
        1px -1px 0 #ffffff,
        -1px 1px 0 #ffffff,
        1px 1px 0 #ffffff;
}

/* Responsive Font Sizes for Universal Header H1 */
@media (min-width: 1400px) {
    .universal-page-header h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .universal-page-header h1 {
        font-size: 3.2rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .universal-page-header h1 {
        font-size: 2.8rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .universal-page-header h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 767px) {
    .universal-page-header h1 {
        font-size: 2rem;
    }

    .universal-page-header {
        padding: 160px 0 45px;
    }
}

/* Media Gallery Section */
.media-gallery-section {
    background-color: var(--bg-cream);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    /* height: 300px; */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(3, 27, 78, 0.8) 0%,
            rgba(3, 27, 78, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.overlay-content h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: "Quicksand", sans-serif;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Hover Effects */
.gallery-item:hover img {
    transform: scale(1.1);
}

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

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

/* Responsive Grid Adjustments if needed */
@media (max-width: 767px) {
    .gallery-item {
        height: 250px;
    }
}

/* ====================================
   CONTACT PAGE STYLES
   ==================================== */

/* Contact Info Section */
.contact-info-section {
    background: var(--bg-cream);
    padding: 80px 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Contact Info Cards Vertical */
.contact-info-cards-vertical {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.contact-info-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
    border-left-color: var(--accent-color);
}

/* Contact Icon Inline */
.contact-icon-inline {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
            var(--accent-orange),
            var(--accent-orange-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

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

.contact-info-item:hover .contact-icon-inline {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg,
            var(--accent-color) 0%,
            var(--primary-color) 100%);
}

/* Contact Info Content */
.contact-info-content h5 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.contact-info-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-info-content a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

/* Form Custom Styles */
.form-control-custom {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.form-floating>label {
    color: var(--text-muted);
}

/* Contact Responsive Styles */
@media (max-width: 991px) {
    .contact-info-cards-vertical {
        margin-top: 5px;
    }

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

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

    .contact-info-content h5 {
        font-size: 1.1rem;
    }
}

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

    .contact-form-wrapper {
        padding: 30px 20px !important;
    }

    .contact-info-item {
        padding: 20px;
        margin-bottom: 20px !important;
    }

    .contact-icon-inline {
        width: 45px;
        height: 45px;
    }

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

    .contact-info-content h5 {
        font-size: 1rem;
    }

    .contact-info-content p {
        font-size: 0.9rem;
    }
}

/* Testimonial List Page Styles */
.testimonial-list-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 1px 8px rgb(227 227 227);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid var(--primary-light);
    border-bottom: 3px solid var(--primary-color);
    height: 100%;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 100px;
    border-top-right-radius: 80px;
}

.testimonial-list-card::before {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: url("../img/google-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-list-card>* {
    position: relative;
    z-index: 1;
}

.testimonial-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-list-card .testimonial-quote {
    color: #000;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-list-card .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding-right: 60px;
}

.testimonial-list-card .author-name {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.testimonial-list-card .rating {
    display: flex;
    gap: 5px;
}

@media (max-width: 767px) {
    .testimonial-list-card .testimonial-author {
        padding-right: 40px;
    }

    .testimonial-list-card {
        padding-left: 0px;
    }

    .testimonial-quote {
        justify-content: justify;
    }
}

/* ====================================
   FRACTURE CARE PAGE STYLES
   ==================================== */

/* Creative List Styles */
.creative-lists {
    list-style: none;
    padding: 0;
    counter-reset: bfs-counter;
}

.creative-lists li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 25px;
}

.creative-lists li::before {
    counter-increment: bfs-counter;
    content: "0" counter(bfs-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 109, 119, 0.15);
}

.creative-lists h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.creative-lists p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* Impact Section Styles */
.impact-section {
    background: linear-gradient(135deg, #dcf2f5 0%, #ffffff 100%);
    /* Lighter background as requested */
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 109, 119, 0.05);
}

.impact-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(0, 109, 119, 0.03);
    border-radius: 50%;
    z-index: 0;
}

@media (max-width: 767px) {
    .impact-section {
        border-radius: 10px;
        padding: 20px;
    }

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

    .btn-icon-lg {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
}

.impact-badge {
    display: inline-block;
    background: rgba(0, 109, 119, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.impact-headline {
    color: var(--text-dark);
    /* Dark text for contrast on light bg */
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.impact-description {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.btn-icon-only {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Circle shape */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 109, 119, 0.2);
}

.btn-icon-only:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 109, 119, 0.3);
    color: white;
}

.btn-icon-lg {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
}

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

/* Button with text and icon for Impact Section */
.btn-impact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 109, 119, 0.2);
    width: auto;
    height: auto;
}

.btn-impact-action i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-impact-action:hover i {
    transform: translateX(3px);
}

.btn-impact-action.btn-primary-custom {
    background: var(--primary-color);
    color: white;
}

.btn-impact-action.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 109, 119, 0.3);
    color: var(--primary-dark);
}

.btn-impact-action.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-impact-action.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 109, 119, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .btn-impact-action {
        width: 100%;
        /* Full width on mobile for easier tapping */
        margin-bottom: 10px;
    }

    .impact-section .d-flex {
        flex-direction: column;
        gap: 15px !important;
    }
}

.btn-icon-outline:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 109, 119, 0.2);
    border-color: var(--primary-color);
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 109, 119, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 109, 119, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 109, 119, 0);
    }
}

.ripple-effect:hover {
    animation: pulse-shadow 1.5s infinite;
}

.rounded-circles {
    border-radius: 50% !important;
}

/* =========================================
   MAP SECTION INTERACTIVE
   ========================================= */
.map-section-interactive {
    position: relative;
    overflow: hidden;
}

.map-container-interactive {
    position: relative;
    width: 100%;
    height: 600px;
}

.google-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0%);
    transition: all 0.5s ease;
}

.map-overlay-card {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 400px;
    z-index: 10;
    transition: all 0.5s ease;
}

.map-overlay-card .card-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-overlay-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-ultra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .map-overlay-card {
        left: 5%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .map-container-interactive {
        height: auto;
        display: block;
    }

    .google-map-iframe {
        height: 350px;
    }

    .map-overlay-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: -50px;
        /* Overlap effect */
        padding: 0 15px 30px 15px;
    }

    .map-overlay-card .card-content {
        background: #ffffff;
        /* Solid background for mobile legibility */
        backdrop-filter: none;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
        /* Upward shadow */
    }
}

/* YouTube Testimonial & Shorts Card Styles */
.video-testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 109, 119, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    max-width: 320px;
    width: 100%;
}

.video-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 109, 119, 0.12);
}

.ratio-9x16 {
    --bs-aspect-ratio: 177.77777778%;
}

.video-card-body {
    padding: 20px 15px;
    text-align: center;
}

.video-card-title {
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #2b2d42;
    line-height: 1.4;
    margin-bottom: 0;
}

.youtube-play-overlay {
    background: rgba(0, 0, 0, 0.7);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.video-testimonial-card:hover .youtube-play-overlay {
    background: rgba(0, 109, 119, 0.9) !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

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

/* Scoped styles for the mock YouTube Shorts overlay */
.mock-shorts-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.mock-shorts-header-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.mock-shorts-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.mock-shorts-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.mock-shorts-info {
    margin-left: 8px;
    overflow: hidden;
    text-align: left;
    padding-right: 10px;
}

.mock-shorts-title {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "YouTube Sans", Roboto, Arial, sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.mock-shorts-channel {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11.5px;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "YouTube Sans", Roboto, Arial, sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.mock-shorts-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    z-index: 2;
    transition: transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    pointer-events: none;
}

.video-testimonial-card:hover .mock-shorts-logo-container {
    transform: translate(-50%, -50%) scale(1.15);
}

/* Responsive Service Video & Content Layout */
.service-video-flex {
    display: flex;
    justify-content: space-around !important;
    align-items: flex-start;
}

@media (max-width: 991px) {
    .service-video-flex {
        flex-direction: column;
        align-items: center;
    }

    .service-video-flex .service-content {
        padding-left: 0 !important;
        padding-top: 1.5rem !important;
    }
}

.texts-colr {
    color: var(--text-dark) !important;
}

.contact-labels {

    color: var(--primary-color);
}

/* Contact page inline phone number styling */
.contact-phone-line {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-phone-line i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-phone-line a {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: inherit;
    transition: color 0.3s ease;
}

.contact-phone-line a:hover {
    color: var(--primary-color);
}

/* ================================ */

/* --- Sticky Contact Design (Circle & Pill Style) --- */

.sticky-contact-wrapper {
    position: fixed;
    bottom: 82px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 9999;
}

/* Shared Styles for Sticky Buttons */
.sticky-whatsapp,
.sticky-call {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50px;
    /* Initial circle width */
    height: 50px;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    overflow: hidden;
}

.sticky-whatsapp i,
.sticky-call i {
    min-width: 50px;
    /* Keeps icon centered when circle */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sticky-whatsapp span,
.sticky-call span {
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-right: 20px;
}

/* WhatsApp Specific */
.sticky-whatsapp {
    background-color: #25d366;
}

.sticky-whatsapp i {
    font-size: 26px;
}

/* Call Specific */
.sticky-call {
    background-color: var(--primary-color);
}

.sticky-call i {
    font-size: 20px;
}

/* Hover States - Expansion */
.sticky-whatsapp:hover,
.sticky-call:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sticky-whatsapp:hover {
    width: 200px;
    /* Width to show "WhatsApp Now" */
}

.sticky-call:hover {
    width: 170px;
    /* Width to show "Call Now" */
}

.sticky-whatsapp:hover span,
.sticky-call:hover span {
    opacity: 1;
    transition-delay: 0.2s;
}

.sticky-call:hover i {
    transform: rotate(10deg);
    min-width: 45px;
}

.sticky-whatsapp:hover i {
    min-width: 45px;
}
.sticky-contact-wrapper {
        bottom: 85px;
        right: 30px;
        gap: 5px;
    }

 @media (max-width: 768px) {
   .sticky-contact-wrapper {
        bottom: 75px;
        right: 15px;
        gap: 5px;
    } 
 }