/*
Theme Name: Medical
Theme URI: https://www.monarch-innovation.com/
Version: 1.0
Requires PHP: 7.0
Requires at least: 5.2
Tested up to: 6.7
Author: Monarch Team
Author URI: https://www.monarch-innovation.com/
Description: Medical is a lightweight and mobile friendly WordPress theme. A post and page template with or without sidebar is included, as well as multiple widget areas. For theme settings go to the Customizer in your dashboard.
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, featured-images, footer-widgets, post-formats, sticky-post, blog, editor-style, microformats, translation-ready
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: medical

This theme, like WordPress, is licensed under the GPL.
*/


:root {
    --primary-color: #3ad3b1;
    --secondary-color: #1a1a40;
    --accent-color: #f7d55e;
    --text-color: #333;
    --white: #ffffff;
    --light-green: #eef5f1;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', sans-serif;
}

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

/* --- Header Styles --- */
.header-section {
    background-color: #fff;
    transition: all 0.3s ease;
    width: 100%;
    z-index: 1000;
}

.main-header-container {
    background: #fff;
    /* Optional: Add a very subtle shadow or border if needed, but the screenshot looks clean */
}

/* Navigation Styles (Nuvamed Update) */
.navbar-nav .nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
    padding: 1.5rem 1rem !important;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
}

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

/* Optional: Underline or dot on active/hover if desired, but screenshot shows simple colored text */

/* Logo Icon */
.logo-icon i {
    color: var(--primary-color);
}

/* Contact & Icons */
.header-right .icon i,
.header-right .search-icon i,
.header-right .bi-bag {
    transition: color 0.3s ease;
}

.header-right .icon i {
    /* Phone icon */
    color: var(--primary-color);
    /* Teal */
}

.header-right .search-icon:hover {
    color: var(--primary-color) !important;
}

/* Dropdown Menus (Nuvamed Style Refactor) */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    border-radius: 0;
    /* Square edges per screenshot */
    padding: 0;
    /* Reset padding to handle item borders correctly */
    margin-top: 15px;
    min-width: 260px;
    /* Wider dropdown */
}


/* Fix for Hover Gap: Bridge the space between nav-link and dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    /* Covers the 15px margin gap */
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown-item {
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    color: #1e1e4b;
    /* Dark Blue text */
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    /* Divider line */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* For arrow spacing */
}

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

/* Hover State */
.dropdown-item:hover {
    background-color: var(--white);
    /* Keep white background */
    color: var(--primary-color);
    /* Per screenshot blue/indigo color */
    padding-left: 2rem;
    /* Indent for the dot */
}

/* Dot Indicator on Hover */
.dropdown-item:hover::before {
    content: '';
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    /* Dot color */
    border-radius: 50%;
}

/* Sub-menu Arrow (Chevron) */
.dropdown-item.has-submenu::after {
    content: '\F285';
    /* Bootstrap Icon chevron-right */
    font-family: 'bootstrap-icons';
    font-size: 0.8rem;
    font-weight: bold;
}

.nav-item .nav-link {
    padding: 12px 15px !important;
}

.dropdown-menu .active {
    padding: 4px 8px !important;
}


/* Badge */
.badge {
    background-color: var(--secondary-color) !important;
    /* Dark Blue */
    font-weight: 500;
}

/* CTA Button - Keeping Yellow as 'Last Used Color' */
.btn-warning {
    background-color: var(--accent-color) !important;
    /* Yellow */
    border-color: var(--accent-color) !important;
    color: var(--secondary-color) !important;
    /* Dark Text on Yellow */
    /* Dark Text on Yellow */
    font-weight: 700;
    border-radius: 50px !important;
    /* Rounded corners */
    padding: 0.7rem 1.8rem;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: var(--primary-color) !important;
    /* Hover to Teal? or just darken yellow */
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Sticky Header Class */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Offcanvas (Mobile) Accordion Style */
.offcanvas-body .nav-link {
    font-size: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--secondary-color);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    /* Right align arrow */
    align-items: center;
}

/* Rotate arrow when open */
.offcanvas-body .nav-link[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Mobile Dropdown Menu */
.offcanvas-body .dropdown-menu {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    position: static !important;
    /* FORCE static positioning */
    transform: none !important;
    /* Disable Bootstrap transforms */
    width: 100%;
}

.offcanvas-body .dropdown-item {
    padding: 0.8rem 0 0.8rem 1.5rem;
    /* Indent sub-items */
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    /* specific request or just clean style? Screenshot has normal case for sub-items */
    border-bottom: 1px solid #f9f9f9;
}

.offcanvas-body .dropdown-item:last-child {
    border-bottom: 1px solid #f0f0f0;
    /* Close the group */
}

.offcanvas-body .dropdown-item:hover {
    background-color: transparent;
    color: var(--primary-color);
    padding-left: 1.5rem;
    /* No extra movement on mobile */
}

/* Hide desktop hover dots on mobile */
.offcanvas-body .dropdown-item::before {
    display: none;
}

.offcanvas-body .dropdown-item.has-submenu::after {
    display: none;
}

/* Swiper / Hero Styles */
.swiper {
    width: 100%;
    height: 100%;
}

/* Hero Content Styles */
.hero-section {
    background: url('http://samagaticancercentre.com/wp-content/uploads/2026/03/cancer-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Subtle gradient background overlay */
    padding-top: 100px;
    height: 80vh;
    /* Space for fixed header/top alignment */
}

.hero-section .swiper-slide>.container-fluid,
.hero-section .swiper-slide>.container-fluid>.row {
    height: 100%;
}

.hero-title {
    font-size: 3.5rem;
    /* Large and readable */
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-title span.fst-italic {
    font-family: 'Playfair Display', serif;
    /* Or similar elegant serif if available, otherwise inherit */
    color: var(--secondary-color);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Glass Effect Removed - Now Animation Container */
.glass-content {
    padding: 3rem;
}

@media (min-width: 992px) {
    .glass-content {
        margin-left: 5rem;
    }
}

/* Fade Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.swiper-slide-active .hero-title {
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.2s;
}

.swiper-slide-active .hero-text {
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.4s;
}

.swiper-slide-active .btn {
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.6s;
}

/* Hero Buttons */
.btn.rounded-pill {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.btn-dark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-3px);
}

/* Custom Swiper Controls */
.custom-swiper-btn {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.custom-swiper-btn:after {
    font-size: 1.2rem;
    font-weight: bold;
}

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

.swiper-button-next.custom-swiper-btn {
    right: 30px;
}

.swiper-button-prev.custom-swiper-btn {
    left: 30px;
}

.custom-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    opacity: 1;
}

.custom-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    width: 30px;
    /* Elongated active dot */
    border-radius: 6px;
}

/* About Section Styles */
.about-section {
    background-color: #f9f9f9;
}

/* About Us Image Layout */
.about-images {
    position: relative;
    padding-bottom: 50px;
    /* Space for the bottom image overlap */
    padding-right: 30px;
    /* Space for the right overflow if needed */
    min-height: 500px;
    /* Keep min-height base */
}

/* Common rounded corners for images if not handled by bootstrap class */
.about-img-top,
.about-img-bottom {
    border-radius: 15px;
    /* Adjust as needed */
    object-fit: cover;
}

/* Top Image (Background) */
.about-img-wrapper {
    position: relative;
    width: 85%;
    /* Adjust width relative to container */
    z-index: 1;
}

.about-img-top {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom Image (Overlay) */
.about-img-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    /* Smaller than the top image */
    z-index: 2;
}

.about-img-bottom {
    width: 100%;
    height: auto;
    display: block;
    border: 10px solid #fff;
    /* Creates the white gap/border effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Add shadow for depth */
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .about-images {
        min-height: auto;
        padding-bottom: 30px;
        margin-bottom: 2rem;
    }

    .about-img-wrapper {
        width: 90%;
    }

    .about-img-overlay {
        width: 65%;
        right: -10px;
        /* Adjust overlap on smaller screens */
        bottom: -20px;
    }
}

@media (max-width: 576px) {
    .about-images {
        padding-right: 0;
        text-align: center;
    }

    /* Stack images on very small screens if needed, or keep overlap */
    .about-img-wrapper {
        width: 100%;
    }

    .about-img-overlay {
        position: relative;
        width: 80%;
        margin-top: -50px;
        /* Negative margin to pull it up */
        margin-left: auto;
        margin-right: auto;
        right: auto;
        bottom: auto;
    }

    .about-img-bottom {
        border-width: 5px;
    }
}

.medical-badge {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

.icon-box {
    background-color: var(--secondary-color);
}

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

/* Green Button Styles */
.btn-primary-green {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 50px !important;
    padding: 0.7rem 1.8rem;
    transition: all 0.3s ease;
}

.btn-primary-green:hover {
    background-color: #2bb896 !important;
    border-color: #2bb896 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(58, 211, 177, 0.3);
}

.feature-icon i {
    transition: transform 0.3s ease;
}

.features-list .d-flex:hover .feature-icon i {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section .row {
        min-height: auto !important;
        padding-bottom: 50px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
        /* Hide arrows on mobile */
    }

    .glass-content {
        padding: 2rem;
        margin: 1rem;
    }

    .about-images {
        min-height: 400px;
        margin-bottom: 3rem;
    }

    .medical-badge {
        width: 100px !important;
        height: 100px !important;
    }

    .secondary-image {
        bottom: -20px !important;
    }
}

/* Oncology Services Section */
.oncology-section {
    background-color: transparent;
    /* Or whatever background is needed, design says white but maybe section bg */
}

.service-card {
    height: 450px;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    transition: transform 0.5s ease;
}

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

/* Default Content */
.service-default-content {
    width: calc(100% - 2rem);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease-in-out;
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.service-card:hover .service-default-content {
    opacity: 0;
    transform: translateY(20px);
}

/* Hover Content (Popup/Overlay) */
.service-hover-content {
    background: rgba(255, 255, 255, 0.7) !important;
    /* Glass Background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    /* Start from below */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 3;

    /* Override Bootstrap/HTML inline classes for positioning */
    top: auto !important;
    bottom: 0 !important;
    height: 75% !important;
    border-radius: 0 0 20px 20px;
    /* Match card rounded corners at bottom */
}

.service-card:hover .service-hover-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-hover-content .list-unstyled li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: var(--secondary-color) !important;
    font-weight: 500;
}

.service-hover-content .btn {
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.4rem 1.2rem;
}

.service-hover-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem !important;
}

.service-hover-content .list-unstyled {
    margin-bottom: 1rem !important;
}

/* --- Treatment Section Styles --- */
.treatment-section {
    background-color: #f8fcfb;
    /* Light tint */
}

.treatment-card {
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    /* Ensure height matches for grid */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.treatment-card:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(58, 211, 177, 0.3);
    /* Green tinted shadow */
}

/* Icon Wrapper */
.icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Icon Filter on Hover - Turn SVG White */
.treatment-card:hover .treatment-icon {
    filter: brightness(0) invert(1);
    /* Makes black/colored icons white */
}

/* Text Color on Hover */
.treatment-card:hover .treatment-title {
    color: #fff !important;
}

.treatment-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Transition Utility */
.transition-all {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Info Section Styles --- */
.info-section {
    background-color: transparent;
    position: relative;
    z-index: 10;
    margin: 60px 0px;
}

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

.info-section .bg-dark {
    background-color: #1a1a1a !important;
    /* Slightly darker than secondary */
}

.info-section .bg-warning {
    background-color: var(--accent-color) !important;
}

.info-section .border-white-50 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Typography Overrides for this section */
.info-section h3 {
    font-size: 1.75rem;
}

.info-section .list-unstyled li {
    font-size: 0.95rem;
    font-weight: 500;
}

.info-section .btn-light {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.info-section .btn-light:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Team Section Styles --- */
.team-section {
    background-color: #fff;
}

.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img-wrapper {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #f0f0f0;
    /* Fallback/Placeholder bg */
}

/* Share Button */
.share-btn {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(58, 211, 177, 0.4);
    font-size: 1.2rem;
    z-index: 10;
}

.share-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
    color: #fff !important;
}

.team-card h4 {
    font-size: 1.25rem;
}

.team-section-label {
    color: var(--primary-color);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.team-img {
    height: 350px !important;
    /* Ensure priority over standard img styles if needed */
}

.team-role {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.quote-text {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Marquee Section Styles --- */
.marquee-section {
    overflow: hidden;
    background-color: #fff;
    white-space: nowrap;
    padding: 1rem 0;
}

.marquee-wrapper {
    overflow: hidden;
    display: flex;
}

.marquee-content {
    display: flex;
    animation: marquee 10s linear infinite;
    min-width: 100%;
}

.marquee-section:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    -webkit-text-stroke: 1px var(--secondary-color);
    color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 4rem;
    text-transform: capitalize;
}

.marquee-item:hover {
    color: var(--secondary-color);
    -webkit-text-stroke: 0px;
}

/* --- Appointment Section Styles --- */
.appointment-section {
    position: relative;
    /* Ensure stacking context */
}

.appointment-form-wrapper {
    position: relative;
    z-index: 2;
}

/* Form Input Focus Styles */
.appointment-form-wrapper .form-control:focus,
.appointment-form-wrapper .form-select:focus {
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(58, 211, 177, 0.25);
    /* Green Focus Ring */
    border: 1px solid var(--primary-color) !important;
}

.appointment-form-wrapper .form-control,
.appointment-form-wrapper .form-select {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.appointment-form-wrapper .form-control::placeholder {
    color: #999;
    font-weight: 400;
}

/* Floating Badge */
.appointment-image .icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    /* Yellow */
}

/* Responsive adjust for image */
@media (max-width: 991px) {
    .appointment-image {
        margin-bottom: 2rem;
        padding-right: 0 !important;
    }

    .appointment-image img {
        min-height: 300px !important;
    }
}

/* Opening Hours Background Image */
.opening-hours-bg {
    /* background-image: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&q=80&w=800'); */
    /* Medical/Clean Background */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    /* Blend with bg-primary */
}

/* Appointment Section Background */
.appointment-bg-section {
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    position: relative;
}

.appointment-bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(30, 30, 75, 0.7); */
    /* Dark blue overlay to make form pop */
    z-index: 1;
}

.appointment-section .container {
    position: relative;
    z-index: 2;
}

/* --- Case Studies Section --- */
.case-studies-section {
    background-color: #fff;
}

.case-studies-left-content {
    max-width: 500px;
}

.case-studies-section .row {
    min-height: 420px;
}

.case-left {
    background-color: var(--primary-color);
    color: #fff;
}

.case-left-inner {
    max-width: 520px;
}

.case-right {
    background-color: #062d2c;
    /* Dark teal, similar to reference */
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay on right side */
.case-right::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.06) 0, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.04) 0, transparent 55%);
    pointer-events: none;
}

.case-testimonial {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.case-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    background-color: #fff;
}

.case-quote {
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .case-studies-section .row {
        min-height: auto;
    }

    .case-left-inner {
        padding: 3rem 2rem;
    }

    .case-quote {
        font-size: 1rem;
    }
}

/* --- Latest Blog Articles Section --- */
.latest-blogs-section {
    background-color: #f6fbff;
}

.latest-blogs-kicker {
    color: var(--primary-color);
    letter-spacing: 1px;
}

.latest-blogs-more-btn {
    border-radius: 999px !important;
    white-space: nowrap;
}

.latest-blogs-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--secondary-color);
    font-size: 1rem;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(5, 31, 69, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(5, 31, 69, 0.12);
}

.blog-card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.blog-card-img-wrapper img {
    transition: transform 0.5s ease;
}

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

.blog-card-body {
    padding: 1.75rem 1.9rem 1.9rem;
}

.blog-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.blog-meta-divider {
    width: 1px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.08);
}

.blog-read-more {
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--secondary-color);
}

.blog-read-more-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
}

.blog-read-more:hover {
    color: var(--primary-color);
}


/* --- Footer Section --- */
.footer-section {
    background-color: #191508;
    color: #e9e9e9;
    font-size: 0.9rem;
}

.footer-main {
    background-color: #191508;
}

.footer-bottom {
    background-color: #20c7aa;
}

.footer-bottom-text {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.footer-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #20c7aa;
    color: #ffffff;
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9f9f9f;
}

.footer-text {
    font-size: 0.85rem;
    color: #b8b8b8;
}

.footer-newsletter .footer-input {
    background-color: transparent;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 0;
    padding-right: 40px;
    font-size: 0.85rem;
    color: #ffffff;
}

.footer-newsletter .footer-input::placeholder {
    color: #7e7e7e;
}

.footer-newsletter .footer-input:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: transparent;
}

.footer-input-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1f1b0e;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.footer-cta-btn {
    border-radius: 999px !important;
    padding-inline: 1.4rem;
    padding-block: 0.75rem;
    font-size: 0.85rem;
    width: 260px;
    max-width: 100%;
}

.footer-cta-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #1a1a40;
    font-weight: 700;
}

.footer-heading {
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    color: var(--accent-color);
}

.footer-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
    color: #bfbfbf;
}

.footer-list-item i {
    font-size: 0.95rem;
    margin-top: 0.15rem;
    color: var(--primary-color);
}

.footer-list-item span {
    font-size: 0.85rem;
}

.footer-menu ul.menu {
    padding-left: 0;
    list-style: none;

}

.footer-menu ul.menu li {
    margin-bottom: 0.4rem;
}

.footer-menu ul.menu a {
    color: #bfbfbf;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-menu ul.menu a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.offcanvas-header .custom-logo {
    max-width: 70%;
    height: auto;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
    .footer-section {
        text-align: left;
    }

    .footer-main .row>div:not(:first-child) {
        margin-top: 0.5rem;
    }
}

/*------------------------------------------
-------------DEPARTMENT PAGE----------------
-------------------------------------------*/
/* Section Background */
.about-page-hero {
    background-color: var(--light-green);
    /* light grey background */
    padding: 60px 0;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Title */
.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e1b4b;
    /* dark navy */
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

/* Breadcrumb Box */
.breadcrumb-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(90deg, #6d28d9, #7c3aed);
    font-size: 16px;
    font-weight: 500;
}

/* Breadcrumb Links */
.breadcrumb-wrapper a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb-wrapper a:hover {
    opacity: 0.8;
}

/* Separator */
.separator {
    color: #ffffff;
}

/* Active Page */
.breadcrumb-wrapper .active {
    color: #ffffff;
    font-weight: 600;
}

/* Home Icon */
.home-icon {
    margin-right: 6px;
}


/* --- Service Detail Page Styles --- */
.service-detail-section {
    background-color: #fff;
}

.service-featured-img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-featured-img img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-featured-img:hover img {
    transform: scale(1.03);
}

.benefit-box {
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.benefit-box:hover {
    background-color: #fff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-benefits-list li span {
    color: var(--secondary-color);
}

/* Sidebar Styling */
/* Sidebar Card */
.service-sidebar .sidebar-widget {
    border-radius: 20px;
    padding: 30px;
}

/* Remove Default Menu Styling */
.service-sidebar .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Space Between Items */
.service-sidebar .menu li {
    margin-bottom: 15px;
}

/* Menu Link Base Style */
.service-sidebar .menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: #f2f4f7;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #0f172a;
    transition: all 0.3s ease;
    position: relative;
}

/* Add Chevron Arrow */
.service-sidebar .menu li a::after {
    content: "\f285";
    /* Bootstrap Icons chevron-right */
    font-family: "bootstrap-icons";
    font-size: 14px;
    transition: 0.3s ease;
}

/* Hover Effect = Active Effect */
.service-sidebar .menu li a:hover,
.service-sidebar .menu li.current-menu-item a,
.service-sidebar .menu li.current_page_item a {
    background: #2bbf9b;
    color: #ffffff;
}

/* Arrow Color on Hover & Active */
.service-sidebar .menu li a:hover::after,
.service-sidebar .menu li.current-menu-item a::after,
.service-sidebar .menu li.current_page_item a::after {
    color: #ffffff;
}

/* Smooth Hover Movement */
.service-sidebar .menu li a:hover {
    transform: translateX(4px);
}

/* Remove Last Item Margin */
.service-sidebar .menu li:last-child {
    margin-bottom: 0;
}

.service-sidebar .widget_text {
    background-color: #1a1a40 !important;
}


/* --- Oncology Accordion Styles --- */
.oncology-custom-accordion .accordion-item {
    border-color: #e9ecef !important;
}

.oncology-custom-accordion .accordion-button {
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.oncology-custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    /* Purple color from screenshot */
    background-color: transparent;
    box-shadow: none;
}

.oncology-custom-accordion .accordion-button::after {
    content: '+';
    background-image: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.oncology-custom-accordion .accordion-button:not(.collapsed)::after {
    content: '\2212';
    /* Minus sign */
    color: var(--primary-color);
    transform: none;
}

.oncology-custom-accordion .accordion-body {
    line-height: 1.8;
}

.single-department .col-lg-8 p,
.single-treatment .col-lg-8 p {
    text-align: justify;
}

/* Three Column About us */
.oncology-team-section {
    padding: 100px 0;
    background-color: #fff;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 60px;
}

.section-header h2 span.italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.experience-card {
    padding-right: 30px;
}

.experience-number {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
}

.experience-title {
    font-weight: 700;
}

.experience-desc {
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.btn-read-more {
    background-color: var(--accent-color);
    color: #0a2e24;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-read-more:hover {
    background-color: #0a2e24;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-read-more i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
}

.center-image-container {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.center-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.side-info-card {
    padding-left: 30px;
}

.side-info-title {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.side-info-desc {
    line-height: 1.8;
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .section-header h2 {
        font-size: 2.5rem;
    }

    .experience-number {
        font-size: 7rem;
    }

    .side-info-card {
        padding-left: 0;
        padding-top: 40px;
    }

    .experience-card {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

/* ******************* 
MEDIA PAGE
********************** */
.video-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.header-content {
    flex: 1;
}

.label {
    text-transform: capitalize;
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #1e3a5a;
    /* Matching the dark blue in image */
}

.cta-button {
    display: flex;
    align-items: center;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50px;
    padding: 10px 28px 10px 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(43, 103, 159, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #245585;
}

.plus-icon {
    background-color: white;
    color: var(--primary-blue);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    font-size: 22px;
    font-weight: bold;
}

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

.video-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    position: relative;
}

.video-card video {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    display: block;
    background: #000;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cta-button {
        align-self: flex-start;
    }
}

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

    .title {
        font-size: 28px;
    }
}

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

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-bg);
    opacity: 0;
    transition: opacity var(--transition-speed);
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.plus-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content img,
.lightbox-content iframe {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

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

/*******************
     CONTACT US
********************/
.contact-form {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.contact-form h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #0a2e24;
    margin-bottom: 10px;
}

.contact-form .subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.8rem;
    color: #0a2e24;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #2fb996;
    flex-shrink: 0;
}

.contact-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
}

.contact-text span {
    display: block;
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
}

.appointment-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: none;
}

.form-control,
.form-select {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: #2fb996;
}

.btn-book {
    background-color: #f1d971;
    color: #0a2e24;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-book:hover {
    background-color: #0a2e24;
    color: #fff;
}

.btn-book .plus-icon {
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

    .contact-form h2 {
        font-size: 2.2rem;
    }

    .contact-form .subtitle {
        font-size: 2rem;
    }

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

/*****************************
    BLOG ARCHIVE / HOME.PHP
******************************/
.blog-card {
    border: none;
    background: transparent;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
    padding: 10px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.blog-card .card-img-top {
    border-radius: 20px;
    height: 250px;
    object-fit: cover;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.blog-meta i {
    color: var(--primary-teal);
    margin-right: 5px;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.blog-title:hover {
    color: var(--primary-teal);
}

.blog a.read-more-button {
    background: #f7d55e;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #282828;
}

.blog .read-more-button:hover {
    background: #3ad3b1;
    color: #fff;
}


/* Scoped styles starting with .details-post */
.details-post {
    padding: 50px 0;
    font-family: 'Inter', sans-serif;
}

.details-post .featured-img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 25px;
}

.details-post .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 600;
}

.details-post .post-meta span {
    display: flex;
    align-items: center;
}

.details-post .post-meta i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1rem;
}

.details-post .post-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.details-post .post-content h2 {
    font-weight: 700;
    margin: 40px 0 25px;
    color: var(--text-dark);
}

.details-post .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.details-post .feature-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.details-post .feature-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.details-post .quote-block {
    background-color: #1a1a10;
    color: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    position: relative;
    margin: 40px 0;
    overflow: hidden;
}

.details-post .quote-block p {
    font-size: 1.15rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    line-height: 1.8;
    opacity: 0.9;
}

.details-post .quote-block .author {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.details-post .quote-block::after {
    content: "\f207";
    /* Bootstrap Icon Quote character or similar if using font-face, but better use a background icon or pseudo */
    font-family: "bootstrap-icons";
    position: absolute;
    bottom: -10px;
    right: 20px;
    font-size: 150px;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* Sidebar Sidebar Widgets */
.details-post .sidebar {
    padding-left: 30px;
}

.details-post .widget {
    margin-bottom: 50px;
}

.details-post .widget-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    color: var(--text-dark);
}

.details-post .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Search Widget */

.details-post .sidebar {
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-radius: 10px;
}

.details-post .search-box {
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.details-post .search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    background-color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.details-post .search-box input:focus {
    border-color: var(--primary-color);
}

.details-post .search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
}

/* Recent Posts */
.details-post .recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.details-post .recent-post-item img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.details-post .recent-post-item .info h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
    color: var(--text-dark);
    transition: color 0.3s;
}

.details-post .recent-post-item .info h6 a {
    text-decoration: none;
    color: inherit;
}

.details-post .recent-post-item .info h6:hover {
    color: var(--primary-color);
}

.details-post .recent-post-item .info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

/* Categories */
.details-post .category-list {
    list-style: none;
    padding: 0;
}

.details-post .category-list li {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.details-post .category-list li:last-child {
    border-bottom: none;
}

.details-post .category-list a {
    justify-content: space-between;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

.details-post .category-list a:hover {
    color: var(--primary-color);
}

.details-post .category-list .count {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.9rem;
}

/* Popular Tags */
.details-post .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.details-post .tag-cloud a {
    padding: 10px 22px;
    background-color: #f1f8f6;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.details-post .tag-cloud a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .details-post .sidebar {
        padding-left: 0;
        margin-top: 60px;
    }
}


.flatpickr-day.today {
    border: none;
    background: transparent !important;
    color: rgba(0, 0, 0, 0.1) !important;
    pointer-events: none !important;
    cursor: not-allowed;
}

.cta-medical-body {
    margin: 0;
    padding: 60px 0px 0px 0;
    color: #102a5e;

}

.cta-medical-section {
    padding: 20px;
}

.cta-service-card {
    background-color: var(--cta-card-bg);
    border-radius: 40px;
    padding: 50px 40px;
    position: relative;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* The Notch Trick: A radial gradient that cuts out the top right corner */
    background: #f4f4ff;
    border: none;
}

.cta-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 42, 94, 0.08);
}

.cta-card-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-color: #f4f4ff;
    border-radius: 0 40px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-number-inner {
    width: 50px;
    height: 50px;
    background: #f7d55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.cta-service-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #102a5e;
}

.cta-divider {
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin: 25px 0;
}

.cta-service-description {
    color: var(--cta-secondary-text);
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 80%;
}

.cta-service-icon {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #102a5e;
}

.cta-service-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.cta-service-icon img {
    width: 60px;
}

/****************************
      SINGLE DOCTOR PAGE
****************************/
/* Profile Sidebar */
.doctor-details .profile-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: none;
    position: sticky;
    top: 10rem;
}

.doctor-details .profile-img-container {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #f0f4f8;
}

.doctor-details .profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-details .profile-info {
    padding: 2rem;
}

.doctor-details .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 14px;
}

.doctor-details .info-item i {
    color: #00a69c;
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.doctor-details .social-links {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.doctor-details .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2e24;
    text-decoration: none;
    transition: all 0.3s ease;
}

.doctor-details .social-icon:hover {
    background: #00a69c;
    color: #fff;
    transform: translateY(-3px);
}

/* Main Content */
.doctor-details .section-title {
    color: #1a2e24;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
}

.doctor-details .skill-item {
    margin-bottom: 2rem;
}

.doctor-details .skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 15px;
}

.doctor-details .progress {
    height: 6px;
    border-radius: 3px;
    overflow: visible;
}

.doctor-details .progress-bar {
    position: relative;
    border-radius: 3px;
}

/* Experience Checklist */
.doctor-details .check-list {
    list-style: none;
    padding: 0;
}

.doctor-details .check-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.doctor-details .check-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2rem;
}

/* Service Cards */
.doctor-details .service-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.doctor-details .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.doctor-details .service-number {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 4rem;
    font-weight: 800;
    opacity: 0.05;
    color: #1a2e24;
    z-index: 1;
}

.doctor-details .service-icon {
    width: 50px;
    height: 50px;
    border: 1px dashed #00a69c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.doctor-details .service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Form Card */
.doctor-details .appointment-box {
    background: #fff;
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid #e6f7f6;
    margin-top: 4rem;
}

.doctor-details .form-label-custom {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #00a69c;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.doctor-details .appointment-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: #1a2e24;
}

.doctor-details .appointment-title .accent-font {
    font-size: 3.5rem;
    color: #1a2e24;
    display: inline-block;
}

.doctor-details .form-control,
.doctor-details .form-select {
    border: 1px solid #e2e8f0;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1a2e24;
}

.doctor-details .form-control:focus,
.doctor-details .form-select:focus {
    box-shadow: none;
    border-color: #00a69c;
}

.doctor-details .btn-appointment {
    background-color: #f4d76f;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.doctor-details .btn-appointment:hover {
    background-color: #f1cc4a;
    transform: scale(1.02);
}

.doctor-details .section-title {
    text-align: start;
}

.doctor-details .col-lg-8 p {
    text-align: justify;
}

.doctor-details .btn-appointment .plus-icon {
    background: rgba(0, 0, 0, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .doctor-details .profile-card {
        position: relative;
        top: 0;
        margin-bottom: 3rem;
    }

    .doctor-details .appointment-title {
        font-size: 2.2rem;
    }

    .doctor-details .appointment-title .accent-font {
        font-size: 2.5rem;
    }
}

/* --- Team Variants Layout 2 Styles --- */
.specialists-appointment-section .text-dark-blue {
    color: var(--secondary-color) !important;
}

.specialists-appointment-section .text-primary-green {
    color: var(--primary-color) !important;
}

.specialists-appointment-section .specialist-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.specialists-appointment-section .specialist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08) !important;
}

.specialists-appointment-section .specialist-img-wrap img {
    border-radius: 8px !important;
}

.specialists-appointment-section .btn-specialist {
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(58, 211, 177, 0.2) !important;
}

.specialists-appointment-section .specialist-link {
    width: 20px;
    height: 2px;
    background-color: #d1d5db;
    top: 30% !important;
    left: -10px;
    z-index: 0;
}

.specialists-appointment-section .appointment-form-wrapper {
    background-color: #f1f4f9;
    /* Light blueish gray backing from image */
    padding: 1.5rem !important;
    min-height: 480px;
}

.specialists-appointment-section .appointment-bg {
    background: radial-gradient(circle at top right, rgba(234, 244, 240, 1) 0%, rgba(220, 235, 228, 0.2) 60%);
    border-radius: inherit;
    overflow: hidden;
}

.specialists-appointment-section .appointment-bg::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #e4efe9;
    border-radius: 50%;
    top: -50px;
    right: -100px;
    z-index: 0;
}

.specialists-appointment-section .appointment-bg::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(181, 215, 203, 0.4);
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
    z-index: 0;
}

.specialists-appointment-section .appointment-card-inner {
    max-width: 450px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.specialists-appointment-section .custom-placeholder::placeholder {
    color: #9ea5ac;
    font-weight: 500;
}

.specialists-appointment-section .custom-select {
    color: #495057;
}

.specialists-appointment-section .bg-primary-green {
    background-color: var(--primary-color) !important;
}

.specialists-appointment-section .floating-submit-icon {
    width: 42px;
    height: 42px;
    bottom: -15px;
    right: -10px;
    z-index: 5;
    background-color: var(--primary-color);
}