/* ========================================
   Modern Medical Appointment System - Custom CSS
   ======================================== */

/* === CSS Variables === */
:root {
  /* New Achilles Figma Palette */
  --achilles-gold: #D4AF37;
  --achilles-gold-light: #F1D279;
  --achilles-gold-dark: #F59E0B;
  --achilles-black: #1A1A1A;
  --achilles-text-main: #333333;
  --achilles-border: #E5E5E5;

  --primary-gradient: linear-gradient(135deg, var(--achilles-gold) 0%, var(--achilles-gold-dark) 100%);
  --secondary-gradient: linear-gradient(135deg, #14B8A6 0%, #06B6D4 100%);
  --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --dark-gradient: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);

  --primary-color: #4F46E5;
  --primary-dark: #4338CA;
  --secondary-color: #14B8A6;
  --accent-color: #F59E0B;

  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* === Global Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Button Styles === */
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition-slow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* === Card Styles === */
.card-modern {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-md);
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 120px;
}

/* === Section Styles === */
.section {
  padding: var(--spacing-xl) 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-dark {
  background: #2B2B2B;
  /* Changed from gradient to match footer color */
  color: white;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: white;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* === Header Styles === */
.top-header {
  background: var(--primary-gradient);
  color: white;
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.top-header a {
  color: white;
  transition: var(--transition-fast);
}

.top-header a:hover {
  opacity: 0.8;
}

.top-header i {
  margin-right: 0.5rem;
}

/* === Navbar Styles (Premium Centered Design) === */
.navbar-custom {
  background: #FFFFFF !important;
  padding: 0 !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid #EEEEEE !important;
  min-height: 100px;
  display: flex;
  align-items: center;
}

/* Horizontal Decorative Line */
.navbar-custom::before {
  content: '';
  position: absolute;
  top: 42%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--achilles-gold) 15%,
      var(--achilles-gold) 85%,
      transparent 100%);
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.nav-link {
  color: #333333 !important;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.5rem 1.2rem !important;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--achilles-gold) !important;
  text-shadow: none;
}

/* Ensure dropdown toggle only shows gold when truly active or hovered */
.dropdown-toggle.show:not(.active) {
  color: #333333 !important;
}

.dropdown-toggle.show:not(.active):hover {
  color: var(--achilles-gold) !important;
}

/* === Multi-level Dropdown Styles === */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  z-index: 1040 !important;
  margin-top: 0;
}

.dropdown-item {
  font-family: var(--font-body);
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  transition: all 0.2s ease;
  color: #333;
}

.dropdown-item:hover {
  background-color: var(--achilles-gold-light);
  color: var(--achilles-black);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0 6px 6px 6px;
  display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown-submenu:hover>.dropdown-toggle::after {
  transform: rotate(-90deg);
}

/* Mobile Adjustments for Multi-level */
@media (max-width: 991px) {
  .dropdown-submenu>.dropdown-menu {
    position: static;
    margin-top: 0;
    margin-left: 1rem;
    border-left: 2px solid var(--achilles-gold);
    display: block;
    /* Show nested items on mobile when parent is open */
    box-shadow: none;
    background: transparent;
  }
}

/* Header Text Logo Styles */
/* Header Logo Handling */
.navbar-brand {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  text-decoration: none !important;
  position: relative;
}

.nav-logo {
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
  z-index: 10;
  /*margin-top: 20px;*/
  mix-blend-mode: multiply;
}

.mobile-nav-logo {
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (min-width: 992px) {
  .nav-logo {
    /*margin-bottom: 20px;*/
  }
}

@media (max-width: 991px) {
  .navbar-custom::before {
    display: none;
    /* Hide line on mobile for cleaner look */
  }
}

/* Premium Gold Button Style */
.btn-appointment-gold {
  background: var(--achilles-gold);
  background: linear-gradient(to bottom, #f1d279 0%, #d4af37 100%);
  color: #000 !important;
  border: 1px solid #c5a028;
  border-radius: 4px;
  /* More rectangular like the image */
  padding: 0.6rem 1.5rem !important;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.btn-appointment-gold:hover {
  background: linear-gradient(to bottom, #fff0a8 0%, #f1d279 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: #000 !important;
}

/* === Hero Section (Figma Redesign) === */
.hero-section {
  background: #FCFCFC;
  padding: 5rem 0 4rem;
  /* Increased top padding to give heading breathing room */
  overflow: visible;
  position: relative;
  min-height: 700px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 50px;
  /* Slightly reduced for better balance */
  color: #2B2B2B !important;
  line-height: 1.1;
  letter-spacing: -1.28px;
  text-transform: capitalize;
  margin-top: 3rem;
  /* Push individual heading down as requested */
  margin-bottom: 2rem;
  max-width: 709px;
  width: 100%;
  text-shadow: none !important;
}

.hero-title .highlight {
  color: var(--achilles-gold) !important;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #666 !important;
  max-width: 500px;
  margin-bottom: 3rem;
  line-height: 1.6;
  opacity: 1 !important;
  text-shadow: none !important;
}

.btn-hero {
  background: var(--achilles-gold);
  color: white !important;
  border-radius: 50px;
  padding: 1rem 2.5rem !important;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-hero:hover {
  background: var(--achilles-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(212, 175, 55, 0.3);
}

/* Testimonial Card */
.hero-testimonial {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  max-width: 320px;
  margin-top: 4rem;
  position: relative;
  z-index: 10;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  background: #eee;
  object-fit: cover;
}

.testimonial-info h6 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
}

.testimonial-body {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}

.linkedin-icon {
  margin-left: auto;
  color: #deb531;
  /* using the exact gold from the footprint icon for consistency with user request */
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.linkedin-icon:hover {
  color: var(--achilles-gold-dark);
}

/* Image Column Styles */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -120px;
  min-height: 550px;
  /* Ensure enough height for the 550px circles */
}

.doctor-image {
  max-width: 250px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 5;
  transform: translateY(-20px);
}



/* Decorative Circles */
.decorative-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  animation: orbitRotate 40s linear infinite;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px dashed var(--achilles-gold);
  border-radius: 50%;
  opacity: 0.5;
}

.circle-outer {
  width: 550px;
  height: 550px;
  animation: orbitRotate 20s linear infinite;
}

.circle-middle {
  width: 420px;
  height: 420px;
  animation: orbitRotateAlt 15s linear infinite;
}

.circle-inner {
  width: 300px;
  height: 300px;
  animation: orbitRotate 10s linear infinite;
}

/* Floating Icons on Circles */
.floating-foot-icon {
  position: absolute;
  width: 80px;
  /* Increased size */
  height: 80px;
  background: transparent;
  /* Image has its own background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  /* Image has its own aura */
  border: none;
  transition: all 0.3s ease;
  z-index: 10;
  animation: counterRotate 40s linear infinite;
  /* Counter-act orbit to stay upright */
}

.floating-foot-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(222, 181, 49, 0.4));
  /* Extra glow for the image */
}

/* Specific Positions for icons (7 icons equally spaced) */
.icon-1 {
  top: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
}

.icon-2 {
  top: 15%;
  left: 10%;
  transform: rotate(-51deg);
}

.icon-3 {
  top: 55%;
  left: -5%;
  transform: rotate(-102deg);
}

.icon-4 {
  top: 85%;
  left: 30%;
  transform: rotate(-153deg);
}

.icon-5 {
  top: 85%;
  right: 30%;
  transform: rotate(153deg);
}

.icon-6 {
  top: 55%;
  right: -5%;
  transform: rotate(102deg);
}

.icon-7 {
  top: 15%;
  right: 10%;
  transform: rotate(51deg);
}

/* === Services Section (Figma Redesign) === */
.services-modern-section {
  background: #F8F9FA;
  position: relative;
  z-index: 2;
}

.service-card-modern {
  background: white;
  border-radius: 12px;
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 2rem;
}

.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-icon-circle {
  width: 70px;
  height: 70px;
  background: var(--achilles-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid #F8F9FA;
  /* Matches section background */
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.service-icon-img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #2B2B2B;
  margin-bottom: 1.5rem;
}

.service-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2B2B2B;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--achilles-gold);
}

.arrow-circle {
  width: 28px;
  height: 28px;
  background: #2B2B2B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  transition: background 0.3s ease;
}

.service-link:hover .arrow-circle {
  background: var(--achilles-gold);
}

/* === Service Cards === */
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-description {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

/* === Expert Care Section (Figma Redesign) === */
.expert-care-section {
  background: white;
  overflow: hidden;
}

.expert-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #2B2B2B;
  line-height: 1.2;
}

.expert-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.expert-image-container {
  position: relative;
  padding-top: 20px;
  padding-right: 20px;
}

.image-bg-box {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 97%;
  height: 97%;
  background: #C4C4C4;
  border-radius: 20px;
  z-index: 1;
}

.expert-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  margin-top: 15px;
  margin-left: -15px;
}

/* === Supporting Healthy Steps Section (Figma Redesign) === */
.support-steps-section {
  background: #F8F9FA;
  position: relative;
  overflow: hidden;
}

.support-image-wrapper {
  position: relative;
  z-index: 5;
}

.support-main-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.support-slider-nav {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  padding-left: 20%;
  /* Offset as seen in Figma */
}

.slider-nav-btn {
  width: 45px;
  height: 45px;
  background: #2B2B2B;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-nav-btn:hover {
  background: var(--achilles-gold);
}

.support-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #2B2B2B;
  line-height: 1.2;
}

.support-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #777;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 550px;
}

.wavy-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.wavy-line {
  position: absolute;
  top: 40%;
  left: 20%;
  width: 60%;
  opacity: 0.5;
}

/* === Email Sign Up Section (Figma Redesign) === */
.signup-section {
  background: #F8F9FA;
  padding: 6rem 0;
  overflow: hidden;
}

.signup-form-card {
  background: white;
  border-radius: 40px;
  /* Very rounded as per Figma zoom */
  padding: 3.5rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid #F0F0F0;
}

.signup-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #2B2B2B;
  letter-spacing: -0.5px;
}

.signup-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2B2B2B;
  margin-bottom: 8px;
  padding-left: 15px;
}

.signup-input {
  width: 100%;
  padding: 14px 25px;
  border: 1.5px solid #D1D1D1;
  border-radius: 50px;
  /* Pill shape */
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  background: white;
}

.signup-input:focus {
  border-color: var(--achilles-gold);
}

.signup-submit-btn {
  background: var(--achilles-gold);
  color: white;
  border: none;
  border-radius: 50px;
  /* Pill shape */
  padding: 12px 60px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.signup-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
}

.signup-image-container {
  position: relative;
  padding-top: 30px;
}

.signup-image-bg {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 98%;
  height: 98%;
  background: #C4C4C4;
  border-radius: 20px;
  z-index: 1;
}

.signup-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-left: -15px;
  margin-top: 15px;
}

.stats-section {
  background: var(--primary-gradient);
  color: white;
  padding: var(--spacing-lg) 0;
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* === Footer (Figma Redesign) === */
.footer {
  background: #2B2B2B !important;
  color: white !important;
  padding: 4rem 0 0;
  font-family: 'Inter', sans-serif;
}

.footer-logo-wrapper {
  width: 100%;
  display: block;
  text-align: center;
  padding-bottom: 2rem;
}

.footer-logo {
  height: 180px !important;
  /* Big enough to be seen easily */
  width: auto;
  max-width: 90%;
  object-fit: contain;
  margin: 0 auto !important;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.25));
}

@media (max-width: 991px) {
  .footer-logo {
    height: 140px;
  }
}

@media (max-width: 575px) {
  .footer-logo {
    height: 110px;
  }
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  text-transform: none;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-list li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list li a:hover {
  color: var(--achilles-gold);
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--achilles-gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.6);
}

/* Newsletter Styles */
.footer-newsletter-text {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem;
  line-height: 1.6;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: white !important;
  transition: all 0.3s ease !important;
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--achilles-gold) !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1) !important;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.btn-gold {
  background: linear-gradient(90deg, var(--achilles-gold) 0%, var(--achilles-gold-dark) 100%) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2) !important;
}

.btn-gold:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35) !important;
  color: #fff !important;
  filter: brightness(1.1);
}

/* === Animations (Figma Polish) === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floating {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes floating-alt {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(-5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes orbitRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbitRotateAlt {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes orbitRotateTablet {
  from {
    transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) scale(0.8) rotate(360deg);
  }
}

@keyframes orbitRotateMobile {
  from {
    transform: translate(-50%, -50%) scale(0.55) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) scale(0.55) rotate(360deg);
  }
}

@keyframes counterRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
}

.fade-up.visible {
  animation: fadeInUp 0.8s forwards;
}

.fade-right.visible {
  animation: fadeInRight 0.8s forwards;
}

.fade-left.visible {
  animation: fadeInLeft 0.8s forwards;
}

/* Delay Classes */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

/* Micro-animations */
.floating-icon {
  animation: floating 4s ease-in-out infinite;
}

.floating-icon-alt {
  animation: floating-alt 5s ease-in-out infinite;
}

.photo-glow {
  position: relative;
}

.photo-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.photo-glow:hover::after {
  opacity: 1;
}

/* === Form Styles === */
.form-modern input,
.form-modern select,
.form-modern textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-base);
  font-family: var(--font-body);
}

.form-modern input:focus,
.form-modern select:focus,
.form-modern textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-modern label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* === Visit Us Today Section (Figma Redesign) === */
.visit-section {
  background: white;
}

.visit-main-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #2B2B2B;
}

.visit-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #777;
  margin-top: 10px;
}

.location-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #2B2B2B;
}

.location-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--achilles-gold);
  margin-top: 5px;
}

.info-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #555;
  margin-bottom: 5px;
}

.info-value {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.map-wrapper {
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

/* === Utility Classes === */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #A5F3FC 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mt-5 {
  margin-top: var(--spacing-xl);
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mb-5 {
  margin-bottom: var(--spacing-xl);
}

/* === Responsive === */
/* === New Aggressive Responsive Styles === */

/* Global Reset for Horizonal Scroll */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative;
}

/* Large Tablets & Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.8rem !important;
  }

  .doctor-image {
    transform: translate(-30px, 40px) !important;
    max-width: 110% !important;
  }

  .circle-outer {
    width: 450px !important;
    height: 450px !important;
  }

  .circle-middle {
    width: 350px !important;
    height: 350px !important;
  }

  .circle-inner {
    width: 250px !important;
    height: 250px !important;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .nav-logo {
    height: 156px !important;
    width: 156px !important;
    margin: 0 auto !important;
    transform: translateY(0) !important;
  }

  .navbar-custom {
    min-height: auto !important;
    padding: 10px 0 !important;
  }

  .hero-section {
    padding: 2rem 0 !important;
    text-align: center !important;
    min-height: auto !important;
  }

  .hero-title {
    font-size: 2.5rem !important;
    margin-top: 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }

  .hero-title br {
    display: none !important;
    /* Allow natural wrapping */
  }

  .hero-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 600px !important;
  }

  .hero-image-container {
    margin-top: 3rem !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 500px !important;
    position: relative !important;
  }

  .doctor-image {
    transform: translate(-40px, -10px) !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .decorative-circles {
    display: block !important;
    position: absolute !important;
    transform: translate(-50%, -50%) scale(0.8) !important;
    width: 550px !important;
    height: 550px !important;
    top: 50% !important;
    left: 50% !important;
    width: 550px !important;
    height: 550px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    animation: orbitRotateTablet 40s linear infinite !important;
  }

  .hero-testimonial {
    margin: 2rem auto !important;
    max-width: 280px !important;
  }

  .expert-image-container {
    margin-top: 2rem !important;
    padding: 0 !important;
  }

  .expert-image {
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .support-image-wrapper {
    margin-bottom: 2rem !important;
  }

  .support-slider-nav {
    justify-content: center !important;
    padding-left: 0 !important;
  }

  .signup-image-container {
    margin-top: 2rem !important;
  }

  .signup-image {
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .map-container {
    margin-top: 2rem !important;
    padding: 0 !important;
  }

  .map-wrapper {
    margin: 0 !important;
  }
}

/* Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
  .navbar-brand {
    padding: 0.2rem 0 !important;
  }

  .footer-logo {
    height: 100px;
    /* Responsive size for mobile */
    width: auto;
    margin: 0 auto;
    display: block;
  }

  .nav-logo {
    height: 120px !important;
    width: 120px !important;
    margin: 0 auto !important;
    transform: translateY(0) !important;
  }

  .brand-name {
    font-size: 0.95rem !important;
  }

  .brand-subtitle {
    font-size: 0.6rem !important;
  }

  .btn-appointment {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
  }

  .decorative-circles {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    animation: orbitRotateMobile 40s linear infinite !important;
    top: 45% !important;
    /* Slightly higher on mobile */
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.65) !important;
    /* Increased scale */
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
  }

  .doctor-image {
    transform: translate(-20px, -5px) !important;
  }

  .btn-hero {
    width: 100% !important;
    padding: 0.9rem 1rem !important;
    font-size: 0.95rem !important;
  }

  .service-card-modern {
    padding: 3rem 1.5rem 1.5rem !important;
    margin-bottom: 3rem !important;
  }

  .expert-title,
  .support-title,
  .visit-main-title {
    font-size: 1.8rem !important;
    text-align: center !important;
  }

  .expert-text,
  .support-description {
    text-align: center !important;
  }

  .signup-form-card {
    padding: 1.5rem 1rem !important;
    border-radius: 20px !important;
    max-width: 100% !important;
  }

  .signup-input {
    padding: 10px 15px !important;
  }

  .signup-submit-btn {
    width: 100% !important;
    padding: 12px 20px !important;
  }

  .location-info-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 10px !important;
    padding: 0 15px !important;
  }

  .info-icon {
    font-size: 1.2rem !important;
  }

  .info-text {
    width: 100% !important;
  }

  .info-label {
    font-size: 0.9rem !important;
  }

  .info-value {
    font-size: 0.9rem !important;
  }

  .visit-main-title {
    font-size: 2rem !important;
  }

  .location-title {
    font-size: 1.5rem !important;
    text-align: center !important;
  }

  .footer {
    text-align: center !important;
  }

  .footer .d-flex {
    justify-content: center !important;
  }
}

.footer-logo {
  margin: 0 auto 1rem !important;
  width: auto !important;
  height: 60px !important;
  margin-right: 0 !important;
}

.footer .brand-text-container {
  text-align: center !important;
  min-width: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.footer .brand-name {
  font-size: 1.1rem !important;
}

.footer .brand-subtitle {
  font-size: 0.75rem !important;
}

.footer-list {
  margin-bottom: 2rem !important;
}

.social-icons {
  justify-content: center !important;
}

.social-link {
  margin: 0 8px !important;
}

.footer-bottom {
  text-align: center !important;
}

/* Center location section on mobile - Move to media query if needed, but remove global btn-hero centering */
.location-details {
  text-align: center !important;
}

.location-info-item {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 10px !important;
  padding: 0 15px !important;
}




/* === Responsive Enhancements for Service Pages === */
@media (max-width: 991px) {
  .section-dark {
    padding: 3rem 0 !important;
  }

  .display-4 {
    font-size: 2.2rem !important;
    line-height: 1.2;
  }

  .lead {
    font-size: 1rem !important;
  }

  .dropdown-submenu>.dropdown-menu {
    display: block !important;
    position: static !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: rgba(0, 0, 0, 0.03) !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .dropdown-submenu>.dropdown-item {
    background-color: #f8f9fa !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }

  .dropdown-submenu>.dropdown-menu>li>.dropdown-item {
    padding-left: 2.5rem !important;
    /* Indent sub-items */
    font-weight: 400 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  }

  .dropdown-submenu>.dropdown-item::after {
    display: none !important;
    /* Hide submenu arrows on mobile */
  }

  .breadcrumb {
    font-size: 0.8rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
  }

  .breadcrumb-item+.breadcrumb-item::before {
    padding: 0 5px;
  }
}

@media (max-width: 767px) {
  .service-content-body {
    padding: 1.5rem !important;
  }

  .card-body {
    padding: 1.5rem !important;
  }

  h1,
  .display-4 {
    font-size: 1.8rem !important;
  }

  .lead {
    font-size: 0.95rem !important;
  }
}

/* Ensure images in content don't overflow */
.service-content-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  margin: 1.5rem 0 !important;
}

/* Location Section Refinements */
.clinic-image-wrapper {
  margin-top: 1rem;
  text-align: center;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.clinic-image-wrapper img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin: 0 auto;
  border: 4px solid #fff;
  height: 100%;
  width: 100% !important;
  object-fit: cover;
}

.clinic-image-wrapper img:hover {
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .clinic-image-wrapper img {
    max-width: 100%;
  }
}

/* === Logo Shine Effect === */
.logo-shine-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.logo-shine-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -200%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: logoShine 3.5s infinite;
}

@keyframes logoShine {
  0% {
    left: -200%;
  }

  35% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}