/* Global Reset & Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  /* Colors */
  --primary: #202c5d;
  --primary-light: #3a4b8c;
  --primary-dark: #1a244d;
  --secondary: #2e9de6;
  --accent: #90c840;
  --emergency: #ed2026;
  --emergency-light: #fee8e8;

  /* Text Colors */
  --text-dark: #1f2937;
  --text-body: #4b5563;
  --text-muted: #9ca3af;
  --text-white: #ffffff;

  /* Backgrounds */
  --bg-main: #f4f7fb;
  --bg-surface: #ffffff;

  /* UI Elements */
  --border-radius-sm: 12px;
  --border-radius-md: 24px;
  --border-radius-lg: 30px;
  --border-radius-pill: 100px;

  /* Shadows - Soft UI */
  --shadow-sm: 2px 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-soft: 6px 6px 12px #d1d9e6, -6px -6px 12px #ffffff;
  --shadow-hover: 10px 10px 20px #d1d9e6, -10px -10px 20px #ffffff;
  --shadow-inset: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(12px);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base Layout Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Typography Hierarchy */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 15px rgba(92, 161, 177, 0.2);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 161, 177, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2.5px solid var(--primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid #e1e8ef;
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--accent);
  border-color: var(--primary);
}

.btn-emergency {
  background-color: var(--emergency);
  color: var(--text-white);
  animation: pulse 2s infinite;
}

/* Card Components */
.card {
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  border: 1px solid rgba(225, 232, 239, 0.5);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(32, 44, 93, 0.05);
  border-color: var(--primary);
}

.soft-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-normal);
}

.soft-card:hover {
  box-shadow: 0 20px 50px rgba(32, 44, 93, 0.08);
  transform: translateY(-5px);
}

/* Glassmorphism Elements */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.glass-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.glass-nav.with-top-bar {
  top: 40px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}

.glass-nav.scrolled {
  position: fixed;
  top: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

/* Header & Navbar */
/* Header & Navbar */
.top-bar {
  background: var(--primary);
  color: var(--text-white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  position: relative;
  z-index: 1001;
}

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

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

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

.top-bar-info a:hover {
  color: var(--accent);
}

.emergency-strip {
  background: var(--emergency);
  padding: 0.25rem 1rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-item {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.nav-item:hover,
.nav-item.active {
  color: var(--secondary);
}

.nav-cta {
  display: flex;
  gap: 1rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Advanced Floating Labels Form */
.premium-form {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.floating-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-control {
  width: 100%;
  padding: 1.25rem 1rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius-sm);
  background: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
  color: var(--text-dark);
}

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

.floating-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: all var(--transition-fast);
  background: transparent;
}

.floating-control:focus~.floating-label,
.floating-control:not(:placeholder-shown)~.floating-label {
  top: 0.25rem;
  transform: translateY(0);
  font-size: 0.75rem;
  color: var(--secondary);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 32, 38, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(237, 32, 38, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(237, 32, 38, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.float-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.float-whatsapp {
  background-color: #25d366;
}

.float-whatsapp:hover {
  transform: scale(1.1);
}

.float-call {
  background-color: var(--emergency);
}

.float-call:hover {
  transform: scale(1.1);
}

/* Footer styling */
.premium-footer {
  background-color: var(--primary);
  color: var(--text-white);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand .logo span {
  color: var(--secondary);
}

.footer-brand p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--text-white);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.footer-contact i {
  color: var(--secondary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-info {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 6rem 2rem;
    box-shadow: var(--shadow-md);
    transition: 0.4s ease;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .nav-cta {
    display: none;
  }

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

  .section-title {
    font-size: 2rem;
  }

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

/* Department categories & Redesigned Services */
.dept-section {
  padding: 80px 0;
  text-align: center;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.dept-item {
  padding: 2.5rem 1.5rem;
  background: var(--bg-main);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.dept-item:hover {
  border-color: var(--primary);
  background: var(--bg-surface);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.dept-item i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.dept-item span {
  font-weight: 700;
  color: var(--secondary);
  font-family: 'Poppins', sans-serif;
}

.services-redesign {
  padding: 120px 0;
  background: #fdfdfd;
}

.services-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.services-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.services-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card-new {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px rgba(32, 44, 93, 0.04);
  border: 1px solid #f0f4f8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-new:hover {
  border-color: var(--primary);
  transform: translateX(10px);
  box-shadow: 0 15px 50px rgba(32, 44, 93, 0.08);
}

.service-icon-new {
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.75rem;
}

.service-info-new h4 {
  margin-bottom: 0.75rem;
  color: var(--secondary);
  font-size: 1.25rem;
}

.service-info-new p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
}

.services-image-container img {
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(32, 44, 93, 0.12);
}

@media (max-width: 992px) {
  .services-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-image-container {
    order: 2;
  }

  .services-content h2 {
    font-size: 2.25rem;
  }
}

/* Redesign Specifics */

/* Quick Info Strip */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: -80px;
  position: relative;
  z-index: 20;
}

.info-card {
  padding: 3.5rem 2.5rem;
  border-radius: var(--border-radius-lg);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition-normal);
  box-shadow: 0 15px 40px rgba(32, 44, 93, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(32, 44, 93, 0.15);
}

.info-card i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

.info-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Medical Emergency CTA (Global) */
.emergency-cta {
  background-color: #3498DB;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.emergency-cta h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.emergency-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.emergency-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-call {
  background-color: #ed2026;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(237, 32, 38, 0.4);
  border: none;
}

.btn-call:hover {
  background-color: #c9181d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 32, 38, 0.6);
  color: white;
}

.btn-locations {
  background-color: transparent;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.btn-locations:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: white;
}

.info-card p {
  opacity: 0.9;
  font-size: 1rem;
  max-width: 280px;
  line-height: 1.5;
}

.info-card-1 {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a73e8 100%);
}

/* Secondary */
.info-card-2 {
  background: linear-gradient(135deg, #1a73e8 0%, var(--primary-light) 100%);
}

/* Bright Blue */
.info-card-3 {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* Primary */

.opd-table {
  width: 100%;
  margin-top: 1rem;
  text-align: left;
}

.opd-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  font-weight: 500;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.opd-row:last-child {
  border-bottom: none;
}

/* Core Team Section */
.team-section {
  padding: 100px 0;
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.team-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid #f0f4f8;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(32, 44, 93, 0.08);
  border-color: var(--secondary);
}

.team-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: #f8fafc;
}

.team-info {
  padding: 2rem;
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.team-info p {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Cashless Section Logos */
.insurance-strip {
  padding: 80px 0;
  background: #f8fafc;
  border-top: 1px solid rgba(225, 232, 239, 0.5);
  border-bottom: 1px solid rgba(225, 232, 239, 0.5);
}

.insurance-strip .container {
  max-width: 1200px;
}

.insurance-title-wrapper {
  text-align: center;
  margin-bottom: 3.5rem;
}

.insurance-title-wrapper h4 {
  color: var(--primary);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.insurance-title-wrapper p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.insurance-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.insurance-grid img {
  height: 80px;
  width: 180px;
  object-fit: contain;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(225, 232, 239, 0.8);
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.insurance-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  background: white;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(32, 44, 93, 0.1);
  border-color: var(--secondary-light);
  z-index: 2;
  position: relative;
}

/* Testimonial Redesign */
.testimonial-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.8s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-text {
  font-size: 1.65rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--secondary);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3.5rem;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.t-dot.active {
  background: var(--secondary);
  transform: scale(1.3);
}

/* Responsive Redesign */
@media (max-width: 992px) {
  .info-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}