:root {
  --ink: #111318;
  --muted: #5d6573;
  --line: #e7e9ee;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --dark: #17191f;
  --red: #d71920;
  --gold: #f7c600;
  --shadow: 0 18px 48px rgba(17, 19, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  max-width: 210px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 26px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.nav-links a.portal-link {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.nav-links a.portal-link:hover,
.nav-links a.portal-link.active {
  border-color: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 24px;
}

.hero {
  background: linear-gradient(110deg, rgba(17, 19, 24, 0.92), rgba(17, 19, 24, 0.5)), var(--hero-image, url("../assets/images/projects/dhamra-port.png")) center/cover;
  color: #fff;
  min-height: 650px;
  display: flex;
  align-items: end;
  padding: 110px 0 76px;
}

.hero.compact {
  min-height: 390px;
  padding: 90px 0 58px;
}

.home-hero {
  --hero-image: url("../assets/images/projects/dhamra-port.png");
}

.about-hero {
  --hero-image: url("../assets/images/team/team.jpeg");
  background-position: center 34%;
}

.services-hero {
  --hero-image: url("../assets/images/projects/hpcl-lng.png");
}

.industries-hero {
  --hero-image: url("../assets/images/projects/flipkart-haringhata.png");
}

.projects-hero {
  --hero-image: url("../assets/images/projects/ril-jamnagar.png");
}

.resources-hero {
  --hero-image: url("../assets/images/logos/transsea-logo.jpg");
}

.faq-hero {
  --hero-image: url("../assets/images/team/office.jpeg");
}

.contact-hero {
  --hero-image: url("../assets/images/team/office.jpeg");
  background-position: center 45%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--gold);
}

.hero .eyebrow {
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(44px, 7vw, 86px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero p {
  max-width: 700px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  border-radius: 6px;
}

.btn.alt {
  background: #fff;
  color: var(--ink);
}

.btn.red {
  border-color: var(--red);
  background: var(--red);
}

.btn.ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.section {
  padding: 86px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--dark);
  color: #fff;
}

.section.dark p,
.section.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 540px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 8px 22px rgba(17, 19, 24, 0.04);
}

.dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.stat {
  border-left: 4px solid var(--red);
}

.stat strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.service-card {
  min-height: 245px;
}

.service-card .index {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.image-band {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 34px;
  align-items: center;
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-feature img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.service-feature-content {
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  align-content: center;
}

.service-feature + .grid {
  margin-top: 26px;
}

.number-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.number-strip div {
  padding: 28px 18px;
  background: rgba(255, 255, 255, 0.06);
}

.number-strip strong {
  display: block;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.number-strip span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.image-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.logo-tile img {
  max-height: 62px;
  object-fit: contain;
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-card div {
  padding: 20px;
}

.leader img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  margin-bottom: 18px;
}

.resource {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.faq p {
  margin-top: 12px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.footer {
  background: #0f1115;
  color: #fff;
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 34px;
  margin-bottom: 36px;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 17px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    inset: 76px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 10px 18px;
  }

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

  .nav-links a {
    padding: 13px 0;
  }

  .grid.three,
  .grid.four,
  .logo-grid,
  .image-band,
  .service-feature,
  .number-strip,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 560px;
    padding: 88px 0 54px;
  }

  .hero.compact {
    min-height: 330px;
  }

  h1 {
    font-size: 42px;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
