:root {
    --primary: #0f172a; /* Deep Slate */
    --secondary: #0284c7; /* Vibrant Sky Blue */
    --accent: #38bdf8;
    --dark: #020617;
    --light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
}

body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
}

/* Utilities */
.bg-primary-custom { background-color: var(--primary); }
.text-primary-custom { color: var(--primary); }
.bg-secondary-custom { background-color: var(--secondary); color: white; }
.text-secondary-custom { color: var(--secondary); }
.bg-light-custom { background-color: var(--light); }
.bg-dark-custom { background-color: var(--dark); }

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

.section-title { position: relative; padding-bottom: 20px; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 80px; height: 4px; background: var(--secondary); border-radius: 2px; }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }

.shadow-hover { transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.shadow-hover:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

/* Top Bar */
.top-bar { background-color: var(--dark); color: #cbd5e1; font-size: 0.875rem; padding: 0.6rem 0; border-bottom: 1px solid #1e293b; }
.top-bar a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: var(--accent); }

/* Navbar */
.navbar { padding: 1.2rem 0; transition: all 0.3s ease; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.95) !important; backdrop-filter: blur(10px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.nav-link { font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.5rem 1rem !important; transition: color 0.3s; }
.nav-link:hover { color: var(--secondary) !important; }

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?q=80&w=1600&auto=format&fit=crop') center/cover fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}
.hero-section-alt {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(2, 132, 199, 0.8) 100%), url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?q=80&w=1600&auto=format&fit=crop') center/cover;
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quick-link-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    padding: 1.2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.quick-link-box i { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--accent); transition: transform 0.3s; }
.quick-link-box:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.5); color: white;}
.quick-link-box:hover i { color: white; transform: scale(1.1); }

/* Buttons */
.btn-custom-primary { background-color: var(--secondary); color: white; border: none; border-radius: 50px; padding: 0.8rem 2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.4); }
.btn-custom-primary:hover { background-color: #0369a1; color: white; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.5); }
.btn-custom-outline { background-color: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); border-radius: 50px; padding: 0.8rem 2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; }
.btn-custom-outline:hover { background-color: white; color: var(--primary); border-color: white; }

/* Cards */
.custom-card { border: 1px solid #f1f5f9; border-radius: 1.5rem; overflow: hidden; background: white; height: 100%; display: flex; flex-direction: column; }
.card-img-top-custom { height: 260px; object-fit: cover; width: 100%; transition: transform 0.5s ease; }
.custom-card:hover .card-img-top-custom { transform: scale(1.05); }
.custom-card .card-body { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; background: white; position: relative; z-index: 2; }
.btn-link-custom { color: var(--secondary); font-weight: 700; text-decoration: none; padding: 0; display: inline-flex; align-items: center; gap: 0.5rem; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; margin-top: auto; }
.btn-link-custom i { transition: transform 0.3s; }
.custom-card:hover .btn-link-custom i { transform: translateX(5px); }

/* Doctor Image */
.doctor-img { height: 400px; object-fit: cover; width: 100%; object-position: top; }

/* Facilities */
.facility-card { border-radius: 1.5rem; overflow: hidden; position: relative; height: 350px; cursor: pointer; }
.facility-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.facility-card:hover .facility-img { transform: scale(1.1); }
.facility-overlay { position: absolute; inset: 0; padding: 2rem; background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 50%, transparent 100%); color: white; display: flex; flex-direction: column; justify-content: flex-end; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: 1.5rem; overflow: hidden; height: 280px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-item:hover img { transform: scale(1.1) rotate(1deg); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 132, 199, 0.9), rgba(15, 23, 42, 0.4)); opacity: 0; transition: all 0.4s ease; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; transform: translateY(20px); }
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }

/* Testimonials */
.testimonial-card { background: white; border-radius: 1.5rem; padding: 2.5rem; position: relative; z-index: 1; border: 1px solid #f1f5f9; height: 100%; display: flex; flex-direction: column; }
.quote-icon { position: absolute; top: 1.5rem; right: 2rem; font-size: 4rem; color: #f1f5f9; z-index: -1; line-height: 1; }
.client-img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 4px solid var(--light); box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-right: 1rem; }
.stars { color: #fbbf24; font-size: 1.2rem; margin-bottom: 1rem; }

/* Call Banner in Appointment */
.call-banner { background: white; border-radius: 1.5rem; padding: 1.5rem; display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; box-shadow: 0 10px 25px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.call-icon-wrapper { width: 65px; height: 65px; background: #dcfce7; color: #166534; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }

/* Modals */
.modal-content { border-radius: 1.5rem; border: none; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.modal-header { border-bottom: 1px solid #f1f5f9; padding: 2rem 2.5rem 1.5rem; }
.modal-body { padding: 2.5rem; }
.modal-footer { border-top: 1px solid #f1f5f9; padding: 1.5rem 2.5rem; }
.btn-close { background-color: var(--light); border-radius: 50%; padding: 0.8rem; opacity: 1; transition: background-color 0.3s; }
.btn-close:hover { background-color: #e2e8f0; }
.modal-image { width: 100%; height: 350px; object-fit: cover; border-radius: 1rem; margin-bottom: 2rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.modal-body p { line-height: 1.8; color: #475569; }
.modal-body ul { line-height: 1.8; color: #475569; padding-left: 1.2rem; }
.modal-body ul li { margin-bottom: 0.5rem; }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5);
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Premium Pages Additions */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
}
.feature-box {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}
.feature-box:hover {
    transform: translateY(-5px);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
