/* style.css - Premium, responsive styling system for Ashakiran Skin & Urology Clinic */

/* -------------------------------------------------------------
   1. CORE VARIABLES & SETUP
------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Urology (Blue) */
    --color-blue-dark: #0f2d59;
    --color-blue-primary: #0066cc;
    --color-blue-secondary: #0088ff;
    --color-blue-light: #f0f7ff;
    
    /* Color Palette - Dermatology (Pink) */
    --color-pink-dark: #8c1d40;
    --color-pink-primary: #e63970;
    --color-pink-secondary: #ff6699;
    --color-pink-light: #fff0f5;

    /* Theme Neutrals & Accents */
    --color-dark: #1e293b;
    --color-light: #ffffff;
    --color-bg: #f8fafc;
    --color-gray: #64748b;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-error: #ef4444;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 20px 25px -5px rgba(15, 45, 89, 0.05), 0 8px 10px -6px rgba(15, 45, 89, 0.05);
    --shadow-pink: 0 20px 25px -5px rgba(230, 57, 112, 0.05), 0 8px 10px -6px rgba(230, 57, 112, 0.05);

    /* Border Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-blue-dark);
}

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

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

ul {
    list-style: none;
}

/* -------------------------------------------------------------
   2. REUSABLE COMPONENTS & UTILITIES
------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--color-pink-primary) 0%, var(--color-blue-primary) 100%);
}

.section-title p {
    color: var(--color-gray);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-blue {
    background-color: var(--color-blue-primary);
    color: var(--color-light);
}

.btn-blue:hover {
    background-color: var(--color-blue-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.btn-pink {
    background-color: var(--color-pink-primary);
    color: var(--color-light);
}

.btn-pink:hover {
    background-color: var(--color-pink-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 112, 0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-dark);
}

.btn-outline:hover {
    background-color: var(--color-blue-light);
    border-color: var(--color-blue-primary);
    color: var(--color-blue-primary);
    transform: translateY(-2px);
}

/* Specialty Pill/Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.badge-pink {
    background-color: var(--color-pink-light);
    color: var(--color-pink-primary);
}

.badge-blue {
    background-color: var(--color-blue-light);
    color: var(--color-blue-primary);
}

/* -------------------------------------------------------------
   3. HEADER & NAVIGATION
------------------------------------------------------------- */
.header-top {
    background-color: var(--color-blue-dark);
    color: var(--color-light);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 20px;
}

.header-top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-info svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.header-nav-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-nav-container.scrolled {
    padding: 6px 0;
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-text span.pink {
    color: var(--color-pink-primary);
}

.logo-text span.blue {
    color: var(--color-blue-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-blue-dark);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-pink-primary), var(--color-blue-primary));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Hamburger Toggler */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-blue-dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

/* -------------------------------------------------------------
   4. HERO SECTION
------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff0f5 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,57,112,0.08) 0%, transparent 70%);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,204,0.08) 0%, transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero-content {
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--color-blue-dark);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content h1 span.highlight-pink {
    background: linear-gradient(120deg, var(--color-pink-primary), var(--color-pink-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h1 span.highlight-blue {
    background: linear-gradient(120deg, var(--color-blue-primary), var(--color-blue-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Beautiful Interactive Graphic (PHP/CSS styled) */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.graphic-container {
    position: relative;
    width: 320px;
    height: 320px;
}

.circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(230, 57, 112, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
    animation: rotateCircle 20s linear infinite;
}

.graphic-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.graphic-card:hover {
    transform: scale(1.05);
    z-index: 20;
}

.card-derma {
    top: 10%;
    left: -10%;
    border-left: 4px solid var(--color-pink-primary);
    animation: float1 4s ease-in-out infinite;
}

.card-uro {
    bottom: 10%;
    right: -10%;
    border-left: 4px solid var(--color-blue-primary);
    animation: float2 4s ease-in-out infinite;
}

.card-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--color-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 2px solid var(--color-border);
}

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

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

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

/* -------------------------------------------------------------
   5. ABOUT SECTION (INTRO)
------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-blue-secondary);
}

.feature-box.pink:hover {
    border-color: var(--color-pink-secondary);
}

.feature-box h4 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.feature-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrapper.blue {
    background-color: var(--color-blue-light);
    color: var(--color-blue-primary);
}

.feature-icon-wrapper.pink {
    background-color: var(--color-pink-light);
    color: var(--color-pink-primary);
}

/* -------------------------------------------------------------
   6. SERVICES SECTION (CATEGORIZED DUAL THEME)
------------------------------------------------------------- */
.specialties-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.specialty-hero-card {
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--color-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 280px;
}

.specialty-hero-card.dermatology {
    background: linear-gradient(135deg, rgba(230, 57, 112, 0.85) 0%, rgba(140, 29, 64, 0.95) 100%), url('assets/skin_care_1.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: var(--shadow-pink);
}

.specialty-hero-card.urology {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(15, 45, 89, 0.95) 100%), url('assets/urology_anatomy.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: var(--shadow-premium);
}

.specialty-hero-card h3 {
    color: var(--color-light);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.specialty-hero-card p {
    opacity: 0.9;
    max-width: 380px;
}

.specialty-hero-card .bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    opacity: 0.15;
    color: var(--color-light);
}

.services-container-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-category-block {
    grid-column: span 1;
}

.services-category-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-category-title.derma {
    color: var(--color-pink-primary);
}

.services-category-title.uro {
    color: var(--color-blue-primary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.service-card.pink:hover {
    border-color: var(--color-pink-primary);
    box-shadow: var(--shadow-pink);
}

.service-card.blue:hover {
    border-color: var(--color-blue-primary);
    box-shadow: var(--shadow-premium);
}

.service-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card.pink h4 {
    color: var(--color-pink-primary);
}

.service-card.blue h4 {
    color: var(--color-blue-primary);
}

.service-card p {
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* -------------------------------------------------------------
   7. DOCTORS SECTION
------------------------------------------------------------- */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.doctor-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.doctor-card.pink:hover {
    box-shadow: var(--shadow-pink);
    border-color: var(--color-pink-light);
}

.doctor-card.blue:hover {
    box-shadow: var(--shadow-premium);
    border-color: var(--color-blue-light);
}

.doctor-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-pink-light) 100%);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.doctor-svg-placeholder {
    width: 140px;
    height: 140px;
    color: var(--color-blue-dark);
}

.doctor-card.pink .doctor-svg-placeholder {
    color: var(--color-pink-primary);
}

.doctor-card.blue .doctor-svg-placeholder {
    color: var(--color-blue-primary);
}

.doctor-specialty-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.doctor-info {
    padding: 30px;
}

.doctor-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.doctor-title {
    font-weight: 600;
    color: var(--color-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.doctor-qualifications {
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.doctor-qualifications li {
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-dark);
}

.doctor-qualifications svg {
    color: var(--color-success);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.doctor-action {
    display: block;
    width: 100%;
}

/* -------------------------------------------------------------
   8. WHY CHOOSE US
------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-blue-primary);
}

.why-card.pink:hover {
    border-color: var(--color-pink-primary);
    box-shadow: var(--shadow-pink);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.why-icon.blue {
    background-color: var(--color-blue-light);
    color: var(--color-blue-primary);
}

.why-icon.pink {
    background-color: var(--color-pink-light);
    color: var(--color-pink-primary);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* -------------------------------------------------------------
   9. APPOINTMENT FORM & PAGE
------------------------------------------------------------- */
.appointment-page-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: flex-start;
}

.appointment-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.appointment-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.appointment-card p {
    color: var(--color-gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-blue-dark);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231e293b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.appointment-info-sidebar {
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, #081e3a 100%);
    color: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.appointment-info-sidebar h3 {
    color: var(--color-light);
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-pink-secondary);
}

.contact-info-text h5 {
    color: var(--color-light);
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.contact-info-text a:hover {
    color: var(--color-pink-secondary);
}

/* -------------------------------------------------------------
   10. CONTACT PAGE & DIRECTORY
------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.map-container {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    position: relative;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.map-placeholder svg {
    color: var(--color-blue-primary);
    margin-bottom: 15px;
}

.map-placeholder h4 {
    font-size: 1.25rem;
    color: var(--color-blue-dark);
    margin-bottom: 5px;
}

.map-placeholder p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.hours-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-top: 30px;
    box-shadow: var(--shadow-sm);
}

.hours-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-blue-dark);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

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

.hours-list li span.closed {
    color: var(--color-error);
    font-weight: 600;
}

/* -------------------------------------------------------------
   11. CALL-TO-ACTION (CTA) SECTION
------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, #002244 100%);
    color: var(--color-light);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--color-light);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------
   12. FOOTER SECTION & FLOATING WIDGETS
------------------------------------------------------------- */
.footer {
    background-color: #0b1329;
    color: #94a3b8;
    padding: 70px 0 30px 0;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--color-light);
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--color-blue-secondary);
    border-radius: var(--radius-full);
}

.footer-col.derma-col h4::after {
    background-color: var(--color-pink-primary);
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-light);
    transform: translateX(4px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    color: var(--color-blue-secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-col.derma-col svg {
    color: var(--color-pink-primary);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: var(--color-light);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    z-index: 998;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--color-border);
}

.mobile-bottom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.mobile-bottom-btn.call {
    background-color: var(--color-blue-primary);
    color: var(--color-light);
}

.mobile-bottom-btn.book {
    background-color: var(--color-pink-primary);
    color: var(--color-light);
}

/* -------------------------------------------------------------
   13. ANIMATIONS
------------------------------------------------------------- */
@keyframes pulse {
    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);
    }
}

/* -------------------------------------------------------------
   13.5. BLOG SECTION & READERS
------------------------------------------------------------- */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    color: var(--color-gray);
    transition: var(--transition);
    cursor: pointer;
}

.blog-filter-btn:hover, .blog-filter-btn.active {
    background-color: var(--color-blue-primary);
    color: var(--color-light);
    border-color: var(--color-blue-primary);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.15);
}

.blog-filter-btn.active.pink {
    background-color: var(--color-pink-primary);
    color: var(--color-light);
    border-color: var(--color-pink-primary);
    box-shadow: 0 4px 10px rgba(230, 57, 112, 0.15);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.blog-card {
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.blog-card.derma:hover {
    box-shadow: var(--shadow-pink);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.blog-card-badge.derma {
    background-color: var(--color-pink-light);
    color: var(--color-pink-primary);
}

.blog-card-badge.uro {
    background-color: var(--color-blue-light);
    color: var(--color-blue-primary);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.blog-card-title {
    font-size: 1.25rem;
    color: var(--color-blue-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
    margin-top: auto;
}

.blog-read-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

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

.blog-read-more:hover {
    gap: 8px;
}

/* Single Blog Page styling */
.blog-post-container {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
    padding: 60px 0;
}

@media (max-width: 991px) {
    .blog-post-container {
        grid-template-columns: 1fr;
    }
}

.blog-post-main {
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
    .blog-post-main {
        padding: 24px;
    }
}

.blog-post-header {
    margin-bottom: 30px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-post-title {
    font-size: 2.25rem;
    color: var(--color-blue-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-post-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    height: 400px;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .blog-post-image {
        height: 250px;
    }
}

.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-dark);
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    color: var(--color-blue-dark);
    margin: 35px 0 15px 0;
}

.blog-post-content ul, .blog-post-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-post-content li {
    margin-bottom: 10px;
    list-style: disc;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--color-blue-primary);
    padding: 15px 20px;
    background-color: var(--color-blue-light);
    font-style: italic;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 30px 0;
}

.blog-post-content blockquote.derma {
    border-left-color: var(--color-pink-primary);
    background-color: var(--color-pink-light);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
    font-size: 1.25rem;
    color: var(--color-blue-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-blue-primary);
}

.sidebar-widget-title.derma::after {
    background-color: var(--color-pink-primary);
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
}

.recent-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-blue-dark);
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-title:hover {
    color: var(--color-blue-primary);
}

.recent-post-title.derma:hover {
    color: var(--color-pink-primary);
}

.recent-post-date {
    font-size: 0.75rem;
    color: var(--color-gray);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, #1e40af 100%);
    color: var(--color-light);
    text-align: center;
    border: none;
}

.sidebar-cta.derma {
    background: linear-gradient(135deg, var(--color-pink-dark) 0%, #9d174d 100%);
}

.sidebar-cta h4 {
    color: var(--color-light);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.sidebar-cta p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

/* -------------------------------------------------------------
   14. RESPONSIVE DESIGN MEDIA QUERIES
------------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-container-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .header-top {
        display: none;
    }

    .nav-wrapper {
        padding: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--color-light);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .header-btn {
        display: none; /* Hide header btn on mobile, use navigation menu link instead or bottom sticky */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin: 0 auto 25px auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-graphic {
        order: -1;
        margin-bottom: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .specialties-dual-grid {
        grid-template-columns: 1fr;
    }

    .services-container-grid {
        grid-template-columns: 1fr;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .appointment-page-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Floating & sticky bottom navigation active for mobile */
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .mobile-bottom-bar {
        display: grid;
    }
    
    body {
        padding-bottom: 65px; /* Prevent bottom content overlap */
    }
}

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

/* -------------------------------------------------------------
   17. PREMIUM GALLERY SECTION & LIGHTBOX MODAL
------------------------------------------------------------- */
.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    color: var(--color-blue-dark);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.gallery-filter-btn:hover {
    background-color: var(--color-blue-light);
    border-color: var(--color-blue-secondary);
    color: var(--color-blue-primary);
    transform: translateY(-2px);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--color-blue-primary) 0%, var(--color-blue-dark) 100%);
    color: var(--color-light);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-blue-light);
}

.gallery-card-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* Glassmorphism Category Badge */
.gallery-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-blue-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-card:hover .gallery-card-badge {
    background: var(--color-blue-primary);
    color: var(--color-light);
}

/* Elegant Text Overlay */
.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 45, 89, 0.9) 0%, rgba(15, 45, 89, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--color-light);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: 4px;
}

.gallery-card-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Premium Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 45, 89, 0.96); /* Dark Blue Overlay */
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    color: var(--color-light);
}

.lightbox-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-pink-primary) 0%, var(--color-pink-secondary) 100%);
    color: var(--color-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.lightbox-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--color-light);
    font-size: 2.25rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--color-pink-primary);
    transform: rotate(90deg);
}

/* Navigation Arrow Controls */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2010;
}

.lightbox-btn:hover {
    background: var(--color-blue-primary);
    color: var(--color-light);
    box-shadow: var(--shadow-premium);
}

.lightbox-btn.prev {
    left: -70px;
}

.lightbox-btn.next {
    right: -70px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsiveness for Gallery */
@media (max-width: 992px) {
    .lightbox-btn.prev {
        left: -10px;
        background: rgba(15, 45, 89, 0.8);
    }
    .lightbox-btn.next {
        right: -10px;
        background: rgba(15, 45, 89, 0.8);
    }
    .lightbox-content {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

