/* Template 8 - Fresh Ocean / Coastal Breeze */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  --gradient-2: linear-gradient(135deg, #48cae4 0%, #00b4d8 100%);
  --gradient-3: linear-gradient(135deg, #90e0ef 0%, #48cae4 100%);
  --gradient-4: linear-gradient(135deg, #caf0f8 0%, #90e0ef 100%);
  --gradient-5: linear-gradient(135deg, #03045e 0%, #0077b6 100%);

  --bg-primary: #f8fcff;
  --bg-secondary: #caf0f8;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 180, 216, 0.2);

  --text-primary: #023047;
  --text-secondary: #0077b6;
  --text-muted: #4a90a4;
}

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

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

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

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(72, 202, 228, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(144, 224, 239, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: waveShift 15s ease-in-out infinite;
}

@keyframes waveShift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

/* Header - Ocean Wave */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border-bottom: 3px solid #90e0ef;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 25px rgba(0, 180, 216, 0.15);
}

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

.site-logo a {
  font-family: "Raleway", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0077b6;
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 0 #90e0ef;
}

.site-logo a:hover {
  color: #00b4d8;
  text-shadow: 3px 3px 0 #90e0ef, 0 0 20px rgba(72, 202, 228, 0.5);
  transform: translateY(-2px);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
}

.site-nav a:hover {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(144, 224, 239, 0.3) 0%, rgba(72, 202, 228, 0.3) 100%);
  transform: translateY(-2px);
}

/* Hero Section - Coastal */
.section.head {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(202, 240, 248, 0.3) 0%, transparent 100%);
}

.section.head h1 {
  font-family: "Raleway", sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #0077b6;
  line-height: 1.2;
  animation: waveText 3s ease-in-out infinite;
}

@keyframes waveText {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.02); }
}

.section.head p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
}

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

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

.section header::before {
  content: "~~~";
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #90e0ef;
  font-size: 2rem;
  letter-spacing: 1rem;
}

.section header h2 {
  font-family: "Raleway", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #00b4d8;
}

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

/* Footer - Deep Ocean */
.footer {
  background: linear-gradient(180deg, #0077b6 0%, #03045e 100%);
  padding: 3.5rem 0 1.5rem;
  border-top: 4px solid #48cae4;
  margin-top: 5rem;
  color: #caf0f8;
}

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

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

.footer-tagline {
  color: #90e0ef;
  line-height: 1.9;
}

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

.footer-links a {
  color: #90e0ef;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.footer-links a:hover {
  color: #caf0f8;
  background: rgba(144, 224, 239, 0.2);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(144, 224, 239, 0.3);
}

.copyright a {
  color: #90e0ef;
  font-size: 0.95rem;
}

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

.fade-in {
  opacity: 0;
  animation: floatInWave 0.9s 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.75rem;
  color: #00b4d8;
  margin-top: 20px;
  margin-bottom: 12px;
  text-align: left;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}
