.legalist{
    display: flex;
    gap: 30px;
    background-color: #132030;
    height: 900px;
   
}
.legalistone{
     padding: 50px 0px 0px 100px;
    width: 35%;
}
.legalisttwo{
   
    width: 65%;
}
.services{
    display: flex;
}
body{
    margin: 0px;
     font-family: Instrument Sans, sans-serif;
}
.take{
    padding-top: 40px;
    color: white;
    letter-spacing: -.04em;
    overscroll-behavior: none;
   
    font-size: 1.25rem;
    line-height: 2.1;
}
.we{
        letter-spacing: -.05em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    color: white;
    padding-top: 10px;
    
}
.innovative{
        font-size: 1rem;
    line-height: 1.5;
    color: #888;
    padding: 20px 0px;
}
.free{
    display: flex;
    color: white;
    gap: 30px;
    padding-top: 20px;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    transition: backgr
}
.freeone{
    border: 1px solid #b86c40;
    padding: 15px 30px;
    border-radius: 5px;
    background-color: #b86c40;
     transition: background-color 0.3s ease, transform 0.3s ease;
}
.freeone:hover {
  background-color: #944f28; /* darker shade of #b86c40 */
  transform: scale(1.03);    /* optional slight zoom */
}


.freetwo{
    border: 1px solid #b86c40;
    padding: 15px 30px;
    border-radius: 5px;
     transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.freetwo:hover{
    background-color: white;
    color: #944f28;
    
}
.legalisttwo{
    background-image: url("images/ai-one.webp");
    background-size: cover;
    margin: 20px;
    border-radius: 20px;
    color: white;
}
p{
    margin: 0px;
}
.services{
    padding: 30px;
    justify-content: space-between;
    color: #dee2e8;
    
   
    align-items: center;
}
.cart{
    color: white;
}
.freee{
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
     transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
    
}
.freee:hover{
    color: black;
    background-color: white;
}
.pagee{
    display: flex;
    align-items: center;
    gap: 5px;
}
.pagee span {
  display: inline-block; /* Ensures transform works correctly */
  transition: transform 0.3s ease, color 0.3s ease;
  padding-top: 5px;
}

.pagee.rotate span {
  transform: rotate(180deg);
  color: white;
}

.five{
    display: flex;
    gap: 20px;
    padding-top: 80px;
    text-align: left;
    color: white;
    
}
.fiveone{
    width: 50%;
    border-top: 1px solid #b86c40;
    padding-top: 20px;
}
.fivetwo{
    border-top: 1px solid #b86c40;
    padding-top: 20px;
    width: 50%;
}
.twenty{
        letter-spacing: -.05em;
    font-size: 4rem;
    font-weight: 400;
}
.twenty span{
    color: #b86c40;
    font-size: 3rem;
}
.twent{
        letter-spacing: -.05em;
    font-size: 4rem;
    font-weight: 400;
}
.twent span{
    color: #b86c40;
    font-size: 3rem;
}
.award{
        letter-spacing: -.001em;
    font-size: .875rem;
    line-height: 1.42;
    padding-top: 30px;


} 

/*end carousel */

.about{
    display: flex;
    gap: 40px;
    padding: 90px 100px;
}
.aboutone{
    width: 20%;
    letter-spacing: -.04em;
    overscroll-behavior: none;
    font-family: Instrument Sans, sans-serif;
    font-size: 1.25rem;
    line-height: 1.2;
}
.abouttwo{
    width: 40%;
        font-size: 2.25rem;
    line-height: 1;
    letter-spacing: -.04em;
        font-weight: 500;
            font-family: 'Times New Roman', Times, serif;
}
.aboutthree{
    letter-spacing: -.04em;
    width: 40%;
    font-size: 1rem;
    line-height: 1.5;
    color: #888;
}
.aboutthree p{
    padding-bottom: 20px;
}
.freees {
  color: white;
  display: inline-block;
  background-color: #b86c40;
  padding: 15px 40px 0px 40px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;

  transition:
    background-color 0.35s ease-in-out,
    transform 0.35s ease-in-out,
    box-shadow 0.35s ease-in-out;
}

.freees:hover {
  background-color: #944f28;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.business{
    display: flex;
    padding: 30px 80px;
    gap: 50px;

}
.businessone{
width: 50%;
}
.businesstwo{
width: 50%;
}
.businessone img{
    border-radius: 20px;
}
.businesstwofor{
    padding-top: 70px;
        font-family: Instrument Sans, sans-serif;
            letter-spacing: -.04em;
            font-size: 1.25rem;
    line-height: 2.1;

}
.businesstwoour{
    font-family: Lora, sans-serif;
     font-weight: 500;
     font-size: 3rem;
    line-height: 1;

}
.businesstwoin{
    padding: 30px 0px;
        letter-spacing: -.04em;
    overscroll-behavior: none;
    font-family: Instrument Sans, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #888;
}
.businesstwofree {
  padding: 15px 30px;
  border-radius: 5px;
  color: white;
  display: inline-block;
  background-color: #b86c40;
  font-weight: 600;
  cursor: pointer;

  transition:
    background-color 0.35s ease-in-out,
    transform 0.35s ease-in-out,
    box-shadow 0.35s ease-in-out;
}

.businesstwofree:hover {
  background-color: #944f28; /* darker shade */
  transform: scale(1.05);    /* subtle zoom */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* optional depth */
}

.businesstwo .award, .five .twent{
    color: black;
}
.five .twenty{
    color: white;
}

.straight{
    display: flex;
    padding: 100px 60px;
    gap: 80px;
}
.lstraight{
    width: 50%;
}
.rstraight{
    width: 50%;
}
.rstraight img{
width: 100%;
border-radius: 15px;
}
.lstraight .businesstwofor{
    padding-top: 20px;
}
.divorseone{
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    line-height: 1.5;
        font-weight: 700;
       letter-spacing: -.04em;
        border-bottom: 1px solid #b86c40;
        padding-bottom: 10px;
        padding-top: 30px;
      transition: color 0.3s ease;

}
.divorseone:hover{
    color: #b86c40;
}
.divorseone img{
     transition: transform 0.3s ease;
}
.divorseone:hover img {
  transform: translateX(5px); /* Move arrow to the right */
}
.divorse{
    padding-top: 70px;
}
.forover{
    padding: 60px 210px 40px 210px;
   
    
}
.forover .businesstwoour{
        letter-spacing: -.05em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;

}
.forever{
    border-top: 1px solid #b86c40;
    height: 10px;
    margin: 10px 100px;
}
.clientss{
    display: flex;
    padding: 60px 180px ;
    gap: 90px;
}
.clientssone{
    padding-top: 10px;
    width: 50%;
}
.clientsstwo{
    width: 50%;
    /* padding: 0px 30px; */
}
.clientsoneoneone{
    display:flex ;
    gap: 40px;
}
.clientsoneoneon{
  display: flex;
  gap: 40px;
}
.carousel-track-container .fade-left{
    width: 0px;
}
.carousel-track-container .fade-right{
    width: 0px;
}
.kk{
       
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.05em;
}

.kk span{
        font-size: 2.25rem;
    line-height: 1;
    color: #b86c40;
}
.clients{
    /* padding-left: 15px; */
        letter-spacing: -.001em;
        padding-top: 10px;
    font-size: .875rem;
    line-height: 1.42;
    color: #191615;
        opacity: 1;
    transform: translate3d(0px, 0%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;

}
.simply{
    color: #888;
    

    letter-spacing: -.04em;
 
    font-family: Instrument Sans, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}
.consultt{
    display: flex;
        font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
    padding-top: 10px;
}
.consultt img{
     transition: transform 0.3s ease;
}
.consultt:hover img {
  transform: translateX(5px); /* Move arrow to the right */
}
.ai-four{
    padding: 50px;
}
.ai-four img{
    width: 100%;
    border-radius: 20px;
}
.takeon{
        font-size: 1.25rem;
        color: white;
}
.tak{
    padding: 70px 100px;
    background-color: #122744;
}
.takeon{
    padding: 10px 0px;
}
.aiat{
    font-family: 'Times New Roman', Times, serif;
        letter-spacing: -.05em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    color: white;
    width: 700px;
}
.aijoin{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 50px;
}
.aijoin img{
    width: 100%;
    border-radius: 20px;
}

.aijoinone{
    height: 380px;
    width: 25%;
    background-color: #b86c40;
    border-radius: 20px;
    padding: 50px 20px 10px 20px;
}
.aijointwo{
    width: 25%;
}
.aijointhree{
    width: 25%;
}
.aijoinfour{
    width: 25%;
}
.aijoinonejoin{
        letter-spacing: -.04em;
    overscroll-behavior: none;
    font-family: Instrument Sans, sans-serif;text-transform: uppercase;
    font-size: .875rem;
    line-height: 1.3;
    color: white;
    padding: 30px 0px;

}
.aijoinoneat{
    
    padding: 10px 10px 30px 0px ;
        font-size: 2rem;
    line-height: 1;
    letter-spacing: -.04em;
    color: white;
    font-family: Lora, sans-serif;
    
}
.aijoinonewe{
    color: white;
    letter-spacing: -.001em;
    font-size: .875rem;
    line-height: 1.42;
}
.aijoinonemeet {
  display: flex;
  color: white;
  justify-content: center;
  border: 1px solid white;
  padding: 10px 0;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  
  transition:
    background-color 0.35s ease-in-out,
    color 0.35s ease-in-out,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.aijoinonemeet:hover {
  background-color: white;
  color: #944f28;
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.aijoinonee{
        gap: 40px;
    display: flex;
    flex-direction: column;
   
}
.micheal{
        line-height: 30px;
            font-size: 1.8rem;
    font-weight: 400;
    padding-top: 20px;
    color: white;
     transition: color 0.4s ease;
        font-family: 'Times New Roman', Times, serif;
    }
    .senior{
         transition: color 0.4s ease;
        color: rgb(136, 136, 136);
            font-family: Instrument Sans, sans-serif;
                line-height: 1.5;
                padding-top: 5px;
                letter-spacing: -.04em;
                    font-size: .88rem;
    }
    .ouroffice{
        text-align: center;
        padding: 90px 350px;
    }
    .ourofficeone{
        font-size: 1.25rem;
    line-height: 2.1;
    letter-spacing: -.04em;
    }
    .ourofficetwo{
        padding: 10px 0px;
            font-size: 3rem;
    line-height: 1;
letter-spacing: -.04em;
    font-family: Lora, sans-serif;
}
.ourofficethree{
        letter-spacing: -.04em;
            font-size: 1rem;
    line-height: 1.5;
    padding-top: 20px;
        font-family: Lora, sans-serif;
        color: #888;
}
.newyork{
    display: flex;
    padding: 0px 100px;
    gap: 40px;
}
.newyorkone {
  width: 33%;
  border-radius: 20px;
  background-color: rgb(248, 248, 248);
  padding: 20px;
  transition: background-color 0.4s ease, color 0.4s ease;
  cursor: pointer;
}

.newyorkone:hover {
  background-color: #122744;
  color: white;
}

.newyorkone img {
  transition: transform 0.4s ease;
}

.newyorkone:hover img {
  transform: translateX(5px);
}

/* .newyorktwo{
    width: 33%;
    border-radius: 20px;
    background-color: rgb(248, 248, 248);
}
.newyorkthree{
    width: 33%;
    border-radius: 20px;
    background-color: rgb(248, 248, 248);
} */
.newyorkone svg {
  color: #b86c40;
  width: 48px;      /* Adjust width */
  height: 48px;     /* Adjust height */
}
.newyorkoneone{
    padding: 30px 0px;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: 'Times New Roman', Times, serif;
}
.ny{
    color: rgb(136, 136, 136);
        font-size: 1rem;
    line-height: 1.5;
}
.newyork .consultt{
    gap: 10px;
}
.why{
    padding: 100px;
    width: 40%;
}
.whyone{
        font-size: 3rem;
    line-height: 1;
    font-family: 'Times New Roman', Times, serif;

}
.whytwo{
    letter-spacing: -.04em;
    padding: 30px 0px ;
    font-family: Instrument Sans, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #888;
}


/* cards moving */
.connect{
    background-color: #dee2e8;
    display: flex;
    padding:100px;
    gap: 60px;
}
.connectone{
   
    width: 50%;
}
.connecttwo{
   
    width: 50%;
}
.connectone img{
    width: 100%;
}
.connectoneone{
        letter-spacing: -.05em;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
    font-family: 'Times New Roman', Times, serif;
}
.connectonetwo{
    letter-spacing: -.001em;
    font-size: .875rem;
    line-height: 1.42;
    padding: 20px 0px;
}
.connectone img{
    border-radius: 15px;
}

/* form */
.form-container {
  background-color: white;
  padding: 90px 50px 25px 50px;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 400px;
  height: 82%;
}

form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  width: 100%;
}

.form-row .form-group:first-child {
  margin-right: 10px;
}

.form-row .form-group:last-child {
  margin-left: 10px;
}

label {
 
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  border: none;
  border-bottom: 1px solid #a1461c;
  padding: 14px 8px;
  outline: none;
}

textarea {
  resize: none;
}

.checkbox {
  flex-direction: row;
  align-items: center;
}

.checkbox input {
  margin-right: 10px;
}

button {
  background-color: #b4683e;
  color: white;
  padding: 15px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
   transition: background-color 0.3s ease, transform 0.3s ease;
}




button:hover {
  background-color: #944f28;
  transform: scale(0.95); /* This shrinks the element slightly */
}
/* form end */
/* footer */
.footerr{
padding: 100px;

    background-color: #132030;
    color: white;
    
.fool{
display: flex;
justify-content: space-between;
}
}


 .subscribe-container {
      display: flex;
      gap: 10px;
      padding-top: 30px;
    }

    input[type="email"] {
      background: none;
      border: none;
      border-bottom: 1px solid #ccc;
      padding: 10px;
      color: #fff;
      width: 250px;
      outline: none;
    }

    input[type="email"]::placeholder {
      color: #ccc;
    }

    button {
      background-color: #b26942; /* Brown color */
      color: #fff;
      border: none;
      padding: 15px 30px;
      cursor: pointer;
      border-radius: 5px;
      font-weight: bold;
    }

    button:hover {
      background-color: #9a5636;
    }
    .bysub{
        padding: 20px 0px;
        font-size: .625rem;
    }
    .footerrtwoo{
        display: flex;
        gap: 20px;
        
    }
    .extraa{
        font-size: 1rem;
    line-height: 1.5;
    }
    .servicesss{
        color: #ffffff80;
        font-size: .88rem;
        padding: 10px 0px;
    }
    .servicesss p{
    padding: 5px 0px;
    }
    .foll{
        display: flex;
        color: #ffffff80;
        font-size: .88rem;
        padding-bottom: 5px;
        
        gap: 5px;
        align-items: center;
    }
    .follone svg{
        width: 20px;
        height: 20px;
    }
    .fooo .extraa{
        padding-bottom: 10px;
    }
    .brownline{
        margin: 40px 0px;
        height: 1px;
        background-color: #9a5636;
    }
 .copyright{
letter-spacing: -.001em;
    font-size: .875rem;
    line-height: 1.42;
    display: flex;
    justify-content: space-between;
 }
 
 .copyrighttwo{
    gap: 20px;
display: flex;
 }
 /* carosoul */.logo-slider-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #0e2a47;
  height: 120px;
}

.logo-slider {
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 100%;
      width: 80%;
    margin: 0 auto;
}

.logo-track {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
}

.logo-track img {
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Keyframes for seamless infinite scroll */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.fade {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.fade-left {
  left: 125px;
  background: linear-gradient(to right, #0e2a47, transparent);
}

.fade-right {
  right: 125px;
  background: linear-gradient(to left, #0e2a47, transparent);
}
/* image moving  */ .carousel-wrapper {
      position: relative;
      width: 100%;
     
      /* margin: auto; */
      display: flex;
      align-items: center;
      padding: 40px 0px 100px 0px;
      overflow-x: hidden;

    }

    .carousel-track-container {
      position: relative;
      /* overflow: hidden; */
      flex: 1;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
      gap: 20px;
      padding: 0 0px;
    }

    .carousel-card {
      flex: 0 0 50%;
      /* width: 530px; */
      height: 385px;
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
      background-color: #000;
    }

    .carousel-card img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
    }

    .card-content {
      position: absolute;
      bottom: 20px;
      left: 20px;
      color: white;
      max-width: 80%;
    }

    .card-content h4 {
          letter-spacing: -.001em;
    font-size: .875rem;
    line-height: 1.42;
    margin: 0px;
    }

    .card-content p {
        letter-spacing: -.01em;
    font-size: .75rem;
    color: #fff;
    padding: 5px 0px;
    }

    .card-content p span {
        letter-spacing: -.01em;
    font-size: .75rem;
    color: #fff;
    }

    p.testimonial {
      margin-top: 10px;
         font-size: 1rem;
    line-height: 1.5;
letter-spacing: -.015em;
      
    }

    .arrow {
      background: #d97f46;
      color: white;
      border: none;
      border-radius: 8px;
      padding: 12px;
      font-size: 24px;
      cursor: pointer;
      z-index: 2;
    }
    .arrow:hover{
        background-color:#132030
    }

    .arrow.left {
      margin-left: 20px;
      margin-right: 10px;
    }

    .arrow.right {
      margin-right: 10px;
    }

    .fade-left,
    .fade-right {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 60px;
      z-index: 1;
      pointer-events: none;
    }

    .fade-left {
      left: 125px;
        background: linear-gradient(to right, #0e2a47 0%, #0e2a47 10%, transparent 100%);
    }

  .fade-right {
  right: 125px;
  background: linear-gradient(to left, #0e2a47 0%, #0e2a47 10%, transparent 100%);
}
    /* image revealing */
  .businessone {
  overflow: hidden;
}

/* Initial state (not animated yet) */
.reveal-wrapper {
  overflow: hidden;
  height: 0;
  transition: height 1.5s ease-out;
}

.businessone img {
  width: 100%;
  border-radius: 20px;
  transform: scale(1.05);
  filter: blur(8px);
  opacity: 0;
  transition: all 1.2s ease-out;
}

/* Active state when in view */
.businessone.active .reveal-wrapper {
  height: 100%;
}

.businessone.active img {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
/* legalisttwo */
.legalisttwo {
  position: relative;
  overflow: hidden;
  height: 0;
  transition: height 1.5s ease-out;
  margin: 20px;
  border-radius: 20px;
  color: white;
}

/* Blurred background using pseudo-element */
.legalisttwo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/ai-one.webp");
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transition: filter 1s ease-out;
  z-index: 0;
}

/* Inner content styles */
.legalisttwo .services {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease-out 0.5s;
}

/* When active on scroll */
.legalisttwo.active {
  height: 90%; /* Set desired final height */
}

.legalisttwo.active::before {
  filter: blur(0);
}

.legalisttwo.active .services {
  opacity: 1;
}
/* rstraight */
.rstraight {
  overflow: hidden;
}

/* Wrapper that gets animated */
.rstraight .reveal-wrapper {
  height: 0;
  overflow: hidden;
  transition: height 1.5s ease-out;
}

/* Image styles */
.rstraight img {
  width: 100%;
  border-radius: 15px;
  filter: blur(10px);
  opacity: 0;
  transform: scale(1.05);
  transition: all 1.2s ease-out;
}
.aijointwo , .aijointhree, .aijoinfour {
  overflow: hidden;
  border-radius: 20px 20px 0px 0px; /* optional but helps */
}


/* When in view */
.rstraight.active .reveal-wrapper {
  height: 100%;
}

.rstraight.active img {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}.aijointwo, .aijointhree, .aijoinfour {
  width: 25%;
  overflow: hidden;
}

.aijointwo img,
.aijointhree img,
.aijoinfour img {
  width: 100%;
  border-radius: 20px;

  /* Initial hidden state */
  clip-path: inset(0 0 100% 0);
  filter: blur(10px);
  opacity: 0;

  transform: scale(1.05);
  will-change: transform, clip-path, filter, opacity;

  /* Combined transition */
  transition:
    clip-path 1.2s ease-out,
    filter 1.2s ease-out,
    opacity 1.2s ease-out,
    transform 0.5s ease;  /* shorter for zoom */
}

/* On scroll into view */
.aijointwo img.active,
.aijointhree img.active,
.aijoinfour img.active {
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}

/* Zoom effect on hover */
.aijointwo:hover img,
.aijointhree:hover img,
.aijoinfour:hover img {
  transform: scale(1.08);

}

/* Text color change on hover */
.aijointwo:hover .micheal {
  color: #944f28;
}
.aijointwo:hover .senior {
  color: #f0f0f0;
}

.aijointhree:hover .micheal {
  color: #944f28;
}
.aijointhree:hover .senior {
  color: #f0f0f0;
}
.aijoinfour:hover .micheal {
  color: #944f28;
}
.aijoinfour:hover .senior {
  color: #f0f0f0;
}

/* aifour */
.ai-four {
  overflow: hidden;
}

.ai-four img {
  width: 100%;
  border-radius: 20px;

  /* ✅ Reveal from top to bottom (initially hide from bottom) */
  clip-path: inset(0 0 100% 0);

  filter: blur(8px);
  opacity: 0;
  transform: scale(1.05);

  transition:
    clip-path 1.2s ease-out,
    filter 1.2s ease-out,
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

/* When parent .ai-four becomes active */
.ai-four.active img {
  clip-path: inset(0 0 0 0); /* Fully reveal */
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}

/* connectone */
.connectone {
  overflow: hidden;
}

.connectone img {
  width: 100%;
  border-radius: 15px;

  /* Start fully hidden from bottom */
  clip-path: inset(0 0 100% 0);
  filter: blur(8px);
  opacity: 0;
  transform: scale(1.05);

  transition:
    clip-path 1.2s ease-out,
    filter 1.2s ease-out,
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

/* Animate when parent becomes active */
.connectone.active img {
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}

/* dropdown */.pagee {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
}
.pagee span {
  transition: transform 0.2s ease;
  padding-top: 5px;
}
.pagee:hover .rotate span {
  transform: rotate(180deg);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.dropdown.active {
  display: block;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 20px 40px;
}

.dropdown-grid a {
  text-decoration: none;
  color: #374151; /* neutral-700 */
  font-weight: 500;
}

.dropdown-grid a:hover {
  color: #d97706; /* like the orange in your image */
}
/* fade */
.fade-up-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 3s ease, transform 3s ease; /* 3000ms like AOS */
}

.fade-up-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-on-scroll-long {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 3s ease, transform 3s ease;
}

.fade-up-on-scroll-long.visible {
  opacity: 1;
  transform: translateY(0);
}


/*  */
.awho{
  background-color: #132030;
  color: white;
  text-align: center;
  padding: 90px 350px;
  margin: 0px 30px;
  border-radius: 20px;
}
.awhoone{
    line-height: 1.5;
    font-size: 1.25rem;
    padding-bottom: 30px;

}
.awhotwo{
      letter-spacing: -.05em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    padding-bottom: 20px;
}
.awhothree{
      letter-spacing: -.04em;
          font-size: 1rem;
    line-height: 1.5;
    padding-bottom: 30px;
}
.awhofour p {
  padding: 15px 30px;
  background-color: #9d5a32;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.awhofour p:hover {
  background-color: #944f28;
  transform: scale(0.95); /* This shrinks the element slightly */
}


.afor .forover {
    padding: 60px 210px 40px 90px;
}
.afor .clientss {
  padding: 60px 100px;
}

.acase{
  padding: 100px 600px 100px 100px;

}
.acaseone{
  color: #191615;
  font-size: 1.25rem;
    line-height: 2.1;
}
.acasetwo{
  letter-spacing: -.05em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    padding: 20px 0px;
        font-family:'Times New Roman', Times, serif ;

}
.acasethree{
  letter-spacing: -.04em;
      font-size: 1rem;
    line-height: 1.5;
    color: #888;
    padding-bottom: 20px;
}
.acasefour{
  display: inline-block;
 background-color: #9d5a32;
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
      font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
     transition: background-color 0.3s ease, transform 0.3s ease;

}


.acasefour:hover {
  background-color: #944f28;
  transform: scale(0.95); /* This shrinks the element slightly */
}


.aintellectual{
  display: flex;
  gap: 50px;
  padding: 0px 100px 70px 100px;
}
.aintellectualone{
  width: 50%;
}


/* two cards */
.aintellectualone{
  border: 1px solid #ccc;
  border-radius: 25px;
  overflow: hidden;
  padding: 0px 0px 20px 0px;
}
.aintellectualone img{
  height: 200px;
  object-fit: fill;
 
  width: 100%;
}
.acorporate{
  display: flex;
  text-align: left;
  gap: 20px;
  padding: 20px;
  
}
.acorporate p{
  background-color: lightblue;
  font-weight: 500;
  letter-spacing: -.01em;
    font-size: .75rem;
    padding: 5px;
    border-radius: 5px;
}
.aintel{
  font-size: 1.35rem;
font-weight: 500;
padding: 0px 20px 20px 20px ;
}
.aconsultt img{
width: 30px;
height: auto;
  transition: transform 0.3s ease;
}
.aconsultt{
  display: flex;
  padding-left: 20px;
  align-items: center;
  gap: 5px;
      font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
}

.aintellectualone {
  border-radius: 25px;
  overflow: hidden;
  transition: border 0.3s ease; /* smooth border animation */
}

.aintellectualone img {
  height: 200px;
  width: 100%;
  object-fit: fill;
  transition: transform 0.3s ease; /* smooth scale */
}

.aconsultt img {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease; /* smooth arrow move */
}

/* Hover effects */
.aintellectualone:hover .aconsultt img {
  transform: translateX(5px);
}

.aintellectualone .reveal-wrapper.active img:hover {
  transform: scale(1.08);
}


.aintellectualone:hover {
  border: 1px solid #9a5636;
}
.atoday{
 
  display: flex;
  background-color: #132030;
  width: 80%;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
  border-radius: 15px;
  overflow-x: hidden;
}
.atodayone{
  padding: 50px 20px 20px 20px;
  width: 50%;
}
.atodaytwo{
  width: 50%;
}
.atodaytwo img{
  width: 90%;
  border-radius: 30px;
  padding: 20px 0px;
  
}
.ajoinustodayy{

      letter-spacing: -.05em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    color: white;
}
.aexperience{
  padding-top: 40px;
  color: white;
      letter-spacing: -.04em;
      font-size: 1rem;
    line-height: 1.5;
    padding-bottom: 50px;
}
.acontact{
  color: white;
  background-color: #9d5a32;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}



.acontact:hover {
  background-color: #944f28;
  transform: scale(0.95); /* This shrinks the element slightly */
}
.aabouttwo:hover p{
  background-color: #132030;
  color: white;
}
/* animation on about page first */
/* Initial hidden state */
.aintellectualone .reveal-wrapper {
    overflow: hidden;
  height: 200px; /* Keep layout space */
}

.aintellectualone .reveal-wrapper img {
  height: 200px;
  width: 100%;
  object-fit: fill;
 transform: translateY(-150px); /* Start above */
  filter: blur(8px);
  opacity: 0;
  transition: all 1.2s ease-out;
}

/* Reveal only when .reveal-wrapper becomes active */

.aintellectualone .reveal-wrapper.active img {
  opacity: 1;
  filter: blur(0);
    transform: translateY(0); /* Slide into position */
}

/* Container */
.atodaytwo {
  overflow: hidden;
  text-align: center;
  margin: 50px auto;
}

/* Image with hidden starting state */
.atodaytwo img {
  width: 90%;
  border-radius: 30px;

  clip-path: inset(0 0 100% 0); /* Hide from bottom */
  filter: blur(8px);
  opacity: 0;
  transform: scale(1.05);

  transition:
    clip-path 1.2s ease-out,
    filter 1.2s ease-out,
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

/* Reveal effect when active */
.atodaytwo.active img {
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}
/* hamburger */
.aabout {
    align-items: center;
    display: flex;
    padding: 20px 40px;
  }

  .aaboutone {
    width: 60%;
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .aabouttwo {
    width: 40%;
    text-align: end;
  }

  .aservices {
    display: flex;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #222;
    opacity: 0.8;
    justify-content: space-between;
  }

  .aabouttwo p {
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #944f28;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-family: Inter, sans-serif;
    font-size: 1rem;
  }

  .aaboutus {
    color: #11190c;
    font-weight: 700;
  }

  .acart {
    color: #132030;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .apage {
    align-items: center;
    display: flex;
    gap: 5px;
    cursor: pointer;
    position: relative;
  }

  .apage span {
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .rotates {
    transform: rotate(180deg);
  }

  .apage img {
    filter: brightness(0%) invert(0%);
    width: 12px;
    height: 12px;
  }

  .dropdowns {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    background-color: #132030;
    color: white;
    padding: 30px 40px;
    border-radius: 20px;
    z-index: 10;
    white-space: nowrap;
  }

  .dropdowns.show {
    display: block;
  }

  .dropdown-grids {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 20px 40px;
  }

  .dropdown-grids p {
    margin: 0;
    font-size: 14px;
    color: #ccc;
    cursor: pointer;
  }

  .dropdown-grids p.orange {
    color: #f4722b;
  }

  .hamp{
    display: flex;
    justify-content: space-between;
  }