:root {
    --primary-color: #0d3b66;
    /* Dark Blue */
    --secondary-color: #faf0ca;
    /* Light Yellowish - maybe not needed */
    --accent-color: #4caf50;
    /* Green */
    --bg-color: #e3f2fd;
    /* Light Blue Background */
    --text-color: #333;
    --light-text: #fff;
    --card-bg: #f8f9fa;
}

body {
    font-family: 'Afacad Flux', sans-serif;
    /* Using font from existing assets if available, or fallback */
}

/* Header */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
}

.btn-login {
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 5px 20px;
    border-radius: 4px;
    margin-right: 10px;
}

.btn-book {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 20px;
    border-radius: 4px;
    border: none;
}

.btn-book:hover {
    background-color: #388e3c;
    color: white;
}

/* Hero Section */
.hero-section {
    background-color: #cce3f3;
    /* Light Blue from mockup approximately */
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: #555;
    margin-bottom: 40px;
}

.search-container {
    background: white;
    padding: 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-input-group {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 0 15px;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    padding: 10px;
    font-size: 1rem;
}

.search-divider {
    width: 1px;
    height: 30px;
    background-color: #ddd;
    margin: 0 10px;
}

.btn-find {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-find:hover {
    background-color: #388e3c;
}

.btn-all-categories {
    border: 1px solid #999;
    background: transparent;
    border-radius: 50px;
    padding: 10px 20px;
    margin-left: 10px;
    color: #555;
    text-decoration: none;
    display: inline-block;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.categories-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 40px;
}

.category-card {
    background-color: #f1f3f5;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2rem;
    color: #888;
    margin-bottom: 15px;
}

.category-name {
    font-weight: 500;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background-color: #cce3f3;
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.cta-text {
    color: #555;
    margin-bottom: 30px;
}

.btn-start {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* Footer */
footer {
    background-color: #082032;
    color: white;
    padding: 20px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.2rem;
}

/* Result Page Styles - Medical Theme */
.compact-hero {
    background-color: #eaf4fb;
    padding: 40px 0;
    border-bottom: 1px solid #dcebf5;
}

.medical-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    border: 1px solid #eff2f5;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.medical-card:hover {
    box-shadow: 0 15px 30px rgba(13, 59, 102, 0.1);
    transform: translateY(-4px);
}

.medical-card-header {
    padding: 8px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
}

.entry-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8898aa;
}

/* Variations */
.medical-card.basic {
    border-top: 5px solid #bdc3c7;
}

.medical-card.standard {
    border-top: 5px solid var(--primary-color);
}

.medical-card.standard .entry-badge {
    color: var(--primary-color);
}

.medical-card.premium {
    border-top: 5px solid var(--accent-color);
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.medical-card.premium .entry-badge {
    color: var(--accent-color);
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.medical-card-body {
    padding: 24px;
    flex: 1;
}

.doctor-name {
    color: var(--primary-color);
    font-weight: 800;
    /* Extra bold */
    font-size: 1.25rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.doctor-specialty {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-block;
    background: #f1f8e9;
    /* Very light green */
    padding: 6px 12px;
    border-radius: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.info-icon-circle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background-color: #f0f4f8;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.medical-card:hover .info-icon-circle {
    background-color: var(--primary-color);
    color: white;
}

/* Premium Card Specifics */
.premium-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
    display: flex;
    gap: 10px;
}

.btn-card-action {
    flex: 1;
    font-size: 0.85rem;
    padding: 8px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-card-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-card-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-card-solid {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.btn-card-solid:hover {
    background-color: #388e3c;
    border-color: #388e3c;
    color: white;
}

/* Pagination Adjustments */
.pagination {
    gap: 5px;
}

.pagination .page-link {
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    color: var(--primary-color);
    font-weight: 600;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(13, 59, 102, 0.3);
}