/* YEEAP- Custom CSS Build by kidus Girma: kidus.muluwork@gmail.com */
:root {
  /* Color Palette  */
  --color-white: #ffffff;
  --color-offwhite: #f9fbfa;
  --color-cream: #f0f4f1;
  --color-light-blue: #eaf3fa;
  --color-mid-blue: #b9d6f0;
  --color-primary-dark: #0b2240;
  --color-primary: #5bd8dd;
  --color-primary-hover: #48cad0;
  --color-text-main: #111822;
  --color-text-muted: #334155;
  --color-text-muted-light: #98a6bb;
  /* Typography */
  --font-display: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-sm:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 10px 15px -3px rgba(11, 34, 64, 0.08),
    0 4px 6px -2px rgba(11, 34, 64, 0.04);
  --shadow-lg:
    0 20px 25px -5px rgba(11, 34, 64, 0.1),
    0 10px 10px -5px rgba(11, 34, 64, 0.04);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Initial Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-offwhite);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.overview-flex {
  display: flex;
  gap: 10px;
}
.space-bt {
  justify-content: space-between;
}

.container.narrow {
  max-width: 800px;
}

.section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}
.p-l {
  padding: 10px;
}
.m-b {
  margin-bottom: 1rem;
}
.video-link:hover {
  color: var(--color-primary);
  padding-right: 4px;
  font-weight: bold;
}
/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Backgrounds */
.bg-light {
  background-color: var(--color-cream);
}
.bg-light-blue {
  background-color: var(--color-light-blue);
}
.bg-primary-dark {
  background-color: var(--color-primary-dark);
}
.bg-white {
  background-color: var(--color-white);
}

/* Typography Classes */
.display-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
}
.subtitle-color {
  color: var(--color-text-muted-light);
}

.large-text {
  font-size: 1.5rem;
  font-weight: 300;
  color: inherit;
}
.mid-text {
  font-size: 1rem;
  font-weight: 300;
  color: inherit;
}

.sm-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.text-primary-dark {
  color: var(--color-primary-dark);
}
.text-primary {
  color: var(--color-primary);
}
.text-white {
  color: var(--color-white);
}
.text-cream {
  color: var(--color-cream);
}
.text-primary-dark {
  color: var(--color-primary-dark);
}
.text-center {
  text-align: center;
}

/* Spacing */
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}

/* Components - Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary-two {
  background-color: transparent;
  color: var(--color-primary);
  padding-left: 0px;
}
.btn-secondary-two:hover {
  color: var(--color-primary-dark);
  padding-left: 0px;
}

.btn-secondary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.pill.outline {
  background-color: transparent;
  border: 1px solid var(--color-primary-dark);
  box-shadow: none;
}

.pill.outline.light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.pill.w-full {
  display: block;
  width: 100%;
  margin: 0.5rem 0;
  text-align: center;
  font-size: 1rem;
  padding: 1rem;
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.glass-card {
  background: rgba(255, 255, 255, 0.1); /* transparent background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* Safari support */

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.color-change {
  color: var(--color-primary);
}
.color-change-p {
  margin-top: 5px;
  font-size: 0.95rem;
  color: var(--color-light-blue);
}
.card.compact {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-weight: 500;
}

.card.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Images & Visuals */
.rounded-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}
.image-padding {
  padding: 40px 0px;
}
.circle-motif img {
  border-radius: var(--radius-circle);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
}

/* Hotspots */
.hotspot {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.3);
  animation: pulse 2s infinite;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hotspot:hover {
  transform: scale(1.5);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 115, 190, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(30, 115, 190, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 115, 190, 0);
  }
}

/* Hero Section & Canvas */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-nodes-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Allows clicking elements behind/through it if necessary, though it's at z-index 0 */
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-header-and-logo {
  display: flex;
  align-items: center;
}
.hero-logo {
  height: 100px;
  width: auto;
}

/* Highlight Section */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.highlight .date {
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 1rem 0;
}

/* Lists */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.feature-list span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-mid-blue);
  margin-right: 1rem;
}

.feature-list.warning span {
  background-color: #ff9800;
}
.feature-list.success span {
  background-color: var(--color-primary);
}

/* Bridge Grid */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.icon-circle.sm {
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-mid-blue);
}

.icon-circle.border-primary {
  border-color: var(--color-primary);
}

.icon-card,
.challenge-card {
  padding: 2rem;
}
.bridge {
  background-image: url("../nodes_bridge_1772741692230.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bridge-visual img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Impact Section */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.stat-item {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.8em;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

/* Strategic Pillars */
.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pillar-row.reverse {
  direction: rtl;
}

.pillar-row.reverse > * {
  direction: ltr;
}

/* Programs Scroll/List */
.programs-scroll {
  display: flex;
  /* flex-direction: column; */
  gap: 1rem;
}

.product-card {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  border-left: 4px solid transparent;
}
.product-card h4 {
  text-align: center;
  margin-bottom: 1em;
}

.product-card:hover {
  border-left-color: var(--color-primary);
}

/* Bridge Background */
.bridge-bg {
  background: url("../nodes_bridge_1772741692230.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
  color: var(--color-white);
}

.glass-card h4 {
  color: var(--color-white);
}

.glass-card .icon-circle {
  background: rgba(255, 255, 255, 0.15);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.partners-content p {
  color: var(--color-text-muted);
  margin-top: 1rem;
}

/* Logo Slider */
.partners-logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.partners-logo-slider::before,
.partners-logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.partners-logo-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--color-light-blue) 0%,
    rgba(234, 243, 250, 0) 100%
  );
}

.partners-logo-slider::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--color-light-blue) 0%,
    rgba(234, 243, 250, 0) 100%
  );
}

.slide-track {
  display: flex;
  width: calc(200px * 12);
  animation: scroll-left 25s linear infinite;
  align-items: center;
}

.slide {
  width: 200px;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.placeholder-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  opacity: 0.4;
  transition: var(--transition-smooth);
}

.slide:hover .placeholder-logo {
  opacity: 1;
  color: var(--color-primary);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 6));
  }
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.contact-item .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Footer */
.footer-main {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  padding: 5rem 2rem 4rem;
  align-items: start;
}

.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 1.5rem;
  /* filter: brightness(0) invert(1); */
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 340px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li,
.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}
.footer-social {
  margin: 1rem 0;
  display: flex;
  gap: 1rem;
}

.footer-icon {
  width: auto;
  height: 30px;
  padding: 0 5px;
}

.footer-icon:hover {
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal a {
  font-size: 0.9rem;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.footer-legal a:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Motion & Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-grid,
  .highlight-grid,
  .impact-grid,
  .pillar-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pillar-row.reverse {
    direction: ltr;
  }

  /* Bridge section — 2 columns on tablet */
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Partners — stack on tablet */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .display-title {
    font-size: 2.5rem;
  }

  /* Bridge — single column on mobile */
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Programs list — full width cards */
  .programs-scroll {
    gap: 0.75rem;
    flex-direction: column;
  }

  .product-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Partners — slider beneath text */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Slide sizes shrink on mobile */
  .slide {
    width: 150px;
  }

  .placeholder-logo {
    font-size: 1.5rem;
  }

  .slide-track {
    width: calc(150px * 12);
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 6));
    }
  }
}

/* Navigation Component */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary-dark);
}

.logo-icon {
  width: 35px;
  height: 35px;
  background: conic-gradient(from 180deg, #1e73be, #38bdf8, #1e73be);
  border-radius: 50%;
  display: inline-block;
}

.nav-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.hero-gradient {
  background:
    linear-gradient(
      to right,
      rgba(11, 34, 64, 0.9) 0%,
      rgba(11, 34, 64, 0.4) 50%,
      rgba(11, 34, 64, 0) 100%
    ),
    url("../hero_background.png") center/cover no-repeat;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-primary);
}

.btn-accent {
  background-color: #5bd8dd; /* Bright cyan for Apply Now */
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.btn-accent:hover {
  background-color: #48cad0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary-dark);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary-dark);
  transition: var(--transition-smooth);
}

.hero.section {
  padding-top: 12rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}
/* Dropdown Navigation */
.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-primary-dark);
  min-width: 220px;
  border-radius: var(--radius-sm);
  padding: 1rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1001;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
}

.dropdown-menu.show {
  display: block;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background: rgba(91, 216, 221, 0.1);
  color: var(--color-primary);
  padding-left: 2rem;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1.5rem;
    display: none;
  }
  .overview-flex {
    flex-direction: column;
  }
  .dropdown-item {
    color: var(--color-primary-dark);
  }

  .nav-item-dropdown.active .dropdown-menu {
    display: block;
  }
}
