/* ======================
   Base Reset and Globals
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

body[data-scroll-container] {
  background: #000;
}

/* ======================
   Navbar Styles
====================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 3rem;
  z-index: 999;
  display: flex;
  justify-content: center;
  background: transparent;
}

/* Nav container transitions */
.navbar nav {
  transition: max-height 0.5s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

.navbar nav.active {
  max-height: 500px;
  opacity: 1;
}

/* Nav list */
.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 8rem;
}

/* Home Name styling */
.HomeName {
  font-size: 19.2px !important;
  letter-spacing: 5px;
  font-family: 'Playfair Display', serif;
}

.HomeName:hover {
  transform: translateY(-4px) !important;
}

/* Nav links */
.navbar nav ul li a {
  font-size: 14.4px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(to right, #000000, #555555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.4s ease, opacity 0.3s ease, -webkit-text-fill-color 0.4s ease;
  display: inline-block;
}

.navbar nav ul li a:hover {
  transform: translateY(-5px);
  -webkit-text-fill-color: #000;
}

/* ======================
   Hamburger Styles
====================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  background: rgb(0, 0, 0);
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, 5px);
}

.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg) translate(2px, -5px);
}

/* ======================
   Responsive Name
====================== */
.ResponsiveName {
  color: black;
  position: absolute;
  left: 10px;
  top: 30px;
  text-decoration: none;
  letter-spacing: 3px;
  font-family: 'PlayFair Display', serif;
  display: none;
}

@media (max-width: 430px) {
  .ResponsiveName {
    font-size: 12px;
    margin-left: 10px;
  }
}

/* ======================
   Responsive Styles
====================== */
@media (max-width: 990px) {
  .hamburger {
    display: flex;
  }

  .ResponsiveName {
    display: block;
  }

  .navbar nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #000;
    padding: 0 2rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
    opacity: 0;
  }

  .navbar nav.active {
    max-height: 500px;
    padding: 2rem;
    opacity: 1;
    border-radius: 10px;
  }

  .navbar nav ul {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
  }

  .navbar nav ul li a {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: white;
    color: white;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5rem;
    display: block;
    width: 100%;
  }

  .HomeName {
    display: none !important;
  }
}

/* ======================
   Hero Section
====================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../assets/images/herobg.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 100.2px;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
  letter-spacing: 18px;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(to right, #757575, #000000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content h1 span {
  display: block;
  font-weight: 400;
  margin-top: 0.5rem;
  letter-spacing: 18px;
  text-transform: uppercase;
  background: linear-gradient(to right, #000000, #757575);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ======================
   Scroll Down Icon
====================== */
.scroll-down-icon {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrow-img {
  width: 24px;
  height: 24px;
  opacity: 0;
  filter: brightness(0) invert(1);
  animation: fadeArrow 1.5s infinite ease-in-out;
}

@keyframes fadeArrow {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(5px);
  }
}

/* ======================
   Responsive Hero Text
====================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .navbar nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ======================
   Desktop Nav Override
====================== */
@media (min-width: 991px) {
  .navbar nav {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    display: block !important;
  }

  .navbar nav ul {
    display: flex !important;
    gap: 8rem !important;
    flex-direction: row !important;
  }
}

/* ======================
   Companies Section
====================== */
.companies-section {
  padding: 6rem 2rem;
  background-color: #000;
  text-align: center;
}

.companies-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2vw;
  margin-bottom: 3rem;
  letter-spacing: 3px;
  font-weight: 100;
  color: #fff;
}

.company-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 700px;
  gap: 2rem;
  margin: 0 auto;
}

.company-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .company-list {
    flex-direction: column;
    gap: 2rem;
  }

  .company-logo {
    width: 60%;
    margin: 0 auto;
  }
}

/* ======================
   Early About Section
====================== */
.EarlyAboutSec {
  height: 1000px;
  width: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4rem;
}

.easec {
  height: 450px;
  width: 90%;
  display: flex;
  border-radius: 30px;
  background: url('../assets/images/noisedrkgrey.jpg');
}

.insabout {
  height: 100%;
  width: 50%;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}

.textabout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
}

.textabout h2 {
  font-size: 44.8px;
  font-weight: 600;
  font-family: 'FairPlay Display', serif;
}

.textabout p {
  color: #d1d1d1;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}

.imageabout {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
}

.earlyimgone {
  height: 70%;
  width: 70%;
  border-radius: 20px;
  transform: rotate(-10deg);
}

@media (max-width: 1024px) {
  .EarlyAboutSec {
    height: auto;
    gap: 3rem;
    padding: 3rem 1rem;
  }

  .easec {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
    align-items: center;
    justify-content: center;
  }

  .insabout {
    width: 100%;
    margin: 0;
    padding: 1rem;
  }

  .textabout {
    width: 100%;
    padding: 2rem 1rem;
    align-items: center;
    text-align: center;
  }

  .textabout h2 {
    font-size: 2rem;
  }

  .textabout p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .imageabout {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
  }

  .earlyimgone {
    width: 80%;
    height: auto;
    transform: rotate(-5deg);
  }
}

@media (max-width: 480px) {
  .textabout h2 {
    font-size: 1.6rem;
  }

  .textabout p {
    font-size: 0.9rem;
  }

  .earlyimgone {
    width: 90%;
  }
}

.break-line {
  justify-content: center;
  padding-top: 10vh;
  padding-bottom: 10vh;
  display: flex;
}

.white-line {
  background-color: rgb(255, 255, 255);
  width: 1px;
  height: 20vh;
}

.companies-second-main {
  justify-content: center;
  align-items: center;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  display: flex;
  flex-flow: column;
}

.heading-company-sec {
  text-align: center;
  margin-bottom: 20px;
  font-family: 'PlayFair Display', sans-serif;
  font-size: 4.5rem;
}

.companies-container-black {
  width: 100%;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
  background: url('../assets/images/noisedrkgrey.jpg');
  border-radius: 30px;
}

.company-content-wrapper {
  row-gap: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  width: 52%;
  display: flex;
}

.text-company-title {
  margin-bottom: 0px;
  border-style: none;
  padding: 0px;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.2;
  font-family: 'PlayFair Display', sans-serif;
}
