/* ============================================
   CarePlus Hospital - Premium Medical Theme
   Version: 1.0.0
   Author: CarePlus Development Team
   ============================================ */

/* ==========================================
   CSS Variables / Design Tokens
   ========================================== */
:root {
    /* Primary Colors */
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-light: #e8f4fd;
    
    /* Secondary Colors */
    --secondary-color: #6c757d;
    --accent-color: #00b4d8;
    --sky-blue: #87ceeb;
    
    /* Dark Blue */
    --dark-blue: #1a365d;
    --navy-blue: #2c3e50;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #212529;
    
    /* Status Colors */
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #0dcaf0;
    --purple: #6f42c1;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13, 110, 253, 0.95) 0%, rgba(26, 54, 93, 0.9) 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 15px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Shadows */
    --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.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 12px 40px rgba(13, 110, 253, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   Base Styles & Reset
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================
   Emergency Banner Styles
   ========================================== */
.emergency-banner {
    position: relative;
    z-index: 1050;
    font-size: 0.9rem;
}

.emergency-banner a:hover {
    opacity: 0.85;
}

/* ==========================================
   Header & Navigation Styles
   ========================================== */
.main-header {
    z-index: 1040;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 15px 0;
    transition: var(--transition-normal);
}

.navbar-brand .logo-icon i {
    font-size: 2rem;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    padding: 10px 18px !important;
    font-weight: 500;
    color: var(--dark-gray) !important;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.btn-appointment {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.search-toggle {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Bar */
.search-bar-container {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input {
    border-radius: 50px;
    border: 2px solid var(--light-gray);
    padding-left: 25px;
}

.search-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.search-form button {
    border-radius: 50px;
    padding: 0 30px;
}

/* ==========================================
   Hero Section Styles
   ========================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1920&h=1080&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.min-vh-75 {
    min-height: 70vh;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-accent {
    color: var(--sky-blue);
}

.hero-description {
    font-size: 1.15rem;
    max-width: 520px;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 600;
}

.hero-stats {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.stat-item small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image {
    border-radius: var(--radius-xl);
    max-width: 480px;
    margin: 0 auto;
    display: block;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.card-icon i {
    font-size: 1.2rem;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ==========================================
   Quick Services Section
   ========================================== */
.quick-services {
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.service-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.service-icon-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: var(--transition-normal);
}

.service-icon-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.icon-wrapper i {
    font-size: 1.8rem;
}

/* ==========================================
   Section Common Styles
   ========================================== */
.section-padding {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 50px;
}

.section-header .badge {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* ==========================================
   Why Choose Us Section
   ========================================== */
.why-choose-us .main-image {
    border-radius: var(--radius-xl);
    max-width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    text-align: center;
    min-width: 130px;
}

.experience-badge h2 {
    color: var(--white);
    font-size: 2.8rem;
}

.experience-badge p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.floating-element {
    position: absolute;
    bottom: 30px;
    left: -20px;
    max-width: 220px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.3rem;
}

.feature-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.85rem;
    margin: 0;
}

/* ==========================================
   Departments Section
   ========================================== */
.department-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.department-icon {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-normal);
}

.department-card:hover .department-icon {
    transform: scale(1.1) rotate(5deg);
}

.department-icon i {
    font-size: 2rem;
    color: var(--white);
}

.bg-gradient-1 { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.bg-gradient-2 { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.bg-gradient-3 { background: linear-gradient(135deg, #3498db, #2980b9); }
.bg-gradient-4 { background: linear-gradient(135deg, #1abc9c, #16a085); }
.bg-gradient-5 { background: linear-gradient(135deg, #e91e63, #c2185b); }
.bg-gradient-6 { background: linear-gradient(135deg, #ff9800, #f57c00); }

.department-card h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.department-card p {
    font-size: 0.9rem;
}

/* ==========================================
   Doctors Section
   ========================================== */
.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.doctor-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1.1;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.doctor-card:hover .doctor-img {
    transform: scale(1.05);
}

.doctor-social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.doctor-card:hover .doctor-social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.doctor-info {
    text-align: center;
}

.doctor-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.doctor-info .text-primary {
    font-weight: 500;
}

/* ==========================================
   Health Packages Section
   ========================================== */
.package-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.package-card.popular {
    transform: scale(1.05);
    border: 3px solid var(--dark-blue);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--danger);
    color: var(--white);
    padding: 5px 45px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.package-header {
    padding: 30px;
}

.package-header h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.package-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.package-price sup {
    font-size: 1.2rem;
    top: -1em;
}

.package-price sub {
    font-size: 0.9rem;
    bottom: 0;
}

.package-body {
    padding: 30px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--light-gray);
    font-size: 0.95rem;
}

.package-features li:last-child {
    border-bottom: none;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-rating i {
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    line-height: 1.8;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

/* ==========================================
   Blog Section
   ========================================== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-img {
    transition: var(--transition-slow);
}

.blog-card:hover .blog-img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-meta small {
    font-size: 0.82rem;
}

.blog-title a {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.5;
    display: block;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   Insurance Partners Section
   ========================================== */
.partner-logo {
    transition: var(--transition-normal);
    cursor: pointer;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-logo i {
    transition: var(--transition-normal);
}

.partner-logo:hover i {
    transform: scale(1.2);
}

/* ==========================================
   Newsletter Section
   ========================================== */
.newsletter-section {
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
}

.newsletter-form input {
    min-width: 280px;
    border-radius: 50px;
    border: none;
    padding: 15px 25px;
}

.newsletter-form button {
    border-radius: 50px;
    white-space: nowrap;
}

/* ==========================================
   Footer Styles
   ========================================== */
.main-footer {
    position: relative;
}

.footer-brand span {
    font-size: 1.5rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    font-size: 0.92rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--white);
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-btn:hover {
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    margin-top: 30px;
}

.footer-bottom a:hover {
    color: var(--white) !important;
}

/* ==========================================
   WhatsApp Floating Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================
   Page Header (Inner Pages)
   ========================================== */
.page-header {
    background: var(--gradient-dark);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1920&h=400&fit=crop') center/cover;
    opacity: 0.15;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    justify-content: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   About Page Specific Styles
   ========================================== */
.about-intro-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.mission-vision-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
    border-left: 4px solid var(--primary-color);
}

.mission-vision-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.mission-vision-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-vision-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.team-member-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-member-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.award-badge {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.award-badge:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.award-badge i {
    font-size: 2.5rem;
    color: var(--warning);
}

/* ==========================================
   Doctors Page Specific Styles
   ========================================== */
.doctor-filter-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.filter-select {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.doctor-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-wrap: wrap;
}

.doctor-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.doctor-detail-img-wrapper {
    flex: 0 0 250px;
    max-width: 250px;
}

.doctor-detail-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.doctor-detail-info {
    flex: 1;
    padding: 25px;
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.specialty-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==========================================
   Services Page Specific Styles
   ========================================== */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-detail-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.service-features-list {
    list-style: none;
    padding: 0;
}

.service-features-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--light-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-features-list li:last-child {
    border-bottom: none;
}

.service-features-list li i {
    color: var(--success);
    font-size: 0.9rem;
}

/* ==========================================
   Appointment Page Specific Styles
   ========================================== */
.appointment-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.appointment-header {
    background: var(--gradient-primary);
    padding: 35px;
    color: var(--white);
}

.appointment-body {
    padding: 40px;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 15px;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.appointment-sidebar {
    background: var(--off-white);
    padding: 35px;
    border-radius: var(--radius-lg);
}

.sidebar-info-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.sidebar-info-item:last-child {
    border-bottom: none;
}

.sidebar-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-info-icon i {
    color: var(--white);
    font-size: 1.1rem;
}

/* ==========================================
   Departments Page Specific Styles
   ========================================== */
.department-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.department-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.department-detail-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.department-detail-body {
    padding: 25px;
}

.department-doctors-list {
    list-style: none;
    padding: 0;
}

.department-doctors-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--light-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.department-doctors-list li:last-child {
    border-bottom: none;
}

.doctor-mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

/* ==========================================
   Contact Page Specific Styles
   ========================================== */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ==========================================
   Blog Page Specific Styles
   ========================================== */
.blog-filter-tabs {
    background: var(--white);
    border-radius: 50px;
    padding: 8px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    gap: 5px;
}

.blog-filter-btn {
    padding: 10px 25px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.blog-filter-btn.active,
.blog-filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.blog-search-box {
    position: relative;
}

.blog-search-box input {
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    padding: 15px 50px 15px 25px;
}

.blog-search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    color: var(--white);
}

/* ==========================================
   Blog Details Page Specific Styles
   ========================================== */
.blog-details-hero {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.blog-details-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-details-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}

.blog-author-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: center;
}

.blog-author-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.comment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.related-post-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-post-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-count {
    background: var(--light-gray);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gray);
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dashed var(--light-gray);
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-thumb {
    width: 80px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: var(--off-white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray);
    transition: var(--transition-fast);
}

.tag-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================
   Responsive Styles
   ========================================== */

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
    
    .hero-image {
        max-width: 380px;
        margin-top: 40px;
    }
    
    .floating-card.card-1 {
        left: 0;
    }
    
    .floating-card.card-2 {
        right: 0;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        right: 10px;
        bottom: -10px;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .package-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .doctor-detail-card {
        flex-direction: column;
    }
    
    .doctor-detail-img-wrapper {
        max-width: 100%;
    }
    
    .doctor-detail-img {
        height: 250px;
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
    .emergency-banner {
        font-size: 0.8rem;
        text-align: center !important;
    }
    
    .emergency-banner .row > div {
        margin-bottom: 10px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .header-actions {
        margin-top: 15px;
        justify-content: center;
    }
    
    .hero-section {
        padding: 80px 0 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 300px;
    }
    
    .floating-card {
        display: none;
    }
    
    .quick-services {
        margin-top: 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .why-choose-us .row {
        flex-direction: column-reverse;
    }
    
    .experience-badge {
        position: relative;
        right: auto;
        bottom: auto;
        display: inline-block;
        margin-top: 20px;
    }
    
    .floating-element {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        min-width: 100%;
        width: 100%;
    }
    
    .footer-brand,
    .footer .text-center {
        text-align: center !important;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .appointment-body {
        padding: 25px;
    }
    
    .blog-details-hero {
        height: 300px;
    }
    
    .blog-author-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .service-icon-card {
        padding: 15px 10px;
    }
    
    .icon-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .icon-wrapper i {
        font-size: 1.4rem;
    }
    
    .department-card {
        padding: 25px 20px;
    }
    
    .department-icon {
        width: 70px;
        height: 70px;
    }
    
    .package-price {
        font-size: 2.5rem;
    }
    
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 80px;
        right: 15px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 15px;
        right: 15px;
    }
}

/* Print Styles */
@media print {
    .emergency-banner,
    .main-header,
    .whatsapp-float,
    .back-to-top,
    .newsletter-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    .hero-section {
        min-height: auto;
        background: none;
        padding: 20px 0;
    }
    
    .hero-overlay {
        display: none;
    }
}

/* Utility Classes */
.text-purple { color: var(--purple) !important; }
.bg-purple { background-color: var(--purple) !important; }
.bg-purple-10 { background-color: rgba(111, 66, 193, 0.1) !important; }

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}