/* ==========================================================================
   Blumetara Website - Stylesheet (AI for Better Health)
   Color Palette:
   - Primary Green: #2E7D32
   - Primary Dark:  #1B5E20
   - Accent Green:  #4CAF50
   - Light Green BG: #E8F5E9
   - Text Primary:  #1D2939
   - Text Secondary:#475467
   - Text Muted:    #667085
   - White:         #FFFFFF
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --bg-light: #E8F5E9;
  --bg-subtle: #F4FBF7;
  --surface: #FFFFFF;
  --text-dark: #1D2939;
  --text-body: #344054;
  --text-muted: #667085;
  --border-light: #E2E8F0;
  --border-green: #C8E6C9;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(46, 125, 50, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 32px rgba(46, 125, 50, 0.16);

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Title Utility */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--bg-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

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

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--surface);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.35);
}

.btn-light {
  background-color: var(--surface);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background-color: var(--bg-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--surface);
}

/* --------------------------------------------------------------------------
   3. Sticky Header & Navbar
   -------------------------------------------------------------------------- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.header-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.logo-img:hover {
  transform: scale(1.04);
}

.brand-text-container {
  display: flex;
  flex-direction: column;
}

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

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

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

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

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

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

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

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

/* Mobile Drawer Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background-color: var(--surface);
  z-index: 1100;
  padding: 32px 24px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-header .brand-name,
.mobile-drawer-header .brand-tagline,
.mobile-drawer-header span {
  display: none !important;
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.mobile-drawer-cta {
  margin-top: 4px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
}

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

/* --------------------------------------------------------------------------
   4. Hero Carousel Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  margin-top: 80px;
  height: 580px;
  overflow: hidden;
  background-color: #111827;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.03);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(15, 34, 18, 0.88) 0%, 
    rgba(27, 94, 32, 0.65) 50%, 
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  align-items: center;
}

.slide-content {
  color: var(--surface);
  max-width: 640px;
}

.slide-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(76, 175, 80, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #A5D6A7;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.slide-headline {
  font-size: 3rem;
  font-weight: 700;
  color: var(--surface);
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-subtext {
  font-size: 1.2rem;
  color: #E8F5E9;
  margin-bottom: 28px;
  line-height: 1.5;
  font-weight: 400;
}

/* Carousel Arrow Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
  left: 24px;
}

.carousel-next {
  right: 24px;
}

/* Carousel Indicators (Dots) */
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  width: 32px;
  border-radius: 12px;
  background: var(--surface);
}

/* --------------------------------------------------------------------------
   5. Features Section
   -------------------------------------------------------------------------- */
.features-section {
  padding: 100px 0;
  background-color: var(--surface);
}

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

.features-more-container {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.features-more-container.expanded {
  display: grid;
  animation: fadeInFeatures 0.4s ease forwards;
}

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

.chevron-icon {
  transition: transform 0.3s ease;
}

#toggleFeaturesBtn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(46, 125, 50, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  background-color: #E2F3E4;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary);
  color: var(--surface);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. About Section
   -------------------------------------------------------------------------- */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-subtle);
  position: relative;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content-box {
  padding-right: 20px;
}

.about-headline {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin-bottom: 28px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

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

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.about-visual-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-green);
  position: relative;
}

.about-orb-graphic {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-image-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  box-shadow: none;
  background-color: transparent;
}

.app-preview-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-md) - 2px);
}

/* Golden Circle Highlight for TARA Orb inside App Image */
.tara-ball-highlight {
  position: absolute;
  top: calc(82.5% + 8px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.golden-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3.5px solid #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.85), inset 0 0 12px rgba(255, 215, 0, 0.4);
}

.golden-pulse {
  position: absolute;
  width: 130%;
  height: 130%;
  border-radius: 50%;
  border: 2px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  animation: goldenPulse 2.4s infinite ease-in-out;
}

@keyframes goldenPulse {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.95;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.9);
  }
}

.orb-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.orb-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. Call To Action (CTA) Banner
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--surface);
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* CTA Banner 2-Column Grid Layout */
.cta-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-content-column {
  max-width: 560px;
  text-align: left;
}

.cta-title {
  font-size: 2.5rem;
  color: var(--surface);
  margin-bottom: 16px;
  text-align: left;
}

.cta-subtext {
  font-size: 1.15rem;
  color: #E8F5E9;
  margin: 0 0 32px 0;
  text-align: left;
}

.cta-buttons-wrapper {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-iphone-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modern iPhone Mockup Frame (Compact Size) */
.iphone-mockup {
  position: relative;
  width: 215px;
  height: 425px;
  background-color: #0F172A;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 3px #334155, 0 0 0 5px #1E293B;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.iphone-mockup:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 0 3px #4CAF50, 0 0 0 5px #2E7D32;
}

.iphone-dynamic-island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 16px;
  background-color: #000000;
  border-radius: 14px;
  z-index: 10;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.15);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.iphone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* --------------------------------------------------------------------------
   8. Contact Us Page Styling
   -------------------------------------------------------------------------- */
.page-header-banner {
  margin-top: 80px;
  background-color: var(--bg-light);
  padding: 64px 0 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-green);
}

.page-title {
  font-size: 2.75rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.page-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.contact-section {
  padding: 80px 0;
  background-color: var(--surface);
}

.contact-layout {
  display: flex;
  justify-content: center;
}

/* Contact Form Container */
.contact-form-card {
  width: 100%;
  max-width: 640px;
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #FAFAFA;
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
}

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

.field-error-text {
  font-size: 0.825rem;
  color: #D32F2F;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .field-error-text {
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: #D32F2F;
}

/* Submit Status Alert */
.submit-alert {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.submit-alert.success {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-light);
  color: var(--primary-dark);
  border: 1px solid var(--border-green);
}

/* Right Column Contact Details */
.contact-info-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border-green);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-block-header {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.info-items-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.info-content-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
}

.info-content-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.social-links-block {
  margin-top: 8px;
}

.social-links-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--primary-dark);
  color: var(--surface);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

/* Map Graphic Placeholder */
.map-placeholder-box {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px dashed var(--primary-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 8px;
  overflow: hidden;
  position: relative;
}

.map-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 12px 12px;
}

/* --------------------------------------------------------------------------
   9. Footer Section
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--surface);
  border-top: 4px solid var(--primary);
  padding: 64px 0 32px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  color: var(--text-muted);
  margin-top: 40px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

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

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. Responsive Media Queries (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .features-grid,
  .features-more-container.expanded {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .nav-links, .nav-actions .btn {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  /* Compact section padding for mobile to eliminate huge empty gaps */
  .features-section,
  .about-section,
  .cta-banner-section {
    padding: 44px 0 !important;
  }

  .section-header {
    margin-bottom: 28px !important;
  }

  .hero-section {
    height: 310px !important;
    min-height: 280px !important;
  }

  .slide-content {
    max-width: 100%;
    padding: 0 12px;
  }

  .slide-headline {
    font-size: 1.55rem !important;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .slide-subtext {
    font-size: 0.875rem !important;
    line-height: 1.4;
    margin-bottom: 0;
  }

  /* Hide left & right arrow buttons on phone version */
  .carousel-btn {
    display: none !important;
  }

  .features-grid,
  .features-more-container.expanded {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mobile-hide-card {
    display: none !important;
  }

  body.features-expanded .mobile-hide-card {
    display: flex !important;
  }

  .page-header-banner {
    padding: 40px 0;
  }

  .page-title {
    font-size: 1.8rem;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .privacy-content-card {
    padding: 24px 18px !important;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }

  .footer-brand-desc {
    margin-top: 20px !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 24px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }

  .cta-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .cta-content-column {
    max-width: 100%;
    text-align: center;
  }

  .cta-title {
    font-size: 1.45rem !important;
    text-align: center;
    line-height: 1.3;
  }

  .cta-subtext {
    font-size: 0.95rem !important;
    text-align: center;
  }

  .cta-buttons-wrapper {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }

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

  .cta-iphone-column {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .features-section,
  .about-section,
  .cta-banner-section {
    padding: 32px 0 !important;
  }

  .section-header {
    margin-bottom: 20px !important;
  }

  .logo-img {
    height: 44px;
  }

  .hero-section {
    height: 275px !important;
    min-height: 260px !important;
  }

  .slide-headline {
    font-size: 1.35rem !important;
  }

  .cta-title {
    font-size: 1.3rem !important;
  }

  .slide-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .feature-card {
    padding: 18px 16px;
  }

  .contact-form-card {
    padding: 18px 14px;
  }

  .iphone-mockup {
    width: 190px;
    height: 375px;
    border-radius: 28px;
    padding: 6px;
  }

  .iphone-screen {
    border-radius: 22px;
  }

  .iphone-dynamic-island {
    width: 56px;
    height: 14px;
    top: 9px;
  }
}
