* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Poppins", system-ui, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 90px 4%;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  margin-bottom: 30px;
  line-height: 1.1;
  font-weight: 500;
}

p {
  color: #444;
  max-width: 520px;
  line-height: 1.3;
}

/* --------------------
   HEADER
-------------------- */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vw 4vw;
  position: relative;
  background-color: #fff; /* default, overridden by body.home */
}

body.home .header {
  background-color: #dcdcdc;
}

/* Logo */
.logo {
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 1rem;
  color: #222;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* --------------------
   FOOTER
-------------------- */

.footer {
  padding: 60px 8%;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #555;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 100px;
}

.footer p {
  margin-bottom: 8px;
}

/*  */
/*  */
/*  */
/*  */
/* HOME PAGE */
/*  */
/*  */
/*  */

/* Hamburger icon */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #222;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------
   HERO
-------------------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  background: #dcdcdc;
  padding: 90px 4% 50px 4%;
}

.hero-text p {
  margin-bottom: 18px;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.hero-image img {
  width: 100%;
  height: 900px;
  object-fit: cover;
  border-left: 1px solid rgb(161, 161, 161);
}

/* --------------------
   BUTTONS
-------------------- */

.btn {
  display: inline-block;
  padding: clamp(12px, 2vw, 20px) clamp(40px, 5vw, 80px);
  border-radius: 40px;
  background: #000;
  color: #fff;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  border: 1px solid #000;
  color: #000;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.services h2 {
  padding-bottom: 20px;
  margin-bottom: 40px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services li {
  padding: 18px 0;
  border-bottom: 1px solid #252525;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem); /* responsive font size */
}

/* --------------------
   PROJECTS PREVIEW
-------------------- */

.projects-preview {
  background: #fafafa;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  grid-auto-rows: 1fr;
  padding-bottom: 25px;
}

.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/20;
}

/* --------------------
   ABOUT PREVIEW
-------------------- */

.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.about-text {
  padding-left: 80px;
}
.about-text p {
  margin-bottom: 25px;
}

/* --------------------
   COMPLIANCE
-------------------- */

.compliance {
  background: #fafafa;
  color: #000;
}

.compliance h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 20px;
}

.compliance p {
  max-width: 700px;
  margin-bottom: 30px;
}

.compliance ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
}

.compliance li {
  border: 1px solid rgb(161, 161, 161);
  padding: 20px;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* --------------------
   RESPONSIVE
-------------------- */

@media (max-width: 900px) {
  .hero,
  .about-preview {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 40px;
  }
  .hero-image img {
    height: 320px;
  }
  .hero-buttons {
    margin-top: 10px;
  }

  .about-image img {
    height: 320px;
    padding-top: 40px;
  }
  .about-text {
    padding-left: 0px;
  }
  .about-text p {
    margin-bottom: 10px;
  }

  .about-preview .about-text {
    order: 1;
  }

  .about-preview .about-image {
    order: 2;
  }

  .footer {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }

  .services {
    grid-template-columns: 1fr; /* 1 column on tablet */
  }

  .services li {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  }
  /*  */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #dcdcdc;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    display: none;
    gap: 30px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 2rem;
    color: #222;
    text-decoration: none;
    transition: 0.3s;
  }

  .nav-links a:hover {
    opacity: 0.7;
  }

  .hamburger {
    display: flex;
    z-index: 1100;
    cursor: pointer;
  }
}

@media (max-width: 600px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
  }

  .footer p {
    margin-bottom: 5px;
  }

  .services li {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    padding: 14px 0;
  }

  .services h2 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
}

/*  */
/*  */
/*  */
/* ABOUT PAGE */
/*  */
/*  */
/*  */
.aboutSection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  /* background: #dcdcdc; */
  padding: 90px 4% 50px 4%;
}
.aboutSection p {
  max-width: 80%;
}

.aboutPage-text ul {
  list-style: none;
  margin: 20px 0;
  color: #333;
}
.aboutPage-text h1 {
  margin-bottom: 50px;
}

.aboutPage-text ul li {
  font-size: clamp(0.95rem, 1.5vw, 1rem);
  line-height: 1.6;
  padding: 6px 0;
  border-left: 3px solid #000; /* subtle vertical line for style */
  padding-left: 10px;
}

/* Optional: alternate bullet style */
.aboutPage-text ul li::marker {
  color: #000;
  font-weight: bold;
}

.about-image img {
  width: 100%;
  height: 900px;
  object-fit: cover;
  border-left: 1px solid rgb(161, 161, 161);
}
/* -------------------- */
/* Responsive Layout */
@media (max-width: 900px) {
  .aboutSection {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 5% 40px 5%;
  }

  /* Image on top for mobile */
  .aboutSection .about-image {
    order: -1; /* put image above text */
    border-left: none; /* remove left border */
  }

  .about-image img {
    height: 350px; /* smaller on mobile */
    border-radius: 0;
  }

  .aboutPage-text p,
  .aboutPage-text ul li {
    max-width: 100%; /* full width on mobile */
    font-size: clamp(0.9rem, 2vw, 1rem);
  }

  .aboutPage-text h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 20px;
  }

  .aboutPage-text ul {
    margin: 15px 0;
  }
}

/*  */
/*  */
/*  */
/* PROJECTS PAGE */
/*  */
/*  */
/*  */

.projects-preview h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 50px;
}

.projects-coming-soon {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Grid for placeholders */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  justify-items: center;
}

.project-placeholder {
  width: 100%;
  height: 200px;
  background-color: #f0f0f0;
  border: 1px dashed #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
}
