/* ============================================
   DESIGN TOKENS & CSS VARIABLES
   ============================================ */
:root {
  /* Colors */
  --primary: #1B4332;
  --primary-dark: #0D2818;
  --primary-light: #2D6A4F;
  --secondary: #C9A84C;
  --accent: #D4AF37;

  --white: #FFFFFF;
  --off-white: #FAFAF7;
  --cream: #F5F0E8;
  --cream-warm: #F8F4EC;
  --dark: #1A1A2E;
  --dark-soft: #2A2A3E;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;

  --success: #10B981;
  --error: #EF4444;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

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

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

body.chat-open {
  overflow: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--primary);
}

body.cursor-click .cursor-ring {
  width: 30px;
  height: 30px;
}

body.cursor-click .cursor-dot {
  transform: translate(-50%, -50%) scale(1.5);
}

/* ============================================
   PAGE WRAPPER FADE IN
   ============================================ */
.page-wrapper {
  opacity: 0;
  animation: fadeInPage 0.8s ease forwards;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 2rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand {
  color: var(--primary);
}

.navbar-brand svg {
  width: 40px;
  height: 40px;
}

.navbar-brand span {
  display: none;
}

@media (min-width: 768px) {
  .navbar-brand span {
    display: inline;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.navbar.scrolled .nav-link {
  color: var(--text);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,0.1);
  color: var(--secondary);
}

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

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

.nav-cta {
  background: var(--secondary);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--primary);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 6rem 2rem 2rem;
  transform: translateY(-100%);
  transition: var(--transition-slow);
  z-index: 999;
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav .nav-link {
  color: var(--white);
  padding: 1rem;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .nav-cta {
  display: block;
  margin-top: 1rem;
  text-align: center;
}

/* Enhanced Mobile Navigation */
@media (max-width: 991px) {
  .mobile-nav {
    padding: 5rem 1.5rem 2rem;
  }

  .mobile-nav .nav-link {
    padding: 1.25rem 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    transition: background var(--transition);
  }

  .mobile-nav .nav-link:active {
    background: rgba(255,255,255,0.1);
  }

  .mobile-nav .nav-link svg {
    width: 22px;
    height: 22px;
  }

  .mobile-nav .nav-cta {
    margin-top: 1.5rem;
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
  }

  /* Full-screen overlay for mobile menu */
  .mobile-nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: -1;
  }

  .mobile-nav.active::before {
    opacity: 1;
  }

  /* Slide animation enhancement */
  .mobile-nav {
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-nav.active {
    transform: translateY(0);
  }

  /* Backdrop blur effect */
  .mobile-nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Improved hamburger button animation */
@media (max-width: 991px) {
  .mobile-menu-btn {
    padding: 0.75rem;
  }

  .mobile-menu-btn span {
    height: 2px;
    border-radius: 2px;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Hamburger to X animation */
  .mobile-menu-btn:not(.active) span:nth-child(1) {
    animation: none;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    animation: hamburgerTop 0.3s ease forwards;
  }

  .mobile-menu-btn.active span:nth-child(2) {
    animation: hamburgerMiddle 0.3s ease forwards;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    animation: hamburgerBottom 0.3s ease forwards;
  }

  @keyframes hamburgerTop {
    0% { transform: rotate(0) translate(0, 0); }
    100% { transform: rotate(45deg) translate(6px, 6px); }
  }

  @keyframes hamburgerMiddle {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }

  @keyframes hamburgerBottom {
    0% { transform: rotate(0) translate(0, 0); }
    100% { transform: rotate(-45deg) translate(6px, -6px); }
  }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

body.menu-open .page-wrapper {
  pointer-events: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27,67,50,0.9) 0%, rgba(13,40,24,0.85) 50%, rgba(26,26,46,0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    padding: 10rem 4rem 6rem;
  }
}

.hero-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  order: 2;
}

@media (min-width: 992px) {
  .hero-photo-wrapper {
    order: 1;
  }
}

.hero-photo-container {
  position: relative;
  width: 300px;
  height: 300px;
}

@media (min-width: 768px) {
  .hero-photo-container {
    width: 400px;
    height: 400px;
  }
}

.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary);
  position: relative;
  z-index: 2;
}

.hero-ring {
  position: absolute;
  border: 2px dashed var(--secondary);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-ring-1 {
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  animation: rotate 20s linear infinite;
}

.hero-ring-2 {
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-stats-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  z-index: 3;
  box-shadow: var(--shadow-lg);
}

.hero-stats-badge .number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  font-family: var(--font-heading);
}

.hero-stats-badge .label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.hero-text {
  order: 1;
  color: var(--white);
}

@media (min-width: 992px) {
  .hero-text {
    order: 2;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.2);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn svg {
  width: 20px;
  height: 20px;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

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

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: var(--transition);
}

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

.hero-social svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--cream);
  padding: 4rem 2rem;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: var(--radius-md);
  color: var(--secondary);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  background: var(--primary);
  padding: 1.5rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
}

.marquee-item svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 5rem 2rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 4rem;
  }
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-badge svg {
  width: 16px;
  height: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

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

/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services-preview {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary);
  transform: scaleY(0);
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: var(--radius-md);
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

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

/* ============================================
   AUTHORITY STRIP / ABOUT
   ============================================ */
.authority-strip {
  background: var(--cream-warm);
}

.authority-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .authority-container {
    grid-template-columns: 1fr 1fr;
  }
}

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

.authority-image {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.authority-stats-card {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

@media (max-width: 575px) {
  .authority-stats-card {
    right: 1rem;
  }
}

.authority-stats-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.authority-stats-card .label {
  color: var(--text-light);
  font-size: 0.9rem;
}

.authority-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.authority-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.credentials-list {
  margin-bottom: 2rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.credential-item svg {
  width: 24px;
  height: 24px;
  color: var(--success);
  flex-shrink: 0;
}

/* ============================================
   PARALLAX DIVIDER
   ============================================ */
.parallax-divider {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.parallax-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27,67,50,0.9) 0%, rgba(13,40,24,0.85) 100%);
}

.parallax-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 600px;
}

.parallax-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.parallax-content p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.parallax-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   VIDEO PREVIEW GRID
   ============================================ */
.video-preview {
  background: var(--dark-soft);
}

.video-preview .section-badge {
  background: rgba(201,168,76,0.2);
  color: var(--secondary);
}

.video-preview .section-title {
  color: var(--white);
}

.video-preview .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.video-card:hover .video-play-overlay {
  background: rgba(0,0,0,0.6);
}

.play-btn {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-card:hover .play-btn {
  transform: scale(1.1);
}

.video-info {
  padding: 1.25rem;
}

.video-source-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* ============================================
   LEAD CAPTURE FORM
   ============================================ */
.lead-capture {
  background: var(--cream);
}

.lead-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 992px) {
  .lead-container {
    grid-template-columns: 1fr 1fr;
  }
}

.lead-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.lead-content > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.lead-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lead-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: var(--radius-sm);
  color: var(--secondary);
  flex-shrink: 0;
}

.lead-feature-icon svg {
  width: 20px;
  height: 20px;
}

.lead-feature span {
  font-weight: 500;
}

.form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--cream);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--cream);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

/* Mobile form improvements */
@media (max-width: 767px) {
  .form-input {
    padding: 0.875rem 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: var(--radius-sm);
  }

  .form-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
  }

  textarea.form-input {
    min-height: 100px;
  }
}

.form-input::placeholder {
  color: var(--text-muted);
}

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

.form-submit {
  width: 100%;
  padding: 1.25rem;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-submit svg {
  width: 20px;
  height: 20px;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-note svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   TESTIMONIALS GRID
   ============================================ */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.testimonial-quote-icon {
  width: 40px;
  height: 40px;
  color: var(--secondary);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  fill: var(--secondary);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.author-info .name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--primary);
  padding: 5rem 2rem;
  text-align: center;
}

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

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-buttons .btn-primary {
  background: var(--secondary);
}

.cta-buttons .btn-outline {
  border-color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-column {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
  }

  .footer-column:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand-logo svg {
  width: 40px;
  height: 40px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary);
}

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

.footer-column h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  transform: translateX(150%);
  opacity: 0;
}

.floating-btn.visible {
  transform: translateX(0);
  opacity: 1;
}

.floating-btn svg {
  width: 22px;
  height: 22px;
}

.whatsapp-btn {
  background: #25D366;
  color: var(--white);
}

.whatsapp-btn:hover {
  background: #20BA5A;
  transform: translateX(-5px);
}

.whatsapp-btn.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

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

.chatbot-float-btn:hover {
  background: var(--primary-dark);
  transform: translateX(-5px);
}

/* ============================================
   CHATBOT
   ============================================ */
.chatbot-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.chatbot-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 380px;
  max-width: calc(100% - 2rem);
  height: 550px;
  max-height: calc(100vh - 8rem);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.chatbot-window.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 480px) {
  .chatbot-window {
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

.chatbot-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-avatar svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.chatbot-header-text h4 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.chatbot-header-text span {
  font-size: 0.8rem;
  opacity: 0.8;
}

.chatbot-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: var(--transition);
}

.chatbot-close:hover {
  background: rgba(255,255,255,0.2);
}

.chatbot-close svg {
  width: 20px;
  height: 20px;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--off-white);
}

.bot-message,
.user-message {
  display: flex;
  gap: 0.75rem;
  max-width: 85%;
  animation: messageFadeIn 0.3s ease;
}

@keyframes messageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-message {
  align-self: flex-start;
}

.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bot-message .message-icon {
  background: var(--primary);
  color: var(--white);
}

.bot-message .message-icon svg {
  width: 18px;
  height: 18px;
}

.user-message .message-icon {
  background: var(--secondary);
  color: var(--white);
}

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

.message-content {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.bot-message .message-content {
  border-bottom-left-radius: 0.25rem;
}

.user-message .message-content {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 0.25rem;
}

.message-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
}

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

.quick-action-btn svg {
  width: 24px;
  height: 24px;
}

.quick-action-btn span {
  font-size: 0.85rem;
  font-weight: 500;
}

.service-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-chat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-chat-card:hover {
  background: var(--primary);
  color: var(--white);
}

.service-chat-card svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.service-chat-card span {
  font-size: 0.9rem;
  font-weight: 500;
}

.faq-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--cream-warm);
}

.faq-question svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1rem 1rem;
  max-height: 200px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.input-prompt {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.input-prompt label {
  font-size: 0.9rem;
  font-weight: 500;
}

.input-prompt input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--cream);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
}

.input-prompt input:focus {
  outline: none;
  border-color: var(--primary);
}

.confirmation-message {
  text-align: center;
  padding: 1rem;
}

.confirmation-message svg {
  width: 48px;
  height: 48px;
  color: var(--success);
  margin-bottom: 1rem;
}

.confirmation-message h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.confirmation-message p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.chatbot-input {
  padding: 1rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--cream);
  display: flex;
  gap: 0.75rem;
}

.chatbot-input input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--cream);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  transition: var(--transition);
}

.chatbot-input input:focus {
  outline: none;
  border-color: var(--primary);
}

.chatbot-input button {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  flex-shrink: 0;
}

.chatbot-input button:hover {
  background: var(--primary-dark);
}

.chatbot-input button svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--success);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  z-index: 10002;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: var(--transition);
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   ADDITIONAL PAGE SPECIFIC STYLES
   ============================================ */

/* About Page */
.about-hero {
  background: var(--primary);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.about-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.about-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
}

.bio-section {
  padding: 5rem 2rem;
}

.bio-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .bio-container {
    grid-template-columns: 300px 1fr;
  }
}

.bio-image {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .bio-image {
    margin: 0;
  }
}

.bio-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.bio-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.timeline {
  padding: 5rem 2rem;
  background: var(--cream);
}

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

.timeline-item {
  display: flex;
  gap: 2rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--cream-warm);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-marker svg {
  width: 20px;
  height: 20px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.timeline-content .year {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Services Page */
.services-hero {
  background: var(--primary);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.services-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.services-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
}

.pricing-section {
  padding: 5rem 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.pricing-card.popular {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-header .price {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.pricing-header .price span {
  font-size: 1rem;
  font-weight: 400;
}

.pricing-features {
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card.popular .pricing-features li {
  border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card.popular .pricing-features svg {
  color: var(--secondary);
}

.faq-section {
  padding: 5rem 2rem;
  background: var(--cream);
}

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

.process-section {
  padding: 5rem 2rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 auto 1rem;
}

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Videos Page */
.videos-hero {
  background: var(--primary);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.videos-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.videos-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
}

.videos-library {
  padding: 5rem 2rem;
}

.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-xl);
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
}

.videos-full-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .videos-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .videos-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonials Page */
.testimonials-hero {
  background: var(--primary);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.testimonials-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.testimonials-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
}

.video-testimonials {
  padding: 5rem 2rem;
}

.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-testimonial-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.video-testimonial-card .video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
}

.stats-overview {
  padding: 5rem 2rem;
  background: var(--cream);
}

.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-overview-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.stat-card .label {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Book Page */
.book-hero {
  background: var(--primary);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.book-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.book-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
}

.booking-wizard {
  padding: 5rem 2rem;
}

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

.wizard-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wizard-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: var(--transition);
}

.wizard-step.active .wizard-step-number {
  background: var(--primary);
  color: var(--white);
}

.wizard-step.completed .wizard-step-number {
  background: var(--success);
  color: var(--white);
}

.wizard-step-label {
  display: none;
  font-weight: 500;
  font-size: 0.9rem;
}

@media (min-width: 576px) {
  .wizard-step-label {
    display: inline;
  }
}

.wizard-step-connector {
  width: 40px;
  height: 2px;
  background: var(--cream);
  margin: 0 0.5rem;
}

@media (min-width: 576px) {
  .wizard-step-connector {
    width: 60px;
  }
}

.wizard-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
}

.wizard-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .service-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-option:hover {
  border-color: var(--primary-light);
}

.service-option.selected {
  border-color: var(--primary);
  background: var(--white);
}

.service-option svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.service-option-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.service-option-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.date-picker {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.date-header {
  text-align: center;
  font-weight: 600;
  padding: 0.5rem;
  color: var(--text-light);
}

.date-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.date-cell:hover:not(.disabled):not(.selected) {
  background: var(--cream);
}

.date-cell.selected {
  background: var(--primary);
  color: var(--white);
}

.date-cell.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .time-slots {
    grid-template-columns: repeat(4, 1fr);
  }
}

.time-slot {
  padding: 1rem;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-weight: 500;
}

.time-slot:hover:not(.disabled):not(.selected) {
  border-color: var(--primary-light);
}

.time-slot.selected {
  border-color: var(--primary);
  background: var(--white);
}

.time-slot.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.confirmation-panel {
  text-align: center;
  padding: 2rem;
}

.confirmation-panel svg {
  width: 80px;
  height: 80px;
  color: var(--success);
  margin-bottom: 1.5rem;
}

.confirmation-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

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

.booking-summary {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: left;
  margin-bottom: 2rem;
}

.booking-summary h4 {
  margin-bottom: 1rem;
}

.booking-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.booking-summary-item:last-child {
  border-bottom: none;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream);
}

.wizard-nav .btn {
  min-width: 140px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

@media (max-width: 575px) {
  .hide-mobile { display: none !important; }
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

/* Extra small devices (phones, 320px and up) */
@media (max-width: 479px) {
  /* Base adjustments */
  html {
    font-size: 14px;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Navbar */
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-brand svg {
    width: 32px;
    height: 32px;
  }

  /* Hero Mobile */
  .hero-content {
    padding: 5rem 1rem 3rem;
    gap: 2rem;
  }

  .hero-photo-container {
    width: 220px !important;
    height: 220px !important;
  }

  .hero-ring-1 {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
  }

  .hero-ring-2 {
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
  }

  .hero-stats-badge {
    padding: 0.75rem 1rem;
    right: -0.5rem;
    bottom: -1rem;
  }

  .hero-stats-badge .number {
    font-size: 1.5rem;
  }

  .hero-stats-badge .label {
    font-size: 0.75rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  .hero-social {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Stats Bar Mobile */
  .stats-bar {
    padding: 3rem 1rem;
  }

  .stat-item {
    padding: 0.75rem 0.5rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
  }

  .stat-icon svg {
    width: 20px;
    height: 20px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  /* Services Grid Mobile */
  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

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

  .service-title {
    font-size: 1.1rem;
  }

  .service-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  /* Authority Section Mobile */
  .authority-container {
    gap: 2rem;
  }

  .authority-image {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .authority-stats-card {
    bottom: 1rem;
    right: 0.5rem;
    padding: 1rem;
  }

  .authority-stats-card .number {
    font-size: 2rem;
  }

  .authority-content h2 {
    font-size: 1.75rem;
  }

  .credentials-list {
    margin-bottom: 1.5rem;
  }

  .credential-item {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
  }

  /* Video Cards Mobile */
  .video-card {
    border-radius: var(--radius-md);
  }

  .video-info {
    padding: 1rem;
  }

  .video-title {
    font-size: 0.95rem;
  }

  .play-btn {
    width: 50px;
    height: 50px;
  }

  /* Lead Form Mobile */
  .lead-container {
    gap: 2rem;
  }

  .form-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-input {
    padding: 0.875rem 1rem;
  }

  .form-submit {
    padding: 1rem;
  }

  .lead-feature {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .lead-feature-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

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

  .lead-feature span {
    font-size: 0.9rem;
  }

  /* Testimonial Cards Mobile */
  .testimonial-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }

  .testimonial-quote-icon {
    width: 32px;
    height: 32px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer Mobile */
  .footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-container {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .footer-brand-logo {
    font-size: 1.25rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-links a {
    font-size: 0.85rem;
    padding: 0.25rem 0;
  }

  .footer-contact-item {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  /* Floating Buttons Mobile */
  .floating-buttons {
    bottom: 1rem;
    right: 1rem;
    gap: 0.75rem;
  }

  .floating-btn {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    border-radius: var(--radius-lg);
  }

  .floating-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Chatbot Mobile */
  .chatbot-window {
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  /* Booking Wizard Mobile */
  .wizard-steps {
    margin-bottom: 2rem;
  }

  .wizard-step-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .wizard-step-connector {
    width: 30px;
  }

  .wizard-content {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .wizard-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .service-option {
    padding: 1rem;
  }

  .service-option svg {
    width: 24px;
    height: 24px;
  }

  .service-option-info h4 {
    font-size: 1rem;
  }

  .time-slot {
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  /* Toast Mobile */
  .toast {
    bottom: 5rem;
    left: 1rem;
    right: 1rem;
    transform: translateX(0) translateY(100px);
    padding: 1rem;
  }

  .toast.visible {
    transform: translateX(0) translateY(0);
  }

  /* About Page Mobile */
  .about-hero,
  .services-hero,
  .videos-hero,
  .testimonials-hero,
  .book-hero {
    padding: 5rem 1rem 3rem;
  }

  .about-hero h1,
  .services-hero h1,
  .videos-hero h1,
  .testimonials-hero h1,
  .book-hero h1 {
    font-size: 2rem;
  }

  .about-hero p,
  .services-hero p,
  .videos-hero p,
  .testimonials-hero p,
  .book-hero p {
    font-size: 1rem;
  }

  /* Bio Section Mobile */
  .bio-section {
    padding: 3rem 1rem;
  }

  .bio-content h2 {
    font-size: 1.5rem;
  }

  .bio-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* Timeline Mobile */
  .timeline {
    padding: 3rem 1rem;
  }

  .timeline-item {
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .timeline-marker {
    width: 36px;
    height: 36px;
  }

  .timeline-content h4 {
    font-size: 1rem;
  }

  /* Pricing Cards Mobile */
  .pricing-section {
    padding: 3rem 1rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }

  .pricing-header .price {
    font-size: 2.5rem;
  }

  /* Process Grid Mobile */
  .process-section {
    padding: 3rem 1rem;
  }

  .process-step {
    padding: 1rem;
  }

  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  /* Video Filters Mobile */
  .video-filters {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* FAQ Mobile */
  .faq-section {
    padding: 3rem 1rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }

  /* Quick Actions Mobile */
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .quick-action-btn {
    padding: 0.75rem;
  }

  .quick-action-btn svg {
    width: 20px;
    height: 20px;
  }

  .quick-action-btn span {
    font-size: 0.75rem;
  }

  /* Service Cards Grid Mobile */
  .service-cards-grid {
    gap: 0.5rem;
  }

  .service-chat-card {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .service-chat-card svg {
    width: 20px;
    height: 20px;
  }

  .service-chat-card span {
    font-size: 0.85rem;
  }

  /* FAQ Accordion Mobile */
  .faq-item {
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
  }

  .faq-answer {
    font-size: 0.85rem;
  }

  /* Input Prompt Mobile */
  .input-prompt {
    gap: 0.5rem;
  }

  .input-prompt label {
    font-size: 0.85rem;
  }

  .input-prompt input {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }

  /* Parallax Divider Mobile */
  .parallax-divider {
    min-height: 300px;
    background-attachment: scroll;
  }

  .parallax-content {
    padding: 2rem 1rem;
  }

  .parallax-content h2 {
    font-size: 1.75rem;
  }

  .parallax-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .parallax-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .parallax-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Marquee Mobile */
  .marquee-strip {
    padding: 1rem 0;
  }

  .marquee-item {
    font-size: 0.9rem;
    padding: 0 1.5rem;
  }
}

/* Tablet adjustments (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 4rem 2rem;
  }

  .hero-content {
    padding: 6rem 2rem 4rem;
  }

  .hero-photo-container {
    width: 280px;
    height: 280px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .stats-bar {
    padding: 3rem 2rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .form-card {
    padding: 2rem;
  }

  .footer {
    padding: 3rem 2rem 1.5rem;
  }

  .floating-buttons {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .floating-btn {
    padding: 0.875rem 1.25rem;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  /* Remove cursor effects on touch devices */
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  /* Increase touch targets */
  .nav-link,
  .btn,
  .service-link,
  .quick-action-btn,
  .filter-btn,
  .service-chat-card,
  .faq-question,
  .date-cell,
  .time-slot,
  .service-option,
  .pricing-card .btn {
    min-height: 44px;
    min-width: 44px;
  }

  /* Improve focus states for accessibility */
  a:focus,
  button:focus,
  input:focus,
  textarea:focus,
  select:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
  }

  /* Disable hover effects that don't work on touch */
  .service-card:hover,
  .video-card:hover,
  .testimonial-card:hover,
  .pricing-card:hover {
    transform: none;
  }

  /* Remove tap highlight */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  /* Improve scrolling */
  .chatbot-messages,
  .marquee-track {
    -webkit-overflow-scrolling: touch;
  }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .floating-buttons {
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .chatbot-input {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .toast {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* Floating buttons mobile improvements - bottom bar style */
@media (max-width: 767px) {
  .floating-buttons {
    flex-direction: row;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    gap: 0;
    z-index: 998;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .floating-btn {
    flex: 1;
    justify-content: center;
    padding: 1rem;
    border-radius: 0;
    transform: none;
    opacity: 1;
    box-shadow: none;
    border-right: 1px solid rgba(0,0,0,0.08);
  }

  .floating-btn:last-child {
    border-right: none;
  }

  .floating-btn.visible {
    transform: none;
  }

  .floating-btn:hover {
    transform: none;
  }

  .whatsapp-btn {
    background: #25D366;
    border-radius: 0;
  }

  .chatbot-float-btn {
    background: var(--primary);
    border-radius: 0;
  }

  .whatsapp-btn.pulse {
    animation: none;
  }

  .chatbot-window {
    bottom: 60px;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  }
}

/* Improve text selection on mobile */
@media (max-width: 767px) {
  ::selection {
    background: rgba(201, 168, 76, 0.3);
    color: var(--dark);
  }

  /* Better scroll behavior */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* Remove smooth transitions for reduced motion preference */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-content {
    padding: 4rem 2rem 2rem;
    gap: 1.5rem;
  }

  .hero-photo-container {
    width: 180px !important;
    height: 180px !important;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    display: none;
  }

  .parallax-divider {
    min-height: 250px;
  }

  .chatbot-window {
    max-height: 100vh;
  }

  .floating-buttons {
    flex-direction: column;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    left: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    gap: 0.75rem;
  }

  .floating-btn {
    flex: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-xl);
    border-right: none;
    box-shadow: var(--shadow-lg);
    transform: translateX(0);
    opacity: 1;
  }

  .floating-btn.visible {
    transform: translateX(0);
  }

  .whatsapp-btn.pulse {
    animation: pulse 2s infinite;
  }
}
