:root {
  --primary-blue: #1a3c5e;
  --secondary-blue: #2c5282;
  --light-gray: #f4f7f6;
  --white: #ffffff;
}

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

body {
  background: var(--white);
  color: #333;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo img {
  height: 70px;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 500;
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 10%;
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab");
  background-size: cover;
}

.hero-logo {
  max-width: 300px;
}

section {
  padding: 60px 10%;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: var(--primary-blue);
}

.section-title.white {
  color: white;
}

/* ABOUT SECTION LAYOUT */
.about-section {
  background: var(--white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

/* TEXT */
.about-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.about-content p {
  margin-bottom: 18px;
  text-align: justify;
}

.about-highlight {
  margin-top: 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* IMAGE */
.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* PROJECTS SECTION */
.projects-section {
  background: var(--white);
  /* position: relative; */
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1300px;
  margin: auto;
}

.project-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.project-img {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-card h3 {
  padding: 25px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* PROJECT LOCATION OVERLAY */
.project-location {
  position: absolute;
  bottom: 18px;
  right: 10px;
  background: rgba(26, 60, 94, 0.9); /* primary blue with opacity */
  color: white;
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.project-location i {
  font-size: 14px;
}


/* RESPONSIVE ABOUT */
@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    max-height: 350px;
  }
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  height: 350px;
}

.service-card i {
  font-size: 2rem;
  color: var(--secondary-blue);
}

/* TEAM */
.team-section {
  background: var(--primary-blue);
  color: white;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* SERVICE IMAGE STYLING */
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

/* ICON OVER IMAGE */
.service-img i {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--primary-blue);
  color: white;
  padding: 12px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* SERVICE TEXT */
.service-card h3 {
  margin: 20px 0 10px;
  color: var(--primary-blue);
}

.service-card p {
  padding: 0 20px 25px;
  font-size: 0.95rem;
  color: #555;
}

/* CONTACT */
#contact {
  background: var(--light-gray);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-form button {
  padding: 12px;
  background: var(--primary-blue);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* FOOTER */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 90px;
    right: 0;
    background: white;
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid #ddd;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}
