@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
html, body {
  overflow-x: hidden; 
}
/* ================= NAVBAR ================= */
.custom-navbar {
  background: #ffffff;
    min-height: 70px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  padding: 12px 0;
  transition: all 0.3s ease;
}

/* ================= LOGO ================= */

.logo-img {
  height: 55px;     
  width: auto;       
  object-fit: contain;
    image-rendering: -webkit-optimize-contrast;

}

/* ================= NAV LINKS ================= */
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 16px;
  color: #2c3e50 !important;
  padding: 8px 4px;
  transition: all 0.3s ease;
}

/* Hover effect */
.nav-link:hover {
  color: #4f8cff !important;
}

/* Animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #4f8cff, #6fb1ff);
  transition: width 0.3s ease;
  border-radius: 5px;
}

.nav-link:hover::after {
  width: 100%;
}

/* Active page underline */
.nav-link.active {
  color: #4f8cff !important;
}

.nav-link.active::after {
  width: 100%;
}

/* ================= LOGIN BUTTON ================= */
.btn_lg {
  background: linear-gradient(135deg, #4f8cff, #6fb1ff);
  color: white !important;
  padding: 8px 22px;
  font-size: 14px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(79, 140, 255, 0.25);
}

.btn_lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(79, 140, 255, 0.35);
}

/* ================= MOBILE FIX ================= */
@media (max-width: 991px) {

  .navbar-brand img {
    width: 190px;
  }

  .nav-link {
    font-size: 15px;
    padding: 10px 0;
  }

  .btn_lg {
    margin-top: 10px;
  }
}
/* * ========hero section start============= */ 
/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  min-height: 80vh;
  width: 100%;
  background: url(../Images/Background/hero.jpg) center/cover no-repeat;
  padding: 120px 0 80px;
  border-radius: 0 0 50px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for depth */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55),
    rgba(10, 79, 216, 0.45)
  );
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ================= SEARCH CONTAINER ================= */
.search-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 1rem;
}

/* Glass style search box */
.search-box {
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 60px;
  padding: 0.7rem 1.2rem;
  width: 100%;
  max-width: 1000px;
  gap: 0.8rem;
  flex-wrap: wrap;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

/* Floating hover effect */
.search-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* ================= INPUT ================= */
.search-input {
  flex: 1;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  outline: none;
  background: transparent;
  color: #222;
  min-width: 120px;
  transition: 0.3s ease;
}

.search-input::placeholder {
  color: #888;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(10, 79, 216, 0.2);
}

/* ================= DIVIDER ================= */
.vertical-line {
  width: 1px;
  height: 30px;
  background: rgba(0, 0, 0, 0.1);
}

/* ================= SELECT DROPDOWNS ================= */
.speciality-select,
.location-select {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.city-dropdown {
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  outline: none;
  cursor: pointer;
}

/* ================= SEARCH BUTTON ================= */
.search-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #0a4fd8, #1e8bff);
  color: white;
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(10, 79, 216, 0.3);
}

.search-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(10, 79, 216, 0.45);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding: 150px 0 60px;
  }

  .search-box {
    padding: 1rem;
    border-radius: 25px;
  }
}

@media (max-width: 480px) {
  .search-box {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
  }

  .search-input,
  .city-dropdown,
  .search-btn {
    width: 100%;
  }

  .vertical-line {
    display: none;
  }
}/*========hero section end========*/
/* ================= DOCTOR SECTION ================= */
.doctors-section{
  position:relative;
  background:linear-gradient(180deg,#f6f9ff 0%, #eef3ff 100%);
  padding: clamp(50px, 6vw, 100px) 0 40px;overflow:hidden;
}

/* soft background glow */
.doctors-section::before{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  background:radial-gradient(circle,rgba(10,79,216,.08),transparent 70%);
  top:-150px;
  left:-150px;
  border-radius:50%;
  z-index:0;
}

.doctors-section > *{
  position:relative;
  z-index:1;
}

/* ================= TITLE ================= */
.section-title{
  text-align:center;
  font-weight:900;
  font-size:clamp(22px,3vw,36px);
  background:linear-gradient(135deg,#0a4fd8,#1e8bff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:40px;
  letter-spacing:1px;
}

/* ================= FULL WIDTH NAV ================= */
.speciality-navbar-wrap{
  width:100%;
  padding:0 24px;
  margin-bottom:40px;
}

.speciality-navbar{
  display:flex;
  gap:12px;
  padding:14px;
  background:linear-gradient(135deg,#0a4fd8,#1e8bff);
  border-radius:30px;
  box-shadow:0 18px 40px rgba(0,71,171,.35);
}

.spec-tab{
  flex:1;
  text-align:center;
  padding:14px 10px;
  font-weight:700;
  color:#fff;
  border-radius:20px;
  cursor:pointer;
  text-decoration:none;
  transition:all .35s cubic-bezier(.4,0,.2,1);
  position:relative;
  overflow:hidden;
}

.spec-tab::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,#ffffff30,#ffffff10);
  opacity:0;
  transition:.4s;
}

.spec-tab:hover{
  transform:translateY(-3px);
}

.spec-tab:hover::after{
  opacity:1;
}

.spec-tab.active{
  background:#fff;
  color:#0a4fd8;
  box-shadow:0 15px 35px rgba(0,71,171,.25);
  transform:translateY(-2px);
}

/* ================= MOBILE ================= */
.mobile-tabs{display:none;}

@media(max-width:768px){
  .speciality-navbar-wrap{display:none;}

  .mobile-tabs{
    display:grid;
    gap:12px;
    padding:0 20px;
    margin-bottom:24px;
  }
}

.mobile-tabs .spec-tab{
  background:#eef4ff;
  color:#0a4fd8;
  border-radius:999px;
}

.mobile-tabs .spec-tab.active{
  background:#0a4fd8;
  color:#fff;
}

/* ================= SWIPER ================= */
.swiper{
  padding:16px 8px 80px;
}

.swiper-slide{
  height:auto;
}

/* ================= Doctor CARD ================= */
.doctor-card{
  position:relative;
  background:#fff;
  border-radius:24px;
  padding:26px 20px 30px;
  text-align:center;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
  transition:all .4s cubic-bezier(.4,0,.2,1);
  overflow:hidden;
  height:100%;
  border:1px solid transparent;
}

/* glossy sweep */
.doctor-card::before{
  content:'';
  position:absolute;
  top:0;
  left:-120%;
  width:60%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.35),
    transparent
  );
  transform:skewX(-20deg);
}

.doctor-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 60px rgba(0,71,171,.18);
  border:1px solid rgba(10,79,216,.2);
}

.doctor-card:hover::before{
  animation:glossyMove .8s ease forwards;
}

@keyframes glossyMove{
  to{left:140%;}
}

/* ================= IMAGE ================= */
.doctor-img-wrap{
  width:100px;
  height:100px;
  margin:0 auto 14px;
  border-radius:50%;
  padding:5px;
  background:linear-gradient(135deg,#00c6a9,#7c5cff);
  transition:.4s ease;
}

.doctor-img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  transition:.4s ease;
}

.doctor-card:hover .doctor-img{
  transform:scale(1.08);
}

.doctor-card:hover .doctor-img-wrap{
  box-shadow:0 0 35px rgba(124,92,255,.35);
}

/* ================= TEXT ================= */
.doctor-name{
  font-weight:800;
  color:#0a4fd8;
  margin-bottom:4px;
  transition:.3s ease;
}

.doctor-card:hover .doctor-name{
  color:#0a4fd8;
}

.speciality{
  font-size:.85rem;
  color:#666;
}

.doctor-location{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin-top:6px;
}

.doctor-location-icon{
  color:#e60023;
  font-size:.85rem;
}

.doctor-location-text{
  font-size:.85rem;
  font-weight:600;
}

/* ================= BUTTON ================= */
.see-details{
  margin-top:18px;
  display:inline-block;
  padding:9px 28px;
  border-radius:999px;
  font-weight:700;
  font-size:.8rem;
  background:linear-gradient(135deg,#7c5cff,#00c6a9);
  color:#fff;
  text-decoration:none;
  transition:all .35s ease;
  box-shadow:0 8px 20px rgba(10,79,216,.25);
}

.see-details:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 14px 35px rgba(10,79,216,.4);
}

/* ================= NAVIGATION ARROWS ================= */
.swiper-button-prev,
.swiper-button-next{
  width:56px;
  height:56px;
  border-radius:50%;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg,#0a4fd8,#1e8bff) border-box;
  border:2px solid transparent;
  box-shadow:0 14px 36px rgba(0,71,171,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .4s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after{
  font-size:18px;
  font-weight:800;
  color:#0a4fd8;
}

.swiper-button-prev:hover,
.swiper-button-next:hover{
  transform:translateY(-6px) scale(1.1);
  box-shadow:0 22px 52px rgba(0,71,171,.45);
}

.swiper-button-disabled{
  opacity:.4;
  pointer-events:none;
}
/* ==End of Hospital == */

/* ================= HOSPITAL SECTION ================= */
.hs {
  text-align: center;
  margin: 70px 0 45px;
}
.hospital-title1 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4f8cff, #6fb1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.8px;
}


/* Soft neutral background */
.hospital-section {
  background: #f3f4f6;
  padding-bottom: 60px;
}


/* ================= GRID ================= */

.hospital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  padding: 1.5rem 2rem;
}


/* ================= CARD ================= */

.hospital-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
  border: 1px solid #e5e7eb;
}

.hospital-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}


/* ================= IMAGE ================= */

.hospital-image {
  width: 100%;
  height: 150px; /* reduced */
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hospital-card:hover .hospital-image {
  transform: scale(1.03);
}


/* ================= DETAILS ================= */

.hospital-details {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}


/* ================= HEADER ================= */

.hospital-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hospital-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}


/* ================= BADGE (EMERALD) ================= */

.badge {
  background: #047857;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}


/* ================= TEXT ================= */

.speciality {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
}

.location {
  color: #374151;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.location ion-icon {
  color: #991b1b; /* dark red */
  font-size: 1rem;
}


/* ================= BUTTON (MATTE DARK CTA) ================= */


.visit-btn {
  margin-top: 0.8rem;
  background: linear-gradient(135deg, #4f8cff, #6fb1ff);
  color: white;
  border: none;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(79, 140, 255, 0.18);
}

.visit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(79, 140, 255, 0.28);
}



/* ================= FLOATING BUTTON ================= */

.floating-contact {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #111827;
  color: #fff;
  padding: 12px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  animation: float 2.2s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .hospital-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.2rem;
  }

  .hospital-image {
    height: 135px;
  }

  .hospital-details {
    padding: 1rem;
  }

  .visit-btn {
    font-size: 0.8rem;
    padding: 0.55rem 0.8rem;
  }

}

/* =========================
   FOOTER BASE
========================= */
.footer-area {
  background: linear-gradient(145deg, #0b2c3d, #0f3b52);
  color: #eaf2f6;
  padding:  25px 0 15px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-area .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  align-items: start;
}

/* =========================
   FOOTER SECTIONS
========================= */
.footer-section {
  display: flex;
  flex-direction: column;
  
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}

.footer-logo {
  width: 40px;
  height: auto;
  /* object-fit: contain; */
border-radius: 10px;
}


/* =========================
   HEADINGS
========================= */
.footer-section h3,
.footer-section h4 {
  color: #56c0e8; /* soft blue */
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-section h3 { font-size: 20px; }
.footer-section h4 { font-size: 17px; }

/* =========================
   TEXT
========================= */
.footer-text, .contact-info {
  font-size: 14px;
  line-height: 1.7;
  color: #dce9f0;
}

/* =========================
   LISTS
========================= */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  transition: 0.3s ease;
  color: #dce9f0;
}

.footer-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #56c0e8;
  font-size: 12px;
}

.footer-list li:hover {
  color: #56c0e8;
  transform: translateX(4px);
}

/* =========================
   CONTACT INFO
========================= */
.contact-info a {
  color: #56c0e8;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* =========================
   SEO PARAGRAPH
========================= */
.footer-seo {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.05);
  
  border-radius: 12px;
   padding: 12px 16px; 
  margin: 15px 0 10px; 
  text-align: center;
}

.footer-seo p {
  font-size: 14px;
  line-height: 1.7;
  color: #dce9f0;
  margin: 6px 0;
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
   padding-top: 10px;  
  margin-top: 10px; 
}

.footer-bottom p {
  font-size: 13px;
  color: #c9d6df;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .footer-area .container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-list li {
    justify-content: center;
  }
}