*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: gilroy;
    
}

body,html{
    height: 100%;
    width: 100%;
   
    
}
nav {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 11vh;
  width: 100%;
  padding: 0 6vw;
  background-color: transparent;         /* Fully transparent */
  backdrop-filter: blur(4px);            /* Keeps the blur effect */
  -webkit-backdrop-filter: blur(4px);    /* Safari support */
  z-index: 10;
}
nav h1, .nav-right ul li a {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


nav h1 {
    font-size: 1.6vw;
    color: white;
    white-space: nowrap;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 2vw;
    
}

.nav-right ul{
    list-style: none;
    display: flex;
}

.nav-right ul li a{
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: 550;
    font-size: 18.6px;
    padding: 20px 25px;
    overflow: hidden;
}

.nav-right ul li a:before{
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background-color: #fff;
    transform: all ease 0.5s;
    transform: scaleX(0);
}

.nav-right ul li a:hover:before{
    transform: scaleX(1);
}

.nav-right ul li a span{
    display:block;
    transition: all ease 0.5s;
}

.nav-right ul li a span:nth-child(2){
       left:0;
       top: 0; right: 0;
       text-align: center;
       position: absolute;
       transform: translateY(-30px);
}


.nav-right ul li a.btn {
  display: inline-block;
  padding: 20px 20px;                   
  color: white !important;         
  border-radius: 50px;             
  font-weight: 550;
  font-size: 17.6px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-right ul li a:hover span:nth-child(1){
    transform: translateY(50px);

}

.nav-right ul li a:hover span:nth-child(2){
    transform: translateY(20px);
}

.video-section{
    position: relative;
    height: 80vh;
    overflow: hidden;

   
}

.video-section video{
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    transform: translate(-50%,-50%);
    object-fit:cover;
    z-index:0;
}
.video-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  z-index: 1;
}

.video-overlay{
     position: absolute;
  bottom: 60px;
  left: 60px;
  z-index: 2;
  color: white;
}

 .video-overlay h4 {
      font-size: 22px;
      opacity: 0.8;
      margin-top: 1.1vh;
      margin-left: 10vh;
    }

    .video-overlay h1 {
      font-size: 3.3em;
      font-weight: bold;
      max-width: 700px;
      line-height: 1.2;
      margin-left: 10vh;
    }

    .play-pause-btn {
      position: absolute;
      bottom: 30px;
      right: 30px;
      z-index: 2;
      background: rgba(0,0,0,0.5);
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      color: white;
      font-size: 18px;
      cursor: pointer;
    }

    .play-pause-btn:hover {
      background: rgba(0,0,0,0.7);
    }

    .gradient-text-section {
  background: linear-gradient(to right, #1a1a1a, #333333, #4d4d4d, #666666, #808080);
  color: white;
  padding: 60px 40px;
  text-align: left;
}

.text-container {
  max-width: 900px;
  margin-left: 12vh;
  font-size: 1.5rem;
  line-height: 1.6;
text-align: left;
}

.text-container p:nth-of-type(1) {
  line-height: 4rem;
}
.text-container p:nth-of-type(3) {
  line-height: 4rem;
}

.who-we-are{
    display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  gap: 40px;
  background-color: white;
  height: 91vh;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
  padding-bottom: 40px;
  overflow-x: hidden;

}

.who-content{
    flex: 1;
    max-width: 50%;
    margin-left: 11vh;

}

.who-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.who-content p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #333;
}

.who-image {
  flex: 1;
  max-width: 70%;
}

.who-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  filter: brightness(75%);
  
}

nav.dark {
  background-color: transparent !important;
}

nav.dark h1,
nav.dark .nav-right ul li a {
  color: black !important;
  text-shadow: none !important;
}

.Services{
    min-height: 100vh;
 
 padding: 100px 20px 60px;


    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    
  box-sizing: border-box;
   background-color: #dedede; /* light grey box background */
  margin: 60px auto;
  max-width: 1400px;
  border-radius: 16px; /* optional, for rounded edges */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05); /* soft shadow */
  margin-bottom: 0;
  padding-bottom: 60px;
}

.Services h1{
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 90px;
    margin-top: 0;
    padding-top: 0px;

}

.services{
    display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 3 boxes in a row */
  gap: 30px;
  width: 100%;
   max-width: 1200px;
   margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
    padding-left: 10vh;
    
}

.services .box{
    height: 300px;
    width: 100%;
    padding: 20px;
    background-color: #333333;
    overflow: hidden;
    transition: 0.3s ease;
    margin: 0;
    border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  

}

.services .box i{
    color: #fff;
    margin: 15px;
    transition: inherit;
    transition-delay: 0s;
}

.services h4{
    color: white;
    margin-top: 20px;
    margin-bottom: 15px;
    transition: inherit;
    transition-delay: 0.5s ;
    font-weight: 3000;
    font-size: 3vh;
}

.services p{
    color: #dfdfdf;
    transition: inherit;
    transition-delay: 0.1s ;
    font-size: 2vh;
}
.read{
    color: #fff;
    overflow: hidden;
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    padding-right: 2rem ;
}

.read:before{
    background: #fff;
    bottom: 0;
    height: .125rem;
    margin: auto;
    left: 0;
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    transform: scaleX(.2);
    transform-origin: left center;
    z-index: 0;
    animation: link-out;
    animation-fill-mode: forwards;
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(.6,.01,0,1);
}

.read span{
    position: relative;
    transform: translateX(-200%);
    display: inline-block;
    transition: 0.6s cubic-bezier(.6,.01,0,1);
}

.box:hover .read span{
    transform: translateX(0%);
}

.box:hover .read:before{
    animation: link-in;
    animation-fill-mode: forwards;
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(.6,.01,0,1);
}
.box:hover i,
.box:hover h4,
.box:hover p{
    transform: translateY(-0.625rem);
}
@keyframes link-out{
    0%{
        transform-origin: right center;
        transform: scaleX(.2);
    }
    70%{
        transform-origin: right center;
    }
    71%{
        transform-origin: left center;
        transform: scaleX(1);
    }

    100%{
        transform-origin: left center ;
        transform: scaleX(.2);
    }
}
@keyframes link-in{
    0%{
        transform-origin: left center;
        transform: scaleX(.2);
    }
    70%{
        transform-origin: left center;
        transform: scaleX(1);
    }
    71%{
        transform-origin: right center;
     
    }

    100%{
        transform-origin: right center ;
        transform: scaleX(.2);
    }
}
.Services,
.who-we-are,
.gradient-text-section,
nav {
  max-width: 100%;
  overflow-x: hidden;
}
nav.dark {
  background-color: transparent !important;
}

nav.dark h1,
nav.dark .nav-right ul li a {
  color: black !important;
  text-shadow: none !important;
}

.gradient-text-section1 {
  background: linear-gradient(to right, #1a1a1a, #333333, #4d4d4d, #666666, #808080);
  color: white;
  padding: 60px 40px;
  text-align: left;
  margin-top: 0;
  padding-top: 60px;
  
}

.text-container1 {
  max-width: 900px;
  margin-left: 12vh;
  font-size: 1.5rem;
  line-height: 1.5;
text-align: left;

}

.text-container1 p:nth-of-type(1) {
  line-height: 4rem;
}
.text-container1 p:nth-of-type(3) {
  line-height: 4rem;
}

.cursor-follow-image {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  top: 0; left: 0;
}

.cursor-follow-image img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.feature-section {
  background-color: #f2f2f2;
  padding: 80px 30px;
  text-align: center;
  padding-top: 160px;
}

.feature-heading h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #111;

  
}

.feature-heading span {
  color: #4d4d4d;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
   flex: 1 1 calc(33.333% - 40px); 
  background: #fff;
  border-radius: 20px;
  padding: 30px 25px;
  min-width: 300px;
  max-width: 380px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.06),
    0 18px 36px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 16px 32px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.06);
}


.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #111;
}

.feature-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.feature-cta {
  margin-top: 20px;
}

.cta-button {
  display: inline-block;
  padding: 12px 26px;
  font-size: 1rem;
  border: 2px solid ;
  color: #111;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #fff;
  color: black;
}
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-box {
  background: #fff;
  padding: 30px 40px;
  border-radius: 14px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

.popup-box h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #222;
}

.popup-box p {
  font-size: 1rem;
  color: #444;
}

#popupClose {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
}

.cta-image {
  position: relative;
  background: url('https://images.unsplash.com/photo-1720036237193-ea82bdac7be0?auto=format&fit=crop&q=80&w=3240') center/cover no-repeat;

  color: white;
  text-align: center;
  padding: 6rem 2rem;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cta-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cta-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.cta-links a {
  color: #eaeaea;
  text-decoration: underline;
  transition: color 0.3s ease;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cta-links a:hover {
  color: #e28b10;
}

.cta-links span {
  color: #aaa;
}
html {
  scroll-behavior: smooth;
}
