.content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.hero-section {
  text-align: left;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.25rem;
  contain: layout style;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: auto -8% -35% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-primary);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero-logo {
  width: 280px;
  max-width: 80%;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  animation: logoFloat 3s ease-in-out infinite, logoPulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: "HTCD", var(--font-main);
  font-size: clamp(2rem, 3.2vw, 3rem);
  background: linear-gradient(135deg, #fff, var(--accent-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0.35rem 0 0.6rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  max-width: 650px;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-family: "HTR";
  line-height: 1.7;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn.primary {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn.secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-btn.secondary:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  gap: 0.8rem;
}

.stat-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-card strong {
  font-size: 1.2rem;
  color: white;
}

.stat-card span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.section-block {
  margin-top: 0.25rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-eyebrow {
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.section-heading h2 {
  font-size: 1.3rem;
  color: white;
}

.section-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.section-link:hover {
  color: white;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.4rem;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
  contain: layout style paint;
  backface-visibility: hidden;
  min-height: 170px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.feature-card i {
  font-size: 1.7rem;
  color: var(--accent-primary);
  margin-bottom: 0.9rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
  color: white;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.news-carousel {
  margin: 0.5rem 0 0;
  padding: 1rem;
  border-radius: 28px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  contain: layout style paint;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
  contain: layout style paint;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  content-visibility: auto;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #000c, transparent);
  padding: 1.5rem;
  color: #fff;
  text-align: left;
  contain: layout style;
}

.slide-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.slide-description {
  font-size: 0.95rem;
  opacity: 0.9;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.35rem;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
  will-change: background;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.04);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot:hover {
  transform: scale(1.1);
}

.dot.active {
  background: var(--accent-primary);
}

.quote-section {
  padding: 1.6rem 1.8rem;
  border-radius: 28px;
  margin-bottom: 0.5rem;
  text-align: center;
  contain: layout style;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

#cod-quote {
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-style: italic;
  line-height: 1.5;
}

#cod-quote-meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.center-logo {
  display: block;
  align-items: center;
  margin: 0 0 1rem 0;
  width: clamp(220px, 34vw, 320px);
}

.center-logo img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .content {
    gap: 1rem;
  }

  .carousel-slide img {
    height: 250px;
  }

  .slide-title {
    font-size: 1rem;
  }

  .slide-description {
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo {
    width: 200px;
  }
}