/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&display=swap');

/* CSS Variables for Kidney Theme Colors */
:root {
  --kidney-yellow: #F5D547;
  --kidney-green: #0D4D4A;
  --kidney-light-green: #1A6B66;
  --kidney-red: #E53E3E;
  --white: #ffffff;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  background-color: var(--kidney-yellow);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container and Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Main content area */
main {
  flex: 1;
}

/* Navigation Styles */
nav {
  background-color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid var(--kidney-green);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--kidney-green);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: var(--kidney-yellow);
}

.nav-logo svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.nav-desktop {
  display: none;
  align-items: baseline;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
  background-color: var(--kidney-yellow);
  color: var(--kidney-green);
}

.nav-link:not(.active) {
  background-color: var(--kidney-green);
  color: var(--white);
}

.nav-link:not(.active):hover {
  background-color: var(--kidney-yellow);
  color: var(--kidney-green);
}

.nav-mobile-button {
  display: block;
  background: none;
  border: none;
  color: var(--kidney-green);
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-mobile-button:hover {
  color: var(--kidney-light-green);
}

.nav-mobile-button svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .nav-mobile-button {
    display: none;
  }
}

.nav-mobile {
  display: block;
  padding: 0.5rem;
  border-top: 1px solid var(--kidney-green);
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0.5rem 0.75rem;
}

.nav-mobile-link {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-mobile-link.active {
  background-color: var(--kidney-yellow);
  color: var(--kidney-green);
}

.nav-mobile-link:not(.active) {
  background-color: var(--kidney-green);
  color: var(--white);
}

.nav-mobile-link:not(.active):hover {
  background-color: var(--kidney-yellow);
  color: var(--kidney-green);
}

.nav-mobile.hidden {
  display: none;
}

/* Page Content Styles */
.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .page-content {
    padding: 3rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-content {
    padding: 3rem 2rem;
  }
}

/* Header Styles */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.header-icon {
  width: 4rem;
  height: 4rem;
  color: var(--kidney-green);
  margin: 0 auto 1.5rem;
  display: block;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--kidney-green);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--kidney-green);
  max-width: 48rem;
  margin: 0 auto;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--kidney-green);
}

.btn:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background-color: var(--white);
  color: var(--kidney-green);
}

.btn-secondary:hover {
  background-color: var(--kidney-yellow);
  color: var(--kidney-green);
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* Section Styles */
.section {
  background-color: var(--white);
  border: 2px solid var(--kidney-green);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 4rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .section {
    padding: 3rem;
  }
}

.section-large {
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--kidney-green);
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--kidney-green);
  max-width: 32rem;
  margin: 0 auto 3rem;
  text-align: center;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Stat Cards */
.stat-card {
  text-align: center;
}

.stat-background {
  background-color: var(--kidney-yellow);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 4rem;
  height: 4rem;
  color: var(--kidney-green);
  margin: 0 auto 1rem;
  display: block;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--kidney-green);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3.75rem;
  }
}

.stat-label {
  color: var(--kidney-green);
  font-size: 1.125rem;
  font-weight: 600;
}

.stat-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--kidney-green);
  margin-bottom: 0.5rem;
}

.stat-text {
  color: var(--kidney-green);
  line-height: 1.6;
}

/* Text Styles */
.text-content {
  color: var(--kidney-green);
  line-height: 1.6;
  font-size: 1.125rem;
}

.text-content p {
  margin-bottom: 1.5rem;
}

.text-content p:last-child {
  margin-bottom: 0;
}

/* Feature Lists */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  background-color: var(--kidney-yellow);
  border-radius: 50%;
  padding: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--kidney-green);
}

.feature-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--kidney-green);
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--kidney-green);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-content p:last-child {
  margin-bottom: 0;
}

/* Image Styles */
.floating-image {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  background-color: var(--kidney-yellow);
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.floating-image img {
  width: 20rem;
  height: 24rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* FAQ Styles */
.faq-item {
  border-left: 4px solid var(--kidney-yellow);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--kidney-green);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--kidney-green);
  line-height: 1.6;
}

/* Resource Links */
.resource-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.resource-icon {
  background-color: var(--kidney-yellow);
  border-radius: 50%;
  padding: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.resource-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--kidney-green);
}

.resource-content h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--kidney-green);
}

.resource-content a {
  color: var(--kidney-green);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.resource-content a:hover {
  color: var(--kidney-yellow);
}

.resource-content p {
  color: var(--kidney-green);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Footer Styles */
footer {
  background-color: var(--kidney-green);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .footer-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-container {
    padding: 0 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--kidney-yellow);
  fill: currentColor;
}

.footer-brand {
  font-weight: bold;
  font-size: 1.125rem;
  color: var(--kidney-yellow);
}

.footer-description {
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-section h3 {
  font-weight: 600;
  color: var(--kidney-yellow);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-links a svg {
  width: 1rem;
  height: 1rem;
}

.footer-link.active {
  color: var(--kidney-yellow);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--kidney-light-green);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--white);
  font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-bold {
  font-weight: bold;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

/* Responsive visibility */
.hidden {
  display: none;
}

@media (max-width: 767px) {
  .md-hidden {
    display: none;
  }
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
}