/* 
  Jyoti Homeo Clinic - Custom Styles
  Colors: 
  Primary: #0b8d7c
  Secondary: #20b2aa
  Dark: #1a1a1a
  Light: #f8f9fa
*/

:root {
    --primary-color: #0b8d7c;
    --primary-hover: #086b5e;
    --secondary-color: #20b2aa;
    --dark-color: #2c3e50;
    --light-bg: #f5f7fa;
    --text-muted: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    scroll-behavior: smooth;
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.bg-soft-primary { background-color: rgba(11, 141, 124, 0.1) !important; }
.bg-soft-success { background-color: rgba(25, 135, 84, 0.1) !important; }
.bg-soft-warning { background-color: rgba(255, 193, 7, 0.1) !important; }

/* Topbar */
.topbar {
    background-color: var(--primary-color);
    font-size: 0.85rem;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}
.navbar.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
}
.brand-icon {
    font-size: 2rem;
    color: var(--primary-color);
}
.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 50%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.95), rgba(245, 247, 250, 0.8)), url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&q=80&w=2000') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    padding-top: 80px;
    padding-bottom: 80px;
}
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

/* Services */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}
.icon-box {
    transition: all 0.3s ease;
}
.service-card:hover .icon-box {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Appointment Section */
.appointment-section {
    background-color: var(--light-bg);
}
.appointment-section .card {
    border-radius: 1.5rem;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary-color);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(11, 141, 124, 0.25);
}

/* Footer */
footer a.hover-white:hover {
    color: white !important;
}

/* Admin Specific */
.admin-body {
    background-color: #f4f7f6 !important;
}
.table > :not(caption) > * > * {
    padding: 1rem 1.5rem;
}
.badge-soft-success { background-color: rgba(25, 135, 84, 0.1); color: #198754; }
.badge-soft-primary { background-color: rgba(11, 141, 124, 0.1); color: var(--primary-color); }

/* Brand Specific Features */
.clinic-subtitle { font-size: 0.75rem; }

