@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Inter:wght@100..900&family=Thasadith:ital,wght@0,400;0,700;1,400;1,700&display=swap');
::-webkit-scrollbar {
    display: none;
}

html body {
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
    animation: fadeIn 5s ease-in-out forwards;
    opacity: 0;
    scroll-behavior: smooth;
}
@keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  /*nav*/
.navbar {
    position: fixed;
    display: flex;
    justify-content: center; /* Center items horizontally */
    z-index: 99;
    top: 0;          /* Attach to the top of the page */
    left: 0;         /* Position at the left edge */
    width: 100%;     /* Occupy full width of the page */
    background-color: transparent;
  }
  
  .menu-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .menu-links a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    font-family: "Thasadith", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: rgb(124, 124, 124);
  }
/* vertical text*/
.vertical{
    position: fixed;
    left: 0;
    top: 50vh;
    z-index: 99;
    writing-mode: vertical-lr;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 1px;
    user-select: none;  
}
.vertical a {
  text-decoration: none; 
}
.initial-text{
    color: rgb(193, 193, 193);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}
.hover-text {    
    position: absolute; /* Make it positionable within the container */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Key for centering */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: rgb(208, 55, 0);
  }
  
.vertical:hover .initial-text {
    opacity: 0;
  }
  
.vertical:hover .hover-text {
    opacity: 1;
  }
/*footer*/
.footer {
    position: fixed;
    right: 10px; /* Adjust the value to change the horizontal position */
    bottom: 0; /* Adjust the value to change the vertical position */
    z-index: 99;
    color: rgb(63, 63, 63);
    font-family: sans-serif;
    font-size: 15px; /* Change the font size to 15px */
    user-select: none;
    pointer-events: none;
}



/*pagecss*/
/* HERo */
.hero{
   display: flex;
   align-items: center;
   justify-content: center;
   height: 100svh;
}
.heroshot{
    width: 92%;
    height: 87%;    
    border-radius: 35px;
    box-shadow: 15px 15px 15px rgba(91, 91, 91, 0.415); 

}
.heroshot img{
    width: 100%;    /* Ensures image doesn't exceed container width */
    height: 100%;       /* Maintains aspect ratio */
    display: block;     /* Prevents extra space below the image */
    border-radius: 35px; /* Inherit border-radius from the parent (optional) */
    border: 5px solid rgb(255, 255, 255);
    object-fit: cover;
   
}
/*logos*/
.logos{
  width: 100%;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
 
}

.logoscont{
  width: calc(80%/3- 20px);
  height: 50%;
}

.logoscont img{
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 10px;

}



/* txt tittles */
.prjectpre {
    display: flex;             /* Establish flexbox layout */
    flex-direction: column;    /* Arrange items in a vertical column */
    align-items: center;       /* Center items horizontally (optional) */
    color: rgb(187, 187, 187);
    margin-top: 50px;
   
   
  }


.smalltittle{
    font-family: "Instrument Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 100;
    padding-bottom: .5%;
    text-align: center;
}
.bigtittle{
    font-family: "Instrument Sans", sans-serif;
    font-size: 4rem;
    font-weight: 400;
    padding-bottom: .5%;
    text-align: center;
}
.txttittle{
    font-family:Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    font-weight:lighter;
    padding-bottom: 1.5%;
    width: 65%;
    text-align: center;
}   


/* grid 1 */
.imagegrid1x4{
  box-sizing: border-box;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  grid-auto-rows:30vh; 
  gap: 10px; 
  padding-bottom: 20px;
  place-items: center;
  width: 80%;
  margin: 0 auto;
}

.imagegrid1x4 > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.imagegrid1x4-col-2{
  grid-column: span 2;
}
.imagegrid1x4-row-2{
  grid-row: span 2;
}
#image1 {  /* Select the image with ID "1" */
  width: 100%; 
  height: auto;
  object-fit: contain;
  border-radius: 30px;
}

.imageadjust{
  object-position: 0 95%;
}
.imageadjust2{
  object-position: 20% 0;
}
.imageadjust3{
  object-position: 0 82%;
}
.imageadjust4{
  object-position: 80% 0;
}


/* grid 2  */
.grid-container {
  display: flex;
  padding-bottom: 20px;
  width: 100%;
  justify-content: center;
  align-items: center;

  height: auto;
}

.item {
  display: flex; /* Ensure proper image scaling */
  width: calc(80% / 3 - 20px); /* Width calculation (explained below) */
  margin: 0 5px; /* 10px gap between images */
  height: 75svh;
}

.item img {
  max-width: 100%; 
  height: 100%;  /* Maintain aspect ratio */
  object-fit: cover;
  border-radius: 30px;
}
.item video {
  max-width: 100%; 
  height: 100%;   /* Maintain aspect ratio */
  object-fit: cover;
  border-radius: 30px;
}


/* grid 3  */
.my-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  grid-template-rows: repeat(2, 50vh);  /* 2 rows of 100px height */
  max-width: 78%;                       /* Maximum 80% of browser width */
  margin: 0 auto; 
  padding-bottom: 20px;                      /* Center the grid  */
  gap: 10px;
}

.grid-image {
  overflow: hidden;                     /* Ensure image stays within its container */
  border-radius: 30px;
}

.grid-image img {
  object-fit: cover;                    /* Cover image while maintaining aspect ratio */
  height: 100%;                         /* Fill the height of grid cell */
  width: 100%;                          /* Fill the width of grid cell */
}

/* big images */
.bigimg{
  width: 100%;
  height: auto;
  padding-bottom: 20px;
}
.bigimgone{
  width: 78%;
  height: 100svh;
  margin: 0 auto;
  text-align: center; /* Center any inline elements within */
}

.bigimgone img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}
.bigimgonevid{
  width: 78%;
  height: 80svh;
  margin: 0 auto;
  text-align: center; /* Center any inline elements within */
}
.bigimgonevid video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.bigimgtwo{
  width: 78%;
  height: 100vh;
  margin: 0 auto;
  text-align: center; /* Center any inline elements within */
  
}

.bigimgtwo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px ;
}
.bigimgthree{
  width: 78%;
  height: 100vh;
  margin: 0 auto;
 
  text-align: center; /* Center any inline elements within */
}

.bigimgthree img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px ;
}
/* big images 2 */

.bigimgone2, .bigimgtwo2, .bigimgthree2 {
  width: 90%;
  height: auto; /* Update: Use 'auto' for height */
  margin: 0 auto;
  text-align: center; /* Center any inline elements within */
}

.bigimgone2 img, .bigimgtwo2 img, .bigimgthree2 img {
  max-width: 100%; /* Update: Use 'max-width' */
  height: auto;
  object-fit: cover; /* Fill the container */ 
  margin: 0 auto;    /* Center the image horizontally */
}




/* subtitle text */

.subtitle4{
  display: flex;
  justify-content: center;
  height: 60px;
  align-items: center;
  padding: 1%;
}

.textsub{
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-weight:300;
  font-size: 3vw;
  color:rgb(187, 187, 187);
}

/* grid 4  */
.grid-container1 {
  display: flex;
  width: 100%;
  background-color: rgb(0, 0, 0);
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 40px;
  padding-bottom: 40px;
}

.item1 {
 width: 300px;
 height: 200px;

 border-radius: 30px;
    
}

.item1 img {
  width: 100%; /* Image takes full width of its container */
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  transition: filter 0.5s ease-in-out; /* Smooth change on hover */
}
.item1 img:hover {
  filter: brightness(50%);  /* Reduce brightness on hover */
  box-shadow: 5px 5px 5px rgba(59, 59, 59, 0.415); 
}




/* responsive  */

@media screen and (max-width: 1024px) {
  .imagegrid1x4 { 
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px; 
  } 
  .txttittle{
    width: 80%;
   }
  .grid-container {
    gap: 10px;
    width: 80%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    height: auto;
  }
  .item {
    width: 80%; /* Change to 80% */
    margin: 5px auto;  /* Center horizontally */
    height: 500px;  /* Update: Allow height to adjust to content */
  }
  .item img { 
    max-width: 100%;      
    height: 100%;         /* Allow height to adjust to maintain aspect ratio */
    object-fit: cover;  
  }
  .my-image-grid{
    grid-template-rows: repeat(2, 300px);
  }
  
  .bigimgone{
    height: 50vh;
 
  }
  .bigimgonevid{
    height: 50svh;
  }
  .bigimgtwo{
    height: 50vh;
    
  }
  .bigimgthree{
    height: 50vh;

  }
  .item1 {
    max-width: calc(33.33% - 30px); /* 33.33% for 3 images */
}
}


@media screen and (max-width: 768px){
  .item1 {
    max-width: calc(50% - 30px); /* 50% for 2 images, minus gutters */
 }
 .textsub{
  font-size: 4vw;
 }
 .txttittle{
  width: 80%;
 }
 .hero{
  height: 50svh;
}
.grid-container {
  gap: 10px;
  width: 80%;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  height: auto;
}
.item {
  width: 80%; /* Change to 80% */
  margin: 5px auto;  /* Center horizontally */
  height: 400px;  /* Update: Allow height to adjust to content */
}
.item img { 
  max-width: 100%;      
  height: 100%;         /* Allow height to adjust to maintain aspect ratio */
  object-fit: cover;  
}
.bigimgonevid{
  height: 40svh;
  width: 90%;
}
.bigtittle{
  font-size: 3rem;
}
}


@media screen and (max-width: 480px){
  .item1 {
    max-width: 100%; /* 100% for 1 image per row */
 }
 .textsub{
  font-size: 6vw;
 }
 .txttittle{
  width: 80%;
 }
 .bigimgone{
  width: 90%;

}

.bigimgtwo{
  width: 90%;
 
}
.bigtittle{
  font-size: 2.5rem;
}
.bigimgthree{
  width: 90%;

}
.my-image-grid {
  max-width: 90%; 
}

.item {
  width: 90%; 
}
.imagegrid1x4{
  width: 95%;
}
.hero{
  height: 50svh;
}
.grid-container {
  gap: 10px;
  width: 90%;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  height: auto;
}
.item {
  width: 80%; /* Change to 80% */
  margin: 5px auto;  /* Center horizontally */
  height: 300px;  /* Update: Allow height to adjust to content */
}
.item img { 
  max-width: 100%;      
  height: 100%;         /* Allow height to adjust to maintain aspect ratio */
  object-fit: cover;  
  object-position: 65% 0;
}
.bigimgonevid{
  height: 35svh;
  width: 90%;
}
}
