html {
  scroll-behavior: smooth;
}


body {
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;


}


.hero-row {
  position: relative;
  /* enable absolute positioning inside */
  display: grid;
  text-align: center;
  /* optional for centered text */
  gap: 32px;
  /* Adjust space between box and logo */
  margin-top: 70px;
  margin-bottom: 200px;
}

.brand-name {
  font-size: 5.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-weight: 700;
  letter-spacing: 4px;
}

.cinzel-name {
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  text-align: left;
  position: relative;
  overflow: hidden;
  z-index: 10;

}

/* Start letters (G, O) */
.letter.start {
  color: #f8f9fa;
  /* Dark navy blue */
  text-shadow: 1px 1px 0px #dee2e6;
}

.letter.o {
  color: #f8f9fa;
  /* Dark navy blue */
  text-shadow: 5px 1px 0px #dee2e6;
}

/* Middle letters (I, N, A, U) */
.letter.middle:nth-child(3) {
  /* I */
  color: #f8f9fa;
  /* Bright yellow */
  text-shadow: 1px 1px 0px #dee2e6;
}

.letter.middle:nth-child(4) {
  /* N */
  color: #f8f9fa;
  /* Warm orange */
  text-shadow: 1px 1px 0px #dee2e6;
}

.letter.middle:nth-child(5) {
  /* A */
  color: #f8f9fa;
  /* Bright yellow */
  text-shadow: 1px 1px 0px #dee2e6;
}

.letter.middle:nth-child(6) {
  /* U */
  color: #f8f9fa;
  /* Warm orange */
  text-shadow: 1px 1px 0px #dee2e6;
}

/* End letters (T) */
.letter.end {
  color: #f8f9fa;
  /* Vibrant blue */
  text-shadow: 1px 1px 0px #dee2e6;

}



@media (max-width:200px) {
  .hero-row {
    margin-right: 0;
    /* Don't shift it off-screen */
    margin-left: 0;
    width: 100%;
    /* Fill available space */
    box-sizing: border-box;
    /* Respect paddings */
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    justify-content: center;
    align-items: center;
  }
}

/* Responsive styles */

@media (max-width: 1024px) {
  .brand-name {
    font-size: 4rem;
    letter-spacing: 3px;
    justify-content: center;
    align-items: center;
  }

  .letter.start {
    text-shadow: 4px 1px 0px #001247;
  }

  .letter.middle:nth-child(3) {
    text-shadow: 4.5px 1px 0px #001247;
  }

  .letter.middle:nth-child(4),
  .letter.middle:nth-child(5),
  .letter.middle:nth-child(6) {
    text-shadow: 2.5px 1px 0px #001247;
  }

  .letter.end {
    text-shadow: 4px 1px 0px #001247;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 3rem;
    letter-spacing: 2px;
    justify-content: center;
    align-items: center;
  }
}


.montserrat-tagline {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
  z-index: 10;
  height: 100px;
  /* or auto if you want natural height */
}



.tag-1 {
  position: absolute;
  left: auto;
  /* Move independently */
  top: -15px;
  width: 50%;
  font-size: 1.5rem;
  color: #001247;
  border-radius: 10px;
  background-color: #1976d2;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 7px;
  padding-right: 7px;
  z-index: 20;
}



/* Responsive adjustments for tablets and smaller screens */
@media (max-width: 1024px) {
  .montserrat-tagline {
    width: 100%;
    height: auto;
    /* allow flexible height */
    justify-content: center;
    align-items: center;
  }

  .tag-1 {
    left: auto;
    font-size: 1.3rem;
    width: 100%;
  }

}

/* Responsive adjustments for mobile */
@media (max-width: 640px) {
  .montserrat-tagline {
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
  }

  .tag-1 {
    position: static;
    /* stack normally */
    width: 100%;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;

  }

}



/* marquee */

#marquee-section {
  width: 1200px;
  height: 800px;
  background: #0d1b2a;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 16px;
  z-index: 0;
  position: absolute;
  margin-left: 0px;


}

.marquee-inner {
  width: 70%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  transform: rotateX(58deg) rotateY(0deg) rotateZ(45deg);
  position: absolute;
  left: 425px;
  bottom: 0px;


}

#marquee-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  align-items: end;
  align-content: end;
  width: 100%;


}

.column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  height: 75%;
  position: relative;
  animation: smoothOscillate 20s ease-in-out infinite both alternate;

}

.marquee-img {
  width: 230px;
  height: 160px;
  border-radius: 16px;
  background: #fca311;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.3rem;
  font-family: Arial, sans-serif;
  text-align: center;
  color: #001247;
  user-select: none;
  z-index: 0;
  box-shadow: 0 1px 1px 0 rgba(255, 255, 255, 0.5);

}

.marquee-img .text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  padding-right: 5px;
  z-index: 0;
}

.marquee-img .fas {
  font-size: 1.2rem;
  /* Adjust icon size */
  color: #001247;
  /* Match text color */
  z-index: 0;
}

@keyframes smoothOscillate {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100px);
  }

}

/* Default (Desktop) = your current code */



/* Tablets */
@media (max-width: 992px) {
  #marquee-section {
    width: 100%;
    height: 600px;
    border-radius: 12px;
  }

  .marquee-inner {
    width: 70%;
    left: 80px;
    transform: rotateX(50deg) rotateZ(35deg);
  }

  .marquee-img {
    width: 180px;
    height: 120px;
    font-size: 1rem;
  }
}

/* Big Mobile (landscape phones) */
@media (max-width: 768px) {
  #marquee-section {
    height: 600px;
    border-radius: 10px;
  }

  .marquee-inner {
    width: 80%;
    left: 0;
    transform: rotateX(48deg) rotateZ(30deg);
  }

  #marquee-container {
    gap: 16px;
  }

  .marquee-img {
    width: 150px;
    height: 100px;
    font-size: 0.9rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  #marquee-section {
    height: 600px;
    border-radius: 8px;
  }

  .marquee-inner {
    width: 90%;
    transform: rotateX(45deg) rotateZ(25deg);
    left: 0;
  }

  #marquee-container {
    grid-template-columns: 1fr; /* single column */
    gap: 12px;
  }

  .column {
margin-bottom: auto;
  }

  .marquee-img {
    width: 120px;
    height: 80px;
    font-size: 0.8rem;
  }
}



@keyframes appear {
  from {
    opacity: 0;
    scale: 0.4;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

.company {
  color: black;
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;
  margin-top: auto;
  position: relative;
  margin-bottom: 0px;
  z-index: 10;
}

.question {
  display: flex;
  letter-spacing: 2px;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  padding-left: 3px;
  margin-left: 5px;
  z-index: 10;
}

.question-class {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding-left: 10px;
  padding-top: 10px;
  background: #fffbe6;
}

.company-text {
  color: #001247;
  visibility: hidden;
  /* hidden initially */
  opacity: 0;
  /* start fully transparent */
  transform-origin: left center;
  /* for scale and translate origin */
  font-style: bold;

}

.company-text.animate-text {
  animation: slide-left 2s linear reverse forwards;
  visibility: visible;
}

@keyframes slide-left {
  100% {
    transform: scale(-0.8) translateX(100%);
    opacity: 0;
  }

  90% {
    opacity: 0;
  }

  70% {
    opacity: 0;
    transform: scale(-0.5) translateX(400%);
  }

  0% {

    opacity: 1;
  }
}

/* Keyframes moving element from -100% to 0% vertically */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0%);
  }
}

/* To create the staggered delay effect */
.company-text:nth-child(1) {
  animation-delay: 0ms;
}

.company-text:nth-child(2) {
  animation-delay: 50ms;
}

.company-text:nth-child(3) {
  animation-delay: 100ms;
}

/* ...repeat for as many elements as you have */




.first-text {
 background: #fffbe6 ;
  border-radius: 10px;
  padding:7px 7px;
  max-width: 90%;
  opacity: 90%;
  margin-top: 10px;
}

@media (max-width: 600px) {

  .question,
  .question-class {
    flex-direction: column;
    align-items: stretch;
    padding-right: 5px;
    padding-left: 5px;
    margin-left: 0;
    margin-bottom: 10px;
    text-align: center;
  }

  .first-text {
    max-width: 100%;
    font-size: 1em;
    padding: 6px 10px;
  }
}


.bg_for_company {
  color: #002147;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 8px;
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 0px;
  gap: 5px;
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
}


.second-text {
  background-color: #fffbe6 ;
  border-radius: 10px;
  border: #001247 1px solid;
  flex: 1;
  /* Equal width in flex */
  min-width: 250px;
  /* Prevent overly narrow boxes */
  position: relative;
  /* For animation positioning */
  transform: translateX(100vw);
  /* Start off-screen */
  opacity: 0;
  /* Hidden until triggered */
  will-change: transform, opacity;
  /* Optimize animation performance */
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 13px;
  padding-top: 15px;
}

.third-text {
  background-color: #fffbe6 ;
  border-radius: 10px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 15px;
  padding-top: 13px;
border: #001247 1px solid;
  flex: 1;
  /* Equal width in flex */
  min-width: 250px;
  /* Prevent overly narrow boxes */
  position: relative;
  /* For animation positioning */
  transform: translateX(-100vw);
  /* Start off-screen */
  opacity: 0;
  /* Hidden until triggered */
  will-change: transform, opacity;
  /* Optimize animation performance */
  margin-bottom: auto;
}

/* Animation class applied by JavaScript */
.third-text.animate-left {
  animation: slide-in-left 2s linear forwards;
  position: relative;
  /* Revert to flex position after animation */
}

.second-text.animate-right {
  animation: slide-in-right 2s linear forwards;
  position: relative;
  /* Revert to flex position after animation */
}

/* Animation for third-text */
@keyframes slide-in-left {
  from {
    transform: translateX(-100vw);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    /* End at natural flex position */
    opacity: 1;
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(100vw);
    /* Start from left edge of viewport */
    opacity: 0;
  }

  to {
    transform: translateX(0);
    /* End at natural flex position */
    opacity: 1;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .bg_for_company {
    flex-direction: column;
    /* Stack vertically on mobile */
    gap: 0px;
    /* Larger gap for clarity */
    padding: 0px;
     animation: none !important;
    transition: none !important;

  }

  .second-text,
  .third-text {
    min-width: 100%;
    /* Full width on mobile */
    font-size: 0.9rem;
    /* Slightly smaller text */
    justify-content: center;
    align-items: center;
       /* Disable animation */
    animation: none !important;
    transition: none !important;

    /* Reset position and visibility */
    transform: translateX(0) !important;
    opacity: 1 !important;
   
  }
}

.user-contents {
  display: inline-items;
  letter-spacing: 2px;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
}

.auto-question {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  padding-top: 20px;
}

.auto-answers {
  display: inline-flex;
  text-align: center;
  justify-content: center;
  /* centers items horizontally */
  align-items: center;
  margin-left: 0px;
  padding-top: 7px;
  width: 100%;
  font-style: bold;

}

.faster {
  color: #001247;
  font-size: 2rem;
  box-shadow: 0 10px 15px rgba(255, 255, 255, 0.5);
  margin-left: 10px;
  background-color: #e5d8c2;
}

.smarter {
  color: #001247;
  font-size: 2rem;
  box-shadow: 0 10px 15px rgba(255, 255, 255, 0.5);
  background-color: #e5d8c2;
  margin-left: 20px;
}

.time-saver {
  color: #001247;
  font-size: 2rem;
  box-shadow: 0 10px 15px rgba(255, 255, 255, 0.5);
  margin-left: 20px;
  background-color: #e5d8c2;
}

.reduce-error {
  color: #001247;
  font-size: 2rem;
  box-shadow: 0 10px 15px rgba(255, 255, 255, 0.5);
  background-color: #e5d8c2;
}

.auto-answers h4 {
  padding: 6px;
  transform: rotate(180deg) translateY(-100px);
  /* upside down, AND floated up */

}

@media (max-width: 900px) {
  .auto-answers {
    gap: 16px;
    max-width: 100%;
    padding: 5px;
    justify-content: center;
    align-items: center;
  }

  .auto-answers h4 {
    font-size: 1rem;
    min-width: 80px;
    padding: 6px 8px;
    margin-left: 0px;
  }
}

@media (max-width: 600px) {
  .auto-question {
    padding-top: 2px;
    font-size: 1.1rem;
  }

  .auto-answers {
    gap: 10px;
    flex-direction: column;
    /* Stack cards vertically on tiny screens */
    justify-content: center;
    align-items: center;
  }

  .auto-answers h4 {
    font-size: 0.95rem;
    min-width: 90px;
    padding: 5px 8px;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
  }
}


.service-header {
  font-size: 2rem;
  font-weight: 700;
  margin: 40px auto 40px;
  font-family: 'Inter', sans-serif;
  color: black;
  text-align: center;
  padding-top: 7px;
  max-width: 52%;


}


.wf-service {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  width: 70%;
  text-align: left;
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;

}


.af-service {
  max-width: 70%;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;

}


.hr-service {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  max-width: 70%;
  text-align: left;
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;

}

.csa-service {
  max-width: 70%;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  text-align: right;
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;

}

.ba-service {
  max-width: 70%;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  text-align: right;
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;
}

.ma-service {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  max-width: 70%;
  text-align: left;
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;
}

.one,
.three,
.five {
  padding-left: 20px;
  display: flex;
  justify-content: flex-start;

}

.two,
.four,
.six {
  padding-right: 20px;
  display: flex;
  justify-content: flex-end;
}

.one h3,
.three h3,
.five h3 {
  background-color: #14213d;
  color: #fafafa;
}

.two h3,
.four h3,
.six h3 {
  background-color: #fca311;
  color: #001247;
}

.one p,
.two p,
.three p,
.four p,
.five p,
.six p {
  color: black;
  font-weight: 600;
}

/* products grids */
.product-boxes {
  position: relative;
  /* establish containing block for absolute children */
  width: 240px;
  /* width same as box */
  height: 130px;
  /* height same as box */
  margin: 200px auto;
  /* center container */
  perspective: 1900px;
  overflow: visible;

}

.box {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 130px;
  background: #e0e0e0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  user-select: none;
  box-sizing: border-box;
  transform: none;

}


.pro-1 {
  left: 39px;
  top: -20px;
  z-index: 10;
  background-color: #4B164C;
  color: #fafafa;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transform: translateX(0) translateY(0);
  transition: box-shadow 0.3s ease;
}

.pro-2 {
  padding-right: 30px;
  left: -10px;
  top: 0px;
  z-index: 10;
  background-color: #a4863d;
  color: #fafafa;
  font-family: 'Inter', sans-serif;
}

.pro-3 {
  left: 39px;
  top: 20px;
  z-index: 10;
  background-color: #863433;
  color: #fafafa;
  font-family: 'Inter', sans-serif;}

.pro-4 {
  left: -39px;
  top: -20px;
  z-index: 10;
  background-color: #1c393f;
  color: #fafafa;
  font-family: 'Inter', sans-serif;
}

.pro-5 {
  padding-left: 10px;
  left: 10px;
  top: 0px;
  z-index: 10;
  background-color: #0e300f;
  color: #fafafa;
  font-family: 'Inter', sans-serif;
}

.pro-6 {
  left: -39px;
  top: 20px;
  z-index: 10;
  background-color: #212d58;
  color: #fafafa;
  font-family: 'Inter', sans-serif;
}


/* The glowing animated border */
.pro-1::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 18px;
  padding: 3px;
  /* width of the border */
  background:
    linear-gradient(270deg, #4B164C, #744675, #7f5182, #4B164C);
  background-size: 600% 600%;

  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: glowingBorder 20s linear infinite;
  z-index: -1;

}

.pro-2::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 18px;
  padding: 3px;
  /* width of the border */
  background:
    linear-gradient(270deg, #a4863d,
      /* base color */
      #b59f51,
      /* slightly lighter gold */
      #a09449,
      /* warm pastel yellow */
      #a4863d);
  background-size: 600% 600%;

  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: glowingBorder 20s linear infinite;
  z-index: -1;

}

.pro-3::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 18px;
  padding: 3px;
  /* width of the border */
  background:
    linear-gradient(270deg, #863433,
      /* warm red */
      #a25252,
      #8b4a4a,
      #863433);
  background-size: 600% 600%;

  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: glowingBorder 20s linear infinite;
  z-index: -1;

}

.pro-4::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 18px;
  padding: 3px;
  /* width of the border */
  background:
    linear-gradient(270deg, #1c393f,
      #3a5663,
      #3a6678,
      #1c393f);
  background-size: 600% 600%;

  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: glowingBorder 20s linear infinite;
  z-index: -1;

}

.pro-5::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 18px;
  padding: 3px;
  /* width of the border */
  background:
    linear-gradient(270deg, #0e300f,
      #2b5a24,
      #3a7633,
      #0e300f);
  background-size: 600% 600%;

  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: glowingBorder 20s linear infinite;
  z-index: -1;

}

.pro-6::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 18px;
  padding: 3px;
  /* width of the border */
  background:
    linear-gradient(270deg, #212d58,
      #41518d,
      #384484,
      #212d58);
  background-size: 600% 600%;

  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: glowingBorder 20s linear infinite;
  z-index: -1;

}

/* Animate the gradient */
@keyframes glowingBorder {
  0% {
    background-position: 0% 10%;
  }

  100% {
    background-position: 600% 50%;
  }
}

/* Position title in the center */
.title {
  background: #F5F5F5;
  color: #5b0302;
  font-weight: bold;
  font-size: 1.2rem;
  max-width: 240px;
  width: 50vw;
  z-index: 20;
  cursor: pointer;
  margin: 0 auto;
  text-align: center;
  padding: 0.5em;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

/* Optional: Enhance hover effect */
.title:hover {
  box-shadow:
    0 0 8px 4px #fafafa;
  transform: translateY(-8px) scale(1);
}


.stop-3d {
  animation: none !important;
  transform: none !important;
}




/* Responsive media queries for smaller screens */
@media (max-width: 430px) {
  body {
    overflow-x: hidden;
  }

  .product-boxes {
    height: 13vh;
    margin-right: 5.5vh;

  }

  .box {
    max-width: 120px;
    height: 14vh;
    font-size: 0.8rem;
    left: auto
  }

  .hover-box1 .pro-1 {
        left: 119px;
        top: -15px;
  }

  .hover-box2 .pro-2 {
        left: 106px;
        top: 0;
  }

  

  .hover-box3 .pro-3 {
        left: 118px;
        top: 15px;
  }

  .hover-box4 .pro-4 {
          left: -80px;
        top: -15px;
  }

  .hover-box5 .pro-5 {
        left: -62px;
        top: 0%;
  }

  .hover-box6 .pro-6 {
              left: -80px;
        top: 15px;
  }

 

  .title {
  font-size: 0.8rem;
        margin-left: 28px;
        max-width: max-content;
  }

  .disclaimer {
    font-size: small;
  }
}

.hover-box1,
.hover-box2,
.hover-box3,
.hover-box4,
.hover-box5,
.hover-box6 {
  user-select: none;
  transform: translateX(0) translateY(0);
}


/* last part */
.last-part {
  font-family: 'Inter', sans-serif;
  color: black;
  line-height: 1.6;
    display: flex;
  flex-direction: column;
  max-width: 1200px;
  padding: 20px 20px;
  box-sizing: border-box;

}

/* Base styles for titles and sections */

.last-part-section-1,
.last-part-section-2,
.last-part-section-3,
.last-part-section-4,
.last-part-section-5 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  /* Adjust font sizes and margins as you like */
  font-weight: 600;
  color: #001247;
}

/* Animate when visible */
.content-title,
.content-section1,
.content-section2,
.content-section3,
.content-section4,
.content-section5 {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.last-part-section-1 h2,
.last-part-section-2 h2,
.last-part-section-3 h2,
.last-part-section-4 h2 {
  margin-top: -10px;
  padding-bottom: 10px;
}

/* Paragraphs inside last-part sections */

.last-part-section-2 p
 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animate paragraphs when their section is visible */
.last-part-section-2.content-section2 p,
.last-part-section-5.content-section5 p {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.last-part-title.content-title p {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Lists inside last-part sections */
.last-part-section-1 ul,
.last-part-section-2 ul,
.last-part-section-3 ul,
.last-part-section-4 ol {

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  color: #fafafa;
}

/* Animate lists when visible */
.content-section1 ul,
.content-section2 ul,
.content-section3 ul,
.content-section4 ol {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Margin between list items */
.last-part-section-1 ul li,
.last-part-section-2 ul li,
.last-part-section-3 ul li,
.last-part-section-4 ol li {
  margin-bottom: 10px;
  list-style: none;
}

.last-part hr {
  border: 0;
  border-top: 2px solid #ebedf3;
  /* top border only */
  width: 80%;
  /* Makes the line 50% of the container’s width */
  margin: 32px auto;
  /* Centers the line horizontally */
  /* Remove flex, justify-content, align-items, text-align — not needed */
}

/* Highlight styling */
.highlight {
  color: #f2a65a;
  font-weight: 700;
}

/* Hover effect on list items */
.last-part ul li:hover,
.last-part ol li:hover {
  color: #fd7e14;
  transform: translateX(6px);
  transition: all 0.3s ease;
}


.last-one, .last-two, .last-three, .last-four {
  width: 100%;
  max-width: 600px; /* max width you want for content */
}

/* Left align one and three */
.last-one, .last-three {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

/* Right align two and four */
.last-two, .last-four {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.last-part-title {
  text-align: center;
  max-width: 800px;   /* or 70%, or any value */
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;     /* padding for small screens */
  box-sizing: border-box;
}


/* Responsive: center all on smaller screens */
@media (max-width: 768px) {
  .last-part-title {
    max-width: 90%;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .last-part-title {
    max-width: 95%;
    padding: 0 15px;
    font-size: 1.3rem; /* smaller font on very small screens */
  }
}

/* final part */
.final-part {
  text-align: center;
  padding-right: 20px;
  max-width: 100%;
  padding-left:30px;
  padding-right: 30px;
  color: floralwhite;
}

/* Flex container for side-by-side layout on wider screens */
.one-final {
  display: flex;
  justify-content: flex-start;
  /* right align for two-final */
  text-align: left;
  /* Keep content left-aligned inside */
   animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;
  line-height: 2;
  padding-top: 20px;
}



.two-final {
   display: flex;
  justify-content: flex-start;
  /* right align for two-final */
  text-align: left;
  /* Keep content left-aligned inside */
   animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;
   line-height: 2;
}

.three-final {
  display: flex;
  justify-content: flex-start;
  /* right align for two-final */
  text-align: left;
  /* Keep content left-aligned inside */
   animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 38%;
   line-height: 2;
}

.three-final h3 {
  color: #eee2d6;
  background-color: #f2542d;
  max-width: 59%;
  text-align: center;

}

.one-final h3,
.two-final h3,
.three-final h3 {
  display: inline;
  margin: 0 auto;
  text-align: center;
  width: fit-content; /* or a percentage if you want it wider */
  padding: 7px;
}


.final-part-title {
  text-align: center;
  max-width: 558px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Hover effect on list items */
.final-part ul li:hover,
.final-part ol li:hover {
  color: #fd7e14;
  transform: translateX(6px);
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
   .one-final h2, .two-final h2,.three-final h2 {
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    font-size: 1.2rem;
  }
}


