/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f7fb;
  color: #633;
}

/* NAVBAR */
nav {
 position: sticky;
  top: 10px;
  margin: 10px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  background: rgba(13,110,253,0.7);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav h2 {
  color: #0d6efd;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* ===== FINAL FIX ===== */

/* Text colors fix */
body {
  color: #153;
}

h1, h2, h3 {
  color: #222;
}

p {
  color: #555;
}

/* Links fix (purple hatao) */
a {
  color: #0d6efd;
  text-decoration: none;
}

/* Hero text white hi rahe */
.hero {
  color: white;
}

/* Hero background image fix */
.hero {
  height: 90vh;
  background: url('doctor.jpg');
  background-size: contain;   /* 🔥 ye main fix hai */
  background-position: center;
  background-repeat: no-repeat;
}
/* Doctor card fix */
.hero-card {
  background: white;
  color: #333;
  padding: 25px;
  border-radius: 20px;
  width: 280px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.hero-card:hover {
  transform: translateY(-8px);
}
/* Button fix */
/* PRIMARY BUTTON */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0d6efd, #4ea1ff);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(13,110,253,0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(13,110,253,0.5);
}

/* OUTLINE BUTTON */
.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-outline:hover {
  background: black;
  color: #0d6efd;
}
/* Outline button fix */
.btn-outline {
  border: 2px solid white;
  color: black;
}

/* SECTIONS */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* ABOUT */
.about-doctor {
  text-align: center;
}

.about-doctor .info {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.about-doctor .info div {
  background: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.services {
  background: linear-gradient(135deg, #1c1c2b, #2b2b3d);
  padding: 80px 20px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ffd700; /* Gold accent */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px 20px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.icon {
  font-size: 50px;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}

.service-card:hover .icon {
  transform: rotate(10deg) scale(1.2);
  color: #ffd700;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}
.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.floating-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0d6efd;
  color: white;
  font-size: 22px;
  padding: 15px 18px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.floating-btn:hover {
  transform: scale(1.1);
}
/* WHY */
#why ul {
  max-width: 500px;
  margin: auto;
  list-style: none;
}

#why li {
  padding: 12px;
  font-size: 16px;
  background: white;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* FORM */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

form input, form textarea {
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

form button {
  margin-top: 15px;
  padding: 12px;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

form button:hover {
  background: #084298;
}

/* CONTACT */
#contact {
  text-align: center;
}

/* MAP */
#map iframe {
  border-radius: 10px;
}

/* FOOTER */
footer {
  background: #0d6efd;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  nav {
    flex-direction: column;
  }

  .about-doctor .info {
    flex-direction: column;
  }
}
/* ===== PREMIUM HERO ===== */
.hero {
  display: flex;
  height: 100vh;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: linear-gradient(135deg, #0d6efd, #4ea1ff);
  color: white;
}

.hero-left h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero-left p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-buttons a {
  margin-bottom: 10px;
}

.btn {
  padding: 12px 25px;
  background: white;
  color: #0d6efd;
  border-radius: 30px;
  text-decoration: none;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
}

.hero-right {
  position: relative;  /* 🔥 important */
  flex: 1;
  background: url('doctor.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-card {
  position: absolute;
  right: 40px;
  bottom: 40px;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  color: white;
  width: 260px;
}.btn.small {
  margin-bottom: 10px;
}
/* ANIMATED BACKGROUND */
.hero-left {
  background: linear-gradient(-45deg, #0d6efd, #4ea1ff, #6f42c1, #0d6efd);
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* ===== GOOGLE FONT APPLY KARO ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: #eef2f7;
  color: #222;
}

/* ===== NAVBAR (GLASS + FLOAT) ===== */
nav {
  position: sticky;
  top: 15px;
  margin: 10px auto;
  width: 90%;
  padding: 15px 30px;
  border-radius: 15px;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

nav ul {
  display: flex;
  gap: 20px;
}

/* ===== HERO SPLIT PREMIUM ===== */
.hero {
  display: flex;
  height: 100vh;
}

.hero-left {
  flex: 1;
  padding: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  background: linear-gradient(-45deg, #0d6efd, #4ea1ff, #6f42c1);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;

  color: white;
}

.hero-left h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-left a {
  background: white;
  color: #0d6efd;
  padding: 12px 25px;
  border-radius: 30px;
  width: fit-content;
  text-decoration: none;
}

/* ===== HERO IMAGE SIDE ===== */
.hero-right {
  flex: 1;
  background: url('doctor.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ===== GLASS CARD ===== */
.glass-card {
  position: absolute;
  bottom: 40px;
  right: 40px;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  padding: 25px;
  border-radius: 20px;
  color: white;
  width: 260px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  font-size: 14px;
}

/* ===== SECTION CARDS ===== */
section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 70px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

/* ===== ABOUT ===== */
.about {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about img {
  width: 100%;
  border-radius: 15px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 30px;
  border-radius: 15px;
  background: #f9fbff;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ===== TESTIMONIAL ===== */
.test-card {
  background: #f9fbff;
  padding: 25px;
  border-radius: 15px;
  margin-top: 15px;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #0d6efd, #6f42c1);
  color: white;
}

.cta a {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  background: white;
  color: #0d6efd;
  border-radius: 30px;
  text-decoration: none;
}

/* ===== FORM ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form input, form button {
  padding: 12px;
  border-radius: 8px;
  border: none;
}

form button {
  background: #0d6efd;
  color: white;
}

/* ===== FOOTER ===== */
footer {
  background: #0d6efd;
  color: white;
  padding: 30px;
  text-align: center;
}

/* ===== ANIMATION ===== */
@keyframes gradientMove {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about {
    flex-direction: column;
  }
}