/* ==========================================================================
   Nord Healthcare - Global CSS Stylesheet
   Theme: Professional, Premium Medical & Pharmaceutical
   Colors: Emerald Green (#084A3B), Vibrant Mint (#10B981), Soft Gray (#F9FAFB)
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Color Palette */
  --primary-color: #084A3B;
  --primary-light: #0d6652;
  --primary-dark: #042d24;
  --primary-tint: #f0f7f5;
  --accent-color: #10B981;
  --accent-hover: #059669;
  --accent-tint: #e6f7f2;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-light: #ffffff;
  
  --border-color: #e5e7eb;
  --border-focus: #10B981;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 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-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);

  /* Border Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-max: 1280px;
  --header-height: 80px;
}

/* ==========================================================================
   Resets and Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; }

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

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

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

.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.section-bg-dark .section-header p {
  color: #a7f3d0;
}

.text-accent {
  color: var(--accent-color) !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  gap: 10px;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(8, 74, 59, 0.3);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

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

.btn-white:hover {
  background-color: var(--bg-tertiary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Header and Navigation Drawer
   ========================================================================== */
.header {
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

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

/* Logo Brand */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--text-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Desktop Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

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

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

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile Toggler */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

/* Responsive Navigation Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-primary);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  padding: 100px 30px 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
}

.nav-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--primary-color);
  padding-left: 8px;
  border-bottom-color: var(--accent-color);
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-info {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.drawer-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* Hamburger animation */
.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Home Page Sections
   ========================================================================== */

/* 1. Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, #e6f7f2 0%, var(--bg-primary) 60%);
}

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

.hero-tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-tagline::before {
  content: '';
  width: 20px;
  height: 2px;
  background-color: var(--accent-color);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.trust-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-tint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.trust-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 8px solid var(--bg-primary);
  background-color: var(--bg-tertiary);
  aspect-ratio: 4/3;
}

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

.hero-floating-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 5px solid var(--accent-color);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-tint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.floating-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.floating-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* 2. Philosophy Banner Section */
.philosophy-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.philosophy-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.philosophy-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.philosophy-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-color);
  opacity: 0.7;
}

.philosophy-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.philosophy-info p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

#core-values .philosophy-info h3 {
  color: var(--text-primary);
}

#core-values .philosophy-info p {
  color: var(--text-secondary);
}

/* 3. Who We Are Section */
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.who-we-are-text h2 {
  margin-bottom: 24px;
  font-size: 2.25rem;
}

.who-we-are-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.who-we-are-points {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.point-icon {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.point-text {
  font-weight: 600;
  color: var(--primary-color);
}

.who-we-are-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-color: var(--bg-tertiary);
}

.who-we-are-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. Stats Counter Dashboard */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  color: var(--text-light);
  border-radius: var(--radius-xl);
  margin: 0 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  gap: 20px;
}

.stat-card {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

/* 5. Therapeutic Focus Areas */
.therapeutic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.therapeutic-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.5;
}

.therapeutic-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.thera-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--primary-tint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.therapeutic-card:hover .thera-icon-box {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.therapeutic-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.thera-view-all {
  text-align: center;
  margin-top: 40px;
}

.thera-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
}

.thera-view-all-link:hover {
  color: var(--accent-color);
}

/* 6. Quality & R&D Section */
.quality-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.quality-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-color: var(--bg-tertiary);
}

.quality-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-text h2 {
  margin-bottom: 24px;
}

.quality-text p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.quality-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.q-feat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.q-feat-card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.q-feat-card-horizontal .q-feat-icon {
  flex-shrink: 0;
}

.q-feat-card-horizontal h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.q-feat-card-horizontal p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.q-feat-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-tint);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.25rem;
}

.q-feat-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.q-feat-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* 7. Latest News / Updates */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.news-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--bg-tertiary);
}

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

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
}

.news-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 12px;
  display: block;
}

.news-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.news-link:hover {
  color: var(--accent-color);
}

/* 8. Call To Action Banner */
.partner-cta-section {
  padding: 0;
  margin-bottom: -50px;
  position: relative;
  z-index: 10;
}

.cta-banner-wrapper {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0c5e4a 100%);
  border-radius: var(--radius-xl);
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xl);
  color: var(--text-light);
}

.cta-banner-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 12px;
}

.cta-banner-text p {
  color: #a7f3d0;
  font-size: 1.05rem;
  max-width: 600px;
}

.cta-banner-action {
  flex-shrink: 0;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 130px 0 40px 0; /* Extra top padding to offset the overlaying CTA banner */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h3, .footer h4 {
  color: var(--text-light);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .logo-title {
  color: var(--text-light);
}

.footer-brand .logo-icon {
  box-shadow: none;
}

.footer-brand .brand-logo-img {
  filter: brightness(0) invert(1);
}

.footer-brand-desc {
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.03);
  font-size: 1rem;
}

.social-icon:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links a {
  font-size: 0.95rem;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 0.92rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--text-light);
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* ==========================================================================
   Sub-pages / Inner Layouts
   ========================================================================== */

/* Subpage Hero */
.sub-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  text-align: center;
}

.sub-hero h1 {
  font-size: 2.75rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumbs-sep {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* About Us Sections */

/* Vision / Mission Tabs or Columns */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.vision-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-normal);
}

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

.vision-icon-box {
  width: 70px;
  height: 70px;
  background-color: var(--primary-tint);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 1.75rem;
}

.vision-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.vision-card p {
  color: var(--text-secondary);
}

/* Directors Desk / Leadership Profile */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.leader-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.leader-avatar {
  width: 100px;
  height: 100px;
  background-color: var(--primary-tint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: var(--primary-color);
  flex-shrink: 0;
  border: 3px solid var(--accent-color);
  font-weight: 700;
  font-family: var(--font-heading);
  overflow: hidden;
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.leader-image-full {
  width: 180px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--accent-color);
}

.leader-image-full img {
  width: 100%;
  height: auto;
  display: block;
}

.leader-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: block;
}

.leader-message {
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
}

.leader-message::before {
  content: '“';
  font-family: Georgia, serif;
  font-size: 3rem;
  color: rgba(16, 185, 129, 0.15);
  position: absolute;
  top: -20px;
  left: -15px;
}

/* Timeline/Milestones */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5px;
  width: 2px;
  height: 100%;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: -30px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--accent-color);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-secondary);
}

/* Services Page CSS */

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.service-box-icon {
  width: 54px;
  height: 54px;
  background-color: var(--primary-tint);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.service-box:hover .service-box-icon {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.service-box h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.service-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-box-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-box-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.service-box-list li i {
  color: var(--accent-color);
}

/* Contact Page CSS */

/* Contact Details Cards */
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.contact-info-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-tint);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.25rem;
}

.contact-info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

/* Contact Form Grid */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.contact-form-container {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-container h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-form-container p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: var(--bg-secondary);
  transition: all var(--transition-normal);
}

.form-control:focus {
  background-color: var(--bg-primary);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
  display: block;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
  display: block;
}

/* Map Location styling */
.map-placeholder-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 400px;
  position: relative;
  background-color: var(--bg-tertiary);
}

.map-placeholder-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 400px;
}

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

.faq-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
  padding-right: 20px;
}

.faq-item.active .faq-question h3 {
  color: var(--accent-color);
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--primary-color);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-color);
}

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

.faq-answer-content {
  padding: 0 24px 24px 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-content {
  border-top-color: var(--border-color);
}

/* WhatsApp Widget floating styles */
.whatsapp-float-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.whatsapp-float-widget:hover {
  background-color: #128C7E;
  transform: scale(1.05);
}

.whatsapp-float-widget i {
  font-size: 1.4rem;
}

/* ==========================================================================
   Responsive Media Queries (Mobile First Approach)
   ========================================================================== */

/* Up to 1024px (Laptops & large tablets) */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  
  .therapeutic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }
  
  .stat-card {
    border-right: none;
  }
  
  .stat-card:nth-child(3) {
    border-right: none;
  }
}

/* Up to 768px (Tablets) */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.85rem; }
  
  .section {
    padding: 70px 0;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu, .nav-cta {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-tagline {
    justify-content: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 40px;
  }
  
  .hero-image-wrapper {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .hero-floating-card {
    left: 20px;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .who-we-are-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .who-we-are-image {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .quality-image {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    order: -1;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .cta-banner-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 30px;
  }
  
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .services-card-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-placeholder-container {
    min-height: 350px;
  }
}

/* Up to 480px (Smartphones) */
@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .therapeutic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-details-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .leader-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* ==========================================================================
   Gallery Page (gallery.html)
   ========================================================================== */

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.tab-btn.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.gallery-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.gallery-item.gallery-hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.gallery-img-box {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-tertiary);
  cursor: pointer;
}

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

.gallery-item:hover .gallery-img-box img {
  transform: scale(1.06);
}

.gallery-img-box-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-avatar-fallback {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background-color: var(--primary-tint);
  color: var(--primary-color);
  border: 3px solid var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 74, 59, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-img-box:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  color: var(--text-light);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  border: 2px solid var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-caption {
  padding: 20px;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gallery-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
}

.gallery-empty {
  display: none;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 45, 36, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-container {
  max-width: 700px;
  width: 100%;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lightbox-media {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--bg-tertiary);
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-media-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: var(--primary-tint);
}

.lightbox-info {
  padding: 24px;
  text-align: center;
}

.lightbox-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.lightbox-tag {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
}

.lightbox-close,
.lightbox-nav-btn {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.lightbox-close:hover,
.lightbox-nav-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.lightbox-close {
  top: 30px;
  right: 30px;
}

.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { top: 16px; right: 16px; }
}