/* =========================
   BASE RESET & TYPOGRAPHY
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #1f1f1f;
  line-height: 1.6;
}

/* =========================
   GLOBAL ELEMENTS
========================= */

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   LAYOUT HELPERS
========================= */

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: #4b1f7a;
}

h2 {
  font-size: 1.8rem;
  margin: 40px 0 16px;
  color: #4b1f7a;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #2e2e2e;
}

p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #444;
}

/* =========================
   FOOTER
========================= */

.footer {
  text-align: center;
  padding: 30px 20px;
  background: #f5f5f7;
  font-size: 0.9rem;
  color: #777;
}
/* =========================
   NAVIGATION
========================= */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

/* LOGO */
.nav .logo {
  height: 44px;
  width: auto;
}

/* MENU */
.nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

/* LINKS */
.nav ul li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: #2b2b2b;
  position: relative;
  padding: 2px 0;
  transition: color 0.25s ease;
}

/* HOVER EFFECT */
.nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #5b2ea6, #d4af37);
  transition: width 0.3s ease;
}

.nav ul li a:hover {
  color: #5b2ea6;
}

.nav ul li a:hover::after {
  width: 100%;
}

/* ACTIVE LINK */
.nav ul li a.active {
  color: #5b2ea6;
  font-weight: 600;
}

.nav ul li a.active::after {
  width: 100%;
}

/* =========================
   MOBILE (BASIC)
========================= */

@media (max-width: 768px) {
  .nav {
    padding: 14px 24px;
  }

  .nav ul {
    gap: 20px;
  }
}
/* =========================
   WHAT WE DO SECTION
========================= */

.what-we-do {
  padding-top: 1 rem; /* was visually too far */
}

.what-we-do h2 {
  margin-top: 0;
}
