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

:root {
  /* Brand Color Palette */
  --color-deep-teal: #0B4F5C;
  --color-deep-slate: #12313A;
  --color-soft-aqua: #58BFAA;
  --color-coral: #FF7A59;
  --color-soft-cloud: #F5F8F7;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease-in-out;
}

/* Reset & Foundation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-soft-cloud);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-deep-teal);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-coral);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 122, 89, 0.3);
}

.btn-primary:hover {
  background-color: #e66b4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 89, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-deep-teal);
  border-color: var(--color-deep-teal);
}

.btn-secondary:hover {
  background-color: var(--color-deep-teal);
  color: var(--color-white);
}

/* Header & Navigation */
header {
  background-color: #FBFBFC;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--spacing-lg);
  height: 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.navbar .logo {
  justify-self: start;
}

.navbar .nav-links {
  justify-self: center;
}

.navbar .header-cta {
  justify-self: end;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-deep-slate);
  transition: color var(--transition-fast);
}

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

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

/* Bento Grid System */
.section {
  padding: var(--spacing-xl) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--spacing-lg);
}

.bento-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
  overflow: hidden;
  position: relative;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.bento-card p {
  font-weight: 500; /* Made semi-bold for better readability */
  color: var(--color-text);
  position: relative;
  z-index: 1;
}

.bento-card h3 {
  position: relative;
  z-index: 1;
}

/* Background animatable icons */
.bg-icon {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 150px;
  height: 150px;
  opacity: 0.04;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
  color: var(--color-deep-slate);
}

.bento-card:hover .bg-icon {
  transform: scale(1.15) rotate(-10deg);
  opacity: 0.08;
}

/* Icon Circle */
.icon-circle {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(88, 191, 170, 0.1);
  color: var(--color-soft-aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Impact Banner */
.impact-banner {
  background-color: var(--color-coral);
  color: var(--color-white);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Common Components */
.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-deep-slate);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

/* Footer */
footer {
  background-color: var(--color-deep-slate);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.footer-column h4 {
  color: var(--color-soft-aqua);
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
}

.footer-column ul li {
  margin-bottom: var(--spacing-sm);
}

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

.footer-column a:hover {
  color: var(--color-white);
}

.footer-newsletter h4 {
  color: var(--color-soft-aqua);
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  margin-top: var(--spacing-md);
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  width: 100%;
}

.newsletter-form button {
  background-color: var(--color-coral);
  color: white;
  border: none;
  padding: 0 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-weight: 600;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* Ensure full width relative to header */
    background: var(--color-white);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  
  .nav-links.active {
    display: flex;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
  }

  .navbar .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .bento-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }
  
  .bento-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
}

/* Construction Banner */
.construction-banner {
  background: linear-gradient(90deg, var(--color-deep-teal), var(--color-deep-slate));
  color: var(--color-white);
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 2px solid var(--color-coral);
  position: relative;
  z-index: 1000;
}

.construction-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.construction-banner span {
  opacity: 0.95;
  letter-spacing: 0.2px;
}
