/* =========================
   ROOT VARIABLES
========================= */
:root {
  --white: #f7f8fa;
  --card: #ffffff;

  --green: #2f7d57;
  --green-soft: #4aa67a;
  --green-light: #e8f5ee;

  --black: #1f1f1f;
  --text-soft: #5a5a5a;

  --shadow: rgba(0, 0, 0, 0.08);
}

/* =========================
   GLOBAL RESET (IMPORTANT FIX)
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

/* KEY FIX: removes mobile white gap */
body {
  font-family: Arial, sans-serif;
  background: var(--white);
  color: var(--black);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 30px;
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  box-shadow: 0 4px 15px var(--shadow);

  position: relative;
  z-index: 1000;
}
.navbar h1 {
  font-family: 'Rye', cursive;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  font-size: 46px;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar a {
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
}

.navbar a:hover {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* =========================
   HERO (IMAGE BACKGROUND FIX)
========================= */
.hero {
  position: relative;
  text-align: center;

  padding: 90px 20px;

  /* 🔥 PUT YOUR IMAGE HERE */
  background: url("flexusphotos/hero\ section\ 4.jpg") center/cover no-repeat;

  min-height: 70vh; /* IMPORTANT: prevents white gap */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
  overflow: hidden;
}

/* DARK OVERLAY (keeps text readable + preserves brand feel) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* content above overlay */
.hero h2,
.hero h3,
.hero h4,
.hero button,
.explore-list {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 25px;
  margin-bottom: 10px;
  
}

.hero h3 {
  font-size: 36px;
  margin-bottom: 18px;
  color: #eaeaea;
   font-family: 'Rye', cursive;
}
.hero h4 {
  font-size: 25px;
  margin-bottom: 18px;
  color: #eaeaea;
}

.hero button {
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  border: none;
  padding: 12px 22px;
  color: white;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.2s ease;
}

.hero button:hover {
  transform: translateY(-2px);
}

/* dropdown */
.explore-list {
  display: none;
  margin-top: 15px;
  padding: 12px;
  width: 260px;
  background: rgba(255,255,255,0.95);
  color: black;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
}

.explore-list.show {
  display: block;
}
/* =========================
   SERVICES
========================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;

  padding: 60px;
  background: var(--green-light);
}

.card {
  background: var(--card);
  padding: 20px;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 6px 18px var(--shadow);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* =========================
   FOOTER (NO GAP FIX)
========================= */
footer {
  margin-top: auto;
  background: linear-gradient(135deg, #141414, #1f1f1f);
  color: white;
  padding: 50px 20px 25px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-box p {
  font-size: 14px;
  color: #cfcfcf;
  margin: 6px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 35px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
}

/* =========================
   MOBILE MENU (FIXED)
========================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }
.navbar h1 {
  font-size: clamp(16px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: 2px;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}
  .navbar ul {
    position: absolute;
    top: 65px;
    right: 15px;

    flex-direction: column;
    background: white;
    width: 180px;

    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

    display: none;
  }

  .navbar ul.show {
    display: flex;
  }

  .navbar ul li a {
    color: #111;
  }

  .hero {
    min-height: 60vh;
    padding: 60px 15px;
  }
}