/* DGWO Custom Design System */

:root {
  /* Colors - Premium Gold Scheme matching Dr. Dhara's Logo */
  --primary-h: 38;
  --primary-s: 48%;
  --primary-l: 36%;
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --primary-hover: hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) - 5%));
  --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);
  --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.15);

  --accent-h: 42;
  --accent-s: 58%;
  --accent-l: 50%;
  --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  --accent-hover: hsl(var(--accent-h), var(--accent-s), calc(var(--accent-l) - 5%));
  --accent-light: hsl(var(--accent-h), var(--accent-s), 96%);

  /* Neutrals (Light Mode Default - Warm Cream) */
  --bg-base: #faf9f6;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border: rgba(226, 232, 240, 0.8);
  --border-focus: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.4);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -8px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.25);

  /* Border Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-round: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Font Families - Inherited from layout font variables */
  --font-sans: var(--font-inter), system-ui, -apple-system, sans-serif;
  --font-title: var(--font-outfit), var(--font-inter), system-ui, sans-serif;

  /* Layout */
  --container-width: 1200px;
}

/* Dark Mode Overrides (Subtle, Deep Warm Charcoal Gold Theme) */
[data-theme="dark"] {
  --bg-base: #0c0f17;
  --bg-surface: #131724;
  --bg-card: rgba(19, 23, 36, 0.75);
  --text-primary: #fbfbfc;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(51, 65, 85, 0.55);
  --border-focus: hsla(var(--primary-h), var(--primary-s), calc(var(--primary-l) + 15%), 0.5);
  --primary-light: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.15);
  --accent-light: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.15);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.55);
}

/* Core Reset */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--bg-surface);
}

/* Glassmorphism Presets */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.25);
}

/* Premium Typography Helper */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.gradient-bg-soft {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}

/* Common UI Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-round);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.4);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 15px hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.25);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.35);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Premium Form Elements */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-control {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-scale-in { animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  h1 { font-size: 2.25rem !important; }
  h2 { font-size: 1.75rem !important; }
}

/* Hide Scrollbar for carousels */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 1024px) {
  .mobile-reverse {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
}
/* Homepage Styles */

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.heroContent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  z-index: 10;
}

.heroTag {
  background-color: var(--primary-glow);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-round);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(20, 184, 166, 0.25);
  display: inline-block;
}

.heroTitle {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-primary);
  font-family: var(--font-title);
  text-align: left;
}

.heroSubtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

.heroCTAs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.heroImageWrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--card-bg);
}

.heroImage {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.heroImage:hover {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .heroGrid {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }
  .heroContent {
    align-items: center;
  }
  .heroTitle, .heroSubtitle {
    text-align: center;
  }
  .heroCTAs {
    justify-content: center;
  }
}

/* Sections Header */
.sectionHeader {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.sectionTag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 0.75rem;
  display: block;
}

.sectionTitle {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.sectionDesc {
  color: var(--text-muted);
}

/* Key Services */
.serviceCard {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.serviceIcon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.serviceCard h3 {
  font-size: 1.25rem;
}

.serviceLink {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: auto;
}

.serviceLink:hover svg {
  transform: translateX(3px);
}

.serviceLink svg {
  transition: transform var(--transition-fast);
}

/* Why DGWO */
.whyItem {
  display: flex;
  gap: 1.25rem;
}

.whyNumber {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  font-family: var(--font-title);
}

.whyText h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* Expert Cards */
.expertGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.expertCard {
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.expertImgWrapper {
  position: relative;
  height: 240px;
  background-color: var(--bg-tertiary);
  overflow: hidden;
}

.expertImgPlaceholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.expertContent {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.expertSpecialty {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.expertName {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.expertMeta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.expertAction {
  margin-top: auto;
  width: 100%;
}

/* Membership Banner */
.membershipSection {
  padding: 5rem 0;
  border-radius: var(--radius-xl);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.membershipContent {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 10;
  position: relative;
}

.membershipTitle {
  color: #ffffff;
  font-size: 2.25rem;
}

.membershipPrice {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--accent);
}

.membershipPrice span {
  font-size: 1rem;
  font-weight: 400;
  color: #cbd5e1;
}

.membershipBenefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.membershipBenefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

/* Success Stories */
.storyCard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.storyImages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.storyImgBox {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border);
}

.storyImgPlaceholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary), #cbd5e1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.storyLabel {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.storyContent {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.storyQuote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  border-left: 3.5px solid var(--primary);
  padding-left: 1.25rem;
  margin-top: 1rem;
}

/* Corporate Section */
.corporatePromo {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.corporateFormCard {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}

/* Blog Cards */
.blogCard {
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.blogImg {
  height: 200px;
  background-color: var(--bg-tertiary);
  position: relative;
}

.blogImgPlaceholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.blogContent {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.blogCategory {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blogTitle {
  font-size: 1.2rem;
  line-height: 1.4;
}

.blogExcerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blogMeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: auto;
}

/* Contact Details */
.contactGrid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contactInfoCard {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contactList {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contactMethod {
  display: flex;
  gap: 1rem;
}

.contactIcon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contactText h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contactFormCard {
  padding: 2.5rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .heroTitle {
    font-size: 2.75rem;
  }
  .corporatePromo {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .storyCard {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contactGrid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 6rem 0;
  }
  .heroTitle {
    font-size: 2.25rem;
  }
  .heroSubtitle {
    font-size: 1.1rem;
  }
  .membershipSection {
    padding: 3rem 1.5rem;
  }
  .membershipBenefits {
    grid-template-columns: 1fr;
  }
}

/* Expert Marquee */
.marqueeContainer {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0 3rem 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marqueeTrack {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollMarquee 25s linear infinite;
}

.marqueeTrack:hover {
  animation-play-state: paused;
}

.marqueeGroup {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
}

.marqueeItem {
  width: 350px;
  flex-shrink: 0;
  height: 100%;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 2rem)); }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), height var(--transition-normal);
}

:global([data-theme="dark"]) .header {
  background-color: rgba(15, 23, 42, 0.75);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logoIcon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navLink {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.navLink:hover {
  color: var(--primary);
}

.navLinkActive {
  color: var(--primary);
  font-weight: 600;
}

.navLinkActive::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
}

.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.loginBtn {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-title);
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}

.loginBtn:hover {
  color: var(--primary);
}

.burgerBtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
}

/* Mobile Drawer Overlay */
.mobileMenu {
  display: none;
}

@media (max-width: 1150px) {
  .nav {
    display: none;
  }
  .actions {
    display: none;
  }
  .burgerBtn {
    display: block;
  }

  .mobileMenu {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border);
    z-index: 999;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }

  .mobileMenuOpen {
    transform: translateX(0);
  }

  .mobileNav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .mobileNavLink {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .mobileActions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container:not(.bottom) {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.logoIcon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.brandText {
  font-size: 0.95rem;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 1rem;
}

.socialIcon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  transition: var(--transition-fast);
}

.socialIcon:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-family: var(--font-title);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.link {
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.contactInfo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
}

.contactItem {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contactItem svg {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bottomLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.85rem;
}

.bottomLink:hover {
  color: #ffffff;
}

.disclaimer {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #64748b;
  text-align: justify;
}

.copyright {
  font-size: 0.85rem;
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border);
    z-index: 999;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }

  .mobileMenuOpen {
    transform: translateX(0);
  }

  .mobileNav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .mobileNavLink {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .mobileActions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container:not(.bottom) {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.logoIcon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.brandText {
  font-size: 0.95rem;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 1rem;
}

.socialIcon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  transition: var(--transition-fast);
}

.socialIcon:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-family: var(--font-title);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.link {
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.contactInfo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
}

.contactItem {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contactItem svg {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bottomLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.85rem;
}

.bottomLink:hover {
  color: #ffffff;
}

.disclaimer {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #64748b;
  text-align: justify;
}

.copyright {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .footer .container:not(.bottom) {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .footer .container:not(.bottom) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* =====================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   Covers all inline-style sections in index.php + pages
   ===================================================== */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {

  /* Hero slider grid */
  section [style*="grid-template-columns:1.2fr 1fr"],
  section [style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Why DGWO 2-col grid */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* B2B + Contact 2-col grids */
  [style*="grid-template-columns:1fr 1fr; gap:6rem"],
  [style*="grid-template-columns:1fr 1fr; gap:2.5rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Global Pass 2-col */
  [style*="grid-template-columns:1fr 1fr; gap:4rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Section padding reduce */
  section[style*="padding:6rem"],
  section[style*="padding:5rem"] {
    padding: 3.5rem 0 !important;
  }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {

  /* Universal: any inline grid of 2+ columns → 1 column */
  [style*="display:grid"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Keep inline flex items wrapping */
  [style*="display:flex; justify-content:space-between"],
  [style*="display:flex; gap:"] {
    flex-wrap: wrap !important;
  }

  /* Hero section */
  section[style*="min-height:100vh"],
  .hero {
    padding: 2rem 0 !important;
  }

  /* Hero title font sizes */
  [style*="font-size:3.5rem"],
  [style*="font-size: 3.5rem"] { font-size: 2rem !important; }

  [style*="font-size:3rem"],
  [style*="font-size: 3rem"] { font-size: 1.8rem !important; }

  [style*="font-size:2.8rem"],
  [style*="font-size: 2.8rem"] { font-size: 1.7rem !important; }

  [style*="font-size:2.5rem"],
  [style*="font-size: 2.5rem"] { font-size: 1.6rem !important; }

  [style*="font-size:2rem"],
  [style*="font-size: 2rem"]   { font-size: 1.4rem !important; }

  /* Section padding mobile */
  section[style*="padding:5rem 0"],
  section[style*="padding:6rem 0"],
  section[style*="padding:7rem 0"] {
    padding: 3rem 0 !important;
  }

  /* Global Pass — stack vertically, fix padding */
  section[style*="padding:5rem 0 0 0"] {
    padding: 2rem 0 !important;
  }

  [style*="padding:4rem 5rem"] {
    padding: 2rem 1.25rem !important;
  }

  /* Success story images side-by-side → single col */
  [style*="grid-template-columns:1fr 1fr; gap:1rem"] {
    grid-template-columns: 1fr !important;
  }

  /* Before/After image boxes reduce height */
  [style*="height:280px; background:#e2e8f0"],
  [style*="height:250px"] {
    height: 180px !important;
  }

  /* Blog cards grid → 1 col */
  [style*="grid-template-columns:repeat(auto-fill,minmax(320px"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Services grid */
  [style*="grid-template-columns:repeat(auto-fill,minmax("] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Contact form email+phone side by side → stack */
  [style*="display:grid; grid-template-columns:1fr 1fr; gap:1.5rem"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* B2B stats row  */
  [style*="grid-template-columns:1fr 1fr; gap:2rem; margin-bottom"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* CTA section padding */
  section[style*="padding:7rem 0; background:linear-gradient"] {
    padding: 4rem 0 !important;
  }

  /* CTA title */
  [style*="font-size:3rem; font-weight:800; margin:0 auto 1.5rem"] {
    font-size: 1.7rem !important;
  }

  /* Hero image hidden on very small screens */
  .hero-image-col { display: none !important; }

  /* Container width full on mobile */
  .container {
    width: 95% !important;
    padding: 0 0.75rem !important;
  }
}

/* --- Small Mobile (max 480px) --- */
@media (max-width: 480px) {

  /* Fonts even smaller */
  [style*="font-size:2rem"]   { font-size: 1.3rem !important; }
  [style*="font-size:1.8rem"] { font-size: 1.2rem !important; }

  /* Buttons full width on small screens */
  .heroCTAs .btn,
  section .btn[style*="padding:0.9rem"] {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Global Pass card padding */
  [style*="background:#b88835"][style*="padding:4rem"] {
    padding: 1.5rem 1rem !important;
  }

  /* Hide long horizontal lines in B2B stats */
  [style*="border-left:2px solid #d4af37"] {
    padding-left: 0.75rem !important;
  }

  /* Expert carousel card width */
  #experts-scroll-track > div {
    width: 260px !important;
  }

  /* Blog card image height */
  [style*="height:220px; width:100%"] {
    height: 160px !important;
  }

  /* Contact form card padding */
  [style*="padding:3.5rem"][style*="border-radius:24px"] {
    padding: 1.5rem 1rem !important;
  }

  /* Why DGWO feature icons */
  [style*="width:40px; height:40px; background:var(--primary-light)"] {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  /* Footer copyright */
  .copyright { font-size: 0.75rem !important; }

  /* Section padding */
  section { padding: 2.5rem 0 !important; }
}

/* --- Hero section specific mobile fix --- */
@media (max-width: 900px) {

  /* Hero slider: text left, image below */
  #hero-slider-container,
  section [style*="display:grid; grid-template-columns:1.2fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 2rem !important;
  }

  /* Center hero text & buttons */
  section [style*="font-size:2rem; font-weight:800; color:var(--text-primary); line-height:1.15"] {
    font-size: 1.6rem !important;
    text-align: center !important;
  }

  [style*="display:flex; gap:1rem; margin-top:1.5rem"],
  [style*="display:flex; gap:0.75rem; margin-top:2rem"] {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  /* Hero image: smaller & centered */
  section [style*="border-radius:24px; overflow:hidden;"] img {
    max-height: 280px !important;
    object-fit: cover !important;
  }

  /* Slider dots center */
  [style*="display:flex; gap:8px; margin-top:1.5rem"] {
    justify-content: center !important;
  }

  /* Why Choose DGWO — image on top */
  section[style*="background:var(--bg-secondary)"] [style*="display:grid; grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* --- Experts carousel mobile --- */
@media (max-width: 768px) {
  #experts-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%) !important;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%) !important;
  }
}

/* --- Navigation burger menu fix --- */
@media (max-width: 1150px) {
  /* Already handled in existing CSS, but ensure logo fits */
  .header .logo img {
    height: 44px !important;
  }

  /* Mobile menu drawer visible and full-screen */
  .mobileMenu {
    padding: 1.5rem !important;
  }

  .mobileNavLink {
    font-size: 1.1rem !important;
    padding: 0.75rem 0 !important;
  }

  .mobileActions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* --- Inputs full-width on mobile --- */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    width: 100% !important;
    font-size: 16px !important; /* prevents iOS zoom */
  }

  /* Contact section left card → reduce padding */
  [style*="border-radius:24px; padding:3.5rem"] {
    padding: 1.75rem 1.25rem !important;
  }

  /* Blog view health blog button full width */
  [href="blog.php"].btn {
    width: auto !important;
  }

  /* Success story section */
  section[style*="background:#fff; padding:5rem 0"] {
    padding: 2.5rem 0 !important;
  }

  /* Stats bar in CTA  */
  [style*="display:flex; justify-content:center; gap:3rem; margin-top:3rem"],
  [style*="display:flex; justify-content:center; gap:2rem"] {
    gap: 1rem !important;
    flex-wrap: wrap !important;
  }
}

/* --- Prevent horizontal overflow --- */
html, body {
  overflow-x: hidden !important;
}

*, *::before, *::after {
  max-width: 100%;
}

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