:root {
  --primary: #223950;      /* main blue 2F4F6F */
  --primary-dark: #243C55; /* darker hover/nav */
  --accent: #3c546d;       /* soft highlight */
  --light: #F4F8FB;        /* light background */
  --white: #FFFFFF;
  --text: #2b3b4d;
  --max-width: 1200px;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: auto;
}

/* HEADER */
.header {
  background: var(--white);
  border-bottom: 1px solid #243C55;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;   /* vertical centering */
  gap: 0.75rem;          /* space between logo and text */
}

.logo img {
  display: block;
  height: 50px;   /* control logo size */
}

.logo a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

/* NAVIGATION */
.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

.nav a:hover {
  color: var(--primary);
}

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

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: 0.3s;
}

/* HERO */
.hero {
  min-height: 82vh;
  background: url('../images/hero.jpg') center top / 100% auto no-repeat, #ababa9;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.hero-overlay {
  width: 100%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0);              /* (36, 60, 85, 0.75); */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* content starts at top */
  padding: 6rem 1rem 3rem 1rem;  /* top | sides | bottom */
  text-align: center;
  color: var(--primary);


}

.hero-content {
  width: 100%;
}

.hero-box {
  background: rgba(255, 255, 255, 0.97);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(36, 60, 85, 0.08);
  width: 100%;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--primary);
 
}

.hero-content p {
  margin-bottom: 1.5rem;
  opacity: 0.95;

}

.hero-highlight {
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
  font-size: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

/* CARD */
.card {
  padding: 2.5rem;
  border-radius: 12px;
  text-align: left;
}

.card li {
  margin-left: 1.5rem;
}

/* BUTTON */
.button {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: 0.3s;
}

.button:hover {
  background: var(--primary-dark);
}

/* FOOTER */
.footer {
  background: var(--primary-dark);
  border-top: 1px solid #000000;
  color: var(--white);
  text-align: center;
  padding: 2.5rem 0;
}

/* MOBILE */
@media (max-width: 768px) {

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    width: 100%;
    display: none;
    padding: 2rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .nav.active {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}