:root {
  --blue: #007bff;
  --dark-blue: #002244;
  --black: #111111;
  --white: #ffffff;
  --soft-blue-bg: #e6f0ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: var(--soft-blue-bg);
  color: var(--black);
}

/* Header */
header {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  flex-wrap: wrap;
}

.header-contact {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

.email-link,
.phone {
  color: var(--white);
  text-decoration: none;
}

.email-link:hover {
  color: var(--blue);
}

.contact-btn {
  background-color: var(--blue);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.contact-btn:hover {
  background-color: var(--white);
  color: var(--dark-blue);
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative; /* UPDATED: for hamburger dropdown positioning */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

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

/* Hamburger */
.hamburger {
  display: none; /* hidden by default - only shows on small screens */
  font-size: 26px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  user-select: none;
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo-area .logo {
  height: 60px;
  width: auto;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-link {
  text-decoration: none;
  color: var(--dark-blue);
  font-weight: 600;
  transition: color 0.3s;
}

.top-link:hover {
  color: var(--blue);
}

.search-bar {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

/* Hero Section */
.hero-split {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
  background: linear-gradient(to right, var(--blue), var(--dark-blue));
  color: var(--white);
  min-height: 100vh;
  gap: 0;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  padding: 80px 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-text button {
  padding: 12px 24px;
  font-size: 16px;
  background-color: var(--white);
  color: var(--dark-blue);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.hero-text button:hover {
  background-color: var(--blue);
  color: var(--white);
}

.hero-image {
  flex: 1;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  position: relative;
  background: var(--white);
  color: var(--dark-blue);
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark-blue);
  font-weight: bold;
}

/* Contact Section */
.section {
  padding: 60px 40px;
  text-align: center;
  background-color: var(--white);
  margin: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--dark-blue);
}

.section p {
  font-size: 18px;
  max-width: 800px;
  margin: 20px auto;
  text-align: left;
  line-height: 1.6;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form label {
  font-weight: 600;
  color: var(--dark-blue);
  display: block;
  margin-top: 10px;
}

.contact-form button {
  padding: 10px 20px;
  background-color: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: var(--dark-blue);
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 20px;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.2);
}

footer p {
  margin: 6px 0;
  font-size: 14px;
}

/* Services */
.service-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  background-color: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-image {
  width: 200px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-text {
  flex: 1;
  color: var(--dark-blue);
}

.service-text h2 {
  margin-bottom: 12px;
}

.service-text p {
  font-size: 16px;
  line-height: 1.5;
}

/* Responsive: Tablet and below */
@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
  }

  .hero-text,
  .hero-image {
    padding: 30px;
  }

  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .service-image {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav-right {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

/* Hamburger menu toggle at small screen */
@media (max-width: 600px) {
  /* Hide normal nav links */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--dark-blue);
    position: absolute;
    top: 80px; /* height of header */
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
  }

  /* Show nav links when active */
  .nav-links.active {
    display: flex;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Make nav container full width for mobile */
  nav {
    width: 100%;
    justify-content: space-between;
    position: relative;
  }

  /* Style nav links on mobile */
  .nav-links li {
    padding: 12px 20px;
  }

  .nav-links li a {
    font-size: 18px;
    width: 100%;
    display: block;
  }
}
