/* ============================================
   Dr. Varun Jitendra Dave - Premium Medical Website
   Modern, Professional, Medical-Grade UI
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #4c666f;
    --primary-dark: #1a1a1a;
    --primary-light: #c5d89d;
    --secondary-color: #4c666f;
    --accent-color: #c5d89d;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f6f0d7;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;

    /* Glassmorphism theme */
    --glass-bg: rgba(255, 255, 255, 0.16);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-glow: rgba(97, 196, 255, 0.65);
    --glass-accent: rgba(76, 102, 111, 0.4);
    --glass-radius: 20px;
    --glass-blur: 16px;
    --glass-blur-hover: 22px;
    --glass-shadow: 0 24px 60px rgba(10, 28, 46, 0.18);
    --glass-shadow-hover: 0 30px 80px rgba(10, 28, 46, 0.28);

    /* Color Palette */
    --color-light: #f6f0d7;
    --color-medium-light: #c5d89d;
    --color-medium: #4c666f;
    --color-dark: #1a1a1a;

    /* Typography */
    --font-primary:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading:
        "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2.5rem;
}
h3 {
    font-size: 2rem;
}
h4 {
    font-size: 1.5rem;
}
h5 {
    font-size: 1.25rem;
}
h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #000000;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===== Navbar Styles ===== */
.navbar {
    background-color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#mainNavbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: white !important;
}

#mainNavbar + .navbar-spacer {
    height: 87px;
}

#mainNavbar.navbar-scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

#mainNavbar.navbar-scrolled + .navbar-spacer {
    height: 80px;
}

@media (max-width: 992px) {
    #mainNavbar + .navbar-spacer {
        height: 88px;
    }

    #mainNavbar.navbar-scrolled + .navbar-spacer {
        height: 72px;
    }
}

@media (max-width: 576px) {
    #mainNavbar + .navbar-spacer {
        height: 80px;
    }

    #mainNavbar.navbar-scrolled + .navbar-spacer {
        height: 64px;
    }
}

.navbar-brand {
    color: var(--text-dark) !important;
    font-size: 1.1rem;
    padding: 0;
}

.brand-name {
    color: #333;
    font-family: var(--font-heading);
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.90rem;
    color: #000000;
    font-weight: 400;
    margin-top: 2px;
}

.navbar-nav .nav-item .nav-link {
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-item .nav-link:hover {
    color: #1a1a1a;
}

.navbar-nav .nav-item .nav-link.active {
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .swiper-slide {
        padding: 60px 0;
        text-align: center;
    }
}

.navbar-nav .nav-item .nav-link::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #4c666f;
    transition: var(--transition);
}

.navbar-nav .nav-item .nav-link:hover::after,
.navbar-nav .nav-item .nav-link.active::after {
    width: 70%;
}

.btn-appointment {
    background-color: #4c666f;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-appointment:hover,
.btn-appointment:focus {
    background-color: #4c666f !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

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

/* ===== Navbar Dropdown Styles ===== */
.navbar-nav .dropdown-menu {
    background: #ffffff;
    border: 2px solid #f6f0d7;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(137, 152, 109, 0.2);
    padding: 12px 0;
    margin-top: 15px;
    min-width: 300px;
    border-top: 3px solid #4c666f;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    pointer-events: none;
}

/* Stable dropdown on hover - parent and child */
.navbar-nav .nav-item.dropdown-hover:hover .dropdown-menu,
.navbar-nav .nav-item.dropdown-hover .dropdown-menu:hover,
.navbar-nav .nav-item.dropdown-hover .dropdown-menu.show-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved dropdown toggle button */
.navbar-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.navbar-nav .dropdown-toggle .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.navbar-nav .nav-item.dropdown-hover:hover .dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

/* Enhanced dropdown items */
.navbar-nav .dropdown-item {
    padding: 0;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 4px 8px;
    border-radius: 8px;
}

.navbar-nav .dropdown-item-content {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    /* Transition removed - no hover effects */
}

.navbar-nav .dropdown-item i {
    font-size: 1.2rem;
    color: #4c666f;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    /* Transition removed - no hover effects */
}

.navbar-nav .dropdown-item-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
}

.navbar-nav .dropdown-item-title {
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.navbar-nav .services-count {
    font-size: 0.85rem;
    color: #4c666f;
    font-weight: 500;
    opacity: 0.8;
}

.navbar-nav .dropdown-divider {
    margin: 8px 12px;
    border-top: 1px solid #f6f0d7;
    opacity: 1;
}

.navbar-toggler {
    border: none;
    background: none;
}

/* Responsive Navbar Styles */
@media (max-width: 1199px) {
    .navbar-brand {
        font-size: 1rem;
    }

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

    .brand-subtitle {
        font-size: 0.7rem;
    }

    .navbar-nav .nav-item .nav-link {
        padding: 12px 16px;
        font-size: 13px;
    }

    .navbar-nav .dropdown-menu {
        min-width: 260px;
    }
}

@media (max-width: 991px) {
    #mainNavbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }

    .brand-name {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .brand-subtitle {
        font-size: 0.65rem;
        margin-top: 1px;
    }

    .navbar-nav .nav-item .nav-link {
        padding: 12px 15px;
        font-size: 13px;
    }

    .navbar-nav .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .navbar-nav .dropdown-toggle .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .navbar-nav .nav-item.dropdown.show .dropdown-toggle .dropdown-arrow {
        transform: rotate(180deg);
    }

    .navbar-nav .dropdown-menu {
        min-width: 100%;
        border-radius: 0;
        border: none;
        border-top: 2px solid #f6f0d7;
        box-shadow: none;
        background: #f6f0d7;
        margin-top: 0;
        padding: 8px 0;
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: none;
    }

    .navbar-nav .nav-item.dropdown.show .dropdown-menu {
        display: block !important;
    }

    .navbar-nav .nav-item.dropdown-hover:hover .dropdown-menu {
        display: none !important;
    }

    .navbar-nav .dropdown-item {
        padding: 0;
        margin: 4px 8px;
    }

    .navbar-nav .dropdown-item-content {
        padding: 12px 14px;
    }

    .navbar-nav .dropdown-item-title {
        font-size: 0.9rem;
    }

    .navbar-nav .services-count {
        font-size: 0.8rem;
    }

    .navbar-nav .dropdown-item i {
        font-size: 1rem;
        width: 20px;
    }
}

@media (max-width: 768px) {
    #mainNavbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 0.85rem;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }

    .navbar-nav .nav-item .nav-link {
        padding: 10px 12px;
        font-size: 12px;
    }

    .navbar-toggler {
        padding: 0.25rem 0.4rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.8rem;
    }

    .brand-name {
        font-size: 0.85rem;
    }

    .brand-subtitle {
        font-size: 0.55rem;
    }

    .navbar-nav .nav-item .nav-link {
        padding: 10px;
        font-size: 11px;
    }

    .navbar-nav .dropdown-item-content {
        padding: 10px 12px;
    }

    .navbar-nav .dropdown-item-title {
        font-size: 0.85rem;
    }

    .navbar-nav .dropdown-menu {
        min-width: 100%;
        border-radius: 0;
        border: none;
        border-top: 2px solid #f6f0d7;
        box-shadow: none;
        background: #f6f0d7;
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }

    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

    .navbar-nav .dropdown-item {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .navbar-nav .services-count {
        font-size: 0.8rem;
    }
}

/* ===== Hero Carousel Section ===== */
.hero-carousel-section {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
}

#heroCarousel {
    height: 90vh;
    min-height: 600px;
}

#heroCarousel .carousel-item {
    height: 90vh;
    min-height: 600px;
    position: relative;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(76, 102, 111, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.carousel-content {
    position: relative;
    z-index: 3;
    height: 90vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 0 4rem;
    color: white;
    animation: fadeInUp 1s ease;
    text-align: center;
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: -0.5px;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.carousel-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: #c5d89d;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease 0.4s both;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.carousel-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 800px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease 0.6s both;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.carousel-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto;
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.carousel-highlights li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 0;
    padding-left: 2rem;
    position: relative;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carousel-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    color: #c5d89d;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.carousel-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
    margin-top: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Carousel Indicators */
#heroCarousel .carousel-indicators {
    bottom: 30px;
    z-index: 4;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    margin: 0 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

#heroCarousel .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    transform: scale(1.2);
}

#heroCarousel .carousel-indicators button.active {
    background-color: #c5d89d;
    border-color: #c5d89d;
    width: 35px;
    border-radius: 6px;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(197, 216, 157, 0.5);
}

/* Carousel Controls */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(76, 102, 111, 0.3);
    border: 2px solid rgba(197, 216, 157, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
    opacity: 0.8;
}

#heroCarousel .carousel-control-prev {
    left: 30px;
}

#heroCarousel .carousel-control-next {
    right: 30px;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: rgba(76, 102, 111, 0.6);
    border-color: #c5d89d;
    transform: translateY(-50%) scale(1.15);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(76, 102, 111, 0.4);
}

/* Global Carousel Control Icons - Color #4c666f */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c666f'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c666f'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

#heroCarousel .carousel-control-prev-icon {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
}

#heroCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
}

/* Responsive Carousel Styles */
@media (max-width: 992px) {
    .carousel-content {
        align-items: center;
        text-align: center;
        padding: 4rem 1rem;
    }

    .carousel-title {
        font-size: 2.5rem;
        text-align: center;
        max-width: 100%;
    }

    .carousel-subtitle {
        font-size: 1.4rem;
        text-align: center;
        max-width: 100%;
    }

    .carousel-description {
        font-size: 1.05rem;
        max-width: 100%;
        text-align: center;
    }

    .carousel-highlights {
        text-align: center;
        max-width: 100%;
    }

    .carousel-highlights li {
        text-align: center;
        display: block;
        padding-left: 0;
        padding-top: 0.5rem;
    }

    .carousel-highlights li::before {
        display: none;
    }

    .carousel-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }

    .carousel-buttons .btn-primary-custom,
    .carousel-buttons .btn-secondary-custom {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.75rem 1.75rem;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    #heroCarousel .carousel-control-prev {
        left: 15px;
    }

    #heroCarousel .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .carousel-content {
        padding: 3rem 1rem;
    }

    .carousel-title {
        font-size: 2rem;
        text-align: center;
    }

    .carousel-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .carousel-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .carousel-highlights {
        text-align: center;
    }

    .carousel-highlights li {
        font-size: 1rem;
        text-align: center;
        display: block;
    }

    .carousel-buttons {
        justify-content: center;
        align-items: center;
    }

    .carousel-buttons .btn-primary-custom,
    .carousel-buttons .btn-secondary-custom {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        max-width: 280px;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    #heroCarousel .carousel-control-prev-icon {
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }

    #heroCarousel .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }
}

@media (max-width: 576px) {
    .carousel-content {
        padding: 2.5rem 1rem;
    }

    .carousel-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .carousel-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }

    .carousel-description {
        font-size: 0.95rem;
        text-align: center;
    }

    .carousel-highlights li {
        text-align: center;
        font-size: 0.95rem;
    }

    .carousel-buttons {
        gap: 0.75rem;
        justify-content: center;
        align-items: center;
    }

    .carousel-buttons .btn-primary-custom,
    .carousel-buttons .btn-secondary-custom {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
        max-width: 260px;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #heroCarousel .carousel-indicators {
        bottom: 20px;
    }
}

.btn-primary-custom {
    background: linear-gradient(135deg, #4c666f 0%, #5a7a85 100%);
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(76, 102, 111, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5a7a85 0%, #4c666f 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 102, 111, 0.4);
    color: #ffffff;
    border-color: #c5d89d;
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-primary-custom:active,
.btn-primary-custom:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(76, 102, 111, 0.3);
    outline: none;
}

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

.btn-primary-custom:hover i {
    transform: scale(1.1);
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-secondary-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary-custom:hover::before {
    left: 0;
}

.btn-secondary-custom:active,
.btn-secondary-custom:focus {
    transform: translateY(-1px);
    outline: none;
}

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

.btn-secondary-custom:hover i {
    transform: scale(1.1);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-image-placeholder {
    width: 100%;
    height: 600px;
    background: linear-gradient(
        135deg,
        rgba(197, 216, 157, 0.2) 0%,
        rgba(156, 171, 132, 0.2) 100%
    );
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-placeholder::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(156, 171, 132, 0.15) 0%,
        transparent 70%
    );
    animation: pulse 4s ease-in-out infinite;
}

.hero-image-placeholder i {
    font-size: 8rem;
    color: #4c666f;
    opacity: 0.3;
    z-index: 1;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* ===== Footer Styles ===== */
.footer-section {
    background-color: #698484 !important;
    padding: 60px 0 30px;
}

.footer-section h5,
.footer-section h6 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section .text-light {
    color: #000000 !important;
}

.footer-section a {
    transition: var(--transition);
    color: #000000;
}

.footer-section a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    margin-right: 10px;
}

.social-links a:last-child {
    margin-right: 0;
}

/* Social Media Brand Colors - Override text-white class */
.social-links a.text-white .fa-linkedin-in,
.social-links a .fa-linkedin-in {
    color: #ffffff !important;
}

.social-links a.text-white .fa-twitter,
.social-links a .fa-twitter {
    color: #ffffff !important;
}

.social-links a.text-white .fa-facebook-f,
.social-links a .fa-facebook-f {
    color: #ffffff !important;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.social-links a:hover .fa-linkedin-in {
    color: #000000 !important;
}

.social-links a:hover .fa-twitter {
    color: #000000 !important;
}

.social-links a:hover .fa-facebook-f {
    color: #000000 !important;
}

/* Contact Icons - Black Color */
.footer-section .fa-phone-alt,
.footer-section .fa-phone {
    color: #e6e0e0 !important;
}

.footer-section .fa-envelope {
    color: #e6e0e0 !important;
}

.footer-section .fa-map-marker-alt,
.footer-section .fa-map-marker {
    color: #e6e0e0 !important;
}

/* Footer Map Responsive */
.footer-map-wrapper {
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-section iframe {
    width: 100%;
    height: 250px;
    display: block;
    border: none;
}

/* Footer Copyright */
.footer-section hr {
    border-color: rgba(51, 51, 51, 0.2);
    margin: 30px 0 20px;
}

.footer-section .text-center p {
    color: #333;
    font-size: 1.2rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    /* Footer Tablet Styles */
    .footer-section {
        padding: 50px 0 25px;
    }

    .footer-section .col-lg-4,
    .footer-section .col-lg-3,
    .footer-section .col-lg-2 {
        margin-bottom: 30px;
    }

    .footer-section iframe {
        height: 220px;
    }

    .carousel-title {
        font-size: 2.5rem;
    }

    .carousel-subtitle {
        font-size: 1.5rem;
    }

    .carousel-description {
        font-size: 1.1rem;
    }

    #heroCarousel,
    #heroCarousel .carousel-item {
        min-height: 500px;
        height: 70vh;
    }

    .about-image-placeholder {
        height: 320px;
        margin-top: 1.5rem;
    }

    .navbar-brand {
        font-size: 0.95rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }

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

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

    .glass-card-inner {
        padding: 2rem;
    }

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

    .glass-image {
        height: 400px;
    }

    .image-icon {
        font-size: 6rem;
    }

    .modern-heading {
        font-size: 2.25rem;
    }

    .modern-lead {
        font-size: 1.2rem;
    }

    .modern-description {
        font-size: 1.05rem;
    }

    .carousel-title-modern {
        font-size: 1.3rem;
    }

    .modern-image {
        height: 400px;
    }

    .modern-image-icon {
        font-size: 7rem;
    }

    .about-features-control-prev {
        left: 10px;
    }

    .about-features-control-next {
        right: 10px;
    }

    .about-main-name {
        font-size: 2.5rem;
    }

    .about-qualification {
        font-size: 1.3rem;
    }

    .about-main-title {
        font-size: 1.3rem;
    }

    .about-image-placeholder {
        height: 500px;
    }

    .about-image-icon {
        font-size: 8rem;
    }

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

    .services-heading {
        font-size: 2.25rem;
    }

    .services-subtitle {
        font-size: 1.05rem;
    }

    .blog-content {
        padding: 1.75rem;
    }

    .blog-content h3 {
        font-size: 1.35rem;
    }

    .blog-image {
        height: 250px;
    }

    .service-image-placeholder i {
        font-size: 5rem;
    }

    .service-list li a {
        font-size: 0.9rem;
    }

    .theme-btn-2 {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .services-control-prev {
        left: -15px;
    }

    .services-control-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .hero-carousel-section {
        min-height: 70vh;
    }

    #heroCarousel,
    #heroCarousel .carousel-item {
        min-height: 500px;
        height: 70vh;
    }

    .carousel-content {
        padding: 4rem 0 3rem;
        height: 70vh;
        min-height: 500px;
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-subtitle {
        font-size: 1.25rem;
    }

    .carousel-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .carousel-buttons {
        flex-direction: column;
        width: 100%;
    }

    .carousel-buttons .btn-primary-custom,
    .carousel-buttons .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    #heroCarousel .carousel-control-prev {
        left: 15px;
    }

    #heroCarousel .carousel-control-next {
        right: 15px;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .about-image-placeholder i {
        font-size: 5rem;
    }

    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }

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

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

    .glass-card-inner {
        padding: 1.5rem;
    }

    .about-lead {
        font-size: 1.1rem;
    }

    .glass-text-primary {
        font-size: 1.1rem;
    }

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

    .glass-text-secondary {
        font-size: 1rem;
    }

    .glass-feature-card {
        padding: 1rem;
    }

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

    .services-subtitle {
        font-size: 1rem;
    }

    .service-card-inner-glass {
        padding: 1.75rem;
    }

    .service-title-glass {
        font-size: 1.3rem;
    }

    .service-description-glass {
        font-size: 0.95rem;
    }

    .service-icon-glass {
        width: 65px;
        height: 65px;
    }

    .service-icon-glass i {
        font-size: 2rem;
    }

    .stat-number-glass {
        font-size: 1.75rem;
    }

    .services-control-prev,
    .services-control-next {
        width: 45px;
        height: 45px;
    }

    .services-control-prev {
        left: 10px;
    }

    .services-control-next {
        right: 10px;
    }

    .feature-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .feature-icon {
        font-size: 1.25rem;
    }

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

    .feature-subtitle {
        font-size: 0.8rem;
    }

    .glass-buttons {
        flex-direction: column;
    }

    .btn-glass {
        width: 100%;
        justify-content: center;
    }

    .glass-image {
        height: 300px;
    }

    .image-icon {
        font-size: 5rem;
    }

    .about-main-name {
        font-size: 2rem;
    }

    .about-qualification {
        font-size: 1.2rem;
    }

    .about-main-title {
        font-size: 1.15rem;
    }

    .about-image-placeholder {
        height: 400px;
    }

    .about-image-icon {
        font-size: 6rem;
    }

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

    .about-cta-group {
        flex-direction: column;
    }

    .about-appointment-cta,
    .about-read-more-cta {
        width: 100%;
        justify-content: center;
    }
}

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

    .carousel-subtitle {
        font-size: 1.1rem;
    }

    .carousel-description {
        font-size: 0.95rem;
    }

    #heroCarousel,
    #heroCarousel .carousel-item {
        min-height: 450px;
        height: 60vh;
    }

    .carousel-content {
        height: 60vh;
        min-height: 450px;
        padding: 3rem 0 2rem;
    }

    #heroCarousel .carousel-indicators {
        bottom: 20px;
    }

    .about-image-placeholder i {
        font-size: 4rem;
    }

    .about-main-name {
        font-size: 1.75rem;
    }

    .about-qualification {
        font-size: 1.1rem;
    }

    .about-main-title {
        font-size: 1rem;
    }

    .about-description p {
        font-size: 0.95rem;
    }

    .about-image-placeholder {
        height: 350px;
    }

    .about-image-icon {
        font-size: 5rem;
    }

    .achievement-content h5 {
        font-size: 0.95rem;
    }

    .achievement-content p {
        font-size: 0.8rem;
    }

    .about-appointment-cta,
    .about-read-more-cta {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

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

    .glass-card-inner {
        padding: 1.25rem;
    }

    .glass-text-primary {
        font-size: 1rem;
    }

    .glass-text-secondary {
        font-size: 0.95rem;
    }

    .glass-image {
        height: 250px;
    }

    .image-icon {
        font-size: 4rem;
    }

    .badge-text {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

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

    .modern-lead {
        font-size: 1rem;
    }

    .modern-description {
        font-size: 0.95rem;
    }

    .carousel-title-modern {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .modern-feature-card {
        min-height: 110px;
        padding: 1rem;
    }

    .modern-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .modern-icon-wrapper i {
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 0.95rem;
    }

    .feature-subtitle {
        font-size: 0.8rem;
    }

    .modern-image {
        height: 250px;
    }

    .modern-image-icon {
        font-size: 4rem;
    }

    .about-features-control-prev,
    .about-features-control-next {
        width: 35px;
        height: 35px;
    }

    .about-features-control-icon {
        width: 14px;
        height: 14px;
    }

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

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

    .service-card-inner-glass {
        padding: 1.5rem;
    }

    .service-title-glass {
        font-size: 1.2rem;
    }

    .service-description-glass {
        font-size: 0.9rem;
    }

    .service-icon-glass {
        width: 60px;
        height: 60px;
    }

    .service-icon-glass i {
        font-size: 1.75rem;
    }

    .stat-number-glass {
        font-size: 1.5rem;
    }

    .stat-label-glass {
        font-size: 0.85rem;
    }

    .service-stats-glass {
        gap: 1.5rem;
    }

    .services-control-prev,
    .services-control-next {
        width: 40px;
        height: 40px;
    }

    .services-control-icon {
        width: 16px;
        height: 16px;
    }

    .services-control-prev .carousel-control-prev-icon {
        background-size: 16px 16px;
    }

    .services-control-next .carousel-control-next-icon {
        background-size: 16px 16px;
    }

    .btn-appointment {
        background: linear-gradient(135deg, #016a5e 0%, #1b1987 100%);
        border: none;
        padding: 0.5rem 1rem;
        font-weight: 600;
        font-size: 0.85rem;
        border-radius: 50px;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
    }
}

/* ===== Utility Classes ===== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

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

.section-padding {
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section - Modern Design ===== */
.about-section {
    background: #e5e8f3;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.about-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.about-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.about-content-grid {
    position: relative;
    z-index: 1;
}

/* Image Wrapper */
.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    border-radius: 20px;
}

.about-image-placeholder {
    border-radius: 20px;
    height: auto;
    aspect-ratio: 32 / 39;
    max-height: 480px;
    min-height: 300px;
    min-width: 247px;
    max-width: 394px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(246, 240, 215, 0.3) 0%,
        rgba(197, 216, 157, 0.2) 100%
    );
    overflow: hidden;
}

.image-overlay {
    display: none;
}

.about-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.about-image-icon {
    font-size: 10rem;
    color: #4c666f;
    opacity: 0.15;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover .about-image-icon {
    transform: scale(1.1);
    opacity: 0.2;
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-width: 100%;
}

/* Text Wrapper */
.about-text-wrapper {
    padding: 2rem 0;
}

.about-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(197, 216, 157, 0.3);
    color: #1a1a1a;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.about-main-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.about-qualification {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-main-title {
    font-size: 1rem;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.about-description {
    margin-bottom: 2.5rem;
}

.about-description p {
    font-size: 1.05rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-description .fw-bold {
    font-weight: 700;
    color: var(--text-dark);
}

/* Achievements Section */
.about-achievements-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.achievements-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.achievements-title::before {
    content: "";
    width: 4px;
    height: 24px;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--accent-color) 100%
    );
    border-radius: 2px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    border-color: var(--primary-color);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(197, 216, 157, 0.3) 0%,
        rgba(156, 171, 132, 0.3) 100%
    );
    border-radius: 12px;
    color: #4c666f;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.achievement-item:hover .achievement-icon {
    background: linear-gradient(135deg, #4c666f 0%, #c5d89d 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.achievement-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.achievement-content p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* CTA Buttons */
.about-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.about-appointment-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: #4c666f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(76, 102, 111, 0.3);
    position: relative;
    overflow: hidden;
    border: 3px solid #4c666f;
}

.about-appointment-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.about-appointment-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    stroke-width: 3;
    stroke: #ffffff;
    font-weight: bold;
}

.about-read-more-cta {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

/* Glass Card Container */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.glass-card-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
}

/* Badge */
.about-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out 0.2s both;
}

.badge-text {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(
        135deg,
        rgba(197, 216, 157, 0.3) 0%,
        rgba(156, 171, 132, 0.3) 100%
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(156, 171, 132, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Heading */
.glass-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.heading-accent {
    background: linear-gradient(135deg, #4c666f 0%, #c5d89d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Text Styles */
.glass-text-primary {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.glass-text-secondary {
    font-size: 1.1rem;
    color: #383d42;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.about-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-description {
    font-size: 1.1rem;
    color: #383d42;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Feature Cards */
.glass-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.glass-feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.glass-feature-card:nth-child(1) {
    animation-delay: 0.1s;
}
.glass-feature-card:nth-child(2) {
    animation-delay: 0.2s;
}
.glass-feature-card:nth-child(3) {
    animation-delay: 0.3s;
}
.glass-feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.glass-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.glass-feature-card:hover::before {
    left: 100%;
}

.glass-feature-card:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(8px) translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0, 102, 204, 0.12),
        0 2px 8px rgba(0, 102, 204, 0.08);
    border-color: rgba(0, 102, 204, 0.3);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(197, 216, 157, 0.3) 0%,
        rgba(156, 171, 132, 0.3) 100%
    );
    border-radius: 14px;
    border: 1px solid rgba(156, 171, 132, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.glass-feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, #4c666f 0%, #c5d89d 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(137, 152, 109, 0.3);
}

.feature-icon {
    font-size: 1.5rem;
    color: #4c666f;
    transition: all 0.3s ease;
}

.glass-feature-card:hover .feature-icon {
    color: white;
    transform: scale(1.1);
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.feature-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.feature-arrow {
    color: #4c666f;
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.glass-feature-card:hover .feature-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Glass Buttons */
.glass-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-glass {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-glass-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-glass-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-glass:hover .btn-glass-shine {
    left: 100%;
}

.btn-glass-primary {
    background: linear-gradient(
        135deg,
        rgba(156, 171, 132, 0.9) 0%,
        rgba(197, 216, 157, 0.9) 100%
    );
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 4px 16px rgba(137, 152, 109, 0.3);
}

.btn-glass-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(137, 152, 109, 0.4);
    background: linear-gradient(135deg, #4c666f 0%, #c5d89d 100%);
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    color: #1a1a1a;
    border: 1px solid rgba(156, 171, 132, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(137, 152, 109, 0.15);
    border-color: rgba(156, 171, 132, 0.5);
}

/* Image Section */
.glass-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.glass-image-card {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(
        135deg,
        rgba(0, 102, 204, 0.08) 0%,
        rgba(0, 168, 232, 0.08) 100%
    );
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(156, 171, 132, 0.25) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
}

.image-icon {
    font-size: 8rem;
    color: #4c666f;
    opacity: 0.25;
    z-index: 1;
    position: relative;
    animation: floatIcon 4s ease-in-out infinite;
}

/* Modern Enhancements */
.modern-glass-card {
    box-shadow:
        0 12px 48px rgba(0, 102, 204, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.modern-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c666f 0%, #c5d89d 100%);
    border-radius: 50%;
    color: white;
    font-size: 0.875rem;
}

.modern-heading {
    font-size: 2.75rem;
}

.modern-lead {
    font-size: 1.4rem;
}

.modern-description {
    font-size: 1.15rem;
}

.modern-buttons {
    margin-top: 2rem;
}

.modern-btn {
    min-width: 180px;
}

/* About Features Carousel */
.about-features-carousel-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.carousel-header-modern {
    margin-bottom: 1.5rem;
    text-align: center;
}

.carousel-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(156, 171, 132, 0.3);
    box-shadow: 0 4px 16px rgba(137, 152, 109, 0.1);
}

.carousel-title-modern i {
    color: #4c666f;
}

.about-features-carousel {
    position: relative;
    padding: 1rem 0 3rem;
}

.about-features-inner {
    padding: 0.5rem 0;
}

.about-features-inner .carousel-item {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-feature-card {
    height: 100%;
    min-height: 140px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 102, 204, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(156, 171, 132, 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-feature-card:hover .feature-card-glow {
    opacity: 1;
}

.modern-feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 102, 204, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 102, 204, 0.4);
    background: rgba(255, 255, 255, 0.85);
}

.modern-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(
        135deg,
        rgba(197, 216, 157, 0.3) 0%,
        rgba(156, 171, 132, 0.3) 100%
    );
    border: 2px solid rgba(156, 171, 132, 0.3);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(137, 152, 109, 0.15);
}

.modern-feature-card:hover .modern-icon-wrapper {
    background: linear-gradient(135deg, #4c666f 0%, #c5d89d 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 24px rgba(137, 152, 109, 0.3);
    border-color: #4c666f;
}

.modern-feature-card:hover .feature-icon {
    color: white;
    transform: scale(1.1);
}

/* Carousel Indicators */
.about-features-indicators {
    bottom: -10px;
    z-index: 2;
    margin-top: 1rem;
}

.about-features-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.3);
    border: 2px solid rgba(0, 102, 204, 0.5);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.about-features-indicators button.active {
    background-color: var(--primary-color);
    width: 28px;
    border-radius: 5px;
    border-color: var(--primary-color);
}

.about-features-carousel {
    position: relative;
}

.about-features-inner {
    padding-bottom: 2rem;
}

/* Carousel Controls - Hidden for cleaner design */
.about-features-control-prev,
.about-features-control-next {
    display: none;
}

/* Modern Image Section */
.modern-image-wrapper {
    margin-top: 2rem;
}

.modern-image-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    box-shadow:
        0 12px 48px rgba(0, 102, 204, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.modern-image {
    height: 450px;
    background: linear-gradient(
        135deg,
        rgba(246, 240, 215, 0.3) 0%,
        rgba(197, 216, 157, 0.2) 100%
    );
    border-radius: 24px;
}

.modern-glow {
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(156, 171, 132, 0.3) 0%,
        transparent 70%
    );
    animation: pulseGlow 3s ease-in-out infinite;
}

.image-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(
            circle at 30% 30%,
            rgba(197, 216, 157, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(156, 171, 132, 0.1) 0%,
            transparent 50%
        );
    border-radius: 24px;
    z-index: 0;
}

.modern-image-icon {
    font-size: 9rem;
    opacity: 0.2;
    z-index: 2;
}

.modern-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    background: linear-gradient(
        135deg,
        rgba(197, 216, 157, 0.3) 0%,
        rgba(156, 171, 132, 0.3) 100%
    );
    border-radius: 50%;
    filter: blur(25px);
    z-index: -1;
}

.image-decoration {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: linear-gradient(
        135deg,
        rgba(197, 216, 157, 0.2) 0%,
        rgba(156, 171, 132, 0.2) 100%
    );
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

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

.about-card {
    background: linear-gradient(135deg, #f6f0d7 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid #4c666f;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4c666f 0%, #c5d89d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.about-icon i {
    font-size: 2.5rem;
    color: white;
}

.about-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.about-card .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #4c666f;
    display: inline-block;
}

.role-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    border-top: 4px solid #4c666f;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.role-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4c666f 0%, #c5d89d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.role-icon i {
    font-size: 1.75rem;
    color: rgb(8, 8, 8);
}

.role-card h4 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.role-location {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.role-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-achievements li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.role-achievements li i {
    color: #4c666f;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.other-attachments {
    background: linear-gradient(135deg, #f6f0d7 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.other-attachments h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.other-attachments h4 i {
    color: #4c666f;
}

.attachments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.attachment-badge {
    background: white;
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 2px solid #4c666f;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.attachment-badge:hover {
    background: #4c666f;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Services Section - Glassmorphism Carousel ===== */
.services-section {
    background: linear-gradient(135deg, #f6f0d7 0%, #c5d89d 50%, #f6f0d7 100%);
    position: relative;
    overflow: hidden;
}

.services-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(
            circle at 10% 20%,
            rgba(197, 216, 157, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(156, 171, 132, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(246, 240, 215, 0.2) 0%,
            transparent 70%
        );
    pointer-events: none;
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

/* Section Title */
.services-title {
    margin-bottom: 3.5rem;
}

.services-heading {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #080b0e 0%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
}

.services-subtitle {
    font-size: 1.15rem;
    color: #4a5568;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Carousel Container */
.services-carousel {
    position: relative;
    padding: 2rem 0;
}

.services-carousel-inner {
    padding: 1rem 0;
}

.services-carousel .carousel-item {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blog Card Items Style3 - Reference Design */
.blog-card-items.style3 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card-items.style3:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
}

/* Blog Image with Hover Effect */
.blog-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.service-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

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

.service-image-placeholder i {
    font-size: 6rem;
    transition: all 0.5s ease;
}

.service-image-primary {
    background: linear-gradient(
        135deg,
        rgba(197, 216, 157, 0.2) 0%,
        rgba(156, 171, 132, 0.2) 100%
    );
}

.service-image-primary i {
    color: #4c666f;
}

.service-image-secondary {
    background: linear-gradient(
        135deg,
        rgba(156, 171, 132, 0.2) 0%,
        rgba(137, 152, 109, 0.2) 100%
    );
}

.service-image-secondary i {
    color: #1a1a1a;
}

.service-image-accent {
    background: linear-gradient(
        135deg,
        rgba(246, 240, 215, 0.3) 0%,
        rgba(197, 216, 157, 0.2) 100%
    );
}

.service-image-accent i {
    color: #c5d89d;
}

.service-image-hover {
    opacity: 0;
    transform: scale(1.1);
}

.blog-card-items.style3:hover .service-image-placeholder:first-child {
    opacity: 0;
    transform: scale(0.9);
}

.blog-card-items.style3:hover .service-image-hover {
    opacity: 1;
    transform: scale(1);
}

.blog-card-items.style3:hover .service-image-hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Blog Content */
.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card-items.style3:hover .blog-content h3 {
    color: #1a1a1a;
}

.service-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.25rem;
}

.service-list li a::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4c666f;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.service-list li:hover {
    padding-left: 0.5rem;
}

.service-list li a:hover {
    color: #1a1a1a;
    padding-left: 1.5rem;
}

.service-list li a:hover::before {
    transform: scale(1.2);
}

/* Theme Button 2 */
.theme-btn-2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    color: #fff;
    background-color: #4c666f;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    width: fit-content;
}

.theme-btn-2 i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.theme-btn-2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 102, 204, 0.3);

    color: white;
}

.theme-btn-2:hover i {
    transform: translate(3px, -3px);
}

/* Image Animation Classes */
.img-custom-anim-left {
    animation: imgAnimLeft 0.8s ease-out;
}

.img-custom-anim-top {
    animation: imgAnimTop 0.8s ease-out;
}

.img-custom-anim-right {
    animation: imgAnimRight 0.8s ease-out;
}

@keyframes imgAnimLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes imgAnimTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imgAnimRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* WOW Animation Support */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
    animation-fill-mode: both;
}

.wow.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Carousel Indicators */
.services-indicators {
    bottom: -50px;
    z-index: 2;
    gap: 6px;
}

.services-indicators button,
.services-indicator-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(156, 171, 132, 0.3);
    border: 2px solid rgba(156, 171, 132, 0.5);
    margin: 0 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.services-indicators button.active,
.services-indicator-btn.active {
    background-color: #4c666f;
    width: 32px;
    border-radius: 6px;
    border-color: #4c666f;
}

/* Carousel Controls */
.services-control-prev,
.services-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(156, 171, 132, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0.9;
}

.services-control-prev {
    left: -25px;
}

.services-control-next {
    right: -25px;
}

.services-control-prev:hover,
.services-control-next:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(137, 152, 109, 0.2);
    opacity: 1;
}

.services-control-icon {
    width: 20px;
    height: 20px;
}

.services-control-prev .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c666f'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.services-control-next .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c666f'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.services-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.services-controls .services-control-prev,
.services-controls .services-control-next {
    pointer-events: auto;
}

/* View All Button */
.btn-services-view {
    margin-top: 1rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: #c5d89d;
    position: relative;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition);
    position: relative;
    border: 1px solid #f0f0f0;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: #4c666f;
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #4c666f;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c5d89d 0%, #4c666f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 1.5rem;
    color: white;
}

.author-info h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Responsive Design for New Sections ===== */
@media (max-width: 992px) {
    .about-card {
        padding: 2rem;
    }

    .role-card {
        margin-bottom: 1.5rem;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }

    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-card {
        padding: 1.5rem;
    }

    .about-icon {
        width: 60px;
        height: 60px;
    }

    .about-icon i {
        font-size: 2rem;
    }

    .role-card {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    /* Footer Responsive */
    .footer-section {
        padding: 40px 0 20px;
    }

    .footer-section h5,
    .footer-section h6 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-section iframe {
        height: 200px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-right: 8px;
    }

    .attachments-grid {
        flex-direction: column;
    }

    .attachment-badge {
        width: 100%;
        text-align: center;
    }

    .service-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    /* Footer Mobile Styles */
    .footer-section {
        padding: 30px 0 15px;
    }

    .footer-section .row {
        margin-bottom: 20px;
    }

    .footer-section .col-lg-4,
    .footer-section .col-lg-3,
    .footer-section .col-lg-2,
    .footer-section .col-md-6 {
        margin-bottom: 30px;
    }

    .footer-section h5,
    .footer-section h6 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section p,
    .footer-section .text-light {
        font-size: 0.9rem;
    }

    .footer-section ul {
        margin-bottom: 0;
    }

    .footer-section li {
        margin-bottom: 0.75rem;
    }

    .footer-section iframe {
        height: 180px;
    }

    .social-links {
        margin-top: 15px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        line-height: 32px;
        margin-right: 6px;
        font-size: 0.9rem;
    }

    .footer-section hr {
        margin: 20px 0 15px;
    }

    .footer-section .text-center p {
        font-size: 0.85rem;
    }

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

    .about-card .lead {
        font-size: 1rem;
    }

    .role-card h4 {
        font-size: 1.2rem;
    }

    .service-card h4 {
        font-size: 1.3rem;
    }
}

/* ===== Home Gallery Section ===== */
.home-gallery-section {
    background: #f7f9fb;
    position: relative;
    overflow: hidden;
}

.gallery-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: #4c666f;
    max-width: 700px;
    margin: 0 auto;
}

.home-gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(76, 102, 111, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    height: 280px;
    cursor: pointer;
}

.home-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(76, 102, 111, 0.35);
}

.home-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.home-gallery-card:hover .home-gallery-overlay {
    opacity: 1;
}

.home-gallery-caption {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.home-gallery-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: #4c666f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid #4c666f;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 102, 111, 0.3);
}

.home-gallery-cta-btn:hover {
    background-color: #3a5259;
    border-color: #3a5259;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 102, 111, 0.4);
}

/* ===== Home Testimonials Section ===== */
.home-testimonials-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonials-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: #4c666f;
    max-width: 700px;
    margin: 0 auto;
}

.home-testimonial-card-modern {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(76, 102, 111, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.home-testimonial-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(76, 102, 111, 0.3);
}

.home-testimonial-rating-modern {
    color: #f9a825;
    font-size: 1rem;
    display: flex;
    gap: 2px;
}

.home-testimonial-text-modern {
    margin: 0;
    color: #1a1a1a;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
}

.home-testimonial-author-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.home-author-avatar-modern {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4c666f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.home-author-info-modern h5 {
    margin: 0;
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.home-author-info-modern p {
    margin: 0;
    font-size: 0.9rem;
    color: #4c666f;
}

.home-testimonials-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: #4c666f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid #4c666f;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 102, 111, 0.3);
}

.home-testimonials-cta-btn:hover {
    background-color: #3a5259;
    border-color: #3a5259;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 102, 111, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-heading,
    .testimonials-heading {
        font-size: 2rem;
    }

    .home-gallery-card {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .gallery-heading,
    .testimonials-heading {
        font-size: 1.75rem;
    }

    .gallery-subtitle,
    .testimonials-subtitle {
        font-size: 1rem;
    }

    .home-gallery-card {
        height: 220px;
    }

    .home-testimonial-card-modern {
        padding: 24px 20px;
    }

    .home-gallery-cta-btn,
    .home-testimonials-cta-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .gallery-heading,
    .testimonials-heading {
        font-size: 1.5rem;
    }

    .home-gallery-card {
        height: 200px;
    }

    .home-gallery-caption {
        font-size: 1rem;
    }

    .home-testimonial-text-modern {
        font-size: 0.95rem;
    }

    .home-author-avatar-modern {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
}

/* ===== Modern Service Cards ===== */
.modern-service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(76, 102, 111, 0.1);
}

.modern-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 50px rgba(76, 102, 111, 0.2);
    border-color: rgba(76, 102, 111, 0.3);
}

.modern-service-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.modern-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-service-card:hover .modern-service-image {
    transform: scale(1.1);
}

.modern-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-service-card:hover .modern-service-overlay {
    opacity: 1;
}

.modern-service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4c666f;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.modern-service-card-ear .modern-service-icon {
    color: #4c666f;
}

.modern-service-card-nose .modern-service-icon {
    color: #4c666f;
}

.modern-service-card-throat .modern-service-icon {
    color: #4c666f;
}

.modern-service-card:hover .modern-service-icon {
    transform: scale(1.1) rotate(5deg);
    background: #4c666f;
    color: #ffffff;
}

.modern-service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.modern-service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.modern-service-description {
    font-size: 1rem;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.modern-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.modern-service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

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

.modern-service-features li i {
    color: #4c666f;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.modern-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background-color: #4c666f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #4c666f;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.modern-service-btn:hover {
    background-color: #3a5259;
    border-color: #3a5259;
    color: #ffffff;
    transform: translateX(5px);
}

.modern-service-btn i {
    transition: transform 0.3s ease;
}

.modern-service-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Styles for Modern Service Cards */
@media (max-width: 1200px) {
    .modern-service-image-wrapper {
        height: 260px;
    }

    .modern-service-content {
        padding: 1.75rem;
    }

    .modern-service-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .modern-service-image-wrapper {
        height: 240px;
    }

    .modern-service-content {
        padding: 1.5rem;
    }

    .modern-service-title {
        font-size: 1.5rem;
    }

    .modern-service-description {
        font-size: 0.95rem;
    }

    .modern-service-features li {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .modern-service-card {
        margin-bottom: 2rem;
    }

    .modern-service-image-wrapper {
        height: 220px;
    }

    .modern-service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        top: 15px;
        right: 15px;
    }

    .modern-service-content {
        padding: 1.5rem;
    }

    .modern-service-title {
        font-size: 1.4rem;
        margin-bottom: 0.875rem;
    }

    .modern-service-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .modern-service-features {
        margin-bottom: 1.25rem;
    }

    .modern-service-features li {
        font-size: 0.875rem;
        margin-bottom: 0.625rem;
    }

    .modern-service-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .modern-service-image-wrapper {
        height: 200px;
    }

    .modern-service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .modern-service-content {
        padding: 1.25rem;
    }

    .modern-service-title {
        font-size: 1.3rem;
    }

    .modern-service-description {
        font-size: 0.9rem;
    }

    .modern-service-features li {
        font-size: 0.85rem;
    }

    .modern-service-btn {
        width: 100%;
        justify-content: center;
    }
} /* ==========================================
   Styles moved from about.blade.php
   ========================================== */
b,
strong {
    font-weight: bolder;
}

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

*,
::after,
::before {
    box-sizing: border-box;
}

/* ============================================
   BREADCRUMB SECTION STYLES
   ============================================ */
.page-breadcrumb {
    background: #e5e8f3;
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

.breadcrumb-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.breadcrumb-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.breadcrumb-orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(255, 215, 0, 0.15));
    top: -100px;
    right: 10%;
    animation: breadcrumbFloat1 15s ease-in-out infinite;
}

.breadcrumb-orb-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(200, 200, 200, 0.25), rgba(220, 220, 220, 0.1));
    bottom: -50px;
    left: 5%;
    animation: breadcrumbFloat2 18s ease-in-out infinite;
}

.breadcrumb-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    opacity: 0.8;
}

@keyframes breadcrumbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 15px) scale(1.05); }
}

@keyframes breadcrumbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -10px) scale(1.08); }
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 12px 28px;
    margin: 0 0 15px 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(76, 102, 111, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4c666f;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.breadcrumb-item a:hover {
    color: #1a1a1a;
    background: rgba(76, 102, 111, 0.1);
}

.breadcrumb-item a i {
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb-item.active {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 4px 8px;
}

.breadcrumb-item.active i {
    font-size: 0.9rem;
    color: #4c666f;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.breadcrumb-separator i {
    color: rgba(76, 102, 111, 0.5);
    font-size: 0.7rem;
}

.breadcrumb-page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb Responsive Styles */
@media (max-width: 768px) {
    .page-breadcrumb {
        padding: 90px 0 25px;
    }
    
    .breadcrumb-nav {
        padding: 10px 20px;
        gap: 0;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        font-size: 0.85rem;
        gap: 6px;
        padding: 3px 6px;
    }
    
    .breadcrumb-item a i,
    .breadcrumb-item.active i {
        font-size: 0.8rem;
    }
    
    .breadcrumb-separator {
        padding: 0 5px;
    }
    
    .breadcrumb-separator i {
        font-size: 0.6rem;
    }
    
    .breadcrumb-page-title {
        font-size: 1.25rem;
    }
    
    .breadcrumb-orb-1 {
        width: 200px;
        height: 200px;
        right: 5%;
    }
    
    .breadcrumb-orb-2 {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .page-breadcrumb {
        padding: 85px 0 20px;
    }
    
    .breadcrumb-nav {
        padding: 8px 16px;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 30px;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        font-size: 0.8rem;
        padding: 2px 5px;
    }
    
    .breadcrumb-item a span,
    .breadcrumb-item.active span {
        display: inline;
    }
    
    .breadcrumb-page-title {
        font-size: 1.1rem;
    }
    
    .breadcrumb-orb-1 {
        width: 150px;
        height: 150px;
        top: -50px;
    }
    
    .breadcrumb-orb-2 {
        width: 100px;
        height: 100px;
        bottom: -30px;
    }
}

/* ============================================
   ABOUT PAGE BREADCRUMB STYLES
   ============================================ */
.about-breadcrumb {
    background: #e5e8f3;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.about-breadcrumb-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 12px 28px;
    margin: 0 0 16px 0;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(76, 102, 111, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(76, 102, 111, 0.08);
}

.about-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4c666f;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 10px;
    border-radius: 6px;
}

.about-breadcrumb-item a:hover {
    color: #1a1a1a;
    background: rgba(76, 102, 111, 0.1);
}

.about-breadcrumb-item a i {
    font-size: 0.9rem;
    opacity: 0.85;
}

.about-breadcrumb-item.active {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 4px 10px;
}

.about-breadcrumb-item.active i {
    font-size: 0.9rem;
    color: #2d7a2b;
}

.about-breadcrumb-separator {
    display: flex;
    align-items: center;
    padding: 0 6px;
}

.about-breadcrumb-separator i {
    color: rgba(76, 102, 111, 0.5);
    font-size: 0.65rem;
}

.about-breadcrumb-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    text-align: center;
    letter-spacing: -0.02em;
}

.about-breadcrumb-subtitle {
    font-size: 1rem;
    color: #4c666f;
    margin: 10px 0 0;
    text-align: center;
    max-width: 600px;
}

/* About Breadcrumb Responsive */
@media (max-width: 768px) {
    .about-breadcrumb {
        padding: 100px 0 40px;
    }
    
    .about-breadcrumb-nav {
        padding: 10px 20px;
    }
    
    .about-breadcrumb-item a,
    .about-breadcrumb-item.active {
        font-size: 0.85rem;
        gap: 6px;
        padding: 3px 8px;
    }
    
    .about-breadcrumb-item a i,
    .about-breadcrumb-item.active i {
        font-size: 0.8rem;
    }
    
    .about-breadcrumb-separator {
        padding: 0 4px;
    }
    
    .about-breadcrumb-separator i {
        font-size: 0.55rem;
    }
    
    .about-breadcrumb-title {
        font-size: 1.6rem;
    }
    
    .about-breadcrumb-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .about-breadcrumb {
        padding: 100px 0 40px;
    }
    
    .about-breadcrumb-nav {
        padding: 8px 16px;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 30px;
    }
    
    .about-breadcrumb-item a,
    .about-breadcrumb-item.active {
        font-size: 0.8rem;
        padding: 2px 6px;
    }
    
    .about-breadcrumb-title {
        font-size: 1.35rem;
    }
    
    .about-breadcrumb-subtitle {
        font-size: 0.85rem;
        padding: 0 15px;
    }
}

/* Adjust hero section when breadcrumb is present */
.about-breadcrumb + .about-page-hero {
    padding-top: 50px;
}

@media (max-width: 768px) {
    .about-breadcrumb + .about-page-hero {
        padding-top: 40px;
    }
}

/* About Page Specific Styles */
.about-page-hero {
     background: #ffffff;
    padding: 10px 0 20px;
    position: relative;
    overflow: hidden;
}



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

.about-hero-tag {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgb(0, 0, 0);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-hero-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-hero-summary {
    font-size: 1.05rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-hero-summary p {
    color: #000000;
    margin-bottom: 1rem;
}

.about-hero-summary p:last-child {
    color: #000000;
    margin-bottom: 0;
}

.about-hero-cta-box {
    border: 2px solid rgba(76, 102, 111, 0.3);
    border-radius: 16px;
    padding: 20px 25px;
    margin: 2rem 0;
}

.about-hero-cta-box p {
    font-size: 1rem;
    color: rgb(0, 0, 0);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.about-hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: #4c666f;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 102, 111, 0.2);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: none;
}

.about-hero-cta-button i {
    font-size: 1.1rem;
}

.about-main-section {
    background: #ffffff;
    padding: 80px 0;
}

.about-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(76, 102, 111, 0.15);
    background: rgb(6, 6, 6);
    padding: 15px;
    border: 3px solid rgba(197, 216, 157, 0.4);
}

.about-image-container img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

/* New Large Image Design */
.about-image-wrapper-new {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-image-container-new {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(76, 102, 111, 0.2);
    background: #ffffff;
    padding: 0;
    margin-bottom: 0;
    width: 100%;
}

.about-doctor-image-large {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
    border-radius: 20px;
}

.about-doctor-name-button {
    background-color: rgb(88 118 128);
    color: #ffffff;
    padding: 18px 25px;
    border-radius: 12px;
    text-align: center;
    margin-top: -10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(76, 102, 111, 0.3);
}

.about-doctor-name-button span {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
}

.about-doctor-qualifications {
    background: #e7e9e7;
    padding: 20px 25px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(76, 102, 111, 0.15);
    margin-top: -10px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.about-doctor-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.about-doctor-degree {
    font-size: 0.95rem;
    color: rgb(3, 3, 3);
    margin: 0;
    font-weight: 600;
}

.about-content-section {
    padding-left: 3rem;
}

.about-content-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-content-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

.about-features-section {
    background: #e5e8f3;
    padding: 80px 0;
}

.about-why-choose-section {
    background: #e5e8f3;
    padding: 80px 0;
}

.about-professional-expertise-section {
    background: #ffffff;
    padding: 80px 0;
}

.about-features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
}

.about-feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-feature-icon {
    width: 64px;
    height: 64px;
    background: #e8f0e8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-feature-icon i {
    font-size: 1.8rem;
    color: #4c666f;
}

.about-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-feature-text {
    font-size: 1rem;
    color: #000000;
    line-height: 1.7;
    margin: 0;
}

/* Professional Expertise Section - Modern Grid */
.about-professional-expertise-section {
    background: #ffffff;
    padding: 80px 0;
}

.about-professional-expertise-section .about-features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
}

.about-work-section {
    background: #ffffff;
    padding: 80px 0;
}

.about-work-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
}

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

.work-list-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #4c666f;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.work-list-item:hover {
    background: #f5f7fa;
    transform: translateX(10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.work-list-item i {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.work-list-item-text {
    font-size: 1.05rem;
    color: #000000;
    line-height: 1.7;
    margin: 0;
}

.about-affiliations-section {
    background: #ffffff;
    padding: 80px 0;
}

.affiliations-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
}

/* Affiliations Carousel */
.affiliations-carousel {
    position: relative;
    padding: 2rem 0 4rem;
}

.affiliations-carousel-inner {
    padding: 1rem 0;
}

.affiliation-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(137, 152, 109, 0.1);
    height: 100%;
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.affiliation-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

.affiliation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.affiliation-card-content {
    padding: 25px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.affiliation-icon {
    width: 70px;
    height: 70px;
    background: #e8f0e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -35px auto 1.5rem;
    position: relative;
    z-index: 2;
    border: 4px solid #ffffff;
}

.affiliation-icon i {
    font-size: 1.75rem;
    color: #4c666f;
}

.affiliation-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.affiliation-details {
    font-size: 0.95rem;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* Carousel Controls */
.affiliations-control-prev,
.affiliations-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(76, 102, 111, 0.2);
    transition: all 0.3s ease;
    z-index: 3;
    opacity: 0.9;
}

.affiliations-control-prev {
    left: -25px;
}

.affiliations-control-next {
    right: -25px;
}

.affiliations-control-prev:hover,
.affiliations-control-next:hover {
    background: #ffffff;
    border-color: #4c666f;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(76, 102, 111, 0.3);
}

.affiliations-control-prev-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c666f'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.affiliations-control-next-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c666f'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Carousel Indicators */
.affiliations-indicators {
    bottom: 0;
    margin-bottom: 0;
    gap: 8px;
}

.affiliations-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(76, 102, 111, 0.3);
    border: 2px solid rgba(76, 102, 111, 0.5);
    margin: 0;
    transition: all 0.3s ease;
}

.affiliations-indicators button.active {
    background-color: #4c666f;
    width: 32px;
    border-radius: 6px;
    border-color: #4c666f;
}

.charity-section {
    background: #ffffff;
    padding: 80px 0;
}

/* New Content Sections */
.about-content-section-new {
    background: #ffffff;
}

.about-content-section-alt {
    background: #e5e8f3;
    padding: 40px 0;
}
.about-content-section-surgical {
    padding: 40px 0;
}

.about-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.about-section-content {
    font-size: 1.1rem;
    color: #383d42;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-section-content p {
    margin-bottom: 1.5rem;
}
.about-section-content p:last-child {
    margin-bottom: 0;
}

p {
    margin-bottom: 1rem;
    /* color: var(--text-light); */
}

.about-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #383d42;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-feature-list li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: #4c666f;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Leadership cards */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.leadership-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(76, 102, 111, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 18px 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.leadership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Clinical Philosophy Section - Modern Pill Design */
.clinical-philosophy-section {
    background: #ffffff;
    padding: 80px 0;
}

.clinical-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.philosophy-pill {
    background: linear-gradient(135deg, #eef1f7 0%, #f6f7fb 100%);
    border-radius: 18px;
    padding: 18px 22px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(76, 102, 111, 0.08);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 110px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.philosophy-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(76, 102, 111, 0.16);
}

.philosophy-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #4c666f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.philosophy-text {
    color: #1a1a1a;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    align-items: stretch;
    justify-items: stretch;
}

.expertise-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(76, 102, 111, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(76, 102, 111, 0.35);
}

.expertise-media {
    position: relative;
    overflow: hidden;
    height: 210px;
}

.expertise-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.expertise-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(76, 102, 111, 0.9);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25px;
}

.expertise-content {
    padding: 18px 18px 20px;
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.expertise-title {
    margin: 0;
    line-height: 1.5;
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.expertise-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #4c666f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(76, 102, 111, 0.3);
}

.expertise-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

.about-languages-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e8f3;
}

.about-languages-box p {
    font-size: 1.2rem;
    color: #4c666f;
    font-weight: 600;
    margin: 0;
}

.about-contact-info {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e8f3;
}

.about-contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

/* Merged Experience Section */
.experience-cochlear-section {
    background: #e5e8f3;
    padding: 80px 0;
}

/* Statistics Counter Section - Modern Design */
.sec-counter {
    background: #ffffff;
    padding: 60px 0;

    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cat-counter {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e8f3;
    position: relative;
    overflow: hidden;
}

.cat-counter::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(76, 102, 111, 0.05),
        transparent
    );
    transition: left 0.6s ease;
}

.cat-counter:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(76, 102, 111, 0.2);
}

.cat-counter:hover::before {
    left: 100%;
}

.border-inner-counter {
    border-right: 2px solid #e5e8f3;
}

.cat-counter .content {
    width: 100%;
}

.cat-counter .content p {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #4c666f;
    line-height: 1.2;
}

.cat-counter .content p .counter-count {
    display: inline-block;
    color: #4c666f;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.cat-counter:hover .content p .counter-count {
    transform: scale(1.05);
}

.cat-counter .content .title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

.about-contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #383d42;
}

.about-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.about-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.about-contact-item i {
    font-size: 1.5rem;
    color: #4c666f;
}

.about-contact-item a {
    color: #4c666f;
    text-decoration: none;
    font-weight: 600;
    transition: none;
}

.charity-card {
    background: linear-gradient(135deg, #f6f0d7 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #4c666f;
}

.charity-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.charity-title i {
    font-size: 2rem;
    color: #4c666f;
}

.charity-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content-section {
        padding-left: 0;
        margin-top: 3rem;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-subtitle {
        font-size: 1.5rem;
    }

    .about-content-title {
        font-size: 2rem;
    }

    .about-hero-cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .about-feature-card {
        padding: 28px;
    }

    .about-professional-expertise-section .about-features-title {
        font-size: 2.25rem;
    }

    .affiliation-image-wrapper {
        aspect-ratio: 1 / 1;
    }

    .affiliations-control-prev {
        left: -20px;
    }

    .affiliations-control-next {
        right: -20px;
    }

    .clinical-philosophy-section {
        padding: 60px 0;
    }

    .clinical-philosophy-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 0.9rem;
        margin-top: 1.75rem;
    }

    .philosophy-pill {
        padding: 16px 18px;
        min-height: 100px;
    }

    .philosophy-text {
        font-size: 1rem;
    }

    .expertise-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .expertise-media img {
        height: 170px;
    }
}
@media (max-width: 768px) {
    .about-page-hero {
        padding: 40px 0 60px;
    }

    .about-hero-title {
        font-size: 1.75rem;
    }

    .about-hero-subtitle {
        font-size: 1.3rem;
    }

    .about-hero-summary {
        font-size: 1rem;
    }

    .about-hero-cta-box {
        padding: 18px 20px;
    }

    .about-hero-cta-button {
        padding: 14px 25px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .about-content-title,
    .about-features-title,
    .about-work-title,
    .affiliations-title,
    .about-section-title {
        font-size: 2rem;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .about-feature-card {
        padding: 25px;
    }

    .about-feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }

    .about-feature-icon i {
        font-size: 1.6rem;
    }

    .about-feature-title {
        font-size: 1.15rem;
        margin-bottom: 0.875rem;
    }

    .about-feature-text {
        font-size: 0.95rem;
    }

    .about-professional-expertise-section {
        padding: 60px 0;
    }

    .about-professional-expertise-section .about-features-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .about-contact-info {
        padding: 35px 30px;
    }

    .about-contact-info h3 {
        font-size: 1.75rem;
    }

    .about-contact-info p {
        font-size: 1.05rem;
    }

    .about-contact-item {
        font-size: 1rem;
    }

    .about-hero-cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .about-main-section,
    .about-features-section,
    .about-work-section,
    .about-affiliations-section,
    .charity-section {
        padding: 60px 0;
    }

    .affiliation-image-wrapper {
        aspect-ratio: 1 / 1;
    }

    .affiliation-card-content {
        padding: 20px 25px 25px;
    }

    .affiliation-icon {
        width: 65px;
        height: 65px;
        margin: -32px auto 1.25rem;
    }

    .affiliation-icon i {
        font-size: 1.6rem;
    }

    .affiliation-name {
        font-size: 1.1rem;
        margin-bottom: 0.625rem;
    }

    .affiliation-details {
        font-size: 0.9rem;
    }

    .affiliations-control-prev,
    .affiliations-control-next {
        width: 45px;
        height: 45px;
    }

    .affiliations-control-prev {
        left: -20px;
    }

    .affiliations-control-next {
        right: -20px;
    }

    .affiliations-control-prev-icon {
        width: 18px;
        height: 18px;
        background-size: 18px 18px;
    }

    .affiliations-control-next-icon {
        width: 18px;
        height: 18px;
        background-size: 18px 18px;
    }

    .affiliations-carousel {
        padding: 1.5rem 0 3rem;
    }

    .affiliations-carousel .row {
        margin: 0;
    }

    .affiliations-carousel .col-lg-4,
    .affiliations-carousel .col-md-6 {
        padding: 0.5rem;
    }

    .experience-cochlear-section {
        padding: 60px 0;
    }

    .sec-counter {
        padding: 40px 0;
        margin-top: 40px;
        border-radius: 16px;
    }

    .cat-counter {
        padding: 30px 20px;
        margin-bottom: 1rem;
    }

    .cat-counter .content p {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    .cat-counter .content .title {
        font-size: 0.95rem;
    }

    .border-inner-counter {
        border-right: none;
        border-bottom: 2px solid #e5e8f3;
    }

    .clinical-philosophy-section {
        padding: 60px 0;
    }

    .clinical-philosophy-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 0.85rem;
        margin-top: 1.5rem;
    }

    .philosophy-pill {
        padding: 16px 18px;
        min-height: 96px;
    }

    .philosophy-text {
        font-size: 1rem;
    }

    .charity-card {
        padding: 30px;
    }

    .charity-title {
        font-size: 1.8rem;
    }

    .experience-cochlear-section {
        padding: 60px 0;
    }

    .sec-counter {
        padding: 50px 0;
        margin-top: 50px;
    }

    .cat-counter {
        padding: 35px 25px;
        margin-bottom: 1rem;
    }

    .cat-counter .content p {
        font-size: 2.5rem;
    }

    .cat-counter .content .title {
        font-size: 1rem;
    }

    .border-inner-counter {
        border-right: 2px solid #e5e8f3;
        border-bottom: 2px solid #e5e8f3;
    }
}

@media (max-width: 576px) {
    .about-hero-title {
        font-size: 1.5rem;
    }

    .about-hero-subtitle {
        font-size: 1.2rem;
    }

    .about-hero-tag {
        font-size: 0.8rem;
    }

    .about-hero-summary {
        font-size: 0.95rem;
    }

    .about-hero-cta-box {
        padding: 15px 18px;
    }

    .about-hero-cta-box p {
        font-size: 0.95rem;
    }

    .about-feature-card {
        padding: 20px;
    }

    .about-feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 1rem;
    }

    .about-feature-icon i {
        font-size: 1.5rem;
    }

    .about-feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .about-feature-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .expertise-card {
        border-radius: 14px;
    }

    .expertise-media img {
        height: 160px;
    }

    .about-professional-expertise-section {
        padding: 50px 0;
    }

    .about-professional-expertise-section .about-features-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .about-image-container {
        padding: 12px;
        border-width: 2px;
    }

    .about-doctor-image-large {
        min-height: 400px;
    }

    .about-doctor-name-button {
        padding: 15px 20px;
    }

    .about-doctor-name-button span {
        font-size: 1.1rem;
    }

    .about-doctor-qualifications {
        padding: 18px 20px;
    }

    .about-doctor-title {
        font-size: 1rem;
    }

    .about-doctor-degree {
        font-size: 0.9rem;
    }

    .about-content-title,
    .about-features-title,
    .about-work-title,
    .affiliations-title,
    .about-section-title {
        font-size: 1.75rem;
    }

    .expertise-slide-row {
        grid-template-columns: 1fr;
    }

    .about-contact-info {
        padding: 30px 25px;
    }

    .about-contact-info h3 {
        font-size: 1.5rem;
    }

    .about-contact-info p {
        font-size: 1rem;
    }

    .about-contact-item {
        font-size: 0.95rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .about-contact-item i {
        font-size: 1.3rem;
    }

    .about-hero-cta-button {
        padding: 14px 25px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .about-languages-box {
        padding: 25px 20px;
    }

    .about-languages-box p {
        font-size: 1.1rem;
    }

    .about-content-text {
        font-size: 1rem;
    }

    .work-list-item {
        padding: 1rem;
    }

    .work-list-item-text {
        font-size: 0.95rem;
    }

    .charity-card {
        padding: 25px;
    }

    .charity-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .clinical-philosophy-section {
        padding: 50px 0;
    }

    .clinical-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .philosophy-pill {
        padding: 14px 16px;
        min-height: auto;
        border-radius: 18px;
    }

    .philosophy-text {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .affiliation-image-wrapper {
        aspect-ratio: 1 / 1;
    }

    .affiliation-card-content {
        padding: 18px 20px 22px;
    }

    .affiliation-icon {
        width: 60px;
        height: 60px;
        margin: -30px auto 1rem;
    }

    .affiliation-icon i {
        font-size: 1.5rem;
    }

    .affiliation-name {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .affiliation-details {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .affiliations-control-prev,
    .affiliations-control-next {
        width: 40px;
        height: 40px;
    }

    .affiliations-control-prev {
        left: -15px;
    }

    .affiliations-control-next {
        right: -15px;
    }

    .affiliations-control-prev-icon {
        width: 16px;
        height: 16px;
        background-size: 16px 16px;
    }

    .affiliations-control-next-icon {
        width: 16px;
        height: 16px;
        background-size: 16px 16px;
    }

    .affiliations-indicators {
        bottom: -10px;
    }

    .affiliations-indicators button {
        width: 10px;
        height: 10px;
    }

    .affiliations-indicators button.active {
        width: 28px;
    }

    .affiliations-carousel {
        padding: 1rem 0 2.5rem;
    }

    .affiliations-carousel .col-lg-4,
    .affiliations-carousel .col-md-6 {
        padding: 0.5rem;
    }

    .affiliations-control-prev {
        left: 5px;
    }

    .affiliations-control-next {
        right: 5px;
    }

    .clinical-philosophy-section {
        padding: 50px 0;
    }

    .clinical-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .philosophy-pill {
        padding: 14px 16px;
        min-height: auto;
        border-radius: 18px;
    }

    .philosophy-text {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .experience-cochlear-section {
        padding: 50px 0;
    }

    .sec-counter {
        padding: 35px 0;
        margin-top: 35px;
        border-radius: 12px;
    }

    .cat-counter {
        padding: 25px 18px;
        margin-bottom: 1rem;
    }

    .cat-counter .content p {
        font-size: 2rem;
        margin-bottom: 0.625rem;
    }

    .cat-counter .content .title {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .border-inner-counter {
        border-right: none;
        border-bottom: 2px solid #e5e8f3;
    }
}

.experience-accordion {
    background: #f7f9fb;
    padding: 80px 0;
    font-family: "Montserrat", "Open Sans", "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.experience-accordion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('{{ asset("resources/assets/gallery/v11.png") }}');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.experience-accordion::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 249, 251, 0.5);
    z-index: 1;
    pointer-events: none;
}

.experience-accordion .container {
    position: relative;
    z-index: 2;
}

.experience-accordion .section-title {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1f2a44;
    text-align: center;
    margin-bottom: 28px;
    opacity: 0;
    animation: expFade 0.6s ease forwards;
}

.accordion-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.accordion-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(31, 78, 121, 0.18);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.accordion-header {
    background: #1f4e79;
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.accordion-header:hover {
    background: #15548f;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.accordion-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-icon {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    background: #f7f9fb;
    color: #333333;
    padding: 0 16px 14px;
    display: none;
    line-height: 1.6;
}

.accordion-body ul {
    padding-left: 18px;
    margin: 10px 0 0;
}

.accordion-body li {
    margin-bottom: 6px;
}

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

@media (max-width: 992px) {
    .experience-accordion::before {
        background-size: cover;
        opacity: 0.18;
    }

    .experience-accordion::after {
        background: rgba(247, 249, 251, 0.55);
    }
}

@media (max-width: 768px) {
    .experience-accordion::before {
        opacity: 0.15;
    }

    .experience-accordion::after {
        background: rgba(247, 249, 251, 0.6);
    }
}

@media (max-width: 576px) {
    .experience-accordion {
        padding: 64px 0;
    }

    .experience-accordion::before {
        background-size: cover;
        background-position: center;
        opacity: 0.12;
    }

    .experience-accordion::after {
        background: rgba(247, 249, 251, 0.65);
    }

    .accordion-header {
        padding: 12px 14px;
    }

    .accordion-title {
        font-size: 1rem;
    }
}

.clinical-philosophy-section {
    background: #f7f9fb;
    padding: 80px 0;
}

.clinical-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.philosophy-pill {
    background: #ffffff;
    border: 1px solid rgba(76, 102, 111, 0.15);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    height: 100%;
}

.philosophy-media {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e9eef2;
}

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

.philosophy-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(31, 78, 121, 0.12);
    color: #1f4e79;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.philosophy-text {
    font-weight: 700;
    color: #1e1e1e;
    line-height: 1.45;
}
.recent-events {
    background: rgb(243, 246, 246);
    padding: 70px 0;
}

.recent-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 18px;
    align-items: stretch;
}

.recent-event-card {
    background: #ffffff;
    border: 2px solid #004c74;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.recent-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.recent-event-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
}

.recent-event-card-caption {
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgb(20, 21, 21);
    line-height: 1.4;
    background: #ffffff;
}

.recent-events-title {
    text-align: center;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: rgb(23, 21, 21);
    margin: 0;
}

@media (max-width: 992px) {
    .recent-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }

    .recent-event-card img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .recent-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .recent-event-card img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .recent-events {
        padding: 60px 0;
    }

    .recent-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 14px;
    }

    .recent-event-card img {
        height: 200px;
    }

    .recent-event-card-caption {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .recent-events-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .recent-event-card img {
        height: 220px;
    }

    .recent-event-card-caption {
        padding: 14px 12px;
        font-size: 0.9rem;
    }
}

.leadership-section {
    padding: 90px 0;
    font-family: "Inter", "Open Sans", "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.leadership-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('{{ asset("resources/assets/gallery/v11.png") }}');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.leadership-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(243, 246, 246, 0.5);
    z-index: 1;
    pointer-events: none;
}

.leadership-section .container {
    position: relative;
    z-index: 2;
}

/* .leadership-section-top-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1f4e79, #004c74);
    z-index: 3;
} */

.leadership-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgb(13, 13, 13);
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.leadership-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1f4e79, #004c74);
    border-radius: 2px;
}

.leadership-desc {
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgb(23, 21, 21);
    font-size: 1.08rem;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

.leadership-glass-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.leadership-card {
    position: relative;
    border-radius: var(--glass-radius);
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(var(--glass-blur)) saturate(130%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(130%);
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        backdrop-filter 0.45s ease;
    transform: translateZ(0);
    will-change: transform, box-shadow, backdrop-filter;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}

.leadership-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.7),
        var(--glass-accent),
        rgba(97, 196, 255, 0.45)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.35;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.leadership-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.45),
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0) 70%
    );
    opacity: 0.7;
    pointer-events: none;
}

.leadership-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(var(--glass-blur-hover)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--glass-blur-hover)) saturate(150%);
}

.leadership-card:hover::before {
    opacity: 0.75;
}

.leadership-card:hover .glass-glow {
    opacity: 1;
}

.leadership-card:hover .glass-shine {
    opacity: 0.9;
}



.leadership-card-inner {
    position: relative;
    z-index: 2;
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.glass-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(
        circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0) 55%
    );
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.glass-shine {
    position: absolute;
    top: -40%;
    left: -60%;
    width: 140%;
    height: 180%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.55) 45%,
        rgba(255, 255, 255, 0) 60%
    );
    opacity: 0.4;
    transform: translateX(-20%);
    animation: glassShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.leadership-card.is-floating {
    animation: glassFloat 6s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

.leadership-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.25rem;
    color: #4c666f;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(76, 102, 111, 0.15);
}

.leadership-card:hover .leadership-card-icon {
    background: #ffffff;
    color: #4c666f;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.5);
    border-color: #ffffff;
}

.leadership-card h3 {
    margin: 0 0 12px;
    font-size: 1.12rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
    line-height: 1.3;
}

.leadership-card:hover h3 {
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
}

.leadership-card p {
    margin: 0;
    color: rgb(23, 21, 21);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

@keyframes glassShimmer {
    0% {
        transform: translateX(-30%);
    }
    50% {
        transform: translateX(20%);
    }
    100% {
        transform: translateX(40%);
    }
}

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

@media (max-width: 992px) {
    .leadership-section {
        padding: 80px 0;
    }

    .leadership-glass-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .leadership-card-inner {
        padding: 22px 20px 24px;
    }

    .leadership-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
        margin-bottom: 14px;
    }

    .leadership-card h3 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .leadership-card p {
        font-size: 0.875rem;
    }
}

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

    .leadership-glass-grid {
        grid-template-columns: 1fr;
    }

    .leadership-card-inner {
        padding: 20px 18px 22px;
    }

    .leadership-card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .leadership-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .leadership-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .leadership-section::before {
        background-size: cover;
        opacity: 0.18;
    }

    .leadership-section::after {
        background: rgba(243, 246, 246, 0.55);
    }
}

@media (max-width: 768px) {
    .leadership-section::before {
        opacity: 0.15;
    }

    .leadership-section::after {
        background: rgba(243, 246, 246, 0.6);
    }
}

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

    .leadership-section::before {
        background-size: cover;
        background-position: center;
        opacity: 0.12;
    }

    .leadership-section::after {
        background: rgba(243, 246, 246, 0.65);
    }

    .leadership-card-inner {
        padding: 18px 16px 20px;
    }

    .leadership-desc {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}
/* ==========================================
   Styles moved from home.blade.php
   ========================================== */

/* Hero carousel controls */
.hero-control {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.hero-control:hover {
    background: #ffffff;
}

.carousel-control-prev.hero-control {
    left: 18px;
}

.carousel-control-next.hero-control {
    right: 18px;
}

.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon {
    filter: invert(0.35);
    width: 18px;
    height: 18px;
}

/* Services section layout */
.services-section .container {
    max-width: 1240px;
}

.services-title {
    margin-bottom: 28px;
}

/* Services carousel indicators and controls */
.services-carousel {
    position: relative;
    padding-bottom: 16px;
}

.services-indicators {
    position: static;
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.services-controls {
    position: absolute;
    inset: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    pointer-events: none;
}

.services-control-prev,
.services-control-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.services-control-icon {
    filter: invert(0.4);
    width: 16px;
    height: 16px;
}

@media (max-width: 576px) {
    .hero-control {
        width: 42px;
        height: 42px;
    }

    .carousel-control-prev.hero-control {
        left: 12px;
    }

    .carousel-control-next.hero-control {
        right: 12px;
    }

    .services-control-prev,
    .services-control-next {
        width: 38px;
        height: 38px;
    }

    .services-controls {
        padding: 0 6px;
    }
}

/* Patient Reviews Section */
.our-work {
    background: #f7f9fb;
    position: relative;
}

.pq-section {
    margin-bottom: 3rem;
}

.pq-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.pq-section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4c666f 0%, #6b8a95 100%);
    border-radius: 2px;
}

/* Splide Slider Styles */
.splide {
    padding: 20px 0 40px;
}

.splide__slide {
    height: auto;
}

.splide__list {
    display: flex;
    align-items: stretch;
}

.pq-portfoliobox {
    height: 100%;
    min-height: 450px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin: 0 12px;
    line-height: 1.3;
}

.pq-portfoliobox:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.pq-portfolio-block {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    border-radius: 12px;
    line-height: 1.3;
}

.pq-video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .pq-portfoliobox,
    .pq-portfolio-block,
    .pq-video-frame {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .pq-portfoliobox,
    .pq-portfolio-block,
    .pq-video-frame {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .pq-portfoliobox,
    .pq-portfolio-block,
    .pq-video-frame {
        min-height: 300px;
    }
}

.pq-portfolio-img {
    display: none;
}

/* Splide Navigation Arrows */
.splide__arrow {
    background: rgba(76, 102, 111, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.splide__arrow:hover {
    background: #4c666f;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Follow Us On YouTube Section */
.followyt {
    background: #f8f9fa;
    padding: 60px 0;
}

.followyt .pq-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.followyt .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.followyt .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.followyt iframe {
    border-radius: 12px 12px 0 0;
}

.followyt .card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.followyt .youtube-video-list {
    border: none;
    border-radius: 12px;
}

.followyt .list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.followyt .list-group-item:first-child {
    border-radius: 12px 12px 0 0;
}

.followyt .list-group-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.followyt .list-group-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.followyt .list-group-item.active {
    background: #e5e8f3;
    color: #1a1a1a;
    font-weight: 600;
    border-left: 4px solid #4c666f;
}

.followyt .list-group-item span {
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.followyt .img-thumbnail {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.followyt .list-group-item.active .img-thumbnail {
    border-color: #4c666f;
}

@media (max-width: 768px) {
    .followyt .pq-section-title {
        font-size: 2rem;
    }

    .followyt iframe {
        height: 300px !important;
    }

    .followyt .youtube-video-list {
        max-height: 400px !important;
    }
}

@media (max-width: 576px) {
    .followyt {
        padding: 40px 0;
    }

    .followyt .pq-section-title {
        font-size: 1.75rem;
    }

    .followyt iframe {
        height: 250px !important;
    }

    .followyt .youtube-video-list {
        max-height: 350px !important;
    }

    .followyt .list-group-item span {
        font-size: 0.85rem;
    }
}

.splide__arrow--prev {
    left: -50px;
}

.splide__arrow--next {
    right: -50px;
}

.splide__arrow svg {
    fill: white;
    width: 18px;
    height: 18px;
}

@media (max-width: 1200px) {
    .splide__arrow--prev {
        left: -30px;
    }

    .splide__arrow--next {
        right: -30px;
    }
}

@media (max-width: 992px) {
    .pq-section-title {
        font-size: 2rem;
    }

    .splide {
        padding: 15px 0 30px;
    }
}

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

    .splide__arrow {
        width: 38px;
        height: 38px;
    }

    .splide__arrow--prev {
        left: -20px;
    }

    .splide__arrow--next {
        right: -20px;
    }

    .splide__arrow svg {
        width: 16px;
        height: 16px;
    }
}

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

    .splide__arrow {
        width: 32px;
        height: 32px;
    }

    .splide__arrow--prev {
        left: -15px;
    }

    .splide__arrow--next {
        right: -15px;
    }

    .splide__arrow svg {
        width: 14px;
        height: 14px;
    }

    .splide {
        padding: 10px 0 25px;
    }
}

/* Extracted Inline Styles */
.specialties-heading-styled {
    font-size: 2rem;
    color: #2c3e50;
}

.specialties-subtitle-styled {
    color: #7f8c8d;
}

.specialty-card-styled {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.specialty-icon-styled {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-overlay-styled {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    opacity: 1;
    background: none !important;
    background-image: none !important;
}

.specialty-overlay-content-styled {
    width: 100%;
    background: transparent;
    color: white;
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

.specialty-title-styled {
    color: white !important;
    margin: 0 0 8px 0;
    text-align: left;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.specialty-description-styled {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================
   Gallery Page Styles (image.blade.php)
   ========================================== */
.gallery-page {
    background: #f7f9fb;
    padding-bottom: 60px;
}

.gallery-hero {
    position: relative;
    overflow: hidden;
    background: #bfcdcd;
    padding: 110px 0 40px;
}

.gallery-hero-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(76, 102, 111, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(76, 102, 111, 0.06) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.gallery-header {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
}

.gallery-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.gallery-subtitle {
    font-size: 1rem;
    color: #4c666f;
    margin: 0 auto;
    max-width: 720px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (max-width: 992px) {
    .gallery-hero {
        padding: 90px 0 30px;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        padding: 80px 0 20px;
    }
}

@media (max-width: 576px) {
    .gallery-hero {
        padding: 60px 0 10px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-page > .container {
    margin-top: 32px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(76, 102, 111, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(76, 102, 111, 0.35);
}

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

.gallery-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 576px) {
    .gallery-page {
        padding: 0 0 60px;
    }
    .gallery-title {
        font-size: 1.8rem;
    }
    .gallery-grid {
        gap: 12px;
    }
}

/* ==========================================
   Media Page Styles (media.blade.php)
   ========================================== */
.media-page {
    background: #f7f9fb;
    padding-bottom: 60px;
}

.media-hero {
    position: relative;
    overflow: hidden;
    background: #e5e8f3;
    padding: 110px 0 40px;
}

.media-hero-pattern {
    position: absolute;
    inset: 0;
    background-color: #c8d3d3;
    z-index: 0;
}

.media-header {
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0;
}

.media-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

.media-subtitle {
    font-size: 1rem;
    color: #4c666f;
    margin: 0 auto;
    max-width: 760px;
    line-height: 1.7;
}

.media-page > .container {
    margin-top: 32px;
}

@media (max-width: 992px) {
    .media-hero {
        padding: 90px 0 30px;
    }
}

@media (max-width: 768px) {
    .media-hero {
        padding: 80px 0 20px;
    }
}

@media (max-width: 576px) {
    .media-hero {
        padding: 60px 0 10px;
    }
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.media-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(76, 102, 111, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.media-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(76, 102, 111, 0.4);
    z-index: 10;
}

.media-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.media-card img,
.media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.media-card:hover img,
.media-card:hover .media-img {
    transform: scale(1.15);
}

.gallery-overlay,
.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    border-radius: 12px;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35));
}

.gallery-overlay i,
.media-overlay i {
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay,
.media-card:hover .media-overlay {
    opacity: 1;
}

.gallery-card:hover .gallery-overlay i,
.media-card:hover .media-overlay i {
    transform: scale(1.3);
}

@media (max-width: 992px) {
    .media-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .media-card {
        border-radius: 10px;
    }

    .media-overlay i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .media-page {
        padding: 0 0 60px;
    }

    .media-title {
        font-size: 1.8rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .media-card {
        aspect-ratio: 16 / 9;
    }

    .media-overlay i {
        font-size: 1.5rem;
    }
}

/* Lightbox Zoom Styles */
.glightbox-container {
    position: relative;
}

.glightbox-image {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.glightbox-image.zoomed {
    cursor: move;
}

.zoom-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.zoom-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-reset-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.zoom-reset-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.zoom-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    backdrop-filter: blur(10px);
    display: none;
}

.zoom-indicator.show {
    display: block;
}

@media (max-width: 768px) {
    .zoom-controls {
        top: 10px;
        right: 10px;
        padding: 8px;
        gap: 8px;
    }

    .zoom-btn,
    .zoom-reset-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .zoom-indicator {
        top: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ==========================================
   Patient Education Video Page Styles
   ========================================== */
.youtube-videos {
    padding: 80px 0;
    background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
    position: relative;
}

.youtube-videos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(76, 102, 111, 0.2),
        transparent
    );
}

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

.latest-video {
    margin-bottom: 60px;
}

.pq-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}

.pq-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4c666f, #c5d89d);
    border-radius: 2px;
}

.fullsize-video {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(76, 102, 111, 0.1);
    transition: all 0.3s ease;
    background: #000;
}

.fullsize-video:hover {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.video-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(76, 102, 111, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(76, 102, 111, 0.3);
}

.video-item iframe {
    width: 100%;
    height: 220px;
    border: none;
    display: block;
    background: #000;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.video-item:hover iframe {
    transform: scale(1.02);
}

.video-item p {
    padding: 20px;
    margin: 0;
    color: #1a1a1a;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Accessibility */
.video-item:focus-within {
    outline: 3px solid #4c666f;
    outline-offset: 2px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .youtube-videos {
        padding: 60px 0;
    }

    .pq-section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .fullsize-video {
        height: 400px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .video-item iframe {
        height: 200px;
    }
}

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

    .pq-section-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .fullsize-video {
        height: 350px;
        border-radius: 12px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .video-item {
        border-radius: 12px;
    }

    .video-item iframe {
        height: 220px;
    }

    .video-item p {
        padding: 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .youtube-videos {
        padding: 40px 0;
    }

    .youtube-videos .container {
        padding: 0 15px;
    }

    .pq-section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .fullsize-video {
        height: 250px;
        border-radius: 10px;
    }

    .latest-video {
        margin-bottom: 40px;
    }

    .video-grid {
        gap: 18px;
    }

    .video-item iframe {
        height: 200px;
    }

    .video-item p {
        padding: 14px;
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* ==========================================
   Header / Navigation Styles
   ========================================== */
/* Services Mega Dropdown - Tabbed Layout */
.services-mega-wrapper {
    position: static;
}

.services-mega-wrapper .dropdown-menu.services-mega {
    width: 800px; /* Reduced width to remove extra space */
    max-width: 95vw;
    left: 50% !important;
    transform: translateX(-50%) !important; /* Ensure centered */
    padding: 0;
    border-radius: 12px;
    border: none;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    overflow: hidden;
    background: #ffffff;
    display: none; /* Default hidden */
    margin-top: 10px; /* Add slight margin top */
}

/* Force Flexbox and Layout */
.services-nav-container {
    display: flex !important;
    flex-direction: row;
    min-height: 400px;
}

/* Left Side: Tabs */
.services-nav-tabs {
    width: 280px;
    background: #f8f9fa;
    border-right: 1px solid #eef2f6;
    padding: 16px 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.nav-tab-item, .nav-direct-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    font-size: 0.95rem;
    /* Uniform sizing for all tab items */
    min-height: 48px;
    white-space: nowrap;
    overflow: hidden;
}

.nav-tab-item:hover, .nav-direct-link:hover {
    background: #ffffff;
    color: #1f4e79; /* Primary Blue from vars */
}

.nav-tab-item.active {
    background: #ffffff;
    color: #1f4e79;
    border-left-color: #1f4e79;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.nav-tab-item i {
    font-size: 0.85rem;
    opacity: 0.4;
    transition: transform 0.2s;
}

.nav-tab-item.active i {
    opacity: 1;
    transform: translateX(2px);
    color: #5a7a85; /* Updated Icon Color */
}

/* Right Side: Content */
.services-nav-content {
    flex-grow: 1;
    padding: 20px 25px;
    background: #ffffff;
    width: 520px; /* Fixed width for content side */
    min-width: 480px;
    max-width: 520px;
    box-sizing: border-box;
    overflow: hidden;
}

.nav-pane {
    display: none !important;
    animation: fadeIn 0.25s ease-out;
    /* Consistent pane sizing */
    height: 100%;
    min-height: 360px;
    box-sizing: border-box;
}

.nav-pane.active {
    display: flex !important;
    flex-direction: column;
}

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

.nav-pane-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2a44;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Fixed height for consistent title area */
    min-height: 50px;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-pane-title i {
    font-size: 1.4rem;
    color: #5a7a85;
    flex-shrink: 0;
}

/* Removed ::before pseudo-element */

.nav-pane-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    /* Scrollable container for many items */
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    /* Flex child to fill remaining space */
    flex-grow: 1;
}

/* Custom scrollbar for nav-pane-list */
.nav-pane-list::-webkit-scrollbar {
    width: 5px;
}

.nav-pane-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.nav-pane-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.nav-pane-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.nav-pane-list li {
    /* Uniform list item sizing */
    min-height: 38px;
    display: flex;
    align-items: stretch;
}

.nav-pane-list li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    text-align: left;
    /* Uniform item sizing */
    width: 100%;
    min-height: 38px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.nav-pane-list li a:hover {
    color: #1f4e79;
    background: #f5faff;
    transform: translateX(4px);
    font-weight: 600;
}

.nav-pane-list li a::before {
    content: "•";
    color: #cbd5e1;
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

.nav-pane-list li a:hover::before {
    color: #5a7a85;
}

/* Show dropdown triggers */
.services-mega-wrapper.show .dropdown-menu.services-mega,
.services-mega-wrapper .dropdown-menu.services-mega.show-dropdown,
.services-mega-wrapper .dropdown-menu.services-mega.show {
    display: block;
}

/* Responsive */
@media (max-width: 991.98px) {
    .services-mega-wrapper .dropdown-menu.services-mega {
        position: static;
        width: 100%;
        min-width: 0;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        padding: 8px 10px;
        margin-top: 4px;
    }

    .services-nav-container {
        flex-direction: column;
        min-height: auto;
    }

    .services-nav-tabs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 5px;
        /* Hide scrollbar for cleaner look */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .services-nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .nav-tab-item {
        padding: 10px 15px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 0.9rem;
        min-height: auto;
        flex-shrink: 0;
    }

    .nav-tab-item.active {
        border-left: none;
        border-bottom-color: #1f4e79;
    }

    .services-nav-content {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .nav-pane {
        min-height: auto;
    }

    .nav-pane-list {
        max-height: 300px;
    }

    .nav-pane-list li a {
        white-space: normal;
        text-overflow: clip;
    }
}

/* Gallery dropdown */
.dropdown-menu.dropdown-menu-enhanced {
    z-index: 1050;
}

.dropdown.show .dropdown-menu.dropdown-menu-enhanced,
.dropdown .dropdown-menu.dropdown-menu-enhanced.show-dropdown,
.dropdown .dropdown-menu.dropdown-menu-enhanced.show {
    display: block;
}

/* Gallery Dropdown Enhanced Styles - Matching Services Dropdown */
.dropdown-menu-enhanced .dropdown-item {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 8px;
    padding: 0;
    /* Uniform dropdown item sizing */
    min-height: 36px;
    display: flex;
    align-items: stretch;
}

.dropdown-menu-enhanced .dropdown-item-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 16px;
    transition: all 0.2s ease;
    width: 100%;
    min-height: 36px;
    white-space: nowrap;
    overflow: hidden;
}

.dropdown-menu-enhanced .dropdown-item:hover,
.dropdown-menu-enhanced .dropdown-item:focus {
    background: #f5faff;
    transform: translateX(4px);
}

.dropdown-menu-enhanced .dropdown-item:hover .dropdown-item-title,
.dropdown-menu-enhanced .dropdown-item:focus .dropdown-item-title {
    color: #1f4e79;
    font-weight: 600;
}

.dropdown-menu-enhanced .dropdown-item:hover i,
.dropdown-menu-enhanced .dropdown-item:focus i {
    color: #5a7a85;
}

.dropdown-menu-enhanced .dropdown-item.active,
.dropdown-menu-enhanced .dropdown-item:active {
    background: #f5faff;
    color: #1f4e79;
}

.dropdown-menu-enhanced .dropdown-item.active .dropdown-item-title,
.dropdown-menu-enhanced .dropdown-item:active .dropdown-item-title {
    color: #1f4e79;
    font-weight: 600;
}

.dropdown-menu-enhanced .dropdown-item.active i,
.dropdown-menu-enhanced .dropdown-item:active i {
    color: #5a7a85;
}

.dropdown-menu-enhanced .dropdown-item i {
    font-size: 1.2rem;
    color: #4c666f;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.dropdown-menu-enhanced .dropdown-item-title {
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    /* Handle text overflow for longer titles */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Gallery Mega Wrapper - Same behavior as Services */
.gallery-mega-wrapper .dropdown-menu.gallery-mega {
    min-width: 260px;
    max-width: 300px;
    /* Consistent dropdown appearance */
    border-radius: 12px;
    border: none;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    padding: 8px 0;
}

.gallery-mega-wrapper.show .dropdown-menu.gallery-mega,
.gallery-mega-wrapper .dropdown-menu.gallery-mega.show-dropdown,
.gallery-mega-wrapper .dropdown-menu.gallery-mega.show {
    display: block;
}

/* Ensure uniform sizing for gallery dropdown on smaller screens */
@media (max-width: 767.98px) {
    .dropdown-menu-enhanced .dropdown-item-content {
        white-space: normal;
    }
    
    .dropdown-menu-enhanced .dropdown-item-title {
        white-space: normal;
        text-overflow: clip;
        max-width: none;
    }
}

@media (min-width: 992px) {
    .services-mega-grid {
        grid-template-columns: repeat(
            4,
            1fr
        ); /* Ensure 4 columns for larger screens */
    }
}

/* ==========================================
   Contact Page Styles
   ========================================== */
.contact-page {
    --contact-primary: #2d7a2b;
    --contact-secondary: #4a9f47;
    --contact-accent: #6bb86f;
    background: linear-gradient(135deg, #f8fbff 0%, #eef2f6 100%);
    padding: 0 0 80px;
}

.contact-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(31, 61, 89, 0.16);
    overflow: hidden;
    border: 1px solid rgba(76, 102, 111, 0.08);
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background: #e5e8f3;
    padding: 100px 0 40px;
}

.contact-hero-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(76, 102, 111, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(76, 102, 111, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    z-index: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-hero-title {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
}

.contact-hero-subtitle {
    margin: 0 auto;
    color: #4c666f;
    max-width: 760px;
    line-height: 1.7;
    font-size: 1rem;
}

.contact-page > .container {
    margin-top: 32px;
}

.contact-body {
    padding: 32px;
}

@media (max-width: 991px) {
    .contact-hero {
        padding: 100px 0 40px;
    }
}

/* ===== Contact Map Card Styles (3-Column Layout) ===== */
.contact-map-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: rgba(0,0,0,0.06) !important;
}

.contact-map-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
}

.contact-map-icon {
    width: 48px;
    height: 48px;
    background: rgba(191, 205, 205, 0.25); /* Light tint of #bfcdcd */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c666f; /* Using primary dark teal for better readability than light blue */
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid #bfcdcd;
}

.contact-map-location {
    font-family: var(--font-heading);
    color: #1a1a1a;
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.contact-map-hospital {
    color: #4c666f !important; /* Changed from burgundy to primary dark teal for readability */
    font-weight: 700;
    font-size: 0.95rem;
}

.contact-map-wrapper iframe {
    transition: opacity 0.3s ease;
}

.contact-map-card:hover .contact-map-wrapper iframe {
    opacity: 0.9;
}

.contact-footer-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-footer-icon {
    width: 40px;
    height: 40px;
    background: rgba(76, 102, 111, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .contact-map-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .contact-footer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px !important;
    }
}


/* ==========================================
   Services Detail Page Styles
   (Consolidated from individual service pages)
   ========================================== */
:root {
    --service-primary: #1f4e79;
    --service-secondary: #4fa3d1;
    --service-accent: #2ec4b6;
    --service-bg: #f5faff;
    --service-text: #1e1e1e;
}

.service-page {
    background: var(--service-bg);
    color: var(--service-text);
}

.service-hero {
    position: relative;
    overflow: hidden;
    background-color: #e5e8f3;
    padding: 100px 0 40px;
    box-shadow: 0 4px 30px rgba(0, 76, 116, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#4c666f 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.1;
    pointer-events: none;
    display: block;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.service-hero h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    text-shadow: none;
    letter-spacing: -0.02em;
}

.service-hero p {
    max-width: 800px;
    font-size: 1rem;
    margin-bottom: 32px;
    color: #4c666f;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.7;
}

.service-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.service-btn-primary {
    background-color: #4c666f;
    color: #ffffff;
    border: 3px solid #4c666f;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(76, 102, 111, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.service-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-btn-primary:hover::before {
    left: 100%;
}

.service-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(76, 102, 111, 0.4);
    background-color: #3a5159;
    color: #ffffff;
}

.service-btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 102, 111, 0.3);
}

.service-btn-primary i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.service-btn-primary:hover i {
    transform: translateX(3px);
}

.service-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.service-btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.service-section {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 76, 116, 0.08);
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(0, 76, 116, 0.1);
    box-shadow: 0 8px 24px rgba(0, 76, 116, 0.08);
    padding: 24px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 76, 116, 0.15);
    border-color: #4D5756;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--service-text);
    margin-bottom: 12px;
}

.service-card p {
    margin: 0;
    color: var(--service-text);
    line-height: 1.65;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.15), rgba(255, 191, 0, 0.25));
    color: var(--service-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(255, 191, 0, 0.3);
}

.service-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

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

.service-visual-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 76, 116, 0.1);
    box-shadow: 0 12px 32px rgba(0, 76, 116, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-visual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 76, 116, 0.18);
}

.service-visual-img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.service-section-title {
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--service-text);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

.service-section-subtitle {
    color: var(--service-text);
    max-width: 850px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Enhanced Modern Medical Card Design for Causes & Treatment */
.service-causes-grid,
.service-treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.service-causes-card,
.service-treatment-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 18px;
    border: 2px solid rgba(31, 78, 121, 0.1);
    box-shadow: 0 8px 24px rgba(31, 78, 121, 0.08);
    padding: 28px 24px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-causes-card::before,
.service-treatment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--service-primary),
        var(--service-secondary)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-causes-card:hover,
.service-treatment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(76, 102, 111, 0.2);
    border-color: #4c666f;
    background: linear-gradient(135deg, #ffffff 0%, #f5f8fa 100%);
}

.service-causes-card:hover::before,
.service-treatment-card:hover::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, #4c666f, rgba(76, 102, 111, 0.8));
}

.service-causes-card-icon,
.service-treatment-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(76, 102, 111, 0.1),
        rgba(76, 102, 111, 0.15)
    );
    color: #4c666f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 102, 111, 0.15);
}

.service-causes-card:hover .service-causes-card-icon,
.service-treatment-card:hover .service-treatment-card-icon {
    background: linear-gradient(
        135deg,
        rgba(76, 102, 111, 0.2),
        rgba(76, 102, 111, 0.25)
    );
    color: #4c666f;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(76, 102, 111, 0.25);
}

.service-causes-card h3,
.service-treatment-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    margin: 0 0 14px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-causes-card:hover h3,
.service-treatment-card:hover h3 {
    color: var(--service-secondary);
}

.service-causes-card p,
.service-treatment-card p {
    margin: 0;
    color: #4a5568;
    font-size: 0.98rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-process {
    display: grid;
    gap: 14px;
}

.service-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(31, 78, 121, 0.14);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    padding: 14px 16px;
}

.service-step-index {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--service-secondary);
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(79, 163, 209, 0.35);
}

.service-step h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--service-text);
}

.service-step p {
    margin: 0;
    color: var(--service-text);
    line-height: 1.5;
}

/* Responsive Design for Enhanced Cards */
@media (max-width: 1200px) {
    .service-causes-grid,
    .service-treatment-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .service-causes-grid,
    .service-treatment-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 18px;
    }

    .service-causes-card,
    .service-treatment-card {
        padding: 24px 20px;
    }

    .service-causes-card-icon,
    .service-treatment-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .service-causes-card h3,
    .service-treatment-card h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .service-causes-grid,
    .service-treatment-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
    }

    .service-causes-card,
    .service-treatment-card {
        padding: 22px 18px;
    }

    .service-causes-card-icon,
    .service-treatment-card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .service-causes-card h3,
    .service-treatment-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .service-causes-card p,
    .service-treatment-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .service-hero {
        padding: 100px 0 40px;
    }
    
    .service-hero h1 {
        font-size: clamp(2rem, 3.2vw, 2.6rem);
    }
    
    .service-hero p {
        font-size: 1.05rem;
    }
    
    .service-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 40px;
    }
    
    .service-hero h1 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        margin-bottom: 14px;
    }
    
    .service-hero p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .service-btn-primary,
    .service-btn-secondary {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .service-section {
        padding: 50px 0;
    }
    
    .service-section-title {
        font-size: clamp(1.6rem, 2.3vw, 2rem);
    }
}

@media (max-width: 576px) {
    .service-hero {
        padding: 100px 0 40px;
    }
    
    .service-hero h1 {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .service-hero p {
        font-size: 0.88rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .service-cta-group {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .service-btn-primary,
    .service-btn-secondary {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.98rem;
        justify-content: center;
    }
    
    .service-section {
        padding: 40px 0;
    }
    
    .service-section-title {
        font-size: clamp(1.5rem, 2.2vw, 1.8rem);
        margin-bottom: 18px;
    }
    
    .service-section-subtitle {
        font-size: 0.98rem;
    }

    .service-causes-grid,
    .service-treatment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-causes-card,
    .service-treatment-card {
        padding: 24px 20px;
    }
}

@media (max-width: 400px) {
    .service-hero {
        padding: 100px 0 40px;
    }
    
    .service-btn-primary,
    .service-btn-secondary {
        padding: 13px 18px;
        font-size: 0.95rem;
    }
    
    .service-section {
        padding: 35px 0;
    }

    .service-causes-card,
    .service-treatment-card {
        padding: 20px 18px;
    }

    .service-causes-card-icon,
    .service-treatment-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

.latest-video {
    text-align: center;
}

.media-title {
    text-align: center;
    margin: 0 auto 24px;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.latest-video .media-title {
    margin-top: 24px;
}

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

.video-hero {
    position: relative;
    overflow: hidden;
    background: #e5e8f3;
    padding: 80px 0 60px;
}

.youtube-videos--education .video-hero {
    padding-top: 48px;
}

.video-hero-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(76, 102, 111, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(76, 102, 111, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    z-index: 0;
}

.video-header {
    position: relative;
    z-index: 1;
    text-align: center;
}

.youtube-videos > .container {
    margin-top: 32px;
}

@media (max-width: 992px) {
    .video-hero {
        padding: 70px 0 50px;
    }

    .youtube-videos--education .video-hero {
        padding-top: 42px;
    }
}

@media (max-width: 768px) {
    .video-hero {
        padding: 60px 0 40px;
    }

    .youtube-videos--education .video-hero {
        padding-top: 36px;
    }
}

@media (max-width: 576px) {
    .video-hero {
        padding: 50px 0 30px;
    }

    .youtube-videos--education .video-hero {
        padding-top: 32px;
    }
}

.experience-accordion {
    font-family: "Inter", sans-serif;
}
.services-title{
    margin-top: 1rem;
}

/* Patient education shorts */
.youtube-shorts .shorts-grid {
    justify-content: center;
}

.youtube-shorts .shorts-card {
    border-radius: 16px;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.ratio-9x16 {
    --bs-aspect-ratio: calc(16 / 9 * 100%);
    aspect-ratio: 9 / 16;
}

.youtube-shorts .shorts-frame {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
}

.youtube-shorts .shorts-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.youtube-shorts .card-body {
    
    display: flex;
    align-items: center;
}

/* ===== YouTube Instagram Frame Style Embed ===== */
.youtube-instagram-frame-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.instagram-frame {
    background: linear-gradient(145deg, #53707a, #445b63); /* Dark Teal Gradient matching --primary-color #4c666f */
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    border: 2px solid #c5d89d; /* Accent color border */
    position: relative;
    overflow: hidden;
}

.instagram-frame:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: #dbeec0;
    z-index: 10;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

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

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(197, 216, 157, 0.9); /* Accent color #c5d89d */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none; /* Allows click to pass through to iframe */
    box-shadow: 0 0 20px rgba(197, 216, 157, 0.5);
    z-index: 5;
}

.instagram-frame:hover .play-button-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.play-button-overlay i {
    color: #4c666f; /* Primary text color */
    font-size: 24px;
    margin-left: 4px; /* Optical centering for play icon */
}

.frame-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 0 4px;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #fff; /* White text for contrast on dark teal */
    font-size: 0.9rem;
}

.channel-info i {
    font-size: 1.2rem;
    color: #c5d89d; /* Accent color icon */
}

.btn-subscribe {
    background-color: #c5d89d; /* Accent color button */
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-subscribe:hover {
    background-color: #dbeec0;
    color: #1a1a1a;
    transform: translateY(-1px);
}

/* ===== Instagram Widget Internals ===== */
.instagram-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(197, 216, 157, 0.2);
}

.instagram-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c5d89d; /* Accent color */
}

.instagram-info {
    flex: 1;
}

.instagram-username {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    display: block;
}

.instagram-subtitle {
    color: #c5d89d;
    font-size: 0.8rem;
    line-height: 1.2;
    display: block;
}

.instagram-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.instagram-stat span {
    font-weight: 700;
    color: #fff;
}

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

.instagram-grid-item {
    position: relative;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.instagram-grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.instagram-grid-item::after {
    content: '\f16d'; /* FontAwesome Instagram Icon */
    font-family: "Font Awesome 5 Brands";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.instagram-grid-item:hover::after {
    opacity: 0.8;
}

.instagram-icon-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #E1306C; /* Instagram Color */
    font-size: 1.5rem;
}

.instagram-follow-btn {
    background: #c5d89d;
    color: #1a1a1a;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: none;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.instagram-follow-btn:hover {
    background: #fff;
    color: #1a1a1a;
}

/* Ensure responsiveness */
@media (max-width: 991px) {
    .youtube-instagram-frame-wrapper {
        margin: 0;
        max-width: 100%;
    }
}

/* ===== Footer Real Instagram Posts Grid ===== */

/* Outer white card — matches reference image */
.footer-insta-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Profile header row */
.footer-insta-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.footer-insta-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E1306C;
    flex-shrink: 0;
}

.footer-insta-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.footer-insta-username {
    font-weight: 700;
    font-size: 0.88rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.footer-insta-fullname {
    font-size: 0.78rem;
    color: #444;
    line-height: 1.2;
}

.footer-insta-stats {
    font-size: 0.72rem;
    color: #888;
    line-height: 1.2;
}

.footer-insta-ig-icon {
    font-size: 1.6rem;
    color: #E1306C;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.footer-insta-ig-icon:hover {
    opacity: 0.75;
}

/* 3×2 grid */
.footer-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #e0e0e0;
}

/* Each grid cell — vertical for reels thumbnails */
.footer-insta-item {
    position: relative;
    display: block;
    padding-bottom: 135%; /* Vertical ratio for reels */
    overflow: hidden;
    background: #000; /* Black background to hide any embed gaps */
    cursor: pointer;
}

/* Clip wrapper sits inside the square cell */
.footer-insta-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* The iframe renders at Instagram's native width.
   We center, zoom, and crop to show only the reel thumbnail. */
.footer-insta-clip iframe {
    position: absolute;
    top: -40px;              /* Crop Instagram header */
    left: 50%;
    width: 320px;            
    height: 520px;           
    border: none;
    pointer-events: none;
    transform: translateX(-50%) scale(0.65); /* Increased zoom for desktop */
    transform-origin: top center;
}

/* Transparent clickable overlay so the <a> receives the click */
.footer-insta-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.25s ease;
    z-index: 3;
}

.footer-insta-item:hover::after {
    background: rgba(0,0,0,0.18);
}

/* Follow link button below the card */
.footer-insta-follow-btn {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(76, 102, 111, 0.15);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.footer-insta-follow-btn:hover {
    background: rgba(76, 102, 111, 0.35);
    color: #fff;
    text-decoration: none;
}

/* ══════════════════════════════════════════════
   Premium Instagram Profile Card — Footer Widget
   ══════════════════════════════════════════════ */

/* Outer wrapper */
.footer-insta-widget {
    width: 100%;
}

/* Section heading */
.footer-insta-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-insta-heading i {
    font-size: 1.35rem;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* White card */
.footer-insta-card-new {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    max-width: 420px;
}

/* ── Profile Row ───────────────────────────── */
.fic-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.fic-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.fic-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    z-index: 0;
}

.fic-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #ffffff;
    position: relative;
    z-index: 1;
}

.fic-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fic-username {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.fic-name {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.2;
}

.fic-ig-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 3px 10px rgba(220, 39, 67, 0.35);
}

.fic-ig-badge:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.5);
}

.fic-ig-badge i {
    font-size: 1.1rem;
    color: #fff;
}

/* ── Stats Row ─────────────────────────────── */
.fic-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 14px 16px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.fic-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.fic-stat-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.fic-stat-label {
    font-size: 0.7rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fic-stat-divider {
    width: 1px;
    height: 30px;
    background: #e0e0e0;
    flex-shrink: 0;
}

/* ── Animated Banner ───────────────────────── */
.fic-banner {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.fic-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #4c666f 0%,
        #3a5159 30%,
        #2a3d45 60%,
        #1e3a5f 100%);
    animation: ficBannerShift 8s ease infinite alternate;
}

@keyframes ficBannerShift {
    from { background-position: 0% 50%; }
    to   { background-position: 100% 50%; }
}

.fic-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(76,102,111,0.3) 0%, transparent 50%);
}

.fic-banner-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
}

.fic-banner-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.fic-banner-text {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
    font-style: italic;
}

/* ── Post Tiles ────────────────────────────── */
.fic-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.fic-tile {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: opacity 0.25s ease;
}

.fic-tile:hover {
    opacity: 0.85;
}

.fic-tile i {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.7);
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
}

.fic-tile:hover i {
    transform: scale(1.2);
}

/* Tile backgrounds — distinct gradient per tile */
.fic-tile--1 {
    background: linear-gradient(135deg, #4c666f 0%, #2a3d45 100%);
}
.fic-tile--1::before {
    content: '🫁';
    position: absolute;
    font-size: 3rem;
    opacity: 0.18;
}

.fic-tile--2 {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a5298 100%);
}
.fic-tile--2::before {
    content: '👂';
    position: absolute;
    font-size: 3rem;
    opacity: 0.18;
}

.fic-tile--3 {
    background: linear-gradient(135deg, #3a5159 0%, #4c666f 100%);
}
.fic-tile--3::before {
    content: '🩺';
    position: absolute;
    font-size: 3rem;
    opacity: 0.18;
}

/* ── CTA Button ────────────────────────────── */
.fic-cta {
    padding: 14px 16px 16px;
}

.fic-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(220, 39, 67, 0.35);
}

.fic-cta-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.5);
}

.fic-cta-btn i {
    font-size: 1.1rem;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 991px) {
    .footer-insta-card-new {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-insta-widget {
        margin-top: 20px;
    }

    .footer-insta-card-new {
        max-width: 100%;
        border-radius: 16px;
    }

    .fic-banner {
        height: 88px;
    }

    .fic-banner-text {
        font-size: 0.8rem;
    }

    .fic-banner-icon {
        font-size: 1.6rem;
    }

    .fic-stat-num {
        font-size: 1rem;
    }

    .fic-cta-btn {
        font-size: 0.86rem;
        padding: 11px 18px;
    }
}

@media (max-width: 480px) {
    .footer-insta-heading {
        font-size: 1.05rem;
    }

    .fic-profile {
        padding: 13px 14px 12px;
    }

    .fic-avatar {
        width: 44px;
        height: 44px;
    }

    .fic-username {
        font-size: 0.85rem;
    }

    .fic-stats {
        padding: 12px 14px;
    }

    .fic-banner {
        height: 80px;
    }

    .fic-banner-content {
        padding: 0 14px;
        gap: 10px;
    }

    .fic-banner-icon {
        display: none;
    }

    .fic-banner-text {
        font-size: 0.78rem;
    }

    .fic-cta {
        padding: 12px 14px 14px;
    }

    .fic-cta-btn {
        font-size: 0.82rem;
        padding: 10px 16px;
    }
}

/* ══════════════════════════════════════════════
   Footer Instagram Iframe Grid — Responsive Fixes
   ══════════════════════════════════════════════ */

/* Desktop & Tablet: align right, cap width */
.footer-insta-wrap {
    max-width: 420px;
    width: 100%;
}

/* Tablet / Smaller Desktop */
@media (max-width: 991px) {
    .footer-insta-wrap {
        max-width: 400px;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 30px;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .footer-insta-wrap {
        max-width: 360px; /* Constrain slightly more to keep cells tight */
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-insta-header {
        padding: 10px 12px;
        gap: 8px;
    }

    .footer-insta-avatar {
        width: 42px;
        height: 42px;
    }

    .footer-insta-username {
        font-size: 0.85rem;
    }

    .footer-insta-fullname {
        font-size: 0.74rem;
    }

    .footer-insta-stats {
        font-size: 0.68rem;
    }

    /* 3 col grid — adjusting scale for fixed 360px-ish width
       To remove extra grey space, we over-scale (zoom) the iframe 
       so the center video part fills the width. */
    .footer-insta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px; /* Slight gap */
    }

    .footer-insta-item {
        padding-bottom: 140%; /* Taller for mobile reels */
    }

    .footer-insta-clip iframe {
        /* Aggressive zoom-in to ensure reel fills the cell width on mobile */
        transform: translateX(-50%) scale(0.6);
        top: -45px; 
        left: 50%;
        width: 320px;
        height: 500px;
        transform-origin: top center;
    }
}

/* Small Phones (e.g. iPhone SE) */
@media (max-width: 400px) {
    .footer-insta-wrap {
        max-width: 96%; /* Leave a small margin */
    }

    .footer-insta-clip iframe {
        /* Even more aggressive zoom for small screens to fill width */
        transform: translateX(-50%) scale(0.65);
        top: -50px;
        left: 50%;
        transform-origin: top center;
    }
}

/* Extra Small Phones */
@media (max-width: 340px) {
    .footer-insta-clip iframe {
        transform: translateX(-50%) scale(0.65);
        top: -45px;
        left: 50%;
        transform-origin: top center;
    }
}