@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-dark: #ffffff; /* Simple clean solid white background */
  --bg-darker: #ffffff; /* Solid white */
  --bg-card: #ffffff; /* Clean solid white cards */
  --primary: #f97316; /* Primary brand Orange */
  --primary-glow: rgba(249, 115, 22, 0.06); /* Soft orange tint */
  --accent: #ea580c; /* Accent darker Orange */
  --accent-glow: rgba(234, 88, 12, 0.06);
  --text-white: #0f172a; /* Main text: dark slate */
  --text-gray: #475569; /* Body paragraphs: slate gray */
  --text-muted: #64748b; /* Muted gray text */
  --glass-bg: #ffffff; /* White sticky nav bar */
  --glass-border: #cbd5e1; /* Simple clean light gray borders */
  
  /* Brand Actions */
  --whatsapp-color: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);
  --phone-color: #2563eb;
  --phone-glow: rgba(37, 99, 235, 0.3);

  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Header transitions */
  --nav-height: 80px;
  --transition-fast: 250ms ease;
  --transition-normal: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-gray);
  font-weight: 400;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary); /* Orange on scrollbar hover */
}

/* Sticky Header & Transparent Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition-fast), padding var(--transition-fast), border-bottom var(--transition-fast);
  padding: 24px 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-white);
  letter-spacing: -0.03em;
}

.logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply; /* Makes white background in PNG logo transparent */
}

.logo-text span {
  color: var(--accent);
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-gray);
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-white);
}

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

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

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

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  margin: 6px auto;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark); /* Solid white background */
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Ambient Radial Overlays for Hero */
.hero::before {
  display: none; /* Removed dark overlay */
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, 0.08); /* Soft orange background */
  border: 1px solid rgba(249, 115, 22, 0.2); /* Light orange border */
  color: var(--primary); /* Orange text */
  padding: 8px 16px;
  border-radius: 99px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
  animation: slideDown 800ms var(--transition-normal);
}

.hero-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  position: relative;
}

.hero-badge .pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-white); /* Solid dark slate title */
  animation: fadeUp 1000ms var(--transition-normal) 100ms both;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
  color: var(--text-gray);
  animation: fadeUp 1000ms var(--transition-normal) 200ms both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  animation: fadeUp 1000ms var(--transition-normal) 300ms both;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary); /* Solid Orange */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
  background: var(--accent); /* Darker Orange on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #ffffff; /* Solid white background */
  color: var(--primary); /* Orange text */
  border: 1px solid var(--primary); /* Orange border */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.btn-secondary:hover {
  background: rgba(249, 115, 22, 0.05); /* Soft orange background on hover */
  border-color: var(--accent); /* Accent orange border */
  color: var(--accent); /* Accent orange text */
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Button Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 600ms linear;
  background-color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* Floating Action Buttons */
.float-buttons-container {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--text-white);
}

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

.float-whatsapp {
  background: var(--whatsapp-color);
  box-shadow: 0 4px 15px var(--whatsapp-glow);
  animation: float-pulse-whatsapp 2s infinite;
}

.float-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px var(--whatsapp-glow);
}

.float-whatsapp:active {
  transform: scale(0.95);
}

.float-call {
  background: var(--phone-color);
  box-shadow: 0 4px 15px var(--phone-glow);
}

.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px var(--phone-glow);
}

.float-call:active {
  transform: scale(0.95);
}

/* Section Header Styles */
.section {
  padding: 120px 0;
  position: relative;
}

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

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

.section-badge {
  color: var(--accent);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-white);
}

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

/* Features Grid Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  box-shadow: none; /* Flat card layout */
  border-radius: 16px;
  padding: 40px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  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: 100%;
  background: var(--primary-glow);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.6), 0 0 20px var(--primary-glow);
}

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
  transition: stroke var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(3deg);
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-white);
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* About Section Split Layout */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-left {
  position: relative;
  display: flex;
  justify-content: center;
}

/* CSS-Animated Premium Illustration Placeholder */
.illustration-canvas {
  width: 100%;
  max-width: 480px;
  height: 380px;
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.illustration-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.15;
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 6s infinite ease-in-out;
}

.illustration-chat-mockup {
  position: absolute;
  width: 75%;
  height: 70%;
  top: 15%;
  left: 12.5%;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot-red { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.mockup-dot-yellow { width: 8px; height: 8px; border-radius: 50%; background: #eab308; }
.mockup-dot-green { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.mockup-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  animation: scalePop 400ms ease-out both;
}

.mockup-bubble.bot {
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-white);
  border-top-left-radius: 2px;
  animation-delay: 200ms;
}

.mockup-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--text-white);
  border-top-right-radius: 2px;
  animation-delay: 1.2s;
}

.mockup-bubble.bot-reply {
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-white);
  border-top-left-radius: 2px;
  animation-delay: 2.2s;
}

.mockup-wave {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 12px;
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 12px;
  animation-delay: 3s;
}

.mockup-wave span {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  animation: bounceDot 1.4s infinite ease-in-out;
}
.mockup-wave span:nth-child(2) { animation-delay: 0.2s; }
.mockup-wave span:nth-child(3) { animation-delay: 0.4s; }

/* Stats grid */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  transition: transform var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-headings);
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin-bottom: 2px;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

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

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.3);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

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

.contact-card-value {
  font-size: 0.95rem;
  color: var(--text-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.contact-branding {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,41,59,0.5) 0%, rgba(15,23,42,0.8) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.contact-branding::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: none;
  pointer-events: none;
}

.contact-branding-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

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

.footer {
  background: #f8fafc; /* Professional light off-white footer division */
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--glass-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-desc {
  max-width: 320px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.footer-links-title {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--text-white);
}

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

.footer-link {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff; /* Solid white social buttons */
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--primary); /* Orange on hover */
  color: #ffffff; /* Explicit white color for vector icons */
  border-color: var(--primary);
  transform: translateY(-3px);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border); /* Visible gray border line */
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* Animations */

/* Pulsing dot for Hero badge */
@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Hero Badge Slide Down */
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Fade Up */
@keyframes fadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Button Ripple Animation */
@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Floating Pulsing WhatsApp Ring */
@keyframes float-pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Floating Orb Animation inside Illustration */
@keyframes orbFloat {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-45%, -55%) scale(1.1);
  }
}

/* Scale Pop for Chat Mockup Bubbles */
@keyframes scalePop {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Typing Indicator Bounce */
@keyframes bounceDot {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Reveal Animation on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--transition-normal), transform 800ms var(--transition-normal);
}

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

.chat-widget div[style*="text-align: center"] {
  color: #475569 !important; /* Visible slate gray for system text */
}
/* Interactive Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 110px;
  right: 40px;
  width: 720px;
  height: 540px;
  background: #ffffff; /* Solid white chat box */
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  overflow: hidden;
}

.chat-widget.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Chat Header */
.chat-header {
  padding: 16px 20px;
  background: var(--primary); /* Solid Orange Header */
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.chat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #a7f3d0;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.chat-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast), transform var(--transition-fast);
  line-height: 1;
}

.chat-close-btn:hover {
  color: var(--text-white);
  transform: scale(1.1);
}

/* Chat Body */
.chat-body {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Scrollbar inside chat body */
.chat-body::-webkit-scrollbar {
  width: 4px;
}
.chat-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

/* Message Bubbles */
.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.4;
  animation: scalePop 300ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.chat-msg.bot {
  align-self: flex-start;
  background: #f1f5f9; /* Light gray bubble */
  border: 1px solid var(--glass-border);
  color: #0f172a; /* Dark slate text */
  border-top-left-radius: 2px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--primary); /* Solid Orange user bubble */
  color: #ffffff; /* White text */
  border-top-right-radius: 2px;
}

/* Typing Indicator */
.chat-typing {
  align-self: flex-start;
  background: #f1f5f9; /* Light gray */
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  border-top-left-radius: 2px;
  padding: 12px 20px;
  display: flex;
  gap: 4px;
  align-items: center;
  animation: scalePop 300ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: bounceDot 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

/* Quick Replies Chips */
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  animation: fadeUp 400ms ease both;
}

.chat-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-gray);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-chip:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Inline Action Button inside Bot Message */
.chat-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  background: var(--whatsapp-color);
  color: #ffffff; /* Explicit white text */
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.chat-btn-link:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

.chat-btn-link svg {
  width: 14px;
  height: 14px;
}

/* Chat Footer / Input */
.chat-footer {
  padding: 16px 20px;
  background: #ffffff; /* Solid white footer background */
  border-top: 1px solid var(--glass-border);
}

.chat-input-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

#chat-input {
  flex-grow: 1;
  background: #f1f5f9; /* Light gray input area */
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  padding: 10px 18px;
  color: #0f172a; /* Dark slate text */
  font-size: 0.875rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

#chat-input:focus {
  border-color: var(--primary); /* Orange border */
  background: #ffffff; /* White background on focus */
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #ffffff; /* White send arrow */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.chat-send-btn:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.chat-send-btn:active {
  transform: scale(0.95);
}

/* BREAKPOINTS */

/* 1440px Breakpoint (Desktop Wide) */
@media (min-width: 1440px) {
  .container {
    max-width: 1360px;
  }
}

/* 1024px Breakpoint (Laptop / Tablet Landscape) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .about-layout {
    gap: 40px;
  }
  
  .contact-layout {
    gap: 40px;
  }
}

/* 768px Breakpoint (Tablet Portrait) */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .header {
    padding: 16px 0;
  }

  .hamburger {
    display: block;
  }

  /* Navigation menu mobile drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95); /* Glossy white mobile drawer */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.05); /* Light drop shadow */
    border-left: 1px solid var(--glass-border);
  }

  .nav-menu.active {
    right: 0;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-left {
    order: 2;
  }

  .about-right {
    order: 1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-branding {
    padding: 32px;
  }

  .float-buttons-container {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }
  
  .float-btn svg {
    width: 20px;
    height: 20px;
  }

  .section {
    padding: 80px 0;
  }
  
  .chat-widget {
    bottom: 90px;
    right: 24px;
    width: calc(100% - 48px);
    max-width: 600px;
    height: 480px;
  }
}

/* 480px Breakpoint (Mobile Portrait) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.3;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .chat-widget {
    bottom: 85px;
    right: 16px;
    width: calc(100% - 32px);
    height: 420px;
  }
}

/* ==========================================================================
   Modern Input & Form Element Stylings (Orange & White Theme)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="file"],
select,
textarea,
.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Custom Select styling to add a modern dropdown arrow icon */
select, select.form-control {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px !important;
}

/* Modern focus state */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: #f97316 !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12) !important;
  outline: none !important;
}

/* Modern file upload styling */
input[type="file"]::file-selector-button {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: #f97316;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
  background: rgba(249, 115, 22, 0.15);
}

/* Placeholders */
input::placeholder,
textarea::placeholder,
.form-control::placeholder {
  color: #94a3b8;
}

/* Textareas custom height */
textarea, textarea.form-control {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

/* Toggle checkboxes styling */
input[type="checkbox"] {
  accent-color: #f97316;
  width: 16px;
  height: 16px;
  cursor: pointer;
  vertical-align: middle;
}

/* Shared Modern Modal Styles */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.custom-modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  padding: 36px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.custom-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: none;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.custom-modal-close:hover {
  color: #f97316;
  transform: scale(1.1);
}


