:root {
  --navy: #0a1a2f;
  --orange: #ff7a00;
  --grey-light: #e5e5e5;
  --grey-mid: #bdbdbd;
  --white: #ffffff;
  --text-main: #1f2933;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #f7f7f7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------------- HEADER ---------------- */

.site-header {
  background-color: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-sub {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--orange);
}

/* NAVIGATION — DESKTOP */

.main-nav {
  background: transparent; /* Fixes white block */
}

.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Prevent dropdown menu from inheriting the horizontal nav layout */
.main-nav ul .dropdown-menu {
  display: none;        /* hidden by default */
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
}

.main-nav ul li {
  position: relative;
}

.main-nav ul li a {
  display: block;
  padding: 10px 0;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--grey-light);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 1.1rem;
}

/* ---------------- DROPDOWN (BRANDED) ---------------- */

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: 1px solid var(--orange);
  padding: 10px 0;
  list-style: none;
  min-width: 220px;
  z-index: 999;
  border-radius: 4px;
  flex-direction: column; /* ensures vertical layout */
}

/* Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: var(--white);
  font-weight: 500;
}

.dropdown-menu li a:hover {
  background: var(--orange);
  color: var(--navy);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ---------------- HERO ---------------- */

.hero {
  background-color: var(--navy);
  color: var(--white);
  padding: 3rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2rem;
  margin-top: 0;
}

.hero p {
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  margin: 1.5rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-usps {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.hero-usps li::before {
  content: "• ";
  color: var(--orange);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--grey-light), var(--grey-mid));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-placeholder.tall {
  min-height: 220px;
}

/* ---------------- SECTIONS ---------------- */

.section {
  padding: 3rem 0;
  background-color: #f7f7f7;
}

.section-light {
  background-color: var(--white);
}

.section h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.6rem;
  margin-top: 0;
}

.section h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.1rem;
}

.section p {
  line-height: 1.6;
}

/* ---------------- PAGE HERO ---------------- */

.page-hero {
  background-color: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
}

.page-hero h1 {
  font-family: "Poppins", system-ui, sans-serif;
  margin: 0 0 0.5rem;
}

/* ---------------- GRID ---------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* ---------------- BUTTONS ---------------- */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--navy);
}

.btn-primary:hover {
  background-color: #ff8f26;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy);
}

/* ---------------- PRICING ---------------- */

.pricing-table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid var(--grey-light);
  text-align: left;
}

.pricing-table th {
  background-color: var(--grey-light);
  font-weight: 600;
}

.pricing-notes {
  margin-top: 1.5rem;
}

.pricing-notes ul {
  padding-left: 1.2rem;
}

/* ---------------- CTA ---------------- */

.section-cta {
  background-color: var(--navy);
  color: var(--white);
}

.section-cta .btn-secondary {
  border-color: var(--orange);
  color: var(--orange);
}

.section-cta .btn-secondary:hover {
  background-color: var(--orange);
  color: var(--navy);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ---------------- ABOUT ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------------- TESTIMONIALS ---------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.testimonial {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.testimonial .quote {
  font-style: italic;
  margin-bottom: 0.75rem;
}

.testimonial .name {
  font-weight: 600;
}

/* ---------------- CONTACT ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 2rem;
  align-items: flex-start;
}

.contact-form {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--grey-mid);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.2);
}

.form-note {
  font-size: 0.85rem;
  color: #555;
}

.hidden {
  display: none;
}

/* ---------------- FOOTER ---------------- */

.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-areas ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-areas ul li {
  margin-bottom: 6px;
}

.footer-areas a {
  text-decoration: none;
  color: inherit;
}

.footer-areas a:hover {
  text-decoration: underline;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .main-nav {
    position: absolute;
    top: 56px;
    right: 0;
    background-color: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
}