/* General Styles */

  
  @keyframes animate
  {
    0%{
        opacity: 1;
        transform: translate(0, 0);
    }
    20% {
      opacity: 0.01;  /* Fade out quickly within first 20% of animation */
  }
    100%{
        opacity: 0;
        transform: translate(var(--x), var(--y));
    }
  }
  @media (max-width: 768px) {
    html {
      overflow-x: hidden;  /* Prevent horizontal scrolling */
      margin: 0;
      padding: 0;
      max-width: 100%;
  }
  }
  
  body {
    font-family: 'Poppins', sans-serif;
      margin: 0;
      padding: 0;
      text-align: center;
      overflow-x: hidden;
        scrollbar-width: none; /* For Firefox */
        -ms-overflow-style: none; /* For Internet Explorer and Edge */
        background-color: #000;
  }
    
    body::-webkit-scrollbar {
        display: none; /* For Chrome, Safari, and Opera */
    }
      
  .navbar {
    transition: background-color 0.3s ease;
  }
  
  .navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.904);
    opacity: 0.9; /* Change to the color you want */
    color: white; /* Text color if needed */
  }
  .relative {
    position: relative;
  }
  
  .absolute {
    position: absolute;
  }
  
  .inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
  .min-h-screen {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
  }
  
  .grid {
    display: grid;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }
  
  .gap-12 {
    gap: 3rem;
  }
  
  .pt-32 {
    padding-top: 8rem;
  }
  
  .pb-12 {
    padding-bottom: 3rem;
  }
  
  .items-center {
    align-items: center;
  }
  /* General styles nav */
  
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 50;
  }
  
  .container-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
  }


  /* logo */
  .logo-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 150px; /* Adjust based on your logo */
    width: auto;
}

.logo-main {
    height: 150px;
    display: block;
    margin-top: 3px;
    margin-left: 65px;
}
.logo-container img {
  max-width: none !important; /* prevents Tailwind from shrinking the image */
  height: 150px !important; /* keeps fixed height */
  width: auto !important; /* keeps proportions */
}
.logo-left,
.logo-bottom {
    position: absolute;
    height: 150px;
    opacity: 0; /* Hide initially */
    transition: all 0.8s ease-in-out; 
}

/* Bottom Image */
.logo-bottom {
    left: 65px;
    top: 100%;
    margin-top: 23px;
    transition: all 0.7s ease-in-out; 
}

/* Left Image */
.logo-left {
    left: -10%;
    top: 5px;
    margin-left: -50px;
}

/* Hover Effect */

.logo-container:hover .logo-bottom {
    top: 0;
    opacity: 1;
}

.logo-container:hover .logo-left {
    left: 0;
    opacity: 1;
}

@media (max-width: 768px) {
  .logo-container {
    margin-left: -70px;
  }
}


  
  .nav-links {
    display: flex;
    gap: 2.5rem;
    margin-right: 330px;
    align-items: center;
    
  }
  .nav-ser{
    gap: 1rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
  }

  .nav-ser:hover .dropdown-icon {
    transform: rotate(180deg);
  }
  .dropdown-icon {
    font-size: 0.8rem; /* Adjust icon size */
    transition: transform 0.3s;
  }
  .nav-ser:hover {
    color: #4299e6;
  }
  
  /* Rotate icon when hovered */
  
  /* Dropdown styles */
  .nav-item {
    position: relative;
  }

  
  .dropdown-icon {
    margin-left: 5px;
  }

  .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    left: -100px;
    width: 650px; /* Increased width */
    background: rgb(37, 37, 37);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.27);
    border-radius: 20px;
    display: flex;
    padding: 15px;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
  }

  .dropdown-left {
    width: 40%;
    padding: 10px;
    border-right: 1px solid #ddd;
    margin-left: 20px;
    text-align: left;
    color: #4299e6;
    font-size: 20px;
  }
  
  .industries-list {
    list-style: none; /* Removes bullet points */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
    text-align: left; /* Ensures left alignment */
    margin-bottom: 10px;
    color: black;
    font-size: 17px;
    
    
  }
  .in{
    color: white;
    cursor: default;
    text-decoration: none;
  }
  .in:hover{
color: #4299e6;
  }
  

  .dropdown-right {
    width: 60%;
    padding: 10px;
  }
  .dropdown-right a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px 0;
    color: white;
    transition: background 0.3s;
  }
  .dropdown-right a:hover {
    background: #2f2e2e;
    color: #4299e6;
  }
  
  .dropdown-right img {
    margin-right: -20px;
    margin-left: -30px;
    width: 150px;
  }
  .servic{
    text-align: left;
    color: #4299e6;
    font-size: 20px;
    margin-left: 20px;
  }
  .service-content{
    text-align: left;
    font-size: 20px;
  }
  .service-content p {
    margin: 0;
    font-size: 14px;
    color: #aaaaaa;
    text-align: left;
  }
  .dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: black;
    transition: background 0.3s;
  }

  .dropdown-link:hover {
    background: #323232;
  }

  .dropdown-link i {
    margin-right: 10px;
  }

  
  .partners-button {
    display: block;
    margin-top: 15px;
    text-align: left;
    color:#4299e6;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    margin-left: -8px;
   
  }

  .partners-button:hover {
    background: #2f2e2e;
  }

  .nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .nav-link:hover {
    color: #4299e6;
  }
  
  .btn {
    color: #333333;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: -10px;
    margin-bottom: -10px;
  }
  
  .btn:hover {
    background-color: rgba(51, 51, 51, 0.9);
  }
  
  /* Mobile menu styles */
  .mobile-only {
    display: none;
  }
  
  .menu-button {
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .menu-icon {
    width: 24px;
    height: 24px;
    color: #333333;
    transition: color 0.3s;
  }
  
  .menu-icon:hover {
    color: #4299e6;
  }
  
  .mobile-menu {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }
  
  .mobile-nav-link {
    display: block;
    color: #333333;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s;
  }
  
  .mobile-nav-link:hover {
    color: #4299e6;
  }
  
  .hidden {
    display: none;
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    .desktop-only {
      display: none;
    }
  
    .mobile-only {
      display: block;
    }
  }






/* Full-screen fixed background image */
.full-screen-image {
  width: 100vw;
  height: 100vh;
  background-image: url('assets/serv.png'); /* Replace with your image URL */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Container for boxes */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 150px;
  margin-top: 120vh; /* Start below the screen */
}

/* Box styles */
.box {
  width: 300px;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: white;
  position: relative;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.8s ease-in-out;
  border-radius: 30px;
  background: linear-gradient(145deg, #2a2a2a, #1b1b1b);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.box1 { 
  background: #7ed88e; 
  margin-left: -900px;
  border-radius: 40px;
}
.box2 { 
  background: #7ed88e;
  margin-right: -800px;
  border-radius: 40px;
}
.box3 {
   background: #7ed88e; 
   margin-left: -400px;
   border-radius: 40px;
}
.box4 { 
  background: #7ed88e; 
  margin-right: -500px;
  margin-bottom: 50px;
  border-radius: 40px;
}

/* Class to make boxes appear */
.show {
  opacity: 1;
  transform: translateY(0);
}

.box1 { background: #78c187;
  border-radius: 40px; }
.box2 { background: #78c187;
  border-radius: 40px; }
.box3 { background: #78c187;
  border-radius: 40px;}
.box4 { background: #78c187; 
  border-radius: 40px;}
  /* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    margin-top: 90vh; /* Adjusted for smaller screens */
    gap: 40px;
  }

  .box {
    width: 250px;
    height: 280px;
    font-size: 14px;
    text-align: center;
  }

  /* Center all boxes */
  .box1, .box2, .box3, .box4 {
    margin: 0;
  }
  .box4 {
    margin-bottom: 30px;
  }
}


/* Flip effect styles */
.box {
  perspective: 1000px;
}

.box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.box:hover .box-inner {
  transform: rotateY(180deg) scale(1.05);
}

.box-front, .box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  font-size: 15px;
  text-align: center;
  border-radius: 40px;
}

.box-front {
  background: linear-gradient(135deg, #42cdf6, #3aa6de);
  color: white;
  box-shadow: 0 8px 20px rgba(66, 205, 246, 0.3);
}

.box-back {
  background: linear-gradient(135deg, #78c187, #5fae7e);
  color: white;
  transform: rotateY(180deg);
  box-shadow: 0 8px 20px rgba(120, 193, 135, 0.3);
}

.box:hover {
  transform: translateY(-10px) scale(1.03);
  transition: all 0.4s ease;
}
