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

:root {
  /* Color Palette - Fresh & Sterile Hygiene */
  --primary: #0077b6;         /* Deep Trust Blue */
  --primary-hover: #03045e;   /* Dark Navy Blue */
  --secondary: #00b4d8;       /* Clean Active Cyan */
  --secondary-hover: #0096c7;
  --accent: #06d6a0;          /* Fresh Mint/Green for success & validation */
  --background: #ffffff;      /* Clean Base White */
  --bg-soft: #f8fafc;         /* Sterile Soft Gray */
  --bg-gradient: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
  --text-main: #1e293b;       /* Dark Charcoal Slate */
  --text-muted: #64748b;      /* Cool Gray Text */
  --text-white: #ffffff;
  --border-color: #e2e8f0;    /* Light Subtle Border */
  --card-shadow: 0 10px 30px -10px rgba(0, 119, 182, 0.08);
  --hover-shadow: 0 20px 40px -15px rgba(0, 119, 182, 0.15);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Grid & Dimensions */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
}

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

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

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

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

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; position: relative; }
h3 { font-size: 1.5rem; }
p { font-size: 1rem; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

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

.section {
  padding: 100px 0;
}

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

.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-wrapper p {
  font-size: 1.125rem;
  margin-top: 10px;
}

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

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-normal);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--card-shadow);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1440px; /* Expand header space to prevent clashing on high resolutions */
}

@media (max-width: 1400px) and (min-width: 1201px) {
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.92rem;
  }
  .nav-cta {
    gap: 8px;
  }
  .nav-cta .btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

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

.nav-links a:hover {
  color: var(--primary);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Hamburger Menu Button */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1010;
  padding: 4px;
}

.burger-bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--primary-hover);
  transition: var(--transition-normal);
  border-radius: 2px;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--background);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 32px;
  transition: var(--transition-normal);
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
}

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

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1004;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

/* Footer Section */
footer {
  background-color: #0d1b2a;
  color: #e0e1dd;
  padding: 80px 0 40px;
  font-family: var(--font-body);
  border-top: 5px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.6fr;
  gap: 32px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #a5a5a5;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

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

.footer-links a {
  color: #a5a5a5;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

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

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

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--secondary);
  fill: currentColor;
}

.footer-contact-item span {
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #1f2d3d;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: #778da9;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 0.9rem;
  color: #778da9;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition-normal);
  color: white;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.floating-whatsapp .tooltip {
  position: absolute;
  right: 75px;
  background-color: #1e293b;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.floating-whatsapp:hover .tooltip {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1200px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .burger-menu {
    display: block;
  }
  
  /* Burger animations */
  .burger-menu.open .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger-menu.open .burger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.open .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 60px 0; }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
  
  .floating-whatsapp .tooltip {
    display: none;
  }
}
