:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --muted: #6b7280;
  --text: #0f172a;
  --primary: #6b8afd; /* light pastel blue */
  --primary-600: #5a7cf6;
  --primary-700: #4a6ae6;
  --ring: #dbeafe;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  --radius: 16px;
}

/* Containers */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.section {
  padding: 64px 0;
}
.section.alt {
  background: #f2f4fb;
}

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef2ff;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.brand img.logo {
  height: 100px; /* Adjust as needed */
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav a {
  color: #1f2937;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
}
.main-nav a:hover,
.main-nav a.active {
  background: #eef2ff;
}
/* Hamburger menu icon */
.menu-icon {
  display: none; /* shown only on mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.menu-icon .bar {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #000;
  border-radius: 5px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  /* Containers and sections */
  .container {
    width: 95%; /* slightly wider relative width */
  }

  .section {
    padding: 48px 0; /* reduce vertical padding */
  }

  /* Header / Navbar */
  .site-header {
    background: #f7f8fc;
    backdrop-filter: none;
  }

  .nav {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    padding: 30px 0;
  }

  .brand {
    font-size: 20px; /* slightly smaller */
  }

  .brand img.logo {
    height: 60px; /* smaller logo for mobile */
  }

  .main-nav ul {
    flex-direction: column; /* stack links vertically */
    gap: 12px; /* smaller gap */
    width: 100%;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
  }
  /* Hamburger menu icon */
  .menu-icon {
    display: none; /* shown only on mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    right: 7%;
  }
  .menu-icon .bar {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #000;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 0.5s ease-in-out;
    z-index: 999;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .main-nav ul li {
    padding: 15px 0;
    text-align: center;
  }

  .main-nav ul li a {
    font-size: 16px;
    padding: 10px 0;
    font-weight: bold;
  }

  .menu-icon {
    display: flex;
  }

  /* Hamburger active state (turns into X) */
  .menu-icon.active .bar:nth-child(1) {
    transform: rotate(-45deg) translateY(11px);
  }
  .menu-icon.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-icon.active .bar:nth-child(3) {
    transform: rotate(45deg) translateY(-11px);
  }

  /* Show menu when active */
  .main-nav.active {
    max-height: 600px; /* adjust depending on menu height */
  }
}

/* Social strip */
.social-strip {
  padding: 24px 0;
  background: #f5f7ff;
  border-top: 1px solid #eef2ff;
  border-bottom: 1px solid #eef2ff;
}
.social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.social a {
  color: #334155;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 2px;
}
.social a:hover {
  color: #111827;
}

/* Footer */
.site-footer {
  padding: 28px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #334155;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  /* Social strip */
  .social-strip {
    padding: 16px 0; /* reduce vertical padding */
  }

  .social {
    flex-direction: row; /* keep icons next to each other */
    gap: 12px; /* slightly smaller spacing */
    justify-content: center; /* center horizontally */
  }

  .social a {
    font-size: 1.25rem; /* slightly smaller icons */
    padding: 4px; /* maintain touch area */
  }

  /* Footer */
  .site-footer {
    padding: 20px 0; /* reduce vertical padding */
  }

  .footer-grid {
    flex-direction: column; /* stack sections vertically */
    gap: 16px; /* reduce spacing */
    align-items: center;
    text-align: center;
  }

  /* Remove footer-nav completely */
  .footer-nav {
    display: none;
  }
}
