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

:root {
  --primary-color: #e31837;
  --secondary-color: #9d061d;
  --dark-red: #7a3533;
  --text-color: #1a1a1a;
  --light-bg: #f8fafc;
  --white: #fffefe;
  --gray: #9e9c9d;
  --dark-gray: #1a1a1a;
  --accent: #e31837;
}

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

body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7em;
  color: var(--gray);
  overflow-x: hidden;
}

h3 {
  color: var(--dark-gray);
}

.container {
  max-width: 1080px;
  width: 80%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar with Language Toggle & Social Media */
.top-bar {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.top-bar > * {
  pointer-events: auto;
}

/* Language Toggle - Custom Dropdown */
.language-toggle {
  display: inline-block;
  position: relative;
}

.language-select-custom {
  background: var(--white);
  border: none;
  border-radius: 6px;
  padding: 8px 35px 8px 12px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  user-select: none;
  position: relative;
}

.language-select-custom::after {
  content: "▼";
  position: absolute;
  right: 12px;
  font-size: 12px;
  color: var(--gray);
  transition: transform 0.3s ease;
}

.language-toggle.open .language-select-custom::after {
  transform: rotate(180deg);
}

.language-select-custom:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  min-width: 100%;
}

.language-toggle.open .language-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.language-option:hover {
  background: var(--light-bg);
}

.language-option.active {
  background: rgba(227, 24, 55, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

/* Hide native select - keep for fallback */
.language-select {
  display: none;
}

/* Social Media Links */
.social-media-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-media-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--white);
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-media-links a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(227, 24, 55, 0.3);
}

.social-media-links svg {
  width: 18px;
  height: 18px;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

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

.logo {
  display: block;
  text-decoration: none;
}

.logo-image {
  height: 130px;
  width: auto;
  margin-bottom: 5px;
  transition: opacity 0.3s ease;
}

.logo:hover .logo-image {
  opacity: 0.8;
}

.logo h1 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.tagline {
  font-size: 14px;
  color: var(--gray);
  font-style: italic;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav > ul > li {
  position: relative;
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 450px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
  padding: 0;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0px 20px;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  white-space: normal;
  line-height: 1.4;
}

.dropdown-menu a:hover {
  background: var(--light-bg);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  padding-left: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-color);
}

/* Hero Carousel Section */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: all;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  animation: none;
}

.carousel-slide.active .slide-image {
  animation: zoomIn 7s ease-out forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 40%,
    transparent 70%
  );
  backdrop-filter: blur(2px);
}

.slide-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--text-color);
  text-align: left;
}

.slide-content .container {
  width: 100%;
  max-width: 50%;
  margin-left: 5%;
  margin-right: auto;
}

.slide-title {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--text-color);
  opacity: 0;
  transform: translateY(30px);
}

.carousel-slide.active .slide-title {
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.slide-text {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 100%;
  color: var(--dark-gray);
  opacity: 0;
  transform: translateY(30px);
}

.carousel-slide.active .slide-text {
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.slide-content .btn-primary {
  opacity: 0;
  transform: translateY(30px);
}

.carousel-slide.active .btn-primary {
  animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Warning Signs in Carousel */
.home-page-hero-warning-signs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  max-width: 900px;
}

.home-page-hero-warning-sign {
  text-align: center;
}

.home-page-hero-warning-sign img,
.home-page-hero-warning-sign svg {
  width: 75px;
  height: 65px;
  margin-bottom: 1rem;
}

.home-page-hero-warning-sign-body {
  font-size: 16px;
  color: var(--dark-gray);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .home-page-hero-warning-signs {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: auto;
  bottom: 90px;
  transform: none;
  z-index: 100;
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 24px;
  width: auto;
  height: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  opacity: 1;
}

.carousel-control.prev {
  left: 50%;
  transform: translateX(-120px);
}

.carousel-control.prev:hover {
  transform: translateX(-120px);
}

.carousel-control.next {
  left: 50%;
  transform: translateX(95px);
}

.carousel-control.next:hover {
  transform: translateX(95px);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(227, 24, 55, 0.4);
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator:hover {
  background: rgba(227, 24, 55, 0.7);
}

.indicator.active {
  background: var(--primary-color);
  width: 14px;
  height: 14px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  align-self: flex-start;
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-red {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-red:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.donate .btn-primary {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.donate .btn-primary:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--white);
}

/* Get Involved Section */
.get-involved-section {
  width: 100%;
  overflow: hidden;
}

.get-involved-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.get-involved-content {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px;
  padding-bottom: 80px;
  padding-left: 45%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.get-involved-content h2,
.get-involved-content p,
.get-involved-content .btn-white {
  max-width: 450px;
}

.get-involved-content h2 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.get-involved-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--white);
}

.get-involved-image {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.get-involved-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info Cards Section */
.info-cards-section {
  background: var(--light-bg);
  padding: 80px 0;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
}

.info-card h3 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.info-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.link-arrow {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.link-arrow span {
  font-size: 20px;
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.link-arrow:hover span {
  margin-left: 10px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section h2 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-color);
}

.section p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark-gray);
}

/* About Section */
.about {
  background: var(--light-bg);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 20px;
}

/* Programs Section */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.program-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.program-card h3 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.program-card p {
  font-size: 16px;
}

/* Drug Resources Section */
.drugs-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.drug-resource-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.drug-resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.drug-resource-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.drug-resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drug-resource-card h3 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  padding: 20px 20px 10px 20px;
  margin: 0;
}

.drug-resource-card p {
  padding: 0 20px 20px 20px;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.drug-resource-card .btn-primary {
  margin: 0 20px 20px 20px;
  display: inline-block;
  text-align: center;
}

.search-drug-section {
  margin: 40px 0;
  padding: 30px;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
}

.search-drug-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.search-drug-link:hover {
  color: var(--secondary-color);
}

.search-drug-link .arrow {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.search-drug-link:hover .arrow {
  transform: translateX(5px);
}

.app-store-buttons {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.app-store-buttons a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.app-store-buttons a:hover {
  opacity: 0.8;
}

/* Resources Page */
.resources-page {
  background: var(--white);
}

.resources-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.resources-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark-gray);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

@media (max-width: 600px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

.resource-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(227, 24, 55, 0.2);
}

.resource-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.resource-card:hover .resource-card-image img {
  transform: scale(1.05);
}

.resource-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.resource-card-content h3 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.resource-card-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 20px;
  flex-grow: 1;
}

.resource-card-arrow {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 300;
  align-self: flex-end;
  transition: transform 0.3s ease;
}

.resource-card:hover .resource-card-arrow {
  transform: translateX(8px);
}

@media (max-width: 768px) {
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .resource-card-image {
    height: 200px;
  }

  .resource-card-content {
    padding: 25px;
  }

  .resource-card-content h3 {
    font-size: 22px;
  }
}

/* Sports Page Styles */
.sports-resources-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 40px 0;
}

.sports-article-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.sports-resource-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.sports-resource-card:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(227, 24, 55, 0.3);
}

.sports-resource-card p {
  color: var(--text-color);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
  text-align: center;
}

.sports-resource-card:hover p {
  color: var(--white);
}

.sports-video-wrapper {
  width: 100%;
}

.sports-video-card {
  border-radius: 8px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.return-to-play-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}

.return-to-play-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blurb-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.blurb-icon {
  min-width: 60px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: Arial, sans-serif;
}

.blurb-content {
  flex: 1;
}

.blurb-content p {
  margin: 0;
  line-height: 1.7;
}

.parents-section-layout {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: start;
}

.parents-content h2 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
  max-width: 100%;
}

.parents-video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.parents-video > div {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.parents-video iframe {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 968px) {
  .sports-article-cards {
    grid-template-columns: 1fr;
  }

  .return-to-play-layout,
  .parents-section-layout {
    grid-template-columns: 1fr;
  }

  .return-to-play-image {
    order: -1;
  }

  .parents-video {
    position: static;
  }
}

/* Resources Section */
.resources {
  background: var(--light-bg);
}

.resources-content ul {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.resources-content li {
  margin-bottom: 15px;
}

.resources-content a {
  display: block;
  padding: 15px 20px;
  background: var(--white);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.resources-content a:hover {
  background: var(--primary-color);
  color: var(--white);
  padding-left: 30px;
}

/* Donate Section */
.donate {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--primary-color) 100%
  );
  color: var(--white);
  text-align: center;
}

.donate h2 {
  color: var(--white);
}

.donate p {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-content p {
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form button {
  cursor: pointer;
}

/* Page Header */
.page-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-color);
  padding: 100px 0 60px;
  position: relative;
  min-height: 300px;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin: 0;
  text-align: left;
  line-height: 1.3;
}

.page-header h1 span {
  display: inline-block;
  margin-top: 8px;
}

.highlight {
  color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb .separator {
  color: var(--gray);
}

.breadcrumb .current {
  color: var(--primary-color);
  font-weight: 600;
}

/* Syndrome Page Layout */
.syndrome-page-layout {
  max-width: 900px;
  margin: 0 auto;
}

.syndrome-main-content {
  width: 100%;
}

/* Sidebar */
.sidebar-widget {
  background: var(--primary-color);
  color: var(--white);
  padding: 30px;
  border-radius: 8px;
  position: sticky;
  top: 200px;
}

.sidebar-widget h3 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.sidebar-menu a:hover {
  padding-left: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.sidebar-menu a::after {
  content: "›";
  font-size: 20px;
  transition: transform 0.3s ease;
}

.sidebar-menu a:hover::after {
  transform: translateX(5px);
}

/* Syndrome Content */
.syndrome-content h2 {
  font-family: "Glacial Indifference", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 40px;
  margin-bottom: 15px;
  text-align: left;
}

.syndrome-content h2:first-child {
  margin-top: 0;
}

.syndrome-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.syndrome-content ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

.syndrome-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 30px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-bar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .get-involved-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .get-involved-content {
    padding: 60px 40px;
    padding-left: 40px;
  }

  .get-involved-content h2,
  .get-involved-content p,
  .get-involved-content .btn-white {
    max-width: 100%;
  }

  .get-involved-content h2 {
    font-size: 32px;
  }

  .get-involved-image {
    min-height: 300px;
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-card {
    padding: 30px;
  }

  .header .container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .logo {
    order: 1;
    flex: 1;
  }

  .language-toggle {
    position: relative;
    order: 2;
    margin-left: auto;
    margin-right: 10px;
  }

  .language-select-custom {
    font-size: 18px;
    padding: 6px 30px 6px 10px;
  }

  .language-option {
    font-size: 16px;
    padding: 8px 12px;
  }

  .nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.active {
    max-height: 500px;
    margin-top: 20px;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li {
    border-bottom: 1px solid #e2e8f0;
  }

  .nav a {
    display: block;
    padding: 15px 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: none;
    margin-top: 0;
    padding: 0 0 0 20px;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px;
  }

  .dropdown > a::after {
    content: " ▼";
    font-size: 12px;
    margin-left: 5px;
  }

  .dropdown.active > a::after {
    content: " ▲";
  }

  .hero-carousel {
    height: 700px;
  }

  .slide-content {
    align-items: center;
  }

  .carousel-slide:first-child .slide-content {
    padding-top: 30px;
    align-items: flex-start;
  }

  .slide-content .container {
    max-width: 85%;
    margin-left: 7.5%;
  }

  .carousel-slide:first-child .slide-content .container {
    margin-top: 20px;
  }

  .slide-title {
    font-size: 30px;
  }

  .slide-text {
    font-size: 17px;
  }

  .home-page-hero-warning-signs {
    max-width: 100%;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .home-page-hero-warning-sign img,
  .home-page-hero-warning-sign svg {
    width: 60px;
    height: 50px;
    margin-bottom: 0.7rem;
  }

  .home-page-hero-warning-sign-body {
    font-size: 14px;
  }

  .carousel-control {
    font-size: 20px;
    bottom: 80px;
  }

  .carousel-slide:first-child.active ~ .carousel-control {
    bottom: 120px;
  }

  .carousel-control.prev {
    transform: translateX(-100px);
  }

  .carousel-control.prev:hover {
    transform: translateX(-100px);
  }

  .carousel-control.next {
    transform: translateX(75px);
  }

  .carousel-control.next:hover {
    transform: translateX(75px);
  }

  .carousel-indicators {
    bottom: 40px;
  }

  .carousel-slide:first-child.active ~ .carousel-indicators {
    bottom: 60px;
  }

  .section h2 {
    font-size: 28px;
  }

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

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .get-involved-content {
    padding: 40px 30px;
  }

  .get-involved-content h2 {
    font-size: 28px;
  }

  .get-involved-content p {
    font-size: 16px;
  }

  .info-card {
    padding: 25px;
  }

  .info-card h3 {
    font-size: 24px;
  }

  .hero-carousel {
    height: 750px;
  }

  .slide-content {
    align-items: center;
  }

  .carousel-slide:first-child .slide-content {
    padding-top: 20px;
    align-items: flex-start;
  }

  .slide-content .container {
    max-width: 88%;
    margin-left: 6%;
    padding: 0 15px;
  }

  .carousel-slide:first-child .slide-content .container {
    margin-top: 15px;
  }

  .slide-title {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .slide-text {
    font-size: 14px;
  }

  .home-page-hero-warning-signs {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .home-page-hero-warning-sign img,
  .home-page-hero-warning-sign svg {
    width: 50px;
    height: 42px;
    margin-bottom: 0.5rem;
  }

  .home-page-hero-warning-sign-body {
    font-size: 12px;
  }

  .carousel-control {
    font-size: 18px;
    bottom: 70px;
  }

  .carousel-slide:first-child.active ~ .carousel-control {
    bottom: 110px;
  }

  .carousel-control.prev {
    left: 50%;
    transform: translateX(-80px);
  }

  .carousel-control.prev:hover {
    transform: translateX(-80px);
  }

  .carousel-control.next {
    left: 50%;
    transform: translateX(55px);
  }

  .carousel-control.next:hover {
    transform: translateX(55px);
  }

  .carousel-indicators {
    bottom: 30px;
  }

  .carousel-slide:first-child.active ~ .carousel-indicators {
    bottom: 50px;
  }

  .section {
    padding: 50px 0;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* FAQ Accordion Styles */
.faq-accordion {
  margin-top: 2rem;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  width: 100%;
  background-color: #fff;
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #f5f5f5;
}

.accordion-item.active .accordion-header {
  color: #e31b23;
}

.accordion-header span:first-child {
  flex: 1;
  padding-right: 1rem;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #e31b23;
  transition: transform 0.3s ease;
  min-width: 30px;
  text-align: center;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  padding: 0 1.5rem;
  background-color: #fff;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding: 1.5rem;
  padding-top: 0;
}

.accordion-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #555;
}

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

@media (max-width: 768px) {
  .accordion-header {
    padding: 1rem;
    font-size: 1rem;
  }

  .accordion-icon {
    font-size: 1.3rem;
  }

  .accordion-item.active .accordion-content {
    padding: 1rem;
    padding-top: 0;
  }
}

/* Contact Page Styles */
.contact-page-layout {
  display: grid;
  gap: 3rem;
}

.contact-info-section h2,
.contact-form-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-info-section > p,
.contact-form-section > p {
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.6;
}

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-info-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: #e31b23;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-info-card p {
  margin: 0;
}

.contact-info-card a {
  color: #e31b23;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: #b81519;
  text-decoration: underline;
}

/* Address Section */
.contact-address {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-address .contact-icon {
  margin: 0;
  flex-shrink: 0;
}

.address-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.address-content p {
  margin: 0;
  line-height: 1.8;
  color: #666;
}

/* Social Media Section */
.social-media-section {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.social-media-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.social-media-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-media-icons a {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-media-icons a:hover {
  background: #e31b23;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(227, 27, 35, 0.3);
}

/* Contact Form Section */
.contact-form-section {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-address {
    flex-direction: column;
    text-align: center;
  }

  .contact-address .contact-icon {
    margin: 0 auto 1rem;
  }

  .contact-form-section {
    padding: 2rem 1rem;
  }

  .social-media-icons {
    gap: 0.75rem;
  }

  .social-media-icons a {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* Medical Questions Page Styles */
.medical-questions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.medical-info-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.medical-info-section h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  color: #333;
}

.info-box {
  background: #fff3cd;
  border-left: 4px solid #e31b23;
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.info-box p {
  margin: 0;
  line-height: 1.6;
  color: #856404;
}

.medical-info-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.medical-info-section ul li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  line-height: 1.6;
  color: #555;
}

.medical-info-section ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e31b23;
  font-weight: bold;
  font-size: 1.2rem;
}

.medical-info-section p a {
  color: #e31b23;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.medical-info-section p a:hover {
  color: #b81519;
  text-decoration: underline;
}

.medical-form-section {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 8px;
  position: sticky;
  top: 2rem;
}

.medical-form-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.medical-form .form-section {
  margin-bottom: 1.5rem;
}

.medical-form .form-section label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.medical-form .required {
  color: #e31b23;
}

.medical-form .required-note {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.medical-form input[type="text"],
.medical-form input[type="email"],
.medical-form input[type="tel"],
.medical-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}

.medical-form input[type="text"]:focus,
.medical-form input[type="email"]:focus,
.medical-form input[type="tel"]:focus,
.medical-form textarea:focus {
  outline: none;
  border-color: #e31b23;
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
}

.medical-form .name-fields,
.medical-form .address-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.medical-form .checkbox-group,
.medical-form .radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.medical-form .checkbox-label,
.medical-form .radio-label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.medical-form .checkbox-label:hover,
.medical-form .radio-label:hover {
  background-color: #f8f9fa;
}

.medical-form .checkbox-label input[type="checkbox"],
.medical-form .radio-label input[type="radio"] {
  margin-right: 0.5rem;
  cursor: pointer;
  width: auto;
}

@media (max-width: 968px) {
  .medical-questions-layout {
    grid-template-columns: 1fr;
  }

  .medical-form-section {
    position: static;
  }
}

/* Symptom Icons Grid */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.symptom-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.symptom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.15);
}

.symptom-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symptom-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.symptom-card p {
  margin: 0;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .symptoms-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .symptom-card {
    padding: 1rem;
  }

  .symptom-icon {
    width: 60px;
    height: 60px;
  }

  .symptom-card p {
    font-size: 0.85rem;
  }
}
