/* Sun and Spoken Speech - Neutral Beach Palette (Teal / Blue-Grey / Coffee) */

:root {
  --teal: #4A8B8E;
  --teal-dark: #3A6F72;
  --teal-soft: #E4F0F1;
  --blue-grey: #E8EEF0;
  --soft-bg: #F5F8F9;
  --coffee: #7A5C4A;
  --coffee-hover: #6A4F40;
  --text: #2C3A3B;
  --text-light: #5A6A6C;
  --white: #FFFFFF;
  --shadow: rgba(44, 58, 59, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--soft-bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--teal-dark);
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.1rem;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--coffee);
}

/* Layout */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 14px; /* soft squoval corners */
  overflow: hidden;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.logo-text .tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--coffee);
  letter-spacing: 0.2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.55rem;
}

nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: transparent;
  transition: all 0.22s ease;
  display: inline-block;
}

nav a:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-color: #C5DADB;
}

nav a.active {
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-color: var(--teal);
  font-weight: 600;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero */
.hero {
  background: linear-gradient(165deg, #E4F0F1 0%, var(--soft-bg) 55%, #EEF2F3 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--teal-dark);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Wave graphic under hero */
.wave-divider {
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--coffee);
  color: white;
}

.btn-primary:hover {
  background: var(--coffee-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(122, 92, 74, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
}

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

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--blue-grey);
}

.section-narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  height: 100%;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.55rem 0 0.55rem 1.8rem;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* Form */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 6px 24px var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #C8D2D4;
  border-radius: 10px;
  font-size: 1rem;
  background: var(--soft-bg);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

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

.form-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
}

/* Footer */
footer {
  background: var(--text);
  color: #A8B4B6;
  padding: 2.75rem 0 2rem;
  text-align: center;
  font-size: 0.95rem;
  position: relative;
}

footer a {
  color: #B8D4D6;
}

footer .footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

footer .footer-logo span {
  color: #C4A484;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1.5rem; }

.highlight {
  color: var(--coffee);
  font-weight: 600;
}

.badge {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-dark);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Beach graphic accents */
.beach-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.sun-icon {
  width: 28px;
  height: 28px;
  fill: var(--coffee);
}

.wave-icon {
  width: 32px;
  height: 20px;
  fill: var(--teal);
}

/* Small decorative wave line */
.soft-wave {
  text-align: center;
  margin: 1.5rem 0;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 20px var(--shadow);
    padding: 1rem 0;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  nav li {
    padding: 0.7rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  nav ul {
    gap: 0.4rem;
  }

  nav a {
    display: block;
    margin: 0.25rem 1.5rem;
    text-align: center;
  }
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slight delay variants for staggered feel */
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }