/* ============================================
   HEALTHCARE WEBSITE - PROFESSIONAL STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
    --primary-blue: #0077b6;
    --primary-dark: #005f8a;
    --secondary-blue: #00b4d8;
    --light-blue: #caf0f8;
    --medical-white: #ffffff;
    --health-green: #2d6a4f;
    --light-green: #95d5b2;
    --accent-teal: #0d9488;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-off-white: #fafbfc;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* WhatsApp Chat Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 28px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #333;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.375rem;
}

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transform: rotate(-5deg);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.625rem 1.125rem;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
    background: rgba(0, 119, 182, 0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--medical-white);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
    margin: 0;
}

.dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.dropdown a:hover {
    background: var(--primary-blue);
    color: white;
    padding-left: 1.75rem;
}

.dropdown-arrow {
    font-size: 0.75rem;
    margin-left: 4px;
}

.emergency-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.emergency-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 40%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
    color: var(--text-medium);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 119, 182, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid rgba(0, 119, 182, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 580px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    animation: fadeEffect 0.6s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary-blue);
    color: white;
}

.slider-arrow i {
    font-size: 1.25rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.slider-arrow:hover i {
    color: white;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(0, 119, 182, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

/* Quick Info Cards */
.quick-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 0;
    padding: 2rem 0;
    background: white;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 119, 182, 0.1);
}

.info-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(13, 148, 136, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--light-blue), rgba(255, 255, 255, 0.8));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 14px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--light-green), #b7e4c7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--health-green);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: var(--border-radius);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   DOCTORS SECTION
   ============================================ */
.doctors {
    background: var(--bg-light);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.doctor-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.doctor-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-blue), white);
}

.doctor-info {
    padding: 1.75rem;
    text-align: center;
}

.doctor-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.doctor-specialty {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.doctor-experience {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.doctor-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-light);
    color: var(--primary-blue);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.doctor-btn:hover {
    background: var(--primary-blue);
    color: white;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: linear-gradient(135deg, #0077b6, #0d9488);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: white;
    position: relative;
}

.testimonials p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.75rem;
    color: white;
    font-size: 1.05rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, white, var(--light-blue));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.testimonial-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ============================================
   APPOINTMENT SECTION
   ============================================ */
.appointment {
    background: var(--bg-light);
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.appointment-info h2 {
    margin-bottom: 1.5rem;
}

.appointment-info>p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.appointment-features {
    margin-top: 2.5rem;
}

.appointment-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.appointment-icon {
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.appointment-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.appointment-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.appointment-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;

    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.35);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 119, 182, 0.45);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog {
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
}

.blog-content {
    padding: 1.75rem;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--light-blue), rgba(0, 180, 216, 0.15));
    color: var(--primary-blue);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info>p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.375rem;
    font-size: 1.05rem;
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-map {
    margin-top: 2.5rem;
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    background: var(--light-blue);
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form .submit-btn {
    margin-top: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 6px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 160px 0 70px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary-blue);
    font-weight: 500;
}

.breadcrumb span {
    color: var(--text-light);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-page {
    background: white;
}

.service-detail-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-detail-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
}

.service-detail-content {
    padding: 2.5rem;
}

.service-detail-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-detail-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
}

.service-book-btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.service-book-btn:hover {
    background: var(--accent-teal);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   DOCTORS PAGE
   ============================================ */
.doctors-page {
    background: var(--bg-light);
}

.doctor-detail-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 320px 1fr;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.doctor-detail-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-blue), white);
}

.doctor-detail-info {
    padding: 2.5rem;
}

.doctor-detail-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.doctor-detail-info .specialty {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.doctor-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.75rem 0;
    padding: 1.75rem;
    background: var(--bg-light);
    border-radius: 14px;
}

.doctor-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.doctor-detail-item i {
    color: var(--primary-blue);
}

.doctor-detail-item span {
    color: var(--text-medium);
}

.doctor-detail-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.doctor-detail-btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.35);
}

.doctor-detail-btn:hover {
    background: var(--accent-teal);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page {
    background: white;
}

.blog-post {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-post-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
}

.blog-post-content {
    padding: 3rem;
}

.blog-post-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.blog-post-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.75rem;
    color: var(--text-medium);
}

.blog-post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

/* ============================================
   MESSAGES
   ============================================ */
.success-message {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.error-message {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .appointment-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-detail-card {
        grid-template-columns: 1fr;
    }

    .doctor-detail-image {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 1.75rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .blog-post-image {
        height: 280px;
    }

    .blog-post-content {
        padding: 2rem;
    }

    .doctor-details {
        grid-template-columns: 1fr;
    }

    .service-detail-content {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .appointment-form,
    .contact-form {
        padding: 2rem;
    }
}