/* ==========================================================================
   Zeeland Bangladesh New Energies B.V.
   base.css — reset, global typography, shared components, header & footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */

html {
  box-sizing: border-box;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  border-style: none;
  max-width: 100%;
}

svg:not(:root) {
  overflow: hidden;
}

b,
strong {
  font-weight: bolder;
}

button {
  overflow: visible;
  font: inherit;
  margin: 0;
  text-transform: none;
  -webkit-appearance: button;
}

iframe {
  border: 0;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */

:root {
  --color-orange: #ee7f24;
  --color-orange-dark: #f08422;
  --color-orange-hover: #efa124;
  --color-orange-deep: #f16623;
  --color-navy: #08173f;
  --color-body: #333333;
  --color-muted: #888888;
  --color-muted-dark: #5b5b5b;
  --color-footer-note: #b2b2b2;
  --color-link: #0074db;
  --color-white: #ffffff;

  --font-body: "Open Sans", sans-serif;
  --font-heading: "Montserrat", sans-serif;

  --container: 1120px;
}

/* --------------------------------------------------------------------------
   3. Global typography
   -------------------------------------------------------------------------- */

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
}

h1 { font-size: 36px; line-height: 1.15; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

a {
  color: var(--color-link);
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  text-decoration: none;
}

/* Custom scrollbar */
body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(238, 127, 36, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--color-orange);
  outline: 1px solid var(--color-orange-deep);
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.section {
  width: 100%;
  display: block;
  background-size: cover;
}

.section__inner {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  min-height: inherit;
  padding: 75px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Full-bleed inner wrapper (used by most sections on this site) */
.section__inner--wide {
  max-width: 100%;
}

.stack {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: flex-start;
}

/* --------------------------------------------------------------------------
   5. Shared components
   -------------------------------------------------------------------------- */

/* 5.1 Horizontal rule used under headings */
.rule {
  width: 80%;
  height: 2px;
  min-height: 2px;
  max-height: 2px;
  margin-top: 10px;
  margin-bottom: 20px;
  background-color: var(--color-orange-dark);
}

.rule--white {
  background-color: var(--color-white);
}

/* 5.2 Buttons */
.btn {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  align-self: flex-start;
  color: var(--color-white);
  text-transform: uppercase;
  padding: 10px 25px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

.btn--primary {
  letter-spacing: 1.2px;
  font-weight: 600;
  border-radius: 100px;
  background-color: var(--color-orange);
  transition: 0.5s;
}

.btn--primary:hover {
  background-color: var(--color-orange-hover);
  color: var(--color-white);
}

.btn--secondary {
  border-radius: 200px;
  background-color: var(--color-navy);
}

.btn--secondary:hover {
  color: var(--color-white);
}

/* 5.3 Three-column feature grid (Mission / Vision / Strategy) */
.features {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 75px;
  margin-inline: calc(100vw / 21);
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature__title {
  color: var(--color-navy);
}

.feature__text {
  text-align: left;
}

@media (max-width: 767px) {
  .features {
    grid-template-columns: repeat(1, minmax(200px, 1fr));
    grid-column-gap: 20px;
    grid-row-gap: 40px;
  }

  .feature {
    text-align: left;
    align-items: center;
  }

  .feature__text {
    text-align: center;
  }
}

/* 5.4 Gradient / colour text helpers */
.txt-green {
  color: green;
}

.txt-gradient {
  background: #efc822;
  background: linear-gradient(to right, #efc822 0%, #f16623 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 5.5 Inner-page banner (About / Project / Contact / legal pages) */
.page-banner {
  width: 100%;
  display: block;
  position: relative;
}

.page-banner__inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-banner__image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom-right-radius: 200px;
}

.page-banner__title {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 3rem;
}

@media (max-width: 767px) {
  .page-banner__inner {
    padding-right: 7px;
  }

  .page-banner__image {
    border-bottom-right-radius: 150px;
  }
}

/* --------------------------------------------------------------------------
   6. Site header
   -------------------------------------------------------------------------- */

.site-header {
  width: 100%;
  display: block;
}

.site-header__inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 50px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-link__logo {
  width: 150px;
  height: 71px;
  object-fit: contain;
}

.site-header__nav-wrap {
  display: flex;
  flex-direction: row;
  background-color: var(--color-white);
  text-align: left;
}

/* Desktop navigation */
.nav-bar {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-bottom: 2px solid var(--color-orange-dark);
}

.nav-bar__list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-bar__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  text-align: left;
  background-color: rgba(255, 255, 255, 0);
}

.nav-bar__list li::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0%;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: var(--color-orange);
  transition: 0.5s;
}

.nav-bar__list li a {
  display: block;
  padding: 8px 16px;
  flex-grow: 1;
  outline-offset: -4px;
  color: var(--color-muted);
  transition: 0.5s;
}

.nav-bar__list li.is-current::after {
  height: 10%;
}

.nav-bar__list li:hover::after {
  height: 100%;
}

.nav-bar__list li:hover a {
  color: var(--color-white);
}

/* Hamburger button */
.menu-toggle {
  width: 40px;
  height: 40px;
  display: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1120px) {
  .site-header__inner {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (max-width: 991px) {
  .site-header__inner {
    padding-right: 15px;
    padding-left: 15px;
    align-items: center;
  }

  .brand-link__logo {
    width: 130px;
    height: 62px;
  }

  .nav-bar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    padding: 10px 5px 5px 5px;
  }
}

/* --------------------------------------------------------------------------
   7. Mobile off-canvas menu
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  top: 0;
  left: -120%;
  z-index: 99;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.5s;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu__inner {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--color-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.mobile-menu__close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mobile-menu__close svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__list li {
  display: flex;
  flex-direction: column;
}

.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 1.5rem;
  color: var(--color-white);
  text-decoration: none;
  border: 0;
}

/* --------------------------------------------------------------------------
   8. Site footer
   -------------------------------------------------------------------------- */

.site-footer {
  width: 100%;
  display: block;
  background-color: var(--color-orange);
  text-align: left;
}

.site-footer__inner {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__logo {
  width: 200px;
  height: 95px;
}

.site-footer__name {
  color: var(--color-white);
  margin-top: 20px;
  text-align: center;
}

.site-footer__address {
  text-align: center;
  color: var(--color-white);
}

.footer-links {
  width: 100%;
  display: block;
  background-color: var(--color-orange);
}

.footer-links__inner {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 5px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer-links__inner a {
  display: inline-block;
  color: var(--color-white);
  font-size: 0.8rem;
}

.footer-legal {
  width: 100%;
  background-color: var(--color-navy);
  text-align: left;
}

.footer-legal__inner {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 5px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-legal__text {
  color: var(--color-footer-note);
  text-align: center;
  font-size: 0.8rem;
}
