/* ==========================================================
   BLUE ED'S SOLUTIONS LIMITED
   MAIN STYLESHEET
========================================================== */

/* ==========================================================
   ROOT
========================================================== */

:root {
  --navy: #06111f;
  --navy-2: #091827;

  --blue: #0875d1;
  --blue-bright: #1687ff;

  --orange: #e66a21;
  --orange-bright: #ff7a2f;
  --orange-soft: rgba(230, 106, 33, 0.12);

  --white: #f5f7fa;
  --muted: #8995a4;

  --border: rgba(255, 255, 255, 0.12);

  --font-heading: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --container: 1320px;
}

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
header,
footer {
  max-width: 100%;
}

img,
svg {
  max-width: 100%;
}

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

button {
  font: inherit;
}

/* ==========================================================
   GRAIN
========================================================== */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

/* ==========================================================
   CONTAINER
========================================================== */

.container {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}

/* ==========================================================
   PRELOADER
========================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--navy);

  display: grid;
  place-items: center;

  overflow: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.preloader-logo img {
  height: 40px;
  width: auto;
}

.preloader-tagline {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
}

/* ==========================================================
   TRUCK LOADER
========================================================== */

.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.truckWrapper {
  width: 280px;
  height: 110px;

  display: flex;
  flex-direction: column;
  position: relative;

  align-items: center;
  justify-content: flex-end;

  overflow: hidden;
}

.truckBody {
  width: 240px;
  height: fit-content;
  margin-bottom: 6px;

  animation: motion 1s linear infinite;
}

@keyframes motion {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(3px);
  }

  100% {
    transform: translateY(0);
  }
}

.truckTires {
  width: 240px;
  height: fit-content;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 18px 0 14px;

  position: absolute;
  bottom: 0;
}

.truckTires svg {
  width: 24px;
  flex-shrink: 0;
}

.road {
  width: 100%;
  height: 1.5px;

  background-color: #1a2e45;

  position: relative;
  bottom: 0;

  align-self: flex-end;

  border-radius: 3px;
}

.road::before {
  content: "";

  position: absolute;
  width: 20px;
  height: 100%;

  background-color: #1a2e45;

  right: -50%;

  border-radius: 3px;

  animation: roadAnimation 1.4s linear infinite;

  border-left: 10px solid var(--navy);
}

.road::after {
  content: "";

  position: absolute;
  width: 10px;
  height: 100%;

  background-color: #1a2e45;

  right: -65%;

  border-radius: 3px;

  animation: roadAnimation 1.4s linear infinite;

  border-left: 4px solid var(--navy);
}

.lampPost {
  position: absolute;
  bottom: 0;
  right: -90%;

  height: 90px;

  animation: roadAnimation 1.4s linear infinite;

  pointer-events: none;
}

@keyframes roadAnimation {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-350px);
  }
}

/* ==========================================================
   LOGOS
========================================================== */

.logo-img {
  height: 48px;
  width: auto;
  display: block;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.logo:hover .logo-img {
  transform: scale(1.03);

  filter: drop-shadow(
    0 0 12px rgba(230, 106, 33, 0.2)
  );
}

.footer-logo {
  height: 38px;
  width: auto;
  display: block;
}

/* ==========================================================
   HEADER
========================================================== */

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  max-width: 100vw;

  height: 100px;

  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 5000;

  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    padding 0.4s ease;
}

.logo {
  display: block;
  line-height: 1;
  flex-shrink: 0;
}

.menu-button {
  border: none;
  background: transparent;

  color: white;

  cursor: pointer;

  display: flex;
  align-items: center;

  gap: 14px;

  flex-shrink: 0;
}

.menu-button .menu-label {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;

  transition: color 0.3s ease;
}

.menu-button:hover .menu-label {
  color: var(--orange);
}

.hamburger {
  width: 42px;
  height: 42px;

  border: 1px solid var(--orange);
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 5px;

  background: rgba(230, 106, 33, 0.06);

  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.hamburger span {
  width: 14px;
  height: 1.5px;

  background: var(--orange);

  display: block;

  transition:
    background 0.3s ease,
    transform 0.4s ease;
}

.menu-button:hover .hamburger {
  background: var(--orange);
  border-color: var(--orange);

  transform: rotate(8deg);

  box-shadow:
    0 0 25px rgba(230, 106, 33, 0.25);
}

.menu-button:hover .hamburger span {
  background: white;
}

/* ==========================================================
   MENU OVERLAY
========================================================== */

.menu-overlay {
  position: fixed;
  inset: 0;

  z-index: 4000;

  background: var(--navy);

  visibility: hidden;
  pointer-events: none;

  clip-path: inset(0 0 100% 0);

  display: flex;

  overflow: hidden;
}

.menu-image-panel {
  flex: 1;

  background-image: url("../assets/img/img1.jpg");
  background-size: cover;
  background-position: center;

  position: relative;

  min-width: 0;
}

.menu-image-panel::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(6, 17, 31, 0.45);
}

.menu-content {
  flex: 1;

  background: var(--navy);

  border-left: 1px solid var(--border);

  display: flex;
  flex-direction: column;

  justify-content: center;

  padding: 80px 70px;

  overflow-y: auto;
  overflow-x: hidden;

  min-width: 0;
}

.menu-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 50px;

  gap: 20px;
}

.menu-logo {
  height: 32px;
  width: auto;
  opacity: 0.6;
}

.menu-small {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}

/* ==========================================================
   MENU NAVIGATION
========================================================== */

.menu-content nav {
  display: flex;
  flex-direction: column;

  border-top: 1px solid var(--border);
}

.menu-content nav a {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-family: var(--font-heading);

  font-size: clamp(26px, 3vw, 46px);

  font-weight: 700;

  letter-spacing: -2px;
  line-height: 1;

  padding: 20px 0;

  border-bottom: 1px solid var(--border);

  color: rgba(255, 255, 255, 0.4);

  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.menu-content nav a::before {
  content: "";

  position: absolute;

  left: 0;
  bottom: -1px;

  width: 0;
  height: 2px;

  background: var(--orange);

  transition:
    width 0.45s cubic-bezier(0.77, 0, 0.18, 1);
}

.menu-content nav a:hover {
  color: white;
  padding-left: 14px;
}

.menu-content nav a:hover::before {
  width: 100%;
}

/* ==========================================================
   MENU FOOTER
========================================================== */

.menu-footer {
  display: flex;
  flex-wrap: wrap;

  gap: 8px 30px;

  margin-top: 45px;
  padding-top: 30px;

  border-top: 1px solid var(--border);
}

.menu-footer span {
  width: 100%;

  font-size: 9px;
  letter-spacing: 2px;

  color: var(--muted);

  margin-bottom: 4px;
}

.menu-footer a {
  font-size: 13px;

  color: rgba(255, 255, 255, 0.65);

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.menu-footer a:hover {
  color: var(--orange);
  transform: translateX(5px);
}

/* ==========================================================
   HERO
========================================================== */

.hero {
  height: 100vh;
  min-height: 700px;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -5%;

  background-image:
    url("../assets/img/img1.jpg");

  background-size: cover;
  background-position: center;

  transform: scale(1.05);

  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(4, 12, 21, 0.9) 0%,
      rgba(4, 12, 21, 0.62) 45%,
      rgba(4, 12, 21, 0.25) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(
    calc(100% - 80px),
    var(--container)
  );

  margin-inline: auto;

  padding-top: 80px;

  min-width: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;

  gap: 12px;

  color: rgba(255, 255, 255, 0.65);

  font-size: 10px;
  letter-spacing: 3px;

  margin-bottom: 35px;
}

.hero-kicker span {
  display: block;

  width: 35px;
  height: 2px;

  flex-shrink: 0;

  background: var(--orange);

  box-shadow:
    0 0 12px rgba(230, 106, 33, 0.35);
}

.hero h1 {
  font-family: var(--font-heading);

  font-size: clamp(55px, 8vw, 125px);

  line-height: 0.87;

  letter-spacing: -7px;

  font-weight: 800;

  max-width: 1000px;

  overflow-wrap: normal;
}

.hero h1 span {
  color: transparent;

  -webkit-text-stroke:
    1px rgba(255, 255, 255, 0.7);
}

.hero-description {
  max-width: 430px;

  margin-top: 40px;

  color: rgba(255, 255, 255, 0.7);

  line-height: 1.7;

  font-size: 15px;
}

/* ==========================================================
   PRIMARY BUTTON
========================================================== */

.primary-button {
  position: relative;

  display: inline-flex;
  align-items: center;

  gap: 25px;

  margin-top: 35px;

  padding: 16px 20px;

  border: 1px solid rgba(255, 255, 255, 0.35);

  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  overflow: hidden;

  transition:
    color 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

.primary-button::before {
  content: "";

  position: absolute;
  inset: 0;

  background: var(--orange);

  transform: translateX(-101%);

  transition:
    transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);

  z-index: 0;
}

.primary-button span {
  position: relative;
  z-index: 1;
}

.primary-button:hover {
  color: white;
  border-color: var(--orange);
}

.primary-button:hover::before {
  transform: translateX(0);
}

.button-arrow {
  font-size: 18px;

  transition:
    transform 0.3s ease;
}

.primary-button:hover .button-arrow {
  transform: translateX(5px);
}

/* ==========================================================
   HERO BOTTOM
========================================================== */

.hero-bottom {
  position: absolute;

  z-index: 2;

  bottom: 35px;

  left: 40px;
  right: 40px;

  display: grid;

  grid-template-columns: 1fr 1fr 1fr;

  color: rgba(255, 255, 255, 0.55);

  font-size: 9px;
  letter-spacing: 2px;

  max-width: calc(100% - 80px);
}

.hero-bottom div:nth-child(2) {
  text-align: center;
}

.hero-bottom div:nth-child(3) {
  display: flex;
  justify-content: flex-end;
}

.scroll-line {
  width: 60px;
  height: 1px;

  background: rgba(255, 255, 255, 0.4);

  position: relative;
}

.scroll-line::after {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 25px;
  height: 2px;

  background: var(--orange);

  box-shadow:
    0 0 10px rgba(230, 106, 33, 0.4);

  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(35px);
  }

  100% {
    transform: translateX(0);
  }
}

/* ==========================================================
   GENERAL
========================================================== */

.section-dark {
  background: var(--navy);
}

.section-label {
  position: relative;

  display: inline-flex;
  align-items: center;

  gap: 10px;

  font-size: 10px;
  letter-spacing: 3px;

  color: var(--blue-bright);
}

.section-label::before {
  content: "";

  width: 6px;
  height: 6px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--orange);

  box-shadow:
    0 0 12px rgba(230, 106, 33, 0.35);
}

.section-top {
  display: flex;

  justify-content: space-between;
  align-items: flex-start;

  padding-bottom: 60px;

  border-bottom: 1px solid var(--border);

  gap: 40px;
}

.section-note {
  text-align: right;

  color: var(--muted);

  font-size: 10px;

  letter-spacing: 2px;

  line-height: 1.8;
}

/* ==========================================================
   INTRO
========================================================== */

.intro {
  padding: 180px 0;
}

.intro-grid {
  display: grid;

  grid-template-columns: 1.3fr 1fr;

  gap: 100px;

  margin-top: 90px;
}

.large-heading {
  font-family: var(--font-heading);

  font-size: clamp(55px, 7vw, 110px);

  line-height: 0.9;

  letter-spacing: -6px;
}

.large-heading span {
  color: transparent;

  -webkit-text-stroke:
    1px rgba(255, 255, 255, 0.6);
}

.intro-text {
  padding-top: 20px;
}

.big-text {
  font-family: var(--font-heading);

  font-size: 25px;

  line-height: 1.35;

  font-weight: 500;

  margin-bottom: 35px;
}

.intro-text > p:not(.big-text) {
  color: var(--muted);

  line-height: 1.8;

  max-width: 450px;
}

.text-link {
  display: inline-block;

  margin-top: 45px;

  font-size: 10px;

  letter-spacing: 2px;

  border-bottom: 1px solid var(--blue);

  padding-bottom: 8px;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    padding-left 0.3s ease;
}

.text-link:hover {
  color: var(--orange);

  border-color: var(--orange);

  padding-left: 5px;
}

/* ==========================================================
   SERVICES
========================================================== */

.services {
  position: relative;

  background: #0a1628;

  color: var(--white);

  padding: 150px 0;

  overflow: hidden;
}

.services-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1px;

  background: var(--border);

  margin-top: 0;

  border-top: 1px solid var(--border);
}

.service-card {
  position: relative;

  background: #0a1628;

  overflow: hidden;

  cursor: pointer;

  display: flex;
  flex-direction: column;

  min-width: 0;
}

.service-card::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 3px;

  background: var(--orange);

  transition:
    width 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.service-card:hover::after {
  width: 100%;
}

.sc-image {
  position: relative;

  height: 220px;

  overflow: hidden;
}

.sc-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.7s ease;

  filter:
    brightness(0.55)
    saturate(0.8);
}

.service-card:hover .sc-image img {
  transform: scale(1.07);

  filter:
    brightness(0.7)
    saturate(1);
}

.sc-body {
  padding: 28px 30px 32px;

  display: flex;
  flex-direction: column;

  flex: 1;

  border-top: 1px solid var(--border);

  position: relative;

  transition:
    background 0.4s ease;
}

.service-card:hover .sc-body {
  background:
    linear-gradient(
      135deg,
      rgba(230, 106, 33, 0.08),
      rgba(22, 135, 255, 0.04)
    );
}

.sc-num {
  font-size: 10px;

  letter-spacing: 3px;

  color: var(--orange);

  margin-bottom: 16px;

  display: block;
}

.sc-body h3 {
  font-family: var(--font-heading);

  font-size: clamp(22px, 2.2vw, 32px);

  font-weight: 800;

  letter-spacing: -1.5px;

  line-height: 1;

  color: white;

  transition:
    color 0.35s ease;
}

.service-card:hover .sc-body h3 {
  color: var(--orange-bright);
}

.sc-body p {
  margin-top: 14px;

  font-size: 13px;

  color: var(--muted);

  line-height: 1.7;

  flex: 1;
}

.sc-arrow {
  margin-top: 24px;

  width: 38px;
  height: 38px;

  border: 1px solid var(--border);

  border-radius: 50%;

  display: grid;
  place-items: center;

  font-size: 16px;

  color: rgba(255, 255, 255, 0.35);

  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;

  align-self: flex-start;
}

.service-card:hover .sc-arrow {
  background: var(--orange);

  border-color: var(--orange);

  color: white;

  transform: rotate(45deg);

  box-shadow:
    0 0 25px rgba(230, 106, 33, 0.25);
}

/* ==========================================================
   CAPACITY
========================================================== */

.capacity {
  min-height: 100vh;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  isolation: isolate;
}

.capacity-bg {
  position: absolute;

  inset: -5%;

  background-image:
    url("../assets/img/img2.jpg");

  background-size: cover;
  background-position: center;

  will-change: transform;
}

.capacity-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(6, 17, 31, 0.97),
      rgba(6, 17, 31, 0.72),
      rgba(6, 17, 31, 0.35)
    );
}

.capacity-container {
  position: relative;

  z-index: 2;

  min-width: 0;
}

.capacity-content {
  margin-top: 80px;

  display: grid;

  grid-template-columns: auto auto 1fr;

  align-items: end;

  gap: 25px;

  min-width: 0;
}

.capacity-number {
  font-family: var(--font-heading);

  font-size: clamp(110px, 18vw, 280px);

  line-height: 0.7;

  letter-spacing: -15px;

  font-weight: 800;

  text-shadow:
    0 0 60px rgba(230, 106, 33, 0.08);

  white-space: nowrap;
}

.capacity-unit {
  font-size: 13px;

  letter-spacing: 4px;

  margin-bottom: 8px;

  color: var(--orange);
}

.capacity-description {
  max-width: 330px;

  margin-left: 60px;

  padding-bottom: 5px;
}

.capacity-description p {
  font-family: var(--font-heading);

  font-size: 24px;

  font-weight: 600;

  margin-bottom: 15px;
}

.capacity-description span {
  color: rgba(255, 255, 255, 0.55);

  line-height: 1.7;

  font-size: 13px;
}

.capacity-scale {
  margin-top: 90px;

  border-top: 1px solid rgba(255, 255, 255, 0.2);

  padding-top: 15px;

  display: flex;

  justify-content: space-between;

  color: rgba(255, 255, 255, 0.5);

  font-size: 10px;

  letter-spacing: 2px;

  gap: 15px;
}

/* ==========================================================
   ENERGY
========================================================== */

.energy {
  position: relative;

  min-height: 100vh;

  padding: 150px 0;

  overflow: hidden;

  isolation: isolate;

  display: flex;
  align-items: center;
}

.energy-image {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(6, 17, 31, 0.97),
      rgba(6, 17, 31, 0.72),
      rgba(6, 17, 31, 0.3)
    ),
    url("../assets/img/img3.jpg");

  background-size: cover;

  background-position: center;

  z-index: -1;
}

.energy-content {
  position: relative;

  z-index: 2;

  min-width: 0;

  width: min(calc(100% - 80px), var(--container));
}

.energy-heading {
  margin-top: 70px;

  max-width: 1100px;
}

.energy-tagline {
  display: inline-block;

  margin-bottom: 22px;

  color: var(--orange);

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 3px;

  text-transform: uppercase;
}

.energy-heading h2 {
  font-family: var(--font-heading);

  font-size: clamp(55px, 8vw, 120px);

  line-height: 0.88;

  letter-spacing: -7px;

  font-weight: 800;

  max-width: 1050px;
}

.energy-heading h2 span {
  color: transparent;

  -webkit-text-stroke:
    1px rgba(255, 255, 255, 0.65);
}

/*
   ENERGY PRODUCTS

   Important:
   The cards have their own dedicated layout.
   They do not share the service-card transform logic.
*/

.energy-products {
  margin-top: 90px;

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 1px;

  width: 100%;

  background: rgba(255, 255, 255, 0.18);

  border: 1px solid rgba(255, 255, 255, 0.12);

  isolation: isolate;
}

.energy-product {
  position: relative;

  min-width: 0;

  min-height: 220px;

  padding: 30px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(6, 17, 31, 0.9),
      rgba(6, 17, 31, 0.68)
    );

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  display: flex;
  flex-direction: column;

  justify-content: space-between;

  will-change: transform, opacity;

  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.energy-product::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(8, 117, 209, 0.12),
      transparent 60%
    );

  opacity: 0;

  transition:
    opacity 0.4s ease;

  pointer-events: none;
}

.energy-product::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 3px;

  background: var(--orange);

  transform: scaleX(0);

  transform-origin: left center;

  transition:
    transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
}

.energy-product:hover {
  background:
    linear-gradient(
      145deg,
      rgba(8, 117, 209, 0.82),
      rgba(6, 17, 31, 0.88)
    );

  box-shadow:
    inset 0 0 40px rgba(8, 117, 209, 0.08);
}

.energy-product:hover::before {
  opacity: 1;
}

.energy-product:hover::after {
  transform: scaleX(1);
}

.energy-product-top {
  display: flex;

  align-items: center;

  gap: 15px;

  position: relative;

  z-index: 2;
}

.energy-product-top > span:first-child {
  font-size: 10px;

  letter-spacing: 3px;

  color: var(--orange);
}

.energy-product-line {
  height: 1px;

  flex: 1;

  background: rgba(255, 255, 255, 0.15);
}

.energy-product-content {
  position: relative;

  z-index: 2;
}

.energy-product h3 {
  font-family: var(--font-heading);

  font-size: clamp(38px, 4vw, 60px);

  line-height: 0.9;

  letter-spacing: -2px;

  font-weight: 800;

  margin: 0;

  transition:
    color 0.35s ease;
}

.energy-product p {
  color: rgba(255, 255, 255, 0.6);

  margin-top: 10px;

  font-size: 12px;

  line-height: 1.5;
}

.energy-product:hover h3 {
  color: var(--orange-bright);
}

.energy-services {
  margin-top: 35px;

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  justify-content: space-between;

  color: rgba(255, 255, 255, 0.5);

  font-size: 9px;

  letter-spacing: 1.8px;
}

.energy-services span {
  position: relative;

  padding-left: 15px;
}

.energy-services span::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 5px;
  height: 5px;

  transform: translateY(-50%);

  border-radius: 50%;

  background: var(--orange);
}

/* ==========================================================
   PROCESS
========================================================== */

.process {
  padding: 160px 0;

  overflow: hidden;
}

.process-line {
  margin-top: 100px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid var(--border);
}

.process-item {
  min-height: 300px;

  padding: 30px;

  border-right: 1px solid var(--border);

  position: relative;

  transition:
    background 0.35s ease;
}

.process-item:first-child {
  border-left: 1px solid var(--border);
}

.process-item:hover {
  background:
    rgba(230, 106, 33, 0.035);
}

.process-item::before {
  content: "";

  position: absolute;

  top: -3px;
  left: 30px;

  width: 7px;
  height: 7px;

  background: var(--orange);

  border-radius: 50%;

  box-shadow:
    0 0 15px rgba(230, 106, 33, 0.45);
}

.process-item span {
  color: var(--orange);

  font-size: 10px;
}

.process-item h3 {
  margin-top: 70px;

  font-family: var(--font-heading);

  font-size: 30px;

  transition:
    color 0.3s ease;
}

.process-item:hover h3 {
  color: var(--orange);
}

.process-item p {
  margin-top: 20px;

  color: var(--muted);

  line-height: 1.7;

  font-size: 13px;

  max-width: 220px;
}

/* ==========================================================
   WHY BLUE ED'S
========================================================== */

.why {
  padding: 160px 0;

  background: #f3f5f7;

  color: var(--navy);

  overflow: hidden;
}

.why .section-label {
  color: var(--navy);
}

.why-grid {
  margin-top: 100px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;
}

.why-title h2 {
  font-family: var(--font-heading);

  font-size: clamp(55px, 7vw, 105px);

  line-height: 0.9;

  letter-spacing: -6px;
}

.why-title h2 span {
  color: transparent;

  -webkit-text-stroke:
    1px var(--navy);
}

.why-item {
  display: grid;

  grid-template-columns: 45px 1fr;

  padding: 30px 0;

  border-top: 1px solid rgba(6, 17, 31, 0.15);

  transition:
    padding-left 0.35s ease,
    border-color 0.35s ease;
}

.why-item:hover {
  padding-left: 12px;

  border-color: var(--orange);
}

.why-item span {
  font-size: 10px;

  color: var(--orange);
}

.why-item h3 {
  font-family: var(--font-heading);

  font-size: 18px;

  transition:
    color 0.3s ease;
}

.why-item:hover h3 {
  color: var(--orange);
}

.why-item p {
  grid-column: 2;

  margin-top: 12px;

  max-width: 400px;

  color: #6c7681;

  font-size: 13px;

  line-height: 1.7;
}

/* ==========================================================
   CTA
========================================================== */

.cta {
  min-height: 90vh;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  isolation: isolate;
}

.cta-bg {
  position: absolute;

  inset: -5%;

  background-image:
    url("../assets/img/img4.jpg");

  background-size: cover;
  background-position: center;

  will-change: transform;
}

.cta-overlay {
  position: absolute;

  inset: 0;

  background: rgba(6, 17, 31, 0.88);
}

.cta-container {
  position: relative;

  z-index: 2;

  min-width: 0;
}

.cta-heading {
  margin-top: 70px;
}

.cta-heading h2 {
  font-family: var(--font-heading);

  font-size: clamp(90px, 16vw, 240px);

  line-height: 0.75;

  letter-spacing: -15px;
}

.cta-heading span {
  color: transparent;

  -webkit-text-stroke:
    1px var(--orange);

  text-shadow:
    0 0 35px rgba(230, 106, 33, 0.12);
}

.cta-bottom {
  margin-top: 100px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;

  align-items: end;
}

.cta-bottom p {
  max-width: 400px;

  color: rgba(255, 255, 255, 0.65);

  line-height: 1.7;
}

.primary-button.light:hover {
  background: transparent;

  color: white;
}

.contact-details {
  display: flex;

  flex-direction: column;

  gap: 8px;

  font-size: 13px;
}

.contact-details p:first-child {
  color: white;

  font-weight: 700;

  letter-spacing: 1px;

  margin-bottom: 8px;
}

.contact-details p:nth-child(2) {
  color: var(--muted);

  margin-bottom: 5px;
}

.contact-details a {
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.contact-details a:hover {
  color: var(--orange);

  padding-left: 6px;
}

.company-registration {
  margin-top: 5px;

  color: var(--orange);

  font-size: 10px;

  letter-spacing: 2px;

  text-transform: uppercase;
}

/* ==========================================================
   FOOTER
========================================================== */

.footer {
  background: #030b14;

  padding: 40px 0;
}

.footer-inner {
  display: grid;

  grid-template-columns: 1fr 1fr 1fr;

  align-items: center;

  gap: 25px;
}

.footer-brand {
  display: flex;

  align-items: flex-start;
}

.footer-links {
  display: flex;

  justify-content: center;

  gap: 25px;

  flex-wrap: wrap;
}

.footer-links a {
  font-size: 9px;

  letter-spacing: 2px;

  color: var(--muted);

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--orange);

  transform: translateY(-2px);
}

.footer-copy {
  text-align: right;

  font-size: 9px;

  color: var(--muted);
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {
  .energy-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .energy-product {
    min-height: 200px;
  }
}

@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }

  .header {
    padding: 0 20px;
    height: 80px;
  }

  .hero-content {
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: clamp(50px, 13vw, 90px);
    letter-spacing: -4px;
  }

  .hero-bottom {
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
  }

  .intro-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .large-heading {
    font-size: clamp(55px, 14vw, 100px);
  }

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

  .sc-image {
    height: 180px;
  }

  .menu-image-panel {
    display: none;
  }

  .menu-content {
    flex: unset;

    width: 100%;

    border-left: none;

    padding: 60px 40px;
  }

  .capacity-content {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .capacity-number {
    font-size: clamp(100px, 28vw, 200px);
  }

  .capacity-description {
    margin-left: 0;

    margin-top: 30px;
  }

  .energy {
    padding: 120px 0;
  }

  .energy-content {
    width: calc(100% - 40px);
  }

  .energy-heading {
    margin-top: 60px;
  }

  .energy-products {
    margin-top: 70px;

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

  .energy-services {
    justify-content: flex-start;

    gap: 15px 30px;
  }

  .process-line {
    grid-template-columns: 1fr 1fr;
  }

  .process-item {
    border-bottom: 1px solid var(--border);
  }

  .cta-bottom {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .footer-inner {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .header {
    padding: 0 16px;
  }

  .logo-img {
    height: 42px;
  }

  .menu-button {
    gap: 9px;
  }

  .hero {
    min-height: 650px;

    height: 100svh;
  }

  .hero-content {
    width: calc(100% - 32px);

    padding-top: 60px;
  }

  .hero-kicker {
    font-size: 8px;

    letter-spacing: 2px;

    gap: 8px;

    margin-bottom: 28px;
  }

  .hero-kicker span {
    width: 25px;
  }

  .hero h1 {
    font-size: clamp(43px, 14vw, 64px);

    line-height: 0.9;

    letter-spacing: -3px;

    max-width: 100%;
  }

  .hero-description {
    max-width: 340px;

    margin-top: 28px;

    font-size: 13px;

    line-height: 1.65;
  }

  .primary-button {
    gap: 15px;

    margin-top: 28px;

    padding: 14px 16px;

    font-size: 9px;
  }

  .hero-bottom {
    left: 16px;

    right: 16px;

    bottom: 24px;

    width: calc(100% - 32px);

    max-width: none;

    grid-template-columns: 1fr 1fr;

    font-size: 7px;
  }

  .hero-bottom div:nth-child(2) {
    display: none;
  }

  .hero-bottom div:last-child {
    justify-content: flex-end;
  }

  .intro,
  .services,
  .process,
  .why {
    padding: 100px 0;
  }

  .intro-grid {
    margin-top: 60px;

    gap: 50px;
  }

  .large-heading {
    font-size: clamp(48px, 14vw, 62px);

    letter-spacing: -4px;
  }

  .big-text {
    font-size: 21px;
  }

  .section-top {
    padding-bottom: 35px;

    gap: 20px;
  }

  .section-note {
    font-size: 8px;
  }

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

  .sc-image {
    height: 200px;
  }

  .sc-body {
    padding: 24px 22px 28px;
  }

  .sc-body h3 {
    font-size: 28px;
  }

  .capacity {
    min-height: 750px;
  }

  .capacity-content {
    margin-top: 60px;
  }

  .capacity-number {
    font-size: clamp(75px, 25vw, 110px);

    letter-spacing: -7px;

    line-height: 0.8;
  }

  .capacity-unit {
    font-size: 10px;

    letter-spacing: 3px;
  }

  .capacity-description {
    max-width: 310px;

    margin-top: 25px;
  }

  .capacity-description p {
    font-size: 21px;
  }

  .capacity-scale {
    margin-top: 70px;

    font-size: 7px;

    letter-spacing: 1px;
  }

  /* ENERGY MOBILE */

  .energy {
    min-height: auto;

    padding: 100px 0 90px;

    align-items: flex-start;
  }

  .energy-content {
    width: calc(100% - 32px);
  }

  .energy-heading {
    margin-top: 55px;
  }

  .energy-tagline {
    font-size: 8px;

    letter-spacing: 2px;

    margin-bottom: 18px;
  }

  .energy-heading h2 {
    font-size: clamp(44px, 13vw, 60px);

    line-height: 0.9;

    letter-spacing: -4px;
  }

  .energy-products {
    margin-top: 55px;

    grid-template-columns: 1fr;

    width: 100%;

    gap: 1px;
  }

  .energy-product {
    min-height: 175px;

    padding: 25px;
  }

  .energy-product h3 {
    font-size: 38px;

    letter-spacing: -1.5px;
  }

  .energy-product p {
    font-size: 11px;
  }

  .energy-services {
    margin-top: 28px;

    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;

    font-size: 8px;

    letter-spacing: 1.4px;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-item {
    min-height: 220px;

    border-left: 1px solid var(--border);
  }

  .process-item h3 {
    margin-top: 50px;
  }

  .why-grid {
    margin-top: 60px;

    gap: 50px;
  }

  .why-title h2 {
    font-size: clamp(48px, 14vw, 65px);

    letter-spacing: -4px;
  }

  .cta {
    min-height: 850px;
  }

  .cta-heading {
    margin-top: 55px;
  }

  .cta-heading h2 {
    font-size: clamp(78px, 25vw, 110px);

    letter-spacing: -7px;
  }

  .cta-bottom {
    margin-top: 75px;

    gap: 50px;
  }

  .menu-content {
    padding: 45px 24px;
  }

  .menu-top-bar {
    margin-bottom: 35px;
  }

  .menu-content nav a {
    font-size: 30px;

    letter-spacing: -1.5px;

    padding: 16px 0;
  }

  .menu-footer {
    gap: 8px 20px;

    margin-top: 35px;
  }

  .menu-footer a {
    font-size: 11px;
  }

  .footer {
    padding: 35px 0;
  }
}

/* ==========================================================
   EXTRA SMALL DEVICES
========================================================== */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .header {
    padding: 0 14px;
  }

  .logo-img {
    height: 38px;
  }

  .hamburger {
    width: 38px;
    height: 38px;
  }

  .menu-button {
    gap: 7px;
  }

  .menu-button .menu-label {
    font-size: 8px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 45px;

    letter-spacing: -2.5px;
  }

  .large-heading {
    font-size: 49px;
  }

  .capacity-number {
    font-size: 78px;
  }

  .cta-heading h2 {
    font-size: 80px;
  }

  .capacity-scale {
    gap: 7px;
  }

  .energy-heading h2 {
    font-size: 43px;
  }

  .energy-product {
    min-height: 165px;

    padding: 22px;
  }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }
}