:root {
  --primary: #1f3c88;   /* deep blue */
  --secondary: #3f2b96; /* purple */
  --bg: #f5f7fb;
  --text: #1a1a1a;
  --soft: #e8ecf8;
} 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: white;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  align-items: center;
}

.navbar nav {
  display: flex;
  gap: 1.5rem;
}

.navbar a {
  text-decoration: none;
  color: var(--text);
}

.navbar a:hover {
  color: var(--primary);
}

.navbar nav {
  display: flex;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 25px;
  height: 20px;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero button {
  margin-top: 1rem;
  padding: 10px 20px;
  border: none;
  background: var(--primary);
  color: white;
  border-radius: 5px;
}

/* SECTIONS */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.alt {
  background: white;
}

.cards {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  padding: 1.5rem;
  background: var(--soft);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  text-align: center;
  padding: 3rem;
}

/* FOOTER */
/* .footer {
  background: #222;
  color: white;
  padding: 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer img {
  width: 40px;
  margin-right: 10px;
}
   */


.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer h3 {
  color: white;
  margin-bottom: 10px;
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 10px;
}

.footer hr {
  margin: 2rem 0;
  border: 0.5px solid #334155;
}

.logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logos img {
  height: 45px;   /* controls size */
  width: auto;
  object-fit: contain;
  margin-right: 10px;
  margin-top: 10px;
  /*filter: brightness(0) invert(1);*/ /* makes it visible on dark footer */
}

/* MOBILE */
@media(max-width: 768px) {
  .navbar nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .navbar nav.active {
    display: flex;
  }

  .navbar nav a {
    padding: 10px 0;
  }

  .hamburger {
    display: flex;
  }
  
  .cards {
    flex-direction: column;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .footer {
    padding: 2rem 1.8rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

}
}