/* Template 33 - Mint Medical */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap");

:root {
  --bg-primary: #f0fdf9;
  --bg-secondary: #ccfbef;
  --bg-card: #ffffff;
  --accent-mint: #14b8a6;
  --accent-teal: #0d9488;
  --accent-dark: #0f766e;
  --text-primary: #134e4a;
  --text-secondary: #2dd4bf;
  --text-muted: #5eead4;
}

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

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

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

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

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

/* Header - Rounded pill style */
.site-header {
  background: var(--bg-card);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.1);
  border-bottom: 3px solid var(--accent-mint);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  padding: 1rem 2rem;
  border-radius: 50px;
}

.site-logo a {
  font-family: "Nunito", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-logo a:hover {
  color: var(--accent-dark);
  transform: scale(1.08);
}

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

.site-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  background: transparent;
}

.site-nav a:hover {
  background: var(--accent-mint);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section - Centered with rounded elements */
.section.head {
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

.section.head h1 {
  font-family: "Nunito", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--accent-teal);
  animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-30px);
  }
  50% {
    transform: scale(1.05) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

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

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

.section header h2 {
  font-family: "Nunito", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--accent-mint);
}

.section header p {
  font-size: 1.15rem;
  color: var(--text-primary);
  max-width: 650px;
  margin: 0 auto;
}

/* Footer - Rounded style */
.footer {
  background: var(--bg-card);
  padding: 3rem 0 1rem;
  border-top: 4px solid var(--accent-mint);
  margin-top: 5rem;
  box-shadow: 0 -4px 20px rgba(20, 184, 166, 0.1);
}

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

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

.footer-tagline {
  color: var(--text-primary);
  line-height: 1.8;
}

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

.footer-links a {
  color: var(--text-primary);
  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 {
  background: var(--accent-mint);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid var(--bg-secondary);
}

.copyright a {
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

.fade-in {
  opacity: 0;
  animation: floatUp 0.7s 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.8rem;
  color: var(--accent-mint);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}
