/* Hero section */
#hero {
  color: #fff;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  justify-content: space-between;
  padding: 40px;
  overflow-x: hidden;
  overflow: hidden;
  background-image: url("/assets/star_astro3.jpg");
  background-color: #1f1f1f !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: default;
  font-family: "HelveticaNowDisplay-Black";
  padding-top: 80px;
}

#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#hero * {
  position: relative;
  z-index: 2;
}

.logo {
  z-index: 99 !important;
}

.hero-text {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Centers content vertically */
  align-items: flex-start;
  /* Aligns text to the left */
  max-width: 500px;
  height: 100vh;
  /* Ensures full height of the viewport */
  padding-left: 20px;
  /* Optional: Adds some spacing from the left */
}

.hero-text h2 {
  font-size: 40px;
  line-height: 1.2;
}

.hero-text p {
  margin: 20px 0;
  line-height: 1.6;
  font-family: "HelveticaNowDisplay" !important;
  color: #eee;
}

.cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: #aefe14;
  color: #1f1f1f;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  /* border-radius: 5px; */
}

.cta:hover {
  color: #000;
  background-color: rgb(255, 255, 255);
}

/* @media (min-width:768px){
  #hero{
    height: 70vh;
    padding-left: 20px;
    padding-top: 30px;
  }
  .hero-text{
    max-width: 390px;
    padding-top: 60px;
  }
  .hero-text h2{
    font-size: 35px;
  }
  .hero-text p{
    max-width: 350px;
    line-height: 1.5;
  }
} */

/* @media(max-width:480px){
 #hero{
  height: 100vh;
 }
 .hero-text{
  margin-top: 100px;
 }
  
} */

/* Section 2 */
/* Tagline */
.tagline {
  padding-top: 30px;
  background-color: #0f0f0f;
  color: #fff;
  display: flex;
  justify-content: center;
  text-align: center;
}

.tagline h2 {
  font-size: 28px;
  font-family: "HelveticaNowDisplay-Black";
}

.tagline img {
  max-width: 300px;
  height: auto;
}

@media (max-width: 768px) {
  .tagline {
    align-items: center;
  }

  .tagline h2 {
    font-size: 24px;
  }

  .tagline img {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tagline {
    align-items: center;
  }

  .tagline h2 {
    font-size: 22px;
  }

  .tagline img {
    width: 100%;
  }
}

.tagline-msg {
  background-color: #0f0f0f;
  overflow-y: hidden;
  color: #fff;
}

/* Grid section */
.image-grid {
  background-color: #0f0f0f;
  font-family: "HelveticaNowDisplay-Black", sans-serif;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  row-gap: 40px;
  padding: 40px 50px 20px 50px;
}

/* Each grid item */
.grid-item {
  position: relative;
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
  background-color: #e0e0e0;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* Glassmorphism layer */
.grid-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.grid-item:hover::after {
  opacity: 1;
}

/* Colored overlay */
.grid-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.grid-item:hover::before {
  opacity: 1;
}

/* Image */
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  opacity: 0.95;
}

.grid-item:hover img {
  transform: scale(1.03);
}

/* Overlay (full width always) */
.grid-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  text-align: center;
  z-index: 3;
  transition: all 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

/* Shift overlay to center (but keep full width) */
.grid-item:hover .overlay {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 0px !important;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Overlay text */
.grid-item .overlay h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

/* Flat hover style – no 3D transform or shadows */
.grid-item:hover {
  transform: none;
  box-shadow: none;
}

.grid-item:active {
  transform: none;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 480px) {
  .image-grid {
    padding-left: 25px;
    padding-right: 25px;
  }
}


/* Section 3 */
.section3 {
  font-family: "HelveticaNowDisplay-Black";
  margin: 0;
  padding: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  padding: 20px;
  /* margin: 10px; */
}

.box {
  display: none;
  flex: 1;
  max-width: 300px;
  height: 400px;
  overflow: hidden;
  margin: 10px;
  padding: 30px;
  margin-left: 20px;
  margin-right: 20px;
  border: 3px solid;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0px 0px 10px #000;
  /* opacity: 0;*/
  transform: scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* border-image: linear-gradient(180deg, #88FF00, #0091AD) 2; */
}

.box.active {
  display: block;
  /* opacity: 1;*/
}

.box:hover {
  transform: scale(1.01);
}

.box h3 {
  font-size: 18px;
  margin: 0 0 15px;
}

.box p {
  font-family: "HelveticaNowDisplay";
  font-size: 16px;
  line-height: 1.5;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: lightgrey;
  cursor: pointer;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  /* border-radius: 50%; */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  /* margin: -5px; */
}

.arrow:hover {
  color: darkgrey;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

@media (min-width: 768px) {
  .box {
    display: flex;
    flex-direction: column;
    width: 400px;
    margin-left: 6px;
    margin-right: 6px;
  }

  .arrow {
    display: none;
  }

  .container {
    flex-direction: row;
  }

  .box {
    display: block;
  }
}

@media (max-width: 768px) {
  .box p {
    line-height: 1.2;
  }

  .box h3 {
    margin-bottom: 10px;
  }
}

@media (max-width: 390px) {
  .arrow {
    margin: -12px;
  }
}

/* Section 4 */

.section-4 {
  font-family: "HelveticaNowDisplay-Black";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #fff;
}

.container-4 {
  /* padding:20px 0 20px 0; */
  max-width: 1200px;
  margin: auto;
  background: #fff;
}

.header {
  margin-left: 50px;
  margin-right: 50px;
  padding-top: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 28px;
  color: #020202;
  font-weight: normal;
}

.header p {
  font-size: 24px;
  color: #020202;
  line-height: 1.5;
  font-family: "HelveticaNowDisplay";
  padding-top: 5px;
}

.feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  background: #f6f3f3;
  /* padding: 20px; */
  /* border: 1px solid #ddd; */
  gap: 15px;
  margin-bottom: 25px;
  margin-left: 40px;
  margin-right: 40px;
}

.feature img {
  padding: 0;
  flex-shrink: 0;
  width: 300px;
  height: 170px;
  object-fit: cover;
}

.feature-content {
  padding-left: 20px;
  flex: 1;
  text-align: left;
}

.feature h3 {
  color: #020202;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
}

.feature p {
  color: #020202;
  line-height: 1.3;
  font-size: 18px;
  font-family: "HelveticaNowDisplay";
}

@media (max-width: 768px) {
  .header {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 20px;
  }

  .header h1 {
    font-size: 34px;
  }

  .header p {
    padding-top: 10px;
    font-size: 18px;
    line-height: 1.4;
  }

  .feature {
    padding: 20px;
    margin: 20px;
    flex-direction: column;
    text-align: center;
  }

  .feature img {
    width: 100%;
    height: auto;

    /* margin-bottom: 10px; */
  }

  .feature-content {
    text-align: center;
    padding-left: 0;
  }
}

/* Section 5 */
.cta1 {
  overflow: hidden;
  font-family: "HelveticaNowDisplay-Black";
  background-color: #fff;
  /* margin-top: 30px; */
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  color: #020202;
  text-align: center;
  align-items: center;
  padding: 30px 30px 0;
}

.cta1 h2 {
  margin: 15px 30px 15px 30px;
  font-size: 22px;
  color: #fff;
}

.button-border {
  /* height: 80px;
  width: 225px; */
  /* background-color: #fff; */
  display: inline-flex;
  justify-content: center;
  align-content: center;
  margin-bottom: 20px;
}

.cta1 a {
  display: inline-block;
  margin: 5px;
  padding: 5px;
  background: #aefe14;
  color: #1f1f1f;
  text-decoration: none;
  font-weight: bold;
  border: 3px solid #1f1f1f;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out,
    border-color 0.3s ease-in-out;
}

.cta1 a:hover {
  background-color: #fff;
  color: #0f0f0f;
  border-color: #020202;
  /* Optional: Smooth border color transition */
}

/* Section 6 */
.ourotherservices {
  margin: 0;
  padding: 0;
  /* padding-top: 25px; */
  background-color: #fff;
  color: #020202;
  font-family: "HelveticaNowDisplay-Black";
  display: flex;
  /* justify-content: center; */
  align-items: center;
  height: 50%;
  padding-bottom: 15px;
  flex-direction: column;
}

.head-ser {
  font-family: "Helvetica-bold";
  font-weight: 500;
  font-size: 22px;
  color: #1f1f1f;
  text-transform: capitalize;
  padding-bottom: 10px;
}

.body-ser {
  font-family: "Poppins", sans-serif;
  color: #616161;
  font-size: 14px;
}

.know-more-ser {
  display: flex;
  color: #1f1f1f;
  position: relative;
  text-decoration: none;
  font-size: 1rem;
  user-select: none;
  width: max-content;
  font-family: "Helvetica-bold" !important;
  padding-top: 20px;
  cursor: grab;
}

.know-more-ser:active {
  cursor: grabbing;
}

.know-more-ser::before {
  content: "";
  position: absolute;
  width: max-content;
  height: 2px;
  border-radius: 4px;
  background-color: #0f0f0f;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.know-more-ser::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: #0f0f0f;
  bottom: 0;
  left: 0;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.know-more-ser:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.know-more-ser:hover::after {
  transform-origin: right;
  transform: scaleX(1);
}

.scroller-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  width: 80vw;
}

.scroller-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* padding: 20px; */
  scrollbar-width: thin;
  scrollbar-color: rgba(5, 4, 4, 0.5) transparent;
  width: 100%;
  overflow-y: hidden;
}

.scroller-container::-webkit-scrollbar {
  height: 10px;
}

.scroller-container::-webkit-scrollbar-track {
  background: transparent;
}

.scroller-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.scroller-item {
  flex: 0 0 auto;
  width: 440px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  align-items: start;

  scroll-snap-align: center;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale linear both;
  animation-timeline: view();
  animation-range: entry 20% cover 50%;

  border: 1px solid #69696914;
  background-color: #f1f1f1;
  border-radius: 17px;
  padding: 15px 30px;
  margin: 15px;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* For mobile screens */
@media (max-width: 768px) {
  .scroller-item {
    width: 90%;
    max-width: none;
  }

  .head-ser {
    font-size: 18px;
    overflow: hidden;
  }

  .body-ser {
    font-size: 12px;
    overflow: hidden;
  }

  .know-more-ser {
    padding-top: 10px;
  }
}

/* Additional tweaks for very small devices */
@media (max-width: 480px) {
  .scroller-container {
    padding: 10px;
  }

  .scroller-item {
    padding: 10px;
  }
}