/* ---------------------------
   Base / Reset
   --------------------------- */
:root{
    --accent: #e40c0c;
    --accent-dark: #ae3737;
    --bg-dark: #0f0f0f;
    --muted: #bdbdbd;
    --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Kumbh Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #111;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Screen-reader only */
.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ==========================================================
   NAVBAR STYLES
========================================================== */

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.navbar-logo img {
  height: 103px;
  margin: 0 -32px -20px;
  width: auto;
  object-fit: contain;
}

/* Navbar container */
.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 100%;
  padding: 0 50px;
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Menu */
.navbar__menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.navbar__item {
  height: 80px;
  position: relative;
}

.navbar__links {
  color: #fff;
  text-decoration: none;
  height: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar__links:hover {
  color: #e40c0c;
}

/* Buttons */
.navbar__btn.desktop {
  display: flex;
}

.navbar__btn.mobile {
  display: none;
}

.button {
  background: #e40c0c;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.button:hover {
  background: #ae3737;
}

/* ==========================================================
   DESKTOP DROPDOWNS
========================================================== */

/* Main dropdown arrow */
.navbar__item.dropdown > .navbar__links::after {
  content: '▼';
  font-size: 0.6rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
  color: #b60f0f;
}

.navbar__item.dropdown.active > .navbar__links::after {
  transform: rotate(-180deg);
}

/* Main dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  min-width: 180px;
  border-radius: 2px;
  flex-direction: column;
  z-index: 1000;
  list-style: none; /* remove bullet */
  padding: 0;
  margin: 0;
}

.navbar__item.dropdown:hover > .dropdown-menu {
  display: flex;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #e40c0c;
}

/* Sub-dropdown */
.dropdown-sub {
  position: relative;
}

.dropdown-sub-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #222;
  min-width: 180px;
  border-radius: 2px;
  flex-direction: column;
  z-index: 1000;
  list-style: none; /* remove bullet */
  padding: 0;
  margin: 0;
}

.dropdown-sub:hover > .dropdown-sub-menu {
  display: flex;
}

.dropdown-sub > a::after {
  content: "▸";
  float: right;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.dropdown-sub:hover > a::after {
  transform: rotate(90deg);
}

.dropdown-sub-menu li a:hover {
  background: #e40c0c;
}

/* Hamburger toggle */
.navbar__toggle {
  display: none;
}

/* ==========================================================
   MOBILE MENU (≤968px)
========================================================== */
@media screen and (max-width: 968px) {

  /* Hamburger */
  .navbar__toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2000;
  }

  /* Fullscreen menu */
  .navbar__menu {
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100% - 80px);
    opacity: 0;
    transition: all 0.4s ease;
    background: #000;
    display: flex;
    overflow-y: auto;
    padding: 0;
  }

  .navbar__menu.active {
    left: 0;
    opacity: 1;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    justify-content: center;
    display: block;
  }

  /* Buttons */
  .navbar__btn.desktop { display: none; }

  .navbar__btn.mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 12px 20px;
    width: 60%;
  }

  .button {
    width: 80%;
    text-align: center;
    padding: 14px 20px;
    margin: 0 auto;
    display: block;
  }

  /* Mobile dropdown slide-down */
  .navbar__item.dropdown .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar__item.dropdown.active .dropdown-menu {
    max-height: 1000px; /* enough for multiple items */
  }

  .dropdown-menu li a {
    text-align: center;
  }

  /* Nested sub-dropdown slide-down */
  .dropdown-sub-menu {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-sub.active .dropdown-sub-menu {
    max-height: 500px; /* enough for nested items */
  }

  /* Remove list bullets globally in mobile dropdowns */
  .dropdown-menu,
  .dropdown-sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
}




/* ---------------------------
   HERO
   --------------------------- */
.fuel-hero {
    position: relative;
    background-image: url('images/marking1.jpg');
    background-size: cover;
    background-position: center;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px; /* accommodate fixed navbar */
    color: #fff;
}

/* avoid fixed background on mobile for performance */
@media (min-width: 769px) {
    .fuel-hero { background-attachment: fixed; }
}

.fuel-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.45));
    z-index: 1;
}

.fuel-hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    text-align: center;
    padding: 24px;
}

.fuel-hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

@media (min-width: 769px){
    .fuel-hero-content h1 { font-size: 3.2rem; }
}

.lead { font-size: 1.05rem; color: #f1f1f1; margin-bottom: 18px; max-width: 760px; margin-left: auto; margin-right: auto; }

.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.fm-btn {
    background: var(--accent);
    color: #fff;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(228,12,12,0.18);
}
.ghost-btn {
    border: 2px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

/* ---------------------------
   FUEL ABOUT
   --------------------------- */
/* Fuel Section */
.fuel-about {
    padding: 80px 20px;
    background: #f9f9f9;
}

.fuel-about-container {
    max-width: 1100px; /* MAKES IT NARROW & CLEAN */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* two equal columns */
    gap: 40px;
    align-items: center;
}

/* Text column */
.fuel-about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #e40c0c;
}

.fuel-about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.benefits-list i {
    color: #e40c0c;
    font-size: 1.2rem;
    margin-right: 10px;
}



/* Video styling (replaces iframe styling) */
.who-we-are-video video {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  background: #000; /* prevents white flash on load */
}

/* Responsive */
@media screen and (max-width: 768px) {
  .who-we-are-container {
    grid-template-columns: 1fr;
  }

  .who-we-are-video video {
    min-height: 250px;
  }
}
/* Video column */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* responsive video */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-caption {
    margin-top: 10px;
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
    color: #e40c0c;
}

/* Mobile */
@media (max-width: 768px) {
    .fuel-about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .benefits-list li {
        justify-content: center;
    }
}


/* ---------------------------
   TECHNOLOGY
   --------------------------- */
.fuel-tech { padding: 70px 0; background: #f8f8f8; text-align: center; }
.fuel-tech h2 { font-size: 1.8rem; margin-bottom: 6px; color: #111; }
.fuel-tech .section-lead { color: #555; margin-bottom: 24px; }

.fuel-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 22px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.tech-card {
    background: #fff;
    padding: 26px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform .22s ease, box-shadow .22s ease;
}
.tech-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.09); }
.tech-card i { font-size: 2.2rem; color: var(--accent); margin-bottom: 12px; }

/* ---------------------------
   PROCESS
   --------------------------- */
.fuel-process { padding: 70px 0; background: #fff; }
.fuel-process h2 { text-align: center; font-size: 1.8rem; margin-bottom: 28px; }
.process-steps{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.step {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,0.08); }
.step span {
    display: inline-block; background: var(--accent); color: #fff; width: 48px; height: 48px; line-height: 48px; border-radius: 50%; font-weight: 800; margin-bottom: 12px;
}

/* ============================
   FOOTER (Improved Design)
============================ */
.site-footer {
    background: #0c0c0c;
    color: #eee;
    padding: 70px 20px 25px;
    font-family: "Kumbh Sans", sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer Column */
.footer-col h3 {
    color: #e40c0c;
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #e40c0c, #ff544e);
    bottom: -6px;
    left: 0;
    border-radius: 6px;
}

/* About */
.footer-about p {
    font-size: 1rem;
    color: #bfbfbf;
    line-height: 1.7;
    max-width: 320px;
}

/* Logo */
.footer-logo {
    width: 160px;
    margin-bottom: 20px;
    filter: brightness(1.1);
    transition: transform 0.25s;
}

.footer-logo:hover {
    transform: scale(1.07);
}

/* Links */
.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.25s;
}

.footer-links ul li a:hover {
    color: #e40c0c;
    padding-left: 6px;
}

/* Contact Info */
.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #ccc;
}

.footer-contact i {
    color: #e40c0c;
    margin-right: 8px;
}

/* Social Icons */
.footer-social a {
    color: #ccc;
    font-size: 1.3rem;
    margin-right: 15px;
    transition: 0.25s;
}

.footer-social a:hover {
    color: #e40c0c;
    transform: translateY(-4px);
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* =============================
   RESPONSIVE FOOTER
============================= */
@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social a {
        margin-right: 10px;
    }

    .footer-about p,
    .footer-contact p {
        margin: 0 auto 10px;
        max-width: 350px;
    }
}