/* Template 5 - Ocean Blues / Maritime */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;600;700&display=swap");

:root {
  --bg-primary: #f0f4f8;
  --bg-secondary: #e1e8ed;
  --bg-accent: #0077be;

  --text-primary: #102a43;
  --text-secondary: #486581;
  --text-muted: #627d98;
  --text-inverse: #f0f4f8;

  --ocean-blue: #0077be;
  --deep-sea: #004e7c;
  --aqua: #3ba4c7;
  --seafoam: #7fc8d6;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Wave Border */
.site-header {
  background: var(--ocean-blue);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 119, 190, 0.15);
  position: relative;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, var(--aqua) 0%, var(--seafoam) 50%, var(--aqua) 100%);
  clip-path: polygon(
    0% 0%,
    5% 100%,
    10% 0%,
    15% 100%,
    20% 0%,
    25% 100%,
    30% 0%,
    35% 100%,
    40% 0%,
    45% 100%,
    50% 0%,
    55% 100%,
    60% 0%,
    65% 100%,
    70% 0%,
    75% 100%,
    80% 0%,
    85% 100%,
    90% 0%,
    95% 100%,
    100% 0%
  );
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-family: "Merriweather", serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-inverse);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-logo a:hover {
  color: var(--seafoam);
  transform: translateY(-2px);
}

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

.site-nav a {
  color: rgba(240, 244, 248, 0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.site-nav a:hover {
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Section - Wave Design */
.section.head {
  padding: 7rem 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 164, 199, 0.1) 0%, transparent 100%);
}

.section.head h1 {
  font-family: "Merriweather", serif;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--deep-sea);
  line-height: 1.2;
  animation: waveIn 1.2s ease;
}

@keyframes waveIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section.head p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section header {
  text-align: center;
  margin-bottom: 4rem;
}

.section header h2 {
  font-family: "Merriweather", serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ocean-blue);
}

.section header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Footer - Ocean Gradient */
.footer {
  background: linear-gradient(180deg, var(--deep-sea) 0%, var(--ocean-blue) 100%);
  color: var(--text-inverse);
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to right, var(--aqua) 0%, var(--seafoam) 50%, var(--aqua) 100%);
  clip-path: polygon(
    0% 100%,
    5% 0%,
    10% 100%,
    15% 0%,
    20% 100%,
    25% 0%,
    30% 100%,
    35% 0%,
    40% 100%,
    45% 0%,
    50% 100%,
    55% 0%,
    60% 100%,
    65% 0%,
    70% 100%,
    75% 0%,
    80% 100%,
    85% 0%,
    90% 100%,
    95% 0%,
    100% 100%
  );
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-about {
  flex: 1;
  max-width: 450px;
}

.footer-tagline {
  color: rgba(240, 244, 248, 0.9);
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(240, 244, 248, 0.85);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--seafoam);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: var(--seafoam);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(240, 244, 248, 0.2);
}

.copyright a {
  color: rgba(240, 244, 248, 0.7);
  font-size: 0.95rem;
}

/* Animations */
@keyframes ripple {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: ripple 0.8s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.7rem;
  color: var(--ocean-blue);
  margin-top: 20px;
  margin-bottom: 12px;
  text-align: left;
  font-family: "Merriweather", serif;
  font-weight: 700;
}
