/* 
========================================================================
   DivaSuman Glaucoma Clinic - Premium CSS Design System
   Handwritten CSS. Designed for Medical Luxury & Authority.
========================================================================
*/

/* --- Design Tokens / Variables --- */
:root {
  --color-primary: #0A2E5C;      /* Deep Navy Blue */
  --color-secondary: #123D73;    /* Classic Navy */
  --color-accent: #2A7DE1;       /* Vibrant Electric Blue */
  --color-bg: #FFFFFF;           /* White Background */
  --color-bg-light: #F7FAFD;     /* Soft Light Blue-Grey */
  --color-text: #1F2937;         /* Charcoal Dark Text */
  --color-text-light: #6B7280;   /* Muted Grey Text */
  --color-white: #FFFFFF;
  --color-accent-light: #E0F2FE; /* Alert/Badge Light Blue */
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 50%;
  
  --shadow-sm: 0 2px 4px rgba(10, 46, 92, 0.05);
  --shadow-md: 0 10px 20px rgba(10, 46, 92, 0.06), 0 4px 8px rgba(10, 46, 92, 0.04);
  --shadow-lg: 0 20px 40px rgba(10, 46, 92, 0.1), 0 8px 16px rgba(10, 46, 92, 0.05);
  --shadow-glow: 0 0 25px rgba(42, 125, 225, 0.2);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-width: 1200px;
  --header-height: 80px;
}

/* --- CSS Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
}

p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

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

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

ul {
  list-style: none;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 100px 0;
}

.section-light {
  background-color: var(--color-bg-light);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-title-wrapper {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  line-height: 1;
}

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

.btn-primary:hover {
  background-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background-color: var(--color-accent-light);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --- Top Bar & Navigation Header --- */
.top-bar {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: height var(--transition-normal), opacity var(--transition-normal);
}

.top-bar-hidden {
  height: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
}

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

.top-info {
  display: flex;
  gap: 25px;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-svg {
  width: 16px;
  height: 16px;
}

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

.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: var(--header-height);
}

.header-scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 66px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-normal);
}

.header-scrolled .logo-image {
  height: 56px;
}

.mobile-nav-header .logo-image {
  height: 54px;
}

.logo-svg {
  width: 44px;
  height: 44px;
}

.logo-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  line-height: 1;
}

.logo-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-accent);
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

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

/* Dropdown Menu styling */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 15px 0;
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border-top: 3px solid var(--color-accent);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text);
  font-weight: 500;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
  background-color: var(--color-bg-light);
  color: var(--color-accent);
  padding-left: 28px;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.hamburger .bar {
  width: 25px;
  height: 2.5px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

/* --- Mobile Nav Drawer --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background-color: var(--color-white);
  z-index: 150;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
}

.mobile-nav-list {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-accent);
}

.mobile-submenu {
  display: none;
  padding-left: 15px;
  margin-top: 8px;
  border-left: 2px solid var(--color-accent-light);
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu li a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.mobile-submenu li a:hover,
.mobile-submenu li a.active {
  color: var(--color-accent);
  font-weight: 600;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 46, 92, 0.4);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 120px 0 100px 0;
  overflow: hidden;
}

/* Hero background glow */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(42, 125, 225, 0.2) 0%, rgba(10, 46, 92, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  background-color: rgba(42, 125, 225, 0.15);
  color: #93C5FD;
  border: 1px solid rgba(42, 125, 225, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 25px;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-subheading {
  font-size: 1.15rem;
  color: #D1D5DB;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-container {
  width: 100%;
  max-width: 420px;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Cards in Hero */
.floating-card {
  position: absolute;
  background-color: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-md);
  padding: 15px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
  animation: floatCard 4s ease-in-out infinite;
  min-width: 220px;
}

.floating-card-1 {
  bottom: 40px;
  left: -40px;
  animation-delay: 0s;
}

.floating-card-2 {
  top: 60px;
  right: -30px;
  animation-delay: 1.5s;
}

.floating-card-3 {
  bottom: 220px;
  left: -60px;
  animation-delay: 3s;
  background-color: var(--color-accent);
  color: var(--color-white);
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card-3 .floating-card-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.floating-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  display: block;
}

.floating-card-3 .floating-card-title {
  color: var(--color-white);
}

.floating-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.floating-card-3 .floating-card-desc {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Welcome / About Preview Section --- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.welcome-images {
  position: relative;
}

.welcome-img-large {
  width: 85%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.welcome-img-small {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 45%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid var(--color-white);
  box-shadow: var(--shadow-lg);
}

.welcome-content {
  display: flex;
  flex-direction: column;
}

.welcome-highlight {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-secondary);
  border-left: 3px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 25px;
}

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
  margin-bottom: 30px;
}

.welcome-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}

.welcome-feature-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Why Choose Us Section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 46, 92, 0.03);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
  background-color: var(--color-accent);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-bg-light);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition-normal);
}

.why-card:hover .why-card-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.why-card-desc {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Our Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 46, 92, 0.03);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 30px;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card-link svg {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* --- Doctor Section --- */
.doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.doctor-image-container {
  position: relative;
}

.doctor-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 6px solid var(--color-white);
  aspect-ratio: 4 / 5;
}

.doctor-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-image-container::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.doctor-title-name {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.doctor-specialty {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 25px;
}

.doctor-bio-intro {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.doctor-timeline {
  margin: 30px 0;
  border-left: 2px solid var(--color-accent-light);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor-timeline-item {
  position: relative;
}

.doctor-timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background-color: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.doctor-timeline-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}

.doctor-timeline-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.doctor-achievements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.doctor-achievement-item {
  background-color: var(--color-bg-light);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.doctor-achievement-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* --- Technology Section --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 46, 92, 0.03);
  text-align: center;
  transition: all var(--transition-normal);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(42, 125, 225, 0.2);
}

.tech-icon-container {
  width: 70px;
  height: 70px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: all var(--transition-normal);
}

.tech-card:hover .tech-icon-container {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.tech-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.tech-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

/* Connecting line for process steps on desktop */
.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--color-accent-light);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 3px solid var(--color-accent-light);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 20px auto;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.process-step:hover .process-number {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.process-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.process-desc {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* --- Testimonials Section --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 46, 92, 0.03);
  position: relative;
}

.testimonial-rating {
  color: #FBBF24; /* Amber star color */
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background-color: var(--color-accent-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.testimonial-author-role {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* Google Review Badge */
.google-reviews-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--color-bg-light);
  padding: 15px 30px;
  border-radius: 40px;
  margin: 50px auto 0 auto;
  max-width: 450px;
  box-shadow: var(--shadow-sm);
}

.google-reviews-badge img {
  width: 24px;
  height: 24px;
}

.google-reviews-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* --- FAQ Accordion --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 46, 92, 0.03);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 125, 225, 0.1);
}

.faq-question {
  padding: 24px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary);
  user-select: none;
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Large enough height */
  padding-bottom: 24px;
  transition: max-height var(--transition-normal) ease-in;
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Blog Preview Card --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 46, 92, 0.03);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 30px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-date {
  color: var(--color-text-light);
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-card-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card-link svg {
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card-link svg {
  transform: translateX(4px);
}

/* --- CTA Banner Section --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(42, 125, 225, 0.1);
  border-radius: var(--radius-round);
}

.cta-banner-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* --- Footer Section --- */
.footer {
  background-color: var(--color-primary);
  color: #9CA3AF;
  padding: 80px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.logo-footer {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #D1D5DB;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

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

.footer-title {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 0.9rem;
  color: #9CA3AF;
  display: block;
}

.footer-links li a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #9CA3AF;
}

.footer-contact li svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.95rem;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.footer-bottom p {
  margin-bottom: 0;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom a {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--color-accent);
  opacity: 0.9;
}

/* --- Modal Overlay & Container --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 46, 92, 0.6);
  backdrop-filter: blur(5px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.modal-container {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-white);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: var(--color-white);
  transition: var(--transition-fast);
}

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

textarea.form-control {
  resize: vertical;
}

.required {
  color: #EF4444;
}

/* --- Scroll To Top Button --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 90;
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

/* --- Inner Page Styles --- */

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 80px 0;
  position: relative;
  text-align: center;
}

.page-banner-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #93C5FD;
}

.breadcrumbs a {
  color: #D1D5DB;
}

.breadcrumbs a:hover {
  color: var(--color-white);
}

.breadcrumbs-separator {
  color: rgba(255,255,255,0.4);
}

/* Sidebar Navigation Layout (For Service Pages) */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
}

.sidebar-nav {
  position: sticky;
  top: 110px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent-light);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-menu-link {
  display: block;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.sidebar-menu-link:hover, .sidebar-menu-link.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-left: 22px;
}

/* Sidebar Clinic Info Widget */
.sidebar-widget {
  margin-top: 30px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
}

.sidebar-widget-title {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.sidebar-widget-desc {
  font-size: 0.85rem;
  color: #D1D5DB;
  margin-bottom: 20px;
}

/* Main Content Styles */
.main-content {
  font-size: 1.05rem;
  line-height: 1.7;
}

.main-content h2 {
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.main-content h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-secondary);
}

.main-content p {
  margin-bottom: 20px;
}

.main-content-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 35px;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 25px 0;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet-list li svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

/* --- Contact Page Styles --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-info-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.contact-info-desc a:hover {
  color: var(--color-accent);
}

.contact-form-panel {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(10, 46, 92, 0.05);
}

.recaptcha-wrapper {
  margin: 20px 0;
  display: flex;
  justify-content: flex-start;
  max-width: 100%;
  overflow-x: auto;
}

.map-wrapper {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Alert Notification Styles */
.alert {
  padding: 15px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  font-weight: 500;
  font-size: 0.95rem;
}

.alert-success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.alert-error {
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}

/* --- Scroll Animations Trigger Classes --- */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-on-scroll.scrolled {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-left.scrolled {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-right.scrolled {
  opacity: 1;
  transform: translateX(0);
}

/* Floating Card Keyframes */
@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* --- Responsive Media Queries --- */

/* Laptop / Small Desktop */
@media (max-width: 1200px) {
  html { font-size: 15px; }
  .why-grid, .services-grid, .tech-grid, .testimonials-grid, .blog-grid {
    gap: 20px;
  }
}

/* Tablet (Landscape) */
@media (max-width: 992px) {
  .section { padding: 80px 0; }
  
  .hamburger { display: flex; }
  .nav-menu { display: none; } /* Handled by JS mobile nav drawer */
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .floating-card-1 { left: -10px; bottom: 20px; }
  .floating-card-2 { right: -10px; top: 30px; }
  .floating-card-3 { left: auto; right: -20px; bottom: 180px; }
  
  .welcome-grid, .doctor-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .doctor-image-container {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .why-grid, .services-grid, .tech-grid, .testimonials-grid, .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .process-grid::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  
  .page-with-sidebar {
    grid-template-columns: 1fr;
  }
  
  .sidebar-nav {
    position: relative;
    top: 0;
  }
}

/* Mobile Devices */
@media (max-width: 600px) {
  html { font-size: 14px; }
  .section { padding: 60px 0; }
  
  .hero-title { font-size: 2.5rem; }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  .btn { width: 100%; }
  
  .floating-card {
    display: none; /* Hide floating cards on tiny mobile screens to avoid clutter */
  }
  
  .welcome-img-large { width: 100%; }
  .welcome-img-small { display: none; }
  
  .why-grid, .services-grid, .tech-grid, .testimonials-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-panel {
    padding: 25px;
  }
  
  .logo-brand { font-size: 1.2rem; }
  .logo-tag { font-size: 0.65rem; }
}

/* ========================================================================
   Cataract Surgery Page Custom Styling
   ======================================================================== */

.surgery-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 25px;
}

.surgery-type-card {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(10, 46, 92, 0.03);
}

.surgery-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 125, 225, 0.15);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid #E5E7EB;
}

.comparison-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.comparison-table th:nth-child(2) {
  background-color: var(--color-secondary);
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--color-bg-light);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.lenses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.lens-card {
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 25px 20px;
  text-align: center;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.lens-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.unique-approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}

.unique-approach-item {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 15px;
  transition: all var(--transition-normal);
}

.unique-approach-item:hover {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

/* Responsive adjustments for Cataract elements */
@media (max-width: 992px) {
  .surgery-types-grid,
  .unique-approach-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  .lenses-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 600px) {
  .lenses-grid {
    grid-template-columns: 1fr !important;
  }
  
  .comparison-table th, 
  .comparison-table td {
    padding: 12px 15px;
    font-size: 0.85rem;
  }
}

/* Mobile Viewport Optimizations to Prevent Overflow */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .nav-actions .nav-btn {
    display: none;
  }
  
  .nav-container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 360px) {
  .logo-brand {
    font-size: 1.1rem;
  }
  .logo-tag {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }
  .logo-svg {
    width: 36px;
    height: 36px;
  }
  .logo {
    gap: 8px;
  }
}

@media (max-width: 991px) {
  .academic-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}

/* ==========================================================================
   Site Preloader (Logo Loader)
   ========================================================================== */
.site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #ffffff 0%, #f4f8fc 100%);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, visibility;
  pointer-events: all;
}

.site-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  position: relative;
}

.preloader-logo-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.preloader-logo {
  max-width: 120px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: preloaderPulse 2.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 6px 16px rgba(10, 46, 92, 0.12));
}

.preloader-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(42, 125, 225, 0.12);
  border-top-color: #2A7DE1;
  border-right-color: #0A2E5C;
  animation: preloaderSpin 1.4s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
  z-index: 1;
}

.preloader-ring-outer {
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border-radius: 50%;
  border: 2px dashed rgba(42, 125, 225, 0.25);
  animation: preloaderSpinReverse 6s linear infinite;
  z-index: 0;
}

.preloader-progress-track {
  width: 150px;
  height: 4px;
  background: rgba(42, 125, 225, 0.15);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #2A7DE1, #0A2E5C);
  border-radius: 99px;
  animation: preloaderBar 1.6s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.88;
  }
  100% {
    transform: scale(1.04);
    opacity: 1;
    filter: drop-shadow(0 10px 24px rgba(42, 125, 225, 0.25));
  }
}

@keyframes preloaderSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes preloaderSpinReverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes preloaderBar {
  0% {
    left: -40%;
    width: 30%;
  }
  50% {
    width: 60%;
  }
  100% {
    left: 100%;
    width: 30%;
  }
}

@media (max-width: 480px) {
  .preloader-logo-wrapper {
    width: 140px;
    height: 140px;
    margin-bottom: 18px;
  }
  .preloader-logo {
    max-width: 100px;
    max-height: 70px;
  }
  .preloader-progress-track {
    width: 120px;
  }
}