html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Everett';
  src: url('TWKEverett-Regular.otf') format('truetype'); /* or format('opentype') */
}

.form-generation {
  position: relative;
  width: 95vw;           /* Increase width to nearly full viewport width */
  max-width: 900px;      /* Increase max-width for large screens */
  height: auto;          /* Let content decide height */
  aspect-ratio: 4 / 3;   /* Keep aspect ratio */
  margin: 0 auto;        /* Center horizontally */
}


.mySlides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;          /* Fill the parent with maintained aspect */
  object-fit: cover;
  border: none;
}

.section:has(.form-generation) {
  flex: 1;
  gap: 10px; /* Add space between image and content */
  scroll-snap-align: start;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: row; /* Keep content and image side by side */
  justify-content: flex-start;
  align-items: flex-start;
  font-family: "Everett", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  width: 100%; /* Full width of the section */
  box-sizing: border-box; /* Ensure padding doesn't affect width calculation*/
  height: auto; /* Allow the section to take height based on its content */
}
/* Target sections that only contain an image */
.section .image:only-child {
  /* border: 2px solid red; Example: Add a red border to sections with only an image */
  flex: none;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
}

/* Ensure the section hugs the image */
.section:has(.image:only-child) {
  /* border: 2px solid red; Add red border */
  flex: none;
  gap: 10px; /* Space between image and content (if any) */
  scroll-snap-align: start;
  border-radius: 8px;
  padding: 0; /* Remove padding to hug the image */
  display: flex;
  justify-content: center; /* Center content inside the section */
  align-items: center; /* Vertically center content */
  width: auto; /* Let the section width be based on its content */
  height: auto; /* Let the section height be based on the image height */
}

/* Scale down the image */
.section:has(.image:only-child) .image img {
  max-width: 100%; /* Limit image width */
  max-height: 200px; /* Set a max-height for the image */
  object-fit: contain; /* Ensure image scales within the max-width and max-height */
  border-radius: 4px; /* Optional: Add rounded corners to the image */
}
.list,
.list > .animated-element {
  position: relative !important; /* Ensures that the items stay within the container */
}

.hero {
  width: 100%;
  overflow-x: hidden;
  padding-top: 75px;
}
.project-details::-webkit-scrollbar {
  display: none;
}
body {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body::-webkit-scrollbar {
  display: none;
}
.hidden {
  display: none; /* Hides the element */
}

h1 {
  text-transform: uppercase;
  font-family: "Everett", sans-serif;
  font-size: 36px !important;
  margin: 0px;
  font-weight: bold;
}
.container-fluid {
  width: 100%;
  overflow-x: hidden;
}

.container-fluid.default-padding {
  padding-right: 100px;
  padding-left: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  box-sizing: border-box;
}
.navbar-toggler {
  border: none !important;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

#offcanvasNavbar {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}
#navbarNav {
  font-family: "Everett", serif;
  font-size: 16px;
}
/* .container-fluid{
    padding-right: 50px; 
    padding-left: 50px;  } */
.spacer {
  height: 100vh;
}
.navbar-brand {
  letter-spacing: 5px;
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: bold;
  margin: 0px;
}
.navbar-brand span {
  display: inline-block;
}
.list {
  /* margin-top: 45px; */
  height: auto;
  margin-top: 10px;
  margin-bottom: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

/* .animated-element {
    margin: 25px;
    scale: 1.4;
    padding: 10px;       
    width: 300px;
    height: auto;
}

.animated-element.selected {
    scale: 1.4;
    z-index: 1;
}


.image img{
    border-radius: 5px;
    border: none;
    width: 300px;
    height: auto;
} */

.image img {
  border: none;
  width: 400px; /* Larger width for the image */
  height: auto; /* Maintain aspect ratio */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for aesthetics */
}

.animated-element > div {
  /* flex-grow: ; */
  max-width: 325px; /* Restrict the width for the text section */
}

body {
  font-family: "Everett", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.animated-element {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; /* Keep content centered horizontally */
  flex-wrap: nowrap; /* Prevent wrapping */
  padding: 25px; /* Adjust padding as needed */
  gap: 20px; /* Space between image and text */
  width: 690px; /* Automatically adjust width to the content */
  max-width: 100%; /* Prevent overflow if content is too wide */
}

.animated-element.selected {
  scale: 1.2;
  z-index: 1;
}

.image img {
  border: none;
  width: 600px; /* Larger image width */
  /* height: auto; Maintain aspect ratio */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

.text-content {
  width: 25%; /* Restrict text width */
  margin-bottom: 5px;
  text-align: right; /* Align all text elements to the right */
}

.animated-element h2 {
  letter-spacing: 1px;
  display: flex;
  font-size: 26px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 10px;
  color: #333;
  font-family: "Everett", sans-serif;
  justify-content: flex-end; /* Align heading to the right */
}

.animated-element p {
  font-size: 1.5em;
  margin: 0;
  color: #555;
  text-align: right; /* Align paragraph text to the right */
}
.text-content h4 {
  text-transform: uppercase;
  font-family: "Everett", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2.5px;
}
.text-content p {
  font-family: "Everett", serif;
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
}

.project-title {
  /* display: flex;
    flex-direction: column; */
  align-items: center;
  font-family: "Everett" , sans-serif;
  font-size: 24px;
  font-weight: 600;
  /* margin-top: 5px; */
  margin-bottom: 5px;
  text-transform: uppercase;
}
.project-title img {
  width: 30%;
  height: 45%;
  object-fit: cover;
  margin-bottom: 5px;
}

.client-name {
  font-family: "Everett", sans-serif;
  font-size: 14px !important;
  /* font-weight: 600 !important; */
  color: darkgray;
  margin: 0;
}

.scrollable-sections::-webkit-scrollbar {
  display: none;
}

.scrollable-sections {
  position: relative;
  z-index: 1000;
  /* overflow: auto; */
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
  box-sizing: border-box;
  display: none;
  gap: 20px;
  height: 60vh;
  transform: none !important;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  visibility: hidden;
}
.scrollable-sections.active {
  display: flex;
  cursor: grabbing;
  margin: 40px;
  justify-content: normal;
  align-items: flex-start;
  padding-left: 45px;
  padding-right: 45px;
}

.scrollable-sections .image img {
  pointer-events: none;
}

.image img {
  width: 100%;
  height: 70%;
  object-fit: cover;
}

/* Common styling for all sections */

.section-with-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.section-with-image .image img {
  width: 100%;
  height: auto;
  max-width: none;
  min-width: 600px;
  max-height: 600px;
  border-radius: 10px;
}

.with-vertical-images {
  display: flex;
  gap: 20px;
  width: 100%;
}

.vertical-grid {
  display: flex;
  flex-direction: column;
  width: 30%; /* Adjusted grid width for smaller images */
  gap: 10px; /* Space between images */
}

/* Styling for individual images in the vertical grid */
.vertical-grid img {
  width: 100%; /* Full width within the vertical grid container */
  height: calc((100% - 20px) / 3); /* Divide height equally among 3 images */
  object-fit: cover;
  /* border-radius: 8px;  */
}

/* Content styling */
.section {
  flex: 0 0 100%;
  gap: 10px;
  margin: 20px;
  scroll-snap-align: start;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  font-family: "Everett", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  width: 140%; /* Increased width */
  box-sizing: border-box;
  height: auto;
}

.section .image {
  flex: 4;
  max-width: 80%;
  overflow: hidden;
}

.section .content {
  flex: 1;
  max-width: 20%;
  padding-left: 20px;
  display: flex !important;
 justify-content: flex-start;  /* Align horizontally to start */
  align-items: flex-start;
  box-sizing: border-box;
  font-family: "Everett", sans-serif;
  font-size: 14px;
  text-align: justify;
}


.section img {
  width: 100% !important; /* Ensure the image fills its container */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure image covers the space without distortion */
}

/* Optional: if you want the content div to have a minimum height based on its content */
.content p {
  margin: 0; /* Remove default margin for paragraphs */
  font-weight: normal !important; /* Optional: make text slightly bolder */
}

/* Optional styling for text inside the content */
.content h1,
.content p {
  margin: 0; /* Remove default margin for headings and paragraphs */
  padding: 0; /* Remove padding */
}

.footer {
  border-top: darkgray;
  border-width: 2px;
  border-top-style: solid;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}

.footer p {
  margin: 0;
  padding: 10px;
  font-size: 14px;
  font-family: "Everett", sans-serif;
}
.footer h4 {
  margin: 0;
  padding: 10px;
  font-size: 28px;
  font-family: "Everett", sans-serif;
  font-weight: 900;
}
.section-animated-element {
  display: flex;
  flex-direction: row;
}
.info-1 {
  display: flex; /* Use flexbox for alignment */
  flex-direction: row; /* Arrange content vertically */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  gap: 10px; /* Add space between image and content */
  scroll-snap-align: start;
  border-radius: 8px;
  padding-top: 3%;
  padding-bottom: 3%;

  width: auto; /* Full width of the section */
  box-sizing: border-box; /* Ensure padding doesn't affect width calculation */
  height: auto; /* Allow height to adjust to content */
}

.info-1-text-content {
  text-align: center; /* Center the text content */
  margin-bottom: 10px; /* Add space below the text content */
}

.info-1 img {
  height: 55vh;
  object-fit: contain; /* Ensure image fits nicely */
  border-radius: 8px; /* Optional: rounded corners for the image */
}

@media (min-width: 900px) and (max-width: 1320px) {
  .section {
    width: 100%; /* Increase overall section width */
  }

  .section .image {
    flex: 2;
    max-width: 75%; /* Adjust image width */
  }

  .section .content {
    flex: 1;
    max-width: 25%; /* Adjust content width */
  }
}

@media (max-width: 900px) {
  /* Prevent horizontal overflow on the body */
  body {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .info-1 img {
    height: 35vh;
    object-fit: contain; /* Ensure image fits nicely */
    border-radius: 8px; /* Optional: rounded corners for the image */
  }

  /* Ensure hero section takes up full width */
  .hero {
    width: 100%;
    overflow-x: hidden;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    box-sizing: border-box;
  }

  .image img {
  
    border: none;
    width: 100%; /* Larger width for the image */
    height: auto; /* Maintain aspect ratio */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for aesthetics */
  }

  .animated-element > div {
    max-width: 100%; /* Restrict the width for the text section */
  }

  body {
    font-family: "Everett", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
  }

  .animated-element {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start; /* Keep content centered horizontally */
    flex-wrap: nowrap; /* Prevent wrapping */
    margin: 0; /* Removed margin to eliminate gaps */
    padding: 10px; /* Adjust padding as needed */
    gap: 10px; /* Space between image and text */
    max-width: 100%; /* Prevent overflow if content is too wide */
  }
  .image img {
    border: none;
    width: 100%; /* Larger image width */
    /* height: auto; Maintain aspect ratio */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
  }

  .text-content {
    width: 100%; /* Restrict text width */
    margin-bottom: 5px;
    text-align: start;
    justify-content: flex-start;
    margin-top: 0px;
  }

  .animated-element h2 {
    display: flex;
    font-size: 1em;
    margin: 0;
    margin-bottom: 10px;
    color: #333;
    font-family: "Everett", sans-serif;
    justify-content: flex-start;
  }

  .animated-element p {
    font-size: 1.5em;
    margin: 0;
    color: #555;
    text-align: start;
  }
  .project-title {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    font-family: "Everett", sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 5px;
    text-transform: uppercase;
  }
  .project-title img {
    width: 10%;
    height: 25%;
    object-fit: cover;
  }

  /* Stack sections vertically for mobile */
  .section {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 100%; /* Full width on mobile */
    height: auto;
  }

  /* Adjust content padding and font size */
  .content {
    padding: 0;
    width: 100%;
    height: auto;
    font-size: 24px;
    /* box-sizing: border-box; */
  }

  /* Scrollable Sections adjustments */
  .scrollable-sections {
    overflow-x: auto; /* Enable horizontal scroll for small screens */
    /* white-space: nowrap; */
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
    display: none; /* Only show when active */
    gap: 20px;
    height: auto;
    overflow-y: hidden;
    cursor: grab;
  }

  /* Ensure scrollable sections images are responsive */
  .scrollable-sections .image img {
    width: 100%;
    height: auto;
  }

  /* Animated element adjustments */
  .animated-element {
    width: 100%;
    scale: 1;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  /* Responsive font sizes for headers */
  h1 {
    font-size: 18px;
  }

  h4 {
    text-transform: uppercase;
    font-family: "Everett", sans-serif;
    font-size: 16px;
  }
  .list {
    /* margin-top: 50px; */
    margin-bottom: 45px;
    gap: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0px;
  }

  .section .image {
    /* flex: 1; 50% width of the section */
    max-width: 100%; /* Ensure the image div takes up half of the section */
    overflow: hidden; /* Prevents image from overflowing */
  }
  .section .content {
    max-width: 100%;
    display: block;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    box-sizing: border-box; /* Ensure padding doesn't affect width calculation*/
    font-family: "Everett", sans-serif;
    font-size: 12px;
    padding: 0px;
    text-align: justify;
    width: 100%;
  }
  .container-fluid.default-padding {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
@media (min-width: 1920px) {
  .animated-element {
    display: flex;
    align-items: flex-start;
    justify-content: center; /* Keep content centered horizontally */
    flex-wrap: nowrap; /* Prevent wrapping */
    padding: 25px; /* Adjust padding as needed */
    gap: 20px; /* Space between image and text */
    width: 100%; /* Automatically adjust width to the content */
    max-width: 100%; /* Prevent overflow if content is too wide */
  }

  .animated-element.selected {
    scale: 1.2;
    z-index: 1;
  }

  .image img {
    
    border: none;
    width: 525px; /* Larger image width */
    /* height: auto; Maintain aspect ratio */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
  }

  .text-content {
    width: 8%; /* Restrict text width */
    margin-bottom: 5px;
    text-align: right; /* Align all text elements to the right */
  }
  .animated-element > div {
    /* flex-grow: ; */
    max-width: none; /* Restrict the width for the text section */
  }

  .animated-element h2 {
    display: flex;
    font-size: 1.2em;
    margin: 0;
    margin-bottom: 10px;
    color: #333;
    font-family: "Everett", sans-serif;
    justify-content: flex-end; /* Align heading to the right */
  }

  .animated-element p {
    font-size: 1.5em;
    margin: 0;
    color: #555;
    text-align: right; /* Align paragraph text to the right */
  }
  .text-content h4 {
    text-transform: uppercase;
    font-family: "Everett", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2.5px;
  }
  .text-content p {
    font-family: "Everett", serif;
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
  }

  .project-title {
    /* display: flex;
          flex-direction: column; */
    align-items: center;
    font-family: "Everett", sans-serif;
    font-size: 24px;
    font-weight: 600;
    /* margin-top: 5px; */
    margin-bottom: 5px;
    text-transform: uppercase;
  }
  .project-title img {
    width: 30%;
    height: 45%;
    object-fit: cover;
    margin-bottom: 5px;
  }

  .client-name {
    font-family: "Everett", sans-serif;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: darkgray;
    margin: 0;
  }
}
