/* =========================================================
   LUBLU SPECIALIST CENTRE — MODERN DESIGN SYSTEM (2026)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary & Brand Colors */
    --primary-color: #0b4f6c;
    --primary-dark: #073346;
    --primary-light: #f0f7fa;
    --primary-glow: rgba(11, 79, 108, 0.15);

    /* Accents */
    --accent-gold: #d4af37;
    --accent-gold-light: #fdfbf7;
    --accent-green: #25d366;
    --accent-green-hover: #1eb954;

    /* Neutrals & Text */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Backgrounds & Glassmorphism */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);

    /* Borders */
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;

    /* Elevation & Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(11, 79, 108, 0.12), 0 10px 15px -5px rgba(11, 79, 108, 0.04);
    --shadow-hover: 0 25px 45px -12px rgba(11, 79, 108, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Layout */
    --max-width: 1240px;

    /* Animation Curve */
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================================
   RESET & SMOOTH SCROLLING
   ========================================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

button, input, textarea, select {
    font: inherit;
}


/* =========================================================
   CONTAINER & UTILITIES
   ========================================================= */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.75rem;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #ffffff;
    padding: 0.65rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.top-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
}


/* =========================================================
   HEADER & NAVIGATION (GLASSMORPHISM)
   ========================================================= */

header {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--primary-color);
    cursor: pointer;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

.hero-image {
    position: relative;
    width: 100%;
}

.hero-image img,
.hero-image .card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}


/* =========================================================
   BUTTONS (MODERN INTERACTIVE)
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(11, 79, 108, 0.25);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(11, 79, 108, 0.35);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--accent-green) 0%, #1eaf50 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 79, 108, 0.2);
}


/* =========================================================
   LAYOUT GRIDS & SECTIONS
   ========================================================= */

.section {
    padding: 6rem 0;
    position: relative;
}

.section-alt {
    background: linear-gradient(180deg, var(--primary-light) 0%, #ffffff 100%);
}

.grid {
    display: grid;
    gap: 2.25rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }


/* =========================================================
   SECTION HEADINGS & BADGES
   ========================================================= */

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid rgba(11, 79, 108, 0.12);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
}


/* =========================================================
   CARDS & HOVER EFFECTS
   ========================================================= */

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(11, 79, 108, 0.25);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.08);
}

.card h3 {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    flex-grow: 1;
}

/* Doctor photos
.doctor-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 1rem;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
/* =========================================================
   IMAGE PLACEHOLDER REPLACEMENT
   ========================================================= */

.image-placeholder {
    width: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    color: var(--text-muted);
    border: 2px dashed #cbd5e1;
    transition: var(--transition);
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #eef7fa 0%, #e2e8f0 100%);
}


/* =========================================================
   FLOATING WHATSAPP CTA WITH PULSE ANIMATION
   ========================================================= */

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-green);
    color: #ffffff;
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    animation: pulse-ring 2.5s infinite;
}

.whatsapp-float:hover {
    background: var(--accent-green-hover);
    color: #ffffff;
    transform: scale(1.08) translateY(-2px);
    animation: none;
}


/* =========================================================
   ACCESSIBILITY & FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 4px;
}


/* =========================================================
   TABLET BREAKPOINTS
   ========================================================= */

@media (max-width: 992px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        max-width: 580px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2.15rem;
    }

}


/* =========================================================
   MOBILE BREAKPOINTS
   ========================================================= */

@media (max-width: 768px) {

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .top-bar {
        padding: 0.75rem 0;
        font-size: 0.8rem;
    }

    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    /* Mobile Navigation Drawer */
    .navbar {
        padding: 1rem 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 1.75rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        gap: 1.25rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: inline-block;
        padding: 0.5rem 0;
        font-size: 1.05rem;
    }

    .hero-text h1 {
        font-size: 2.1rem !important;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .card {
        padding: 1.75rem;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 1.1rem;
        border-radius: var(--radius-full);
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section {
        padding: 3.25rem 0;
    }

    .card {
        padding: 1.35rem;
    }

}
