@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&family=DM+Serif+Display&display=swap');

:root {
  /* Colours */
  --primary: #2D8A84;
  --primary-light: #E8F4F0;
  --primary-dark: #1A5C59;
  --accent: #E8A83A;
  --background: #FAFAF8;
  --neutral-light: #EDECEA;
  --text-primary: #1C1B1A;
  --text-body: #3D3C3A;
  --text-muted: #9B9A96;
  
  /* Fonts */
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Layout & Spacing */
  --container-width: 1200px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 8rem;

  /* Elevations / Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 25px 30px -5px rgba(0,0,0, 0.08), 0 10px 15px -5px rgba(0,0,0,0.03);

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--background);
  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(--text-primary);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 2rem; }

p { margin-bottom: var(--space-sm); font-size: 1.125rem; }
a { color: var(--primary); text-decoration: none; transition: all var(--transition-fast); }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xxl) 0;
}

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.grid { display: grid; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background-color: #f5b74a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  padding: 0.875rem 1rem;
  position: relative;
  border: none;
  font-weight: 500;
}
.btn-secondary::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1.5rem; /* Account for the arrow space */
  bottom: 0.5rem;
  height: 2px;
  background-color: #5BADA8;
  transition: all var(--transition-fast);
}
.btn-secondary:hover {
  color: var(--primary-dark);
}
.btn-secondary:hover::after {
  background-color: var(--primary-dark);
  right: 1rem; /* Expand line on hover */
}

/* Header & Glassmorphism Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-light);
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--primary);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  font-size: 1.05rem;
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Footer Section */
.site-footer {
  background-color: var(--primary-light);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--neutral-light);
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
}
.footer-column ul li {
  margin-bottom: 0.5rem;
}
.footer-column a {
  color: var(--text-body);
}
.footer-column a:hover {
  color: var(--primary);
}
.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--neutral-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .section { padding: var(--space-xl) 0; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--background);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    gap: 1.5rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-cta { display: none; }
  .footer-content { flex-direction: column; }
}

/* Generic Utilities */
.text-center { text-align: center; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.tag {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fadeInUp var(--transition-slow) forwards;
}

/* Cards */
.card {
  background-color: #fff;
  border-radius: 12px;
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--neutral-light);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.main-content {
  margin-top: 5rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
  color: white;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

