:root {
  --pill-bg: #ffffff;
  --pill-text: #1f1f1f;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  --hero-text: #ffffff;
}

* {
  box-sizing: border-box;
}
@font-face {
  font-family: CabinetGrotesk-Black;
  src: url(../fonts/CabinetGrotesk-Black.otf);
}
@font-face {
  font-family: CabinetGrotesk-Bold;
  src: url(../fonts/CabinetGrotesk-Bold.otf);
}
@font-face {
  font-family: CabinetGrotesk-Extrabold;
  src: url(../fonts/CabinetGrotesk-Extrabold.otf);
}
@font-face {
  font-family: CabinetGrotesk-Light;
  src: url(../fonts/CabinetGrotesk-Light.otf);
}
@font-face {
  font-family: CabinetGrotesk-Medium;
  src: url(../fonts/CabinetGrotesk-Medium.otf);
}
@font-face {
  font-family: CabinetGrotesk-Regular;
  src: url(../fonts/CabinetGrotesk-Regular.otf);
}
@font-face {
  font-family: CabinetGrotesk-Thin;
  src: url(../fonts/CabinetGrotesk-Thin.otf);
}
body {
  margin: 0;
  font-family: CabinetGrotesk-Regular;
  background: #111;
  color: var(--hero-text);
}

/* --- HERO WRAPPER --- */
.hero {
  position: relative;
  min-height: 100svh; /* mobile safe viewport */
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background-image: url(../images/desktop1.jpg); /* ← replace with your desktop image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate; /* keeps z-index layers sane */
}

/* darken a hair to ensure text readability over the image */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.18) 35%,
    rgba(0, 0, 0, 0.35) 80%
  );
  pointer-events: none;
}

/* --- TOP BAR (SOCIAL + LOGO) --- */
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 4vw, 40px);
  position: relative;
  z-index: 2;
}
.socials {
  display: flex;
  gap: 10px;
  font-size: 22px;
}
.socials a {
  color: #fff;
  background: #00000070;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.logo-stamp {
  display: grid;
  place-items: center;
  padding: 10px 14px;
  color: #fff;
  border-radius: 10px;
  letter-spacing: 0.28em;
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(2px);
}
.logo-stamp small {
  display: block;
  letter-spacing: 0.3em;
  font-weight: 500;
}

/* --- MAIN CONTENT --- */
.hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  padding: clamp(12px, 3vw, 24px) clamp(18px, 5vw, 56px);
}

.headline {
  max-width: min(900px, 92vw);
  font-size: clamp(18px, 2.4vw + 0.6rem, 28px);
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  height: 250px;
}

.cta-row {
  display: block;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.enquire {
    margin-bottom: 20px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 7px;
  background: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 18px;
}
.pill .icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #efefef;
}

/* --- BOTTOM STRIP (CAREERS) --- */
.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 18px;
}
.careers {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  color: #111;
  padding: 4px 7px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-size: 18px;
}

.logo {
  position: relative;
}
.lines {
  position: absolute;
  left: -90px;
  top: 29px;
  width: 70%;
}

/* --- MOBILE VERSION BACKGROUND & LAYOUT --- */
@media (max-width: 768px) {
  .hero {
    background-image: url("../images/mobile-bg.jpg"); /* ← replace with your mobile image path */
  }
  .hero-top {
    padding: 18px 16px;
  }
  .socials a {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .logo-stamp {
    font-size: 12px;
    padding: 8px 12px;
  }
  .headline {
    font-size: clamp(18px, 1.6rem, 26px);
  }
  .hero-bottom {
    padding: 14px 12px;
  }
}

/* --- ULTRA SMALL TWEAKS --- */
@media (max-width: 575px) {
  .hero-top {
    padding: 18px 16px;
}
  .logo-stamp img{
    width: 80px;
  }
  .lines {
    left: -60px;
    top: 19px;
}
  .pill {
    width: 100%;
    justify-content: start;
    font-size: 14px;
    max-width: fit-content;
    gap:5px;
  }
  .logo-stamp {
    letter-spacing: 0.18em;
  }
  .headline {
    height: 270px;
    font-size: 16px;
}
.hero-bottom {
    padding: 0;
    justify-content: left;
  }
  .enquire {
    margin-bottom: 10px;
}
  .careers{
    font-size: 13px;
    margin-top: 20px;
  }
  .hero-main{
    padding: 10px;
  }
  .pill .icon{
    width: 20px;
    height: 20px;
  }
}
