:root {
    --primary-blue: #2563eb;
    --medical-green: #10b981;
    --dark-bg: #0f172a;
    --slate-text: #475569;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--slate-text);
    background-color: #fff;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .fw-black {
    font-family: var(--font-heading);
    font-weight: 800;
}

/* Nav Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-size: 0.95rem;
    color: var(--slate-text) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    min-height: 700px;
}

.carousel-item {
    height: 100vh;
    min-height: 700px;
}

.carousel-img {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease;
}

.carousel-item.active .carousel-img {
    transform: scale(1.1);
}

.bg-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    padding-bottom: 0;
    bottom: 0;
    top: 0;
}

/* Utils */
.grayscale-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.4);
    pointer-events: none;
}

.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }
.max-w-300 { max-width: 300px; }

.size-14 { width: 14px; height: 14px; }
.size-16 { width: 16px; height: 16px; }
.size-24 { width: 24px; height: 24px; }
.size-32 { width: 32px; height: 32px; }
.size-64 { width: 64px; height: 64px; }

.hover-translate-y:hover {
    transform: translateY(-10px);
}

.line-height-relaxed {
    line-height: 1.8;
}

.bg-light-soft {
    background-color: #f8fafc;
}

/* Custom UI Components */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.member-card {
    transition: all 0.3s ease;
    border: none;
    background: #fff;
    padding: 2.5rem;
}

.member-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
    transform: translateY(-5px);
}

.member-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #f8fafc;
}

.italic-text {
    font-style: italic;
    font-family: serif;
    font-size: 1.1rem;
}

.hover-primary-bg {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-primary-bg:hover {
    background-color: var(--primary-blue) !important;
    color: #fff !important;
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15) !important;
}

.hover-primary-bg:hover i {
    color: #fff !important;
    transform: scale(1.1);
}

.service-icon-box i {
    transition: transform 0.3s ease;
}

.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }

.blur-btn {
    backdrop-filter: blur(10px);
}

.service-card {
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: rgba(37, 99, 235, 0.1);
    background-color: #fff !important;
}

.icon-bg {
    transition: all 0.5s ease;
}

.service-card:hover .icon-bg {
    background-color: var(--primary-blue) !important;
    color: #fff !important;
    transform: rotateY(180deg);
}

.appointment-box {
    position: relative;
    z-index: 10;
}

/* Footer link hover effect */
.hover-primary:hover {
    color: var(--primary-blue) !important;
    padding-left: 5px;
}
.hover-primary {
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .navbar {
        background-color: #fff !important;
    }
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }
    .carousel-item {
        height: 70vh;
        min-height: 500px;
    }
    .display-3 {
        font-size: 2.5rem;
    }
}
