*{
    border: 0;
    padding: 0;
}
.bgimage {
  height: 500px;
  position: relative;
  z-index: 0;
  /* opacity: 0.8; */
}

.bgimage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(33, 52, 107, 0.6), rgba(0, 46, 177, 0.6)), 
    url("../assests/img1.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  z-index: -1;
}

.text-block {
 
    display: none;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
    position: absolute;
  }
 
  
  .text-block.active {
    display: block;
    opacity: 2;
    transform: translateY(0);
    position: relative;
  }
  
  .text-block h1{
    color:  #FFFFFF;
    /* background: linear-gradient(145deg, #5f5c5c, #ecdfdf); */
    font-size: 96px;
    /* text-align: justify; */
    font-family: Konkhmer Sleokchher;
    font-weight: 400;
    

  }
  .text-block h4{
    color: #eee8e8;
    font-size: 30px;
    text-align: start;
  }
  .explore{
    width: 144px;
    height: 38px;
    border: 3px solid #F8A32F;
    background-color: #eee8e8;
    border-radius: 50px;

  }
  .explore p{
    font-size: 20px;
    font-weight: 400;
    color: #21346B;
    text-align: center;
    font-family: Konkhmer Sleokchher;
  }
  .text-section{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .box-container {
    display: flex;
    flex-direction: row;
    /* gap: 5px; */
 
    position: relative;
  }
  .box-row{
    display: flex;
    flex-direction: row;
    gap: 30px;
   position: absolute;
   right: -340px;
    top: 230px;
  }
  
  .box-3d {
    width: 191px;
    height: 106px;
    border: 5px solid #F8A32F;
    border-radius: 20px;
    background-color: #eee8e8;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  .box-3d p{
    width: auto;
    height: 46px;
    font-size: 36px;
    font-size: 400;
    color: #21346B;
    text-align: center;
  }
  .box-3d:hover {
    transform: rotateX(10deg) rotateY(10deg) translateY(-5px);
  }
  /* .scrolling{
    width: 300px;
    height: 90px;
    border: 1px solid black;
  } */

  @media (max-width:1024px) {
    .bgimage {
      height: 400px;
    }
  
    .text-block h1 {
      font-size: 60px;
     
    }
  
    .text-block h4 {
      font-size: 24px;
      
    }
  
    .box-row {
      position: static;
      flex-direction: row;
      align-items: center;
      gap: 20px;
      margin-top: 357px;
    
    }
  
    .box-3d {
      width: 140px;
      height: 90px;
    }
    .box-3d p {
      font-size: 25px;
      display: flex;
      justify-content: center;
        align-items: center;
        margin-top: 15px;
    }
  
    .explore {
      margin: 0 auto;
    }
  }
  
  @media (max-width:  768px) {
    .bgimage {
      height: 350px;
    }
    .text-block{
      height: 182px;
    }
    .text-block h1 {
      text-align: center;
      font-size: 35px;
    }
  
    .text-block h4 {
      text-align: center;
      font-size: 20px;
    }
  
    .box-3d {
      width: 106px;
      height: 80px;
    }
  
    .box-3d p {
      font-size: 20px;
      display: flex;
      justify-content: center;
        align-items: center;
        margin-top: 15px;
    }
  
    .explore {
      width: 120px;
      height: 34px;
    }
  
    .explore p {
      font-size: 18px;
    }
    .box-row {
      position: static;
      flex-direction: row;
      align-items: center;
      gap: 20px;
      margin-top: 75px;
   
    }
  }

  .wel-img{
    min-height: 400px;
    margin-top: 70px;
    height: 500px;
    position: relative;
    z-index: 0;
    
  }
  .wel-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      linear-gradient(to left ,#d1c450, #343dbea8), 
      url("../assests/it44.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: -1;
  }
  .left-text{
    width: 734px;
    height: 162px;
  }
  .left-text p{
    font-family: Konkhmer Sleokchher;
    font-size: 64px;
    font-weight: 400;
    color: #F8A32F;
  }
  .p-text{
    width: 80%;
    font-family:Kokoro ;
    font-size: 32px;
    font-weight: 400;
    color: #FFFFFF;
  }
  .right{
   border-color: #0930A0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
   
  }
  .slider-wrapper {
    overflow: hidden;
    width: 100%;
  }
  
  .slider-track {
    display: flex;
    animation: scrollSlider 10s linear infinite;
    width: max-content;
  }
  
  .square {
    width: 250px;
    height: 250px;
    flex-shrink: 1;
    
  aspect-ratio: 1 / 1; /* Keeps it square */
    /* margin-right: 20px; */
   
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    gap: 30px;
  }
  
  .square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    gap: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  
  @keyframes scrollSlider {
    0% {
      transform: translateX(50%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  @media (max-width: 1024px) {
    .wel-img {
      /* margin-top: 50px; */
      height: 450px;
    }
  
    .left-text {
      width: 100%;
      height: 160px;
      /* padding: 10px; */
    }
  
    .left-text p {
      font-size: 40px;
      /* text-align: center; */
    }
  
    .p-text {
      width: 100%;
      font-size: 23px;
      /* text-align: center; */
      text-align: justify;
    }
    
  }
  
  @media (max-width: 768px) {
    .wel-img {
      margin-top: 60px ;
      height: 680px;
    }
  
    .left-text {
      width: 100%;
      padding: 0 15px;
      text-align: center;
    }
  
    .left-text p {
      font-size: 31px;
    }
  
    .p-text {
      font-size: 20px;
    }
   
  }

  .career {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .cr-img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
    position: relative;
  }
  
  .cr-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
  }
  
  .arrow-wrapper {
    position: relative;
    height: 60px;
    margin: -10px 0;
  }
  
  .arrow {
    width: 60px;
    height: 60px;
    rotate: -90deg;
    z-index: 1;
    animation: slideDown 2s infinite;
    filter: brightness(0) saturate(100%) invert(57%) sepia(55%) saturate(2200%) hue-rotate(360deg);
  }
  
  .arrow img {
    width: 100%;
    height: auto;
    transform: rotate(90deg);
    
  }
  
  /* Optional: animation keyframes */
  @keyframes slideDown {
    0%, 100% {
      transform: translateX(0) rotate(-90deg);
    }
    50% {
      transform: translateX(10px) rotate(-90deg);
    }
  }
  

/* Responsive tweaks */
/* @media (max-width: 1026px) {
  
  .arrow {
    left: -47px;
    bottom: -287px;
  }
}

@media (max-width: 767px) {
  .cr-img{
    width: 100%;
    
    }
  .arrow {
    left: -95px;
    bottom: -421px
  }
} */

/* .h2{
  width: 703px;
 
} */
.h2 p {
  font-size: clamp(2rem, 5vw, 90px);
  font-weight: 300;
  color: #21346B;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  margin: 0 auto;
  margin-top: 40px;
}

.text-small {
  width: 100%;
  max-width: 960px;
  padding-top: 50px;
  margin: 0 auto;
}

.text-small p {
  width: 950px;
  font-family: 'Konkhmer Sleokchher', sans-serif;
  font-size: clamp(1rem, 1.5vw, 24px);
  font-weight: 400;
  color: #000000;
  line-height: 1.5;
  text-align: justify;
  margin: 0 auto;
  margin-top: 100px;
}

@media (max-width: 576px) {
  h3{
    padding-top: 5px !important;
  }
  .h2 p {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    text-align: justify;
    margin-top: 0px;

  }

  .text-small {
    padding-top: 30px;
  }

  .text-small p {
    font-size: 1rem;
    text-align: center;
    width: 100%;
        margin-top: 0px;
  }
}

@media (max-width: 1200px) {
  .text-small {
    max-width: 1100px;
    padding-top: 10px !important;
  }
  .text-small p {
   width: 100%;
    font-weight: 400;
    color: #000000;
    
    text-align: justify;
    /*margin-top: 50px;*/
  }

}
/* @media (min-width: 992px) {
  .col-md-7 {
      flex: 0 0 auto;
      width: 70.333333%;
  }
}
@media (min-width: 1024px) {
  .col-lg-7 {
      flex: 0 0 auto;
      width: 100.333333%;
  }
} */


.express{
  /* width: 100%; */
  height: 81px;
  font-size: clamp(2rem, 6vw, 64px);
  font-weight: 400;
  text-transform: uppercase;
  color: #F8A32F;
}
.express-small{
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 20px);
  line-height: 112%;
  color: #000000;
}

@media (max-width: 576px) {
  .express {
    padding-top: 20px;
    font-size: 2rem; /* ~32px for very small screens */
  }

  .express-small {
    font-size: 1rem; /* ~16px */
   
  }
}

@media (min-width: 1200px) {
  .express {
    font-size: 64px;
  }

  .express-small {
    font-size: 20px;
  }
}

/*new section updated*/
.image-cic{
  width: 300px;
  height: 300px;

}

.contain-cic h2{
  width: auto;
  color: #0930A0;
}
.contain-cic p{
  width: auto;
  color: #000000;
  
  padding-top: 20px;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 20px);
  line-height: 112%;
  color: #000000;
}
.cic-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.cic-img:hover {
 
  transform: scale(1.03) rotate(1deg);
}

@media (min-width: 768px) {
  .cic-img {
      margin-bottom: 0;
  }
  .contain-cic {
      padding-left: 10px;
  }
}

@media (max-width: 767.98px) {
  .contain-cic h2 {
      font-size: 1.5rem;
  }

  .contain-cic p {
      font-size: 0.95rem;
  }
}

.animate-left, .animate-right {
  opacity: 0;
  transition: all 0.8s ease-in-out;
  transform: translateX(50px);
}

.animate-left {
  transform: translateX(-50px);
}

.in-view {
  opacity: 1;
  transform: translateX(0);
}

.career-cell {
  /* max-width: 800px; */
  text-align: center;
  padding: 2rem 1rem;
}

.career-cell h1 {
  font-size: 2rem;
  font-weight: 700;
}

.career-para {
  width: 100%;
  font-size: 1.1rem;
  line-height: 1.7;
}


@media (min-width: 768px) {
  .career-cell h1 {
    font-size: 2.5rem;
  }

  .career-para {
    font-size: 1.2rem;
  }
}

.square-box {
  width: 100%;
  max-width: 400px;
  height: 400px;
  position: relative;
  overflow: hidden;
  /* margin: 10px; */
  /* border-radius: 10px; */
}

.square-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* darker by default */
  transition: 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Text container to center both h1 and p */
.square-box h1,
.square-box p {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  transition: 0.5s ease;
}

.square-box h1 {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.square-box p {
  font-size: 1.2rem;
  font-weight: 500;
}

/* Flexbox center */
.square-box::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background-color: rgba(64, 116, 185, 0.719);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: 0.5s ease;
}

.square-box:hover img {
  filter: brightness(1); /* full clarity on hover */
}

.square-box:hover::before {
  background-color: rgba(0, 0, 0, 0.1); /* reduce dark overlay */
}

.square-box:hover h1,
.square-box:hover p {
  color: #ffcc00; /* highlight color on hover */
}

/* Center content with flex */
.square-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
