/* Template 53 - Icy Mint Medical */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap");

:root {
  --mint: #5eead4;
  --ice-blue: #67e8f9;
  --soft-cyan: #a5f3fc;
  --deep-teal: #0f766e;
  --slate: #475569;

  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-accent: #ecfeff;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
}

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

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

body {
  font-family: "Work Sans", sans-serif;
  line-height: 1.7;
  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 */
.site-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--soft-cyan);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(94, 234, 212, 0.1);
}

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

.site-logo a {
  font-family: "Work Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--deep-teal);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
}

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

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
}

.site-nav a:hover {
  color: var(--deep-teal);
  background: var(--bg-accent);
  transform: scale(1.05);
}

/* Hero Section */
.section.head {
  padding: 7rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.section.head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--ice-blue), var(--mint), transparent);
}

.section.head h1 {
  font-family: "Work Sans", sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--deep-teal);
  letter-spacing: -1px;
  animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

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

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

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

.section header h2 {
  font-family: "Work Sans", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--deep-teal);
  letter-spacing: -0.5px;
}

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

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 3rem 0 1rem;
  border-top: 2px solid var(--soft-cyan);
  margin-top: 5rem;
}

.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-secondary);
  line-height: 1.8;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--mint);
  transform: translateX(5px);
}

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

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

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

.fade-in {
  opacity: 0;
  animation: slideUp 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.7rem;
  color: var(--deep-teal);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-weight: 600;
}
