/* --- Variables & Reset --- */
:root {
    --primary: #0f4c81; /* Classic Blue */
    --primary-dark: #093256;
    --secondary: #20bf6b;
    --purple: #8854d0;
    --dark: #1e272e;
    --light-bg: #f5f6fa;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-soft: 0 10px 40px -10px rgba(0,64,128,0.1);
}

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

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
}

a { text-decoration: none; }

/* --- Utilities --- */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: #808e9b !important; }
.text-purple { color: var(--purple) !important; }
.bg-soft-primary { background-color: rgba(15, 76, 129, 0.1); }
.bg-blue-light { background-color: rgba(15, 76, 129, 0.08); }
.bg-green-light { background-color: rgba(32, 191, 107, 0.08); }
.bg-purple-light { background-color: rgba(136, 84, 208, 0.08); }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }

.ls-1 { letter-spacing: 1px; }
.rounded-4 { border-radius: 20px !important; }

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    margin: 0 10px;
    position: relative;
}

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

.btn-rounded { border-radius: 50px; }

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: #fff;
    overflow: hidden;
}

/* Background Abstract Shape */
.shape-blob {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15,76,129,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-title { line-height: 1.2; }
.text-gradient {
    background: -webkit-linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.image-wrapper { position: relative; }

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    animation: float 4s ease-in-out infinite;
}

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

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    transition: all 0.3s;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 76, 129, 0.3);
}

/* --- Services --- */
.service-card {
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.btn-link:hover { text-decoration: underline; }

/* --- Doctors --- */
.doctor-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
}
.doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft) !important; }
.img-holder {
    position: relative;
    overflow: hidden;
    height: 300px;
}
.doctor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s;
}
.doctor-card:hover img { transform: scale(1.05); }

.social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    text-align: center;
    transition: bottom 0.3s;
}
.doctor-card:hover .social-overlay { bottom: 0; }
.social-overlay a { color: var(--primary); margin: 0 10px; font-size: 1.2rem; }

/* --- Map & Contact --- */
.map-wrapper {
    background: #fff;
    min-height: 450px;
}
.hover-primary:hover { color: var(--primary) !important; transition: 0.2s; }

/* --- Animations --- */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}
.fade-in-up { transform: translateY(30px); }
.fade-in-left { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }
.visible { opacity: 1; transform: translate(0); }

/* --- Form --- */
.form-control:focus, .form-select:focus {
    box-shadow: none;
    border: 1px solid var(--primary);
}