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

body {
  font-family: Arial, sans-serif;
  background-color: #17181c;
  color: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1512px;
  margin: auto;
  padding: 20px;
}
/* -------------------- HEADER -------------------- */
.header {
  width: 100%;
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  position: fixed;
  right: 0;
  top: 0;
  left: 0;
  padding: 25px 75px;
  background: var(--dark);
  z-index: 1000;
}
.header-links {
    text-align: right;
    float: right;
    width: 100%;
    }
.header-links ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
    }
.header-links li {
    display: inline;
    }
.header-links a {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    color: var(--light);
    padding-top: 20px;
    padding-bottom: 20px;
    }
.header-links a.spc-left:hover {
    color: var(--blue);
    }
.header-links a:hover {
    color: var(--bright);
    }
.spc-left {
  padding-left: 50px;
}

.logo {
  width: 100px;
  height: 37px;
}


}

.hero {
  text-align: center;
  margin: 4rem 0;
}

.main-heading {
  color: #ff8200;
  font-family: chronical display;
  font-weight: 100;
  font-size: 48px;
  margin-bottom: 1.5rem;
}
.main-heading-center {
  color: #ff8200;
  font-family: chronical display;
  font-weight: 100;
  font-size: 48px;
  text-align: center;
  margin-bottom: 1.5rem;
}
.description {
  font-size: 18px;
  max-width: 1000px;
  text-align: center;
  margin: auto;
}

.sub-heading {
  color: #cacaca;
  font-size: 36px;
  letter-spacing: 6px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 200;
}

.industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 3rem 0;
}

.industry-card {
  border: 3px solid #ff8200;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  font-size: 32px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s;
}

.industry-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  position: relative;
  z-index: 2; /* ✅ Ensure it's above the industry-img */
}


.industry-card.open .industry-dropdown {
  max-height: none; /* Ensures full image reveal */
  margin-top: 1rem;
}

.industry-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none; /* ✅ ADD this */
}


/* Hover: light preview */
.industry-card:hover .industry-img {
  opacity: 1;
}

/* Click: full reveal */
.industry-card.open:hover .industry-img {
  opacity: 1;
}



.dropdown-content {
  text-align: center;
  padding: 2rem 1rem;
}

.dropdown-title {
  font-size: 1.75rem;
  color: #f1b529;
  margin-bottom: 0.5rem;
  letter-spacing: 6px;
  font-weight: 100;
}

.dropdown-description {
  font-size: 1rem;
  color: #ccc;
  max-width: 100%;
  margin: 0 auto 2rem auto;
  text-align: left;
  font-weight: normal;
}

.split-box {
  display: flex;
  width: 100%;
  height: 200px;
  background-color: #222;
  border-radius: 10px;
  overflow: hidden;
  z-index: 2; /* ✅ Ensure this is above industry-img */
  position: relative;
}


.split-text {
  flex: 0 0 60%;
  padding: 1.5rem;
  text-align: left;
}

.split-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #f1b529;
    text-align: left;
}

.split-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ccc;
    text-align: left;
}

.split-image {
  flex: 0 0 40%;
  height: 100%;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop the image */
  object-position: center;
  border-radius: 0 8px 8px 0;
}


/* Responsive */
@media (max-width: 768px) {
  .split-box {
    flex-direction: row;
  }

  .split-text, .split-image {
    flex: 1 1 100%;
  }
}


.split-box {
  margin-bottom: 30px;
}






.brands {
  text-align: center;
  margin-top: 4rem;
}

.component {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.bg-deco {
  position: absolute;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.group-2 {
  top: 0;
  left: 0;
  width: 700px;
  height: auto;
}

.group-3 {
  bottom: 0;
  right: 0;
  width: 500px;
  height: auto;
}

.overlap-group-2 {
  position: relative;
  z-index: 1;
  text-align: center;
}

.overlap-group-2 .screenshot {
  max-width: 80%;
  height: auto;
}

.select-retailers {
  margin-top: 2rem;
  font-family: "Chronicle Display-Semibold", Helvetica;
  font-weight: 400;
  color: #f2f2f2;
  font-size: 36px;
}

.global-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-img {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

.bg-img.top-left {
  top: 0;
  left: 0;
  width: 700px;
}

.bg-img.bottom-right {
  bottom: 0;
  right: 0;
  width: 500px;
}

.footer {
  width: 100%;
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 25px 75px;
  background: var(--dark);
  z-index: 1000;
}

.footer p, .footer a, .header a {
    transition: all 0.25s ease-in-out;
    }
.footer-links {
    text-align: right;
    float: right;
    width: 66.6%;
    }
.footer-links ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
    }
.footer-links li {
    display: inline;
    }
.footer-links a {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    color: var(--light);
    padding-top: 20px;
    padding-bottom: 20px;
    }
.footer-links a:hover {
    color: var(--mid);
    }
.copyright {
    font-size: 0.5em;
    text-align: left;
    float: left;
    width: 33.3%;
    padding-top: 5px;
    color: var(--mid);
    }

@media screen and (max-width: 768px) {
  .main-heading {
    font-size: 28px;
  }

  .sub-heading {
    font-size: 24px;
  }

  .description {
    font-size: 16px;
  }

  .industry-card {
    font-size: 20px;
    padding: 1.5rem;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }

  .main-nav a {
    margin: 0.5rem 0;
  }

  .bg-img {
    max-width: 250px;
  }
}
