/* Import Big Shoulders Display Font */
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* About Page Specific Styles */
.about-content {
  padding: 100px 0 50px;
  min-height: 80vh;
  text-align: center;
}

.about-content h1 {
  margin-bottom: 30px;
  color: #fff;
  font-size: 48px;
}

.about-content p {
  color: #ccc;
  font-size: 18px;
}

/* About Page Header Section */
.head {
  text-align: center;
  padding-top: 180px; /* Increased space below navbar */
  margin-bottom: 40px;
  position: relative;
  height: auto;
}

.head h1 {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 117px;
  font-weight: 700;
  /* Linear gradient text effect */
  background: linear-gradient(to right, #ffffff, #999999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Fallback color for browsers that don't support gradient text */
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* About Page Image Section */
.head-img {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-top: 50px; /* Space after heading */
  overflow: hidden;
}

.head-img img {
  width: 1300px;
  height: 600px;
  display: block;
  margin: 0 auto 50px auto; /* Center horizontally and add bottom margin */
  max-width: 100%;
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
  cursor: pointer;
  overflow: hidden;
}

/* About Page Text Content */
.head-img p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  padding-left: 35px;
  padding-right: 35px;
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  font-family: Overused Grotesk, sans-serif;
}

/* Next Section - Image and Text Side by Side */
.nxt-section {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 150px auto 50px auto;
  padding: 20px;
}

.nxt-img {
  flex-shrink: 0;
  margin-left: -50px;
  overflow: hidden;
}

.nxt-img img {
  width: 500px;
  height: 575px;
  display: block;
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
  cursor: pointer;
  overflow: hidden;
}

.nxt-p {
  flex: 1;
  margin-left: auto;
}

.nxt-p p {
  color: #fff;
  font-size: 22px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  font-family: "Overused Grotesk", sans-serif;
}

/* Second Section - Image and Text Side by Side */
.nxt-section2 {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 150px auto 50px auto;
  padding: 20px;
}

.nxt-img2 {
  flex-shrink: 0;
  margin-left: -50px;
  overflow: hidden;
}

.nxt-img2 img {
  width: 500px;
  height: 575px;
  display: block;
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
  cursor: pointer;
  overflow: hidden;
}

.nxt-p2 {
  flex: 1;
  margin-left: auto;
}

.nxt-p2 p {
  color: #fff;
  font-size: 22px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  font-family: "Overused Grotesk", sans-serif;
}

/* Third Section - Image and Text Side by Side */
.nxt-section3 {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 150px auto 50px auto;
  padding: 20px;
}

.nxt-img3 {
  flex-shrink: 0;
  margin-left: -50px;
  overflow: hidden;
}

.nxt-img3 img {
  width: 500px;
  height: 575px;
  display: block;
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
  cursor: pointer;
  overflow: hidden;
}

/* Fourth Section - Text on Left, Image on Right */
.nxt-section4 {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 150px auto 50px auto;
  padding: 20px;
  overflow: visible;
}

/* Mobile-only section - hidden on desktop */
.nxt-section4-mobile {
  display: none;
}

.nxt-text-content {
  flex: 1;
  margin-right: auto;
}

.nxt-img4 {
  flex-shrink: 0;
  margin-right: -50px;
  overflow: visible;
}

.nxt-img4 img {
  width: 500px;
  height: 575px;
  display: block;
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
  will-change: transform;
  cursor: pointer;
}

/* Specific hover animation for nxt-img4 images */
.nxt-section4 .nxt-img4 img:hover {
  transform: scale(1.1) !important;
}

/* Fallback hover animation for nxt-img4 images */
.nxt-img4 img:hover {
  transform: scale(1.1) !important;
}

/* General hover animation for nxt-section4 images */
.nxt-section4 img:hover {
  transform: scale(1.1) !important;
}

/* Hover animations for all image sections */
.head-img img:hover {
  transform: scale(1.1) !important;
}

.nxt-section .nxt-img img:hover {
  transform: scale(1.1) !important;
}

.nxt-section2 .nxt-img2 img:hover {
  transform: scale(1.1) !important;
}

.nxt-section3 .nxt-img3 img:hover {
  transform: scale(1.1) !important;
}

.nxt-section4-mobile .nxt-img4-mobile img:hover {
  transform: scale(1.1) !important;
}

.last-img img:hover {
  transform: scale(1.1) !important;
}

/* Additional fallback selectors for broader compatibility */
.nxt-img img:hover {
  transform: scale(1.1) !important;
}

.nxt-img2 img:hover {
  transform: scale(1.1) !important;
}

.nxt-img3 img:hover {
  transform: scale(1.1) !important;
}

.nxt-img4-mobile img:hover {
  transform: scale(1.1) !important;
}

.nxt-section4 .nxt-heading {
  margin-bottom: 20px;
}

.nxt-section4 .nxt-heading h2 {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 87px;
  font-weight: 700;
  /* Linear gradient text effect */
  background: linear-gradient(to right, #ffffff, #999999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Fallback color for browsers that don't support gradient text */
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: left;
}

.nxt-p4 p {
  color: #fff;
  font-size: 22px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  font-family: "Overused Grotesk", sans-serif;
}

/* Last Section - Similar to head-img */
.last {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-top: 100px; /* Space before section */
}

.last-img {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-top: 50px; /* Space after heading */
  overflow: hidden;
}

.last-img img {
  width: 1300px;
  height: 600px;
  display: block;
  margin: 0 auto 50px auto; /* Center horizontally and add bottom margin */
  max-width: 100%;
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
  cursor: pointer;
  overflow: hidden;
}

/* Last Section Text Content */
.last-img p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  padding-left: 35px;
  padding-right: 35px;
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  font-family: "Overused Grotesk", sans-serif;
}

/* Responsive Design */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
  .head h1 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 100px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
  }

  .head-img img {
    width: 100%;
    max-width: 1000px;
    height: auto;
  }

  .nxt-section,
  .nxt-section2,
  .nxt-section3,
  .nxt-section4 {
    max-width: 900px;
    gap: 25px;
  }

  .nxt-img img,
  .nxt-img2 img,
  .nxt-img3 img,
  .nxt-img4 img {
    width: 400px;
    height: 460px;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
    will-change: transform;
  }

  .last-img img {
    width: 100%;
    max-width: 1000px;
    height: auto;
  }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
  /* Hide desktop section */
  .nxt-section4 {
    display: none;
  }

  /* Show mobile section */
  .nxt-section4-mobile {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 80px auto 50px auto;
    padding: 15px;
    text-align: left;
    max-width: 700px;
  }

  .nxt-heading-mobile h2 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 30px;
  }

  .nxt-img4-mobile {
    overflow: hidden;
  }

  .nxt-img4-mobile img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 30px;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
    will-change: transform;
    cursor: pointer;
  }

  /* Mobile hover animation for nxt-section4-mobile images */
  .nxt-section4-mobile img:hover {
    transform: scale(1.1);
  }

  .nxt-p4-mobile p {
    font-size: 18px;
    text-align: left;
    line-height: 1.6;
  }

  .head {
    padding-top: 150px;
    text-align: center;
  }

  .head h1 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 85px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
  }

  .head-img {
    padding-top: 30px;
    text-align: center;
  }

  .head-img img {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .head-img p {
    font-size: 16px;
    padding: 20px;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
  }
  .nxt-section,
  .nxt-section2,
  .nxt-section3 {
    flex-direction: column;
    gap: 30px;
    margin: 80px auto 50px auto;
    padding: 15px;
    text-align: left;
  }

  .nxt-img,
  .nxt-img2,
  .nxt-img3,
  .nxt-img4 {
    margin: 0 auto;
    flex-shrink: 0;
    text-align: center;
  }

  .nxt-img img,
  .nxt-img2 img,
  .nxt-img3 img,
  .nxt-img4 img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .nxt-p,
  .nxt-p2,
  .nxt-text-content {
    margin-left: 0;
    margin-right: 0;
  }

  .nxt-p p,
  .nxt-p2 p,
  .nxt-p4 p {
    font-size: 15px;
    text-align: left;
  }

  .nxt-heading h2 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
  }

  .last {
    padding-top: 80px;
  }

  .last-img {
    padding-top: 30px;
  }

  .last-img img {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .last-img p {
    font-size: 16px;
    padding: 20px;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
  }
}

/* Mobile Landscape (640px and below) */
@media (max-width: 640px) {
  /* Hide desktop section */
  .nxt-section4 {
    display: none;
  }

  /* Show mobile section */
  .nxt-section4-mobile {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 60px auto 40px auto;
    padding: 15px;
    text-align: left;
    max-width: 500px;
  }

  .nxt-heading-mobile h2 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 25px;
  }

  .nxt-img4-mobile img {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
    will-change: transform;
    cursor: pointer;
  }

  .nxt-p4-mobile p {
    font-size: 16px;
    text-align: left;
    line-height: 1.5;
  }

  .head {
    padding-top: 130px;
    text-align: center;
  }

  .head h1 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 70px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
  }

  .head-img {
    text-align: center;
  }

  .head-img img {
    max-width: 500px;
    padding: 0 15px;
  }

  .head-img p {
    font-size: 15px;
    padding: 15px;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
  }

  .nxt-section,
  .nxt-section2,
  .nxt-section3 {
    margin: 60px auto 40px auto;
    gap: 25px;
    text-align: left;
  }

  .nxt-img,
  .nxt-img2,
  .nxt-img3,
  .nxt-img4 {
    text-align: center;
  }

  .nxt-img img,
  .nxt-img2 img,
  .nxt-img3 img,
  .nxt-img4 img {
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }

  .nxt-p p,
  .nxt-p2 p,
  .nxt-p4 p {
    font-size: 14px;
    text-align: left;
  }

  .nxt-heading h2 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
  }

  .last-img img {
    max-width: 500px;
    padding: 0 15px;
  }

  .last-img p {
    font-size: 15px;
    padding: 15px;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
  }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
  /* Hide desktop section */
  .nxt-section4 {
    display: none;
  }

  /* Show mobile section */
  .nxt-section4-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 50px auto 30px auto;
    padding: 10px;
    text-align: left;
  }

  .nxt-heading-mobile h2 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 20px;
  }

  .nxt-img4-mobile img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
    will-change: transform;
    cursor: pointer;
  }

  .nxt-p4-mobile p {
    font-size: 15px;
    text-align: left;
    line-height: 1.5;
  }

  .head {
    padding-top: 120px;
    text-align: center;
  }

  .head h1 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 55px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
  }

  .head-img {
    padding-top: 25px;
    text-align: center;
  }

  .head-img img {
    max-width: 100%;
    margin-bottom: 25px;
    padding: 0 12px;
  }

  .head-img p {
    font-size: 14px;
    padding: 12px;
    line-height: 1.5;
    text-align: center;
    margin: 0 auto;
  }

  .nxt-section,
  .nxt-section2,
  .nxt-section3 {
    margin: 50px auto 30px auto;
    gap: 20px;
    padding: 10px;
    text-align: left;
  }

  .nxt-img,
  .nxt-img2,
  .nxt-img3,
  .nxt-img4 {
    text-align: center;
  }

  .nxt-img img,
  .nxt-img2 img,
  .nxt-img3 img,
  .nxt-img4 img {
    max-width: 100%;
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  .nxt-p p,
  .nxt-p2 p,
  .nxt-p4 p {
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
  }

  .nxt-heading h2 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: left;
  }

  .last {
    padding-top: 50px;
  }

  .last-img {
    padding-top: 20px;
  }

  .last-img img {
    margin-bottom: 20px;
    padding: 0 12px;
  }

  .last-img p {
    font-size: 14px;
    padding: 12px;
    line-height: 1.5;
    text-align: center;
    margin: 0 auto;
  }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
  /* Hide desktop section */
  .nxt-section4 {
    display: none;
  }

  /* Show mobile section */
  .nxt-section4-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px auto 25px auto;
    padding: 10px;
    text-align: left;
  }

  .nxt-heading-mobile h2 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 15px;
  }

  .nxt-img4-mobile img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
    will-change: transform;
    cursor: pointer;
  }

  .nxt-p4-mobile p {
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
  }

  .head {
    padding-top: 110px;
    text-align: center;
  }

  .head h1 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 45px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
  }

  .head-img p,
  .last-img p {
    font-size: 13px;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
  }

  .nxt-p p,
  .nxt-p2 p,
  .nxt-p4 p {
    font-size: 12px;
    text-align: left;
  }

  .nxt-heading h2 {
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
  }

  .nxt-section,
  .nxt-section2,
  .nxt-section3 {
    margin: 40px auto 25px auto;
    text-align: left;
  }
}

/* Hamburger Menu Styles */
.hamberger-menu:hover {
  transform: scale(1.1);
}

.hamburger-lines {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-lines .line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger to X animation */
.hamberger-menu.active .line1 {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamberger-menu.active .line2 {
  opacity: 0;
  transform: scaleX(0);
}

.hamberger-menu.active .line3 {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced overlay z-index to ensure it's above everything */
.overlay {
  z-index: 99999 !important;
}

/* Prevent body scroll when menu is open */
body.nav-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}
