/* ==========================================
   Dr Ruby Shah Ladies Clinic - Complete CSS
   Blue (#2563eb primary) + White theme
   Responsive | Modern | Medical Professional
========================================== */

/* =====================
   GOOGLE FONT + RESET
===================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* =====================
   CONTAINER & LAYOUT
===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-inner,
.hero-inner,
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================
   HEADER & NAVIGATION
===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(37, 99, 235, 0.1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 30px rgba(37, 99, 235, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  height: 70px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: #2563eb;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2563eb;
}

/* =====================
   HERO SECTIONS
===================== */
.hero,
.hero-inner-page {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  flex: 1;
}

.hero-kicker {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-inner-page h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.hero-inner-page p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* =====================
   BUTTONS & CTAs
===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.primary-btn {
  background: white;
  color: #2563eb;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
  background: #f8fafc;
}

.secondary-btn {
  background-color: white;
  color: #2563eb;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

.hero-ctas,
.section-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 1.25rem;
  font-size: 1.1rem;
}

/* =====================
   HIGHLIGHTS & LISTS
===================== */
.hero-highlights {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  font-size: 1.1rem;
}

.hero-highlights li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
  margin-right: 0.75rem;
}

.doctor-points {
  list-style: none;
  margin-top: 2rem;
}

.doctor-points li {
  padding: 0.75rem 0;
  font-size: 1.05rem;
}

.doctor-points li::before {
  content: '✔';
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1rem;
}

/* =====================
   SECTIONS & CONTENT
===================== */
.section {
  padding: 80px 0;
  padding-bottom: 20px;
}

.section:nth-child(even) {
  background: #f8fafc;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 1rem;
  color: #1e293b;
}

.section-intro {
  text-align: center;
  font-size: 1.15rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* =====================
   DOCTOR ABOUT SECTION
===================== */
.doctor-about {
  padding: 100px 0;
  background: white;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.doctor-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
}

.doctor-content h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.doctor-content p {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* =====================
   CERTIFICATIONS SLIDER
===================== */
.slider-container {
    max-width: 700px;
    position: relative;
    margin: 40px auto;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
}

.slide {
    display: none;
    text-align: center;
    animation: fade 0.5s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; } 
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.next { right: 0; border-radius: 5px 0 0 5px; }
.prev { left: 0; border-radius: 0 5px 5px 0; }

.dots-container {
    text-align: center;
    padding: 10px;
    background: #f1f1f1;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active { background-color: #333; }

/* =====================
   SERVICES GRID
===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}

.service-img {
  width: 100%;
  height: 220px;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.service-card p {
  color: #64748b;
  line-height: 1.7;
}

/* =====================
   CONTACT SECTION
===================== */
#contact {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item h3 {
  color: #2563eb;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.info-item p {
  color: #4b5563;
  line-height: 1.7;
}

.info-item a {
  color: #2563eb;
  text-decoration: none;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =====================
   WHATSAPP FLOAT
===================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* =====================
   FOOTER
===================== */
footer {
  background: #1e293b;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-inner p {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* =====================
   SCROLL REVEAL ANIMATIONS
===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE DESIGN
===================== */
@media (max-width: 768px) {
  .header-inner {
    padding: 1rem;
    height: 60px;
  }
  
  .nav {
    display: none; /* Hamburger menu JS se handle hoga */
  }
  
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .hero,
  .hero-inner-page {
    padding: 100px 0 60px;
  }
  
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .doctor-image img {
    height: 350px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-ctas,
  .section-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-highlights {
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
  }
  
  .manual-slider {
    flex-direction: column;
    gap: 1rem;
  }
  
  .slider-window {
    width: 100%;
    max-width: 350px;
    height: 250px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* =====================
   PERFORMANCE & SMOOTHNESS
===================== */
* {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.certificates{
  display: flex;
  justify-content: center;
}
.header{
  position:sticky;
  top:0;
  z-index:999;
  background:#fff;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* Hamburger */
.menu-toggle{
  font-size:26px;
  cursor:pointer;
  display:none;
}

/* Mobile styles */
@media(max-width:768px){

  .menu-toggle{
    display:block;
  }

  .nav{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    align-items:center;
    display:none;
    padding:20px 0;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
  }

  .nav a{
    padding:12px 0;
    width:100%;
    text-align:center;
  }

  .nav.active{
    display:flex;
  }
}
/* LOGO */
.logo img {
  height: 135px;
  width: auto;
  display: block;
}
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

/* Brand Colors */
.facebook { background: #1877f2; }
.instagram { background: #4056e4; }
.whatsapp { background: #25d366; }
.social-icons{
  display: flex;
  justify-content: center;
  gap: 30px;
  grid-template-columns: 1fr;
}
/* map */
.map-box {
  position: relative;
  bottom: 10px;
  display: block;
  width: 100%;
  max-width: 520px;   /* thoda compact */
  height: 240px;      /* height kam */
  margin-top: -20px;  /* 🔼 map upar */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* click iframe pe nahi, pure box pe hoga */
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.map-box:hover .map-overlay {
  background: rgba(0,0,0,0.45);
}
