/* ----------------------------------------------------
   CORE TOKENS (Design System)
-----------------------------------------------------*/
:root {
    --primary: #2563EB;
    --primary-dark: #1E4ED8;
    --primary-bg: #F3F7FF;

    --text-dark: #1E293B;
    --text: #475569;
    --text-light: #64748B;

    --border: #E2E8F0;
    --radius: 14px;
    --radius-sm: 10px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.06);

    --transition: 0.25s ease;
}

/* ----------------------------------------------------
   BASE RESET
-----------------------------------------------------*/
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: var(--text);
    line-height: 1.6;
}
  /* Location section */
.location-box {
  font-size: 15px;
  color: #555;
  cursor: pointer;
}

/* Search box wrapper */
.search-box {
  position: relative;
}

.search-input {
  height: 46px;
  padding-left: 16px;
  padding-right: 40px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 14px;
  color: #666;
}

/* inner search icon */
.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #777;
}

/* ----------------------------------------------------
   LAYOUT
-----------------------------------------------------*/
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.section-padding { padding: 20px 0; }

.section-title {
    font-size: 26px;
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
   
    color: var(--text-light);
    font-size: 22px;
    font-weight: 800;
    
}

/* ----------------------------------------------------
   CATEGORY SECTION (Light Blue)
-----------------------------------------------------*/
.categories-section {
    background: var(--primary-bg);

}

.category-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 18px 10px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-main-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;  /* Location + Search center में रहेंगे */
}

.header-auth-section {
    margin-left: auto;  /* Auth section को बिलकुल right में भेज देगा */
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-card11 a{
  text-decoration: none !important;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.category-icon img {
    height: 45px;
    width: 45px;
    margin-bottom: 10px;
}

.category-title {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
  text-decoration: none !important;
}

/* ----------------------------------------------------
   FEATURED DOCTORS (White)
-----------------------------------------------------*/
.services-section {
    background: #FFFFFF;       /* White */
}

/* ----------------------------------------------------
   ALL DOCTORS SECTION (Same Blue Background)
-----------------------------------------------------*/
.doctors-section {
    background: var(--primary-bg) !important;
}

/* ----------------------------------------------------
   DOCTOR CARD
-----------------------------------------------------*/
.doctor-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
  height: 100%;
}

.doctor-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.doctor-header {
    height: 160px;
    overflow: hidden;
}

.doctor-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Content */
.doctor-info { padding: 16px; }

.doctor-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.doctor-specialty {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px;
}

.feature-badge {
    background: var(--primary-bg);
    color: var(--primary-dark);
    padding: 6px 10px;
    font-size: 10px;
    border-radius: 20px;
    display: inline-block;
}


/* Video icon */
.doctor-video-icon {
    background: #fff;
    border: 1px solid var(--border);
    height: 26px;
    width: 26px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 12px;
    transition: var(--transition);
}

.doctor-video-icon:hover {
    background: var(--primary);
    color: #fff;
}

/* Layout inside info */
.doctor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ----------------------------------------
   HEADER SEARCH & LOCATION (Apollo Style)
-----------------------------------------*/
.header-main-section {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    max-width: 650px;
}

/* ------------------------------ */
/* Location Dropdown */
/* ------------------------------ */
.location-dropdown select.location-select {
    height: 45px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.location-dropdown select.location-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ------------------------------ */
/* Search Box Wrapper */
/* ------------------------------ */
.search-box-nav {
    display: flex;
    align-items: center;
    height: 45px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-box-nav:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ------------------------------ */
/* Search Input */
/* ------------------------------ */
.search-input-nav {
    flex: 1;
    height: 100%;
    padding: 0 14px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 14px;
}

.search-input-nav::placeholder {
    color: var(--text-light);
}

/* ------------------------------ */
/* Search Button */
/* ------------------------------ */
.search-btn-nav {
    width: 48px;
    height: 45px;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
    border: none;
    transition: var(--transition);
}

.search-btn-nav:hover {
    background: var(--primary-dark);
}

/* Search Icon Alignment */
.search-btn-nav i {
    font-size: 15px;
}



/* ----------------------------------------------------
   HEALTH BLOGS (White)
-----------------------------------------------------*/
.health-section {
    background: #FFFFFF !important;
}

.health-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.health-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.health-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.health-content { padding: 16px; }

.health-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.health-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

/* ----------------------------------------------------
   FOOTER
-----------------------------------------------------*/
footer {
    background: #0F172A;
    padding: 10px 0 20px;
    color: #CBD5E1;
    font-size: 14px;
   
}

footer h3 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px;
}

.footer-links a {
    color: #CBD5E1;
    display: block;
    margin-bottom: 6px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
   border-top: 1px solid #fff;
   
    font-size: 12px;
    color: #94A3B8;
}

/* ----------------------------------------------------
   GRID SYSTEM
-----------------------------------------------------*/
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.row > [class*="col-"] {
    padding: 0 12px;
}

/* 5-column doctor grid */
.col-lg-2-4 { width: 20%; }

@media (max-width: 991px) { .col-lg-2-4 { width: 33.33%; } }
@media (max-width: 767px) { .col-lg-2-4 { width: 50%; } }
@media (max-width: 480px) { 
    .col-lg-2-4 { width: 50%; }
    .doctor-header { height: 130px; }
}


/* ----------------------------------------------------
   DOCTOR LIST PAGE (Same as Home Page)
-----------------------------------------------------*/

/* 5-column layout (same as homepage) */
.doctor-list-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.doctor-list-card {
    width: 20%;
    padding: 0 12px;
    margin-bottom: 28px;
}

@media (max-width: 991px) { .doctor-list-card { width: 33.33%; } }
@media (max-width: 767px) { .doctor-list-card { width: 50%; } }

/* Card */
.list-doctor-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.list-doctor-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

/* Image */
.list-doctor-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

/* Text */
.list-doctor-info {
    padding: 16px;
}

.list-doctor-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.list-doctor-speciality {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Features row */
.list-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.list-fee {
    background: var(--primary-bg);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
}

/* Timings */
.list-timing {
    padding: 10px;
    background: #F8FAFC;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    border: 1px solid var(--border);
}

/* ----------------------------------------------------
   FILTER BAR (Modern Style)
-----------------------------------------------------*/

.filter-bar {
    background: #FFFFFF;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.filter-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Dropdowns */
.filter-select {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-dark);
   
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

/* Mobile: 2 per row */
@media (max-width: 576px) {
    .filter-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .filter-select,
    .filter-reset {
        width: 100% !important;
    }
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Reset Button */
.filter-reset {
    background: var(--text-light);
    color: #fff;
    border: none;
    height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-reset:hover {
    background: var(--text);
}
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); /* हल्का ग्लासी */
    backdrop-filter: blur(10px); /* ग्लास इफेक्ट */
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: 0.3s;
}

.social-links a i {
    color: #fff;
    font-size: 18px;
}

/* Hover Effect */
.social-links a:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
ol, ul {
    padding-left: 1rem !important;
}
/* Slide From Top */
.top-search-modal .modal-dialog {
    transform: translateY(-100%);
    transition: transform 0.35s ease-in-out;
    height: 200px; /* FIXED HEIGHT */
    width:100%;
}

.top-search-modal.show .modal-dialog {
    transform: translateY(0);
}

/* Full width & clean look */
.search-modal-content {
    border-radius: 0;
    border: none;
    height: 200px; /* FIXED HEIGHT */
  width:100%;
}
.doctor-list-card a{
    text-decoration: none !important;
}

