/* ==========================================================================
   THE UROLOGY STUDIO - DR. AKSHEY BATTA
   Clean, Professional White & Gold Medical Design System
   Font: Arial Only
   Animations: Mobile-Friendly & Performance-Optimized
   ========================================================================== */

:root {
  /* Brand Palette - Clean Professional White Medical Theme */
  --bg-body: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-subtle-gold: #FDFBF7;
  
  --gold-primary: #C5A059;
  --gold-dark: #9A7B38;
  --gold-light: #FAF6EE;
  --gold-border: #E6D5B8;
  
  --text-primary: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-white: #FFFFFF;
  
  --blue-accent: #0284C7;
  --blue-light: #F0F9FF;
  
  --border-light: #E2E8F0;
  --border-card: #CBD5E1;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  
  --font-main: Arial, Helvetica, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Universal Arial Font */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Arial, Helvetica, sans-serif !important;
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Animations Engine (Mobile Friendly Intersection Observer) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Subtle pulse animation for emergency/booking indicators */
@keyframes pulse-subtle {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes badge-glow {
  0%, 100% { border-color: var(--gold-border); }
  50% { border-color: var(--gold-dark); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: #785E22; }

/* Container & Sections */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.8rem;
}

.section-padding {
  padding: 4.5rem 0;
}

.bg-white {
  background-color: #FFFFFF;
}

.bg-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  animation: badge-glow 3s infinite ease-in-out;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #785E22;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-dark);
  color: var(--gold-dark);
}

.btn-outline:hover {
  background: var(--gold-light);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-hospital {
  background: #0F172A;
  color: #FFFFFF;
}

.btn-hospital:hover {
  background: var(--gold-dark);
  color: #FFFFFF;
}

/* Top Notification Header Bar */
.top-bar {
  background: #0F172A;
  color: #E2E8F0;
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-social {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.top-bar-social a {
  color: #CBD5E1;
  font-size: 0.85rem;
  transition: var(--transition);
}

.top-bar-social a:hover {
  color: var(--gold-primary);
  transform: scale(1.15);
}

/* Navigation Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.02);
}

/* Strictly 4 Menu Items */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--gold-dark);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Clean White Hero Section */
.hero {
  background: #FFFFFF;
  padding: 3.5rem 0 4.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.hero-badge {
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.location-highlight-badge {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  color: #0284C7;
}

.hero-title {
  color: var(--text-primary);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--gold-dark);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-description {
  color: var(--text-body);
  font-size: 1.02rem;
  margin-bottom: 1.8rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-weight: 600;
}

.hero-doctor-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
  transition: var(--transition);
}

.hero-doctor-card:hover {
  box-shadow: var(--shadow-lg);
}

.hero-doctor-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: var(--transition);
}

.hero-floating-badge {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 1rem 1.2rem;
  color: var(--text-primary);
}

.badge-header {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}

.badge-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Location Card Highlight (Park Hospital Panchkula Focus) */
.location-featured-card {
  background: #FFFFFF;
  border: 2px solid var(--gold-dark);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.location-featured-card::before {
  content: 'PRIMARY LOCATION';
  position: absolute;
  top: 16px;
  right: -32px;
  transform: rotate(45deg);
  background: var(--gold-dark);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 35px;
  letter-spacing: 1px;
}

/* Social Media Feed Section */
.social-feed-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.social-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-dark);
}

.social-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.social-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.icon-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.icon-facebook {
  background: #1877F2;
}

.social-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.social-post-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.social-post-box i {
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  display: block;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.timeline {
  margin-top: 1.5rem;
  border-left: 2px solid var(--gold-dark);
  padding-left: 1.2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.55rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-dark);
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.timeline-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Clean Specialties Grid */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.specialty-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-dark);
}

.specialty-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.specialty-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--gold-light);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.specialty-card h3 {
  font-size: 1.2rem;
}

.procedure-bullets {
  list-style: none;
  margin: 0.8rem 0 1.2rem 0;
}

.procedure-bullets li {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.procedure-bullets li i {
  color: var(--gold-dark);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Awards Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.award-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--gold-dark);
}

.award-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold-dark);
}

.award-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
  display: block;
}

.award-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.award-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.award-desc {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px var(--gold-light);
}

/* Floating WhatsApp Button */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1500;
}

.fab-whatsapp {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  animation: pulse-subtle 2.5s infinite;
  transition: var(--transition);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

/* Footer */
footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 3.5rem 0 1.8rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr) 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 0.8rem;
  color: #94A3B8;
}

.footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #CBD5E1;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #1E293B;
  text-align: center;
  font-size: 0.82rem;
  color: #64748B;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-doctor-img {
    height: 360px;
  }
}
