:root {
    --brand: #0066FF;
    --brand-hover: #0052cc;
    --brand-soft: #eef4ff;
    --accent: #00D1FF;
    --ink: #0F172A;
    --muted: #64748B;
    --soft: #F8FAFC;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    color: var(--ink);
    background: #fff;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-image-wrap {
    position: relative;
    padding: 20px;
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--brand);
    border-radius: 24px;
    z-index: -1;
    transform: translate(15px, 15px);
    opacity: 0.3;
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.08), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(0, 209, 255, 0.08), transparent 40%),
        linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0.4) 100%),
        url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1800&q=80") center/cover;
    position: relative;
    overflow: hidden;
}

.top-strip {
    background: var(--ink);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 10px 0;
    font-weight: 500;
}

.top-strip a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.top-strip a:hover {
    opacity: 0.8;
}

.main-nav {
    backdrop-filter: blur(12px);
    background: var(--glass) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 15px 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
}

.brand-lockup img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.brand-lockup strong {
    font-size: 22px;
    line-height: 1;
    display: block;
    color: var(--brand);
}

.brand-lockup small {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
    display: block;
    font-weight: 400;
}

.nav-link {
    font-weight: 500;
    color: var(--ink) !important;
    padding: 8px 16px !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--brand) !important;
}

.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--brand);
    border: none;
    box-shadow: 0 4px 14px 0 rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.section-pad {
    padding: 100px 0;
}

.text-muted-soft {
    color: var(--muted);
    line-height: 1.6;
}

.service-card, .doctor-card, .testimonial-card, .admin-card {
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 20px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 24px;
    margin-bottom: 24px;
}

.icon-box-sm {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-size: 16px;
}

.bg-gradient-dark {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.max-width-600 {
    max-width: 600px;
}

.cta-band {
    background: linear-gradient(135deg, var(--ink), var(--brand));
    color: white;
    border-radius: 32px;
    padding: 60px !important;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.site-footer {
    background: var(--ink);
    color: #fff;
}

.footer-brand img {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent);
}

.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: #25D366;
    color: white;
    display: grid;
    place-items: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    color: white;
}

.before-after {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    background: var(--soft);
    cursor: ew-resize;
}

.ba-handle {
    width: 4px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.ba-handle::after {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border: 4px solid #fff;
    background: var(--brand);
    color: #fff;
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--ink);
    color: white;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
}

.admin-main {
    flex: 1;
    padding: 40px;
    background: var(--soft);
}

.admin-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.6) !important;
    padding: 12px 20px !important;
    border-radius: 12px;
    margin: 4px 0;
    font-weight: 500;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}

.admin-sidebar .nav-link i {
    margin-right: 12px;
    font-size: 18px;
}

@media (max-width: 991px) {
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: relative; padding: 20px !important; }
    .admin-sidebar .brand-lockup { mb-3 !important; }
    .admin-sidebar .nav { flex-direction: row !important; overflow-x: auto; padding-bottom: 10px; }
    .admin-sidebar .nav-link { white-space: nowrap; padding: 8px 12px !important; font-size: 14px; }
    .admin-sidebar .mt-auto { display: none; }
    .admin-main { padding: 20px; }
    
    .table-responsive {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .table thead { display: none; }
    .table td { 
        display: block; 
        text-align: right; 
        padding: 12px 20px;
        position: relative;
    }
    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 20px;
        font-weight: 700;
        color: var(--muted);
    }
}

@media (max-width: 991px) {
    .section-pad { padding: 60px 0; }
    .hero { min-height: auto; padding: 100px 0 60px; }
    .cta-band { padding: 30px !important; border-radius: 20px; }
    .brand-lockup strong { font-size: 18px; }
    
    h1.display-3 { font-size: 2.5rem !important; }
    h2.display-5 { font-size: 2.2rem !important; }
    h2.display-6 { font-size: 2rem !important; }
    
    .hero .lead { font-size: 1.1rem !important; }
}

@media (max-width: 768px) {
    .navbar-brand img { width: 40px; height: 40px; }
    .brand-lockup strong { font-size: 16px; }
    .brand-lockup small { font-size: 11px; }
    
    .btn-lg { padding: 10px 24px; font-size: 1rem; }
    
    .section-pad { padding: 40px 0; }
}
.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

/* Swiper Customization */
.services-slider .swiper-pagination-bullet,
.testimonials-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--brand);
    opacity: 0.3;
}

.services-slider .swiper-pagination-bullet-active,
.testimonials-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 10px;
}

.services-slider .swiper-slide,
.testimonials-slider .swiper-slide {
    height: auto !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }
    .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-link:last-child { border-bottom: none; }
}
