.home-root {
  min-height: 100vh;
  position: static !important;
  padding: 0 !important;
}

.home-root h2 {
  margin-bottom: 0;
}

.home-root h2::before {
  all: initial;
}

.home-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 0;
}

.home-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/images/clouds.svg"),
    linear-gradient(0deg, #f9f9f9, #f9f9f9),
    linear-gradient(
      -45deg,
      rgba(60, 129, 219, 0.85) 15%,
      rgba(51, 164, 43, 0.85) 80%
    );
  background-repeat: no-repeat;
  background-position:
    bottom center,
    bottom center,
    50% 50%;
  background-size:
    max(100%, 40rem) auto,
    100% 0,
    100% 100%;
  z-index: 1;
}

.home-above-fold {
  position: relative;
  height: calc(100vh - var(--header-height));
  padding: 3rem var(--horizontal-padding);
  padding-bottom: 8rem;
  padding-right: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

/* Infobox Styles */
.infobox {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1.5rem;
  margin-right: var(--horizontal-padding);
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 400px;
  border: 2px solid var(--green);
  position: relative;
  color: #333;
}

.infobox-header h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.infobox-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--blue);
}

.infobox-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.infobox-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.infobox-list li:last-child {
  border-bottom: none;
}

.infobox-list .date {
  font-weight: 700;
  color: var(--green);
  min-width: 3rem;
}

/* Below Fold Content */
.home-below-fold {
  background: var(--offwhite);
  position: relative;
  z-index: 2;
  padding-top: 4rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding: 0 var(--horizontal-padding);
  margin-top: 2rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid transparent;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-color: var(--green);
}

.link-card img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.link-title {
  font-weight: 600;
  color: var(--blue);
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-sec) 100%);
  margin: 0 var(--horizontal-padding) 6rem;
  border-radius: 2.5rem;
  text-align: center;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(60, 129, 219, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  color: white;
  isolation: isolate;
}

/* Noise Texture */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

/* Glowing Orbs */
.cta-section .glow-1 {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.cta-section .glow-2 {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(51, 164, 43, 0.3) 0%, rgba(51, 164, 43, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.cta-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cta-subheading {
  font-size: 1.35rem;
  opacity: 0.95;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}

.cta-action {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.cta-btn {
  background: var(--green);
  color: white;
  padding: 1.4rem 4rem;
  border-radius: 4rem;
  font-weight: 800;
  font-size: 1.2rem;
  border: none;
  box-shadow: 
    0 10px 25px rgba(9, 138, 0, 0.3),
    0 4px 0 var(--green-sec);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--light-green);
  box-shadow: 
    0 20px 35px rgba(9, 138, 0, 0.4),
    0 4px 0 var(--green-sec);
}

.cta-btn:hover::after {
  left: 100%;
}

.cta-btn:active {
  transform: translateY(2px);
  box-shadow: 
    0 5px 15px rgba(9, 138, 0, 0.3),
    0 0 0 var(--green-sec);
}

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

@media only screen and (min-width: 768px) {
  .cta-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 6rem 5rem;
  }

  .cta-content {
    max-width: 55%;
  }
}

/* Desktop styles */
@media only screen and (min-width: 768px) {
  .home-above-fold {
    flex-direction: row;
    align-items: center;
    padding-top: 0;
    padding-bottom: 12rem;
  }
  
  .home-above-fold .left {
    flex-grow: 1;
  }
}