@import url('https://fonts.googleapis.com/css2?family=Platypi:ital,wght@0,300..800;1,300..800&display=swap');


body {
  margin: 0;

  font-family: "Platypi", serif;
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  /* Add this line */
  top: 2%;
  /* Add this line */
  left: 5%;
  right: 5%;
  /* Add this line */
  width: auto;
  /* Add this line */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 50px;
  border: 1px solid rgb(66, 127, 202);
  background-color: #ffffff;
  color: #000000;
  border-radius: 50px;
  z-index: 100;
}

.logo-img {
  width: 40px;
  transition: ease-out;
}

.logo2-img {
  width: 100px;
}

.logo {
  display: flex;
  align-items: center;

}


.menu {
  list-style-type: none;
  margin: 0;
  padding: 5px 70px;
  display: flex;

  background-color: #ffffff;
  border-radius: 20px;
  cursor: pointer;
}



.menu li {
  margin-right: 40px;
}

.menu li:last-child {
  margin-right: 0;
}

.menu a {
  text-decoration: none;
  color: #000000;
}

.menu li .active {
  color: rgb(66, 127, 202);
}

.menu a:hover {
  color: rgb(66, 127, 202);
}

.btn {
  margin: 1%;
  padding: 10px 20px;
  background-color: #ffffff5e;
  border: 1px solid #000000;
  color: #000000;
  border-radius: 20px;
  cursor: pointer;
}

.btn:hover {
  background-color: #ffffff;
  border: 1px solid rgb(66, 127, 202);
  color: rgb(66, 127, 202);
}

.hamburger-menu {
  display: none;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #000000;
  margin: 5px 0;
}

.bar.change:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.bar.change:nth-child(2) {
  opacity: 0;
}

.bar.change:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* -------------   NAVBAR Ends  ------------   */



/* -------------   HERO Starts  ------------   */

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.941), rgba(0, 0, 0, 0.804));
  /* Add gradient overlay */
}

.hero-title {
  position: absolute;
  bottom: 40%;
  /* Increase the distance from the bottom */
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 4rem;
  /* Increase font size */
  text-align: center;
  z-index: 1;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
  font-family: "Platypi", serif;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.scroll-up {
  position: absolute;
  bottom: 30px;
  /* Adjust vertical position */
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  z-index: 1;
  opacity: 0.7;
  /* Reduce opacity */
  transition: opacity 0.3s ease;
  /* Add transition effect */
  flex-direction: column;

}

.scroll-up:hover {
  opacity: 1;
  /* Increase opacity on hover */
}

.scroll-up i {
  margin-right: 5px;
}

.scroll-up span {
  margin-left: 5px;
}



/* -------------   HERO Ends  ------------   */


/* -------------   Section Starts  ------------   */



.section {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Platypi", serif;

  z-index: 1;
}

.left {
  margin: 10%;

}

.left h1 {
  font-size: 4rem;
  color: #220b4a;
}

hr {
  width: 100px;
  height: 4px;
  text-align: left;
  margin-left: 0%;
  background-color: rgb(66, 127, 202);
}

.right {
  width: 40%;
  margin: 10%;


}

e {
  color: rgb(66, 127, 202);
}

.section img {
  width: 300px;
}

.right button {
  padding: 2px;
  border: #ffffff;
  border-bottom: 2px solid rgb(66, 127, 202);
  color: rgb(66, 127, 202);
  background-color: #ffffff;

}


/* -------------   Section Ends  ------------   */



/* -------------   Container Starts  ------------   */




.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  margin-bottom: 5%;
}

.card {
  width: 250px;
  height: 350px;
  margin: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

h2 {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 100%;
  text-align: center;
  transform: translateX(-50%);
  color: #fff;
  margin: 0;
  z-index: 1;
}

.card-content {
  width: 100%;
  height: 100%;
  position: relative;
}

.background-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.description {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: -100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #250964;
  transition: right 0.3s ease;
}

.description p {
  margin: 30% 0 0;
  color: #ffffff;
  font-size: 0.9rem;
}

.card-button {
  position: absolute;
  bottom: 10px;
  right: 0%;
  transform: translateX(-50%);
  padding: 8px 16px;
  background-color: rgba(0, 123, 255, 0);
  border: #ffffff;
  border-bottom: 2px solid rgb(66, 127, 202);
  color: rgb(255, 255, 255);
  cursor: pointer;
  transition: background-color 0.3s ease;

  z-index: 1;
}


.card {
  overflow: hidden;
}

.background-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 90px;
  top: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), transparent);
  /* Adjust opacity as needed */
}

.background-image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 90px;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  /* Adjust opacity as needed */
}

.card-button:hover {
  font-size: medium;
}

.card:hover .background-image {
  opacity: 0;
}

.card:hover .description {
  right: 0;
}



/* -------------   Container Ends  ------------   */


/* -------------   Service Starts  ------------   */


.service-card-container {
  background-color: #250964;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;

}

.service-card {
  width: 300px;
  padding: 20px;
  margin: 20px;
  background-color: #f2f2f2;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
}


.service-card h3 {
  margin-top: 0;
  color: #220b4a;
}

.service-card .content {
  margin-top: 10%;
  flex-grow: 1;
}



/* Media queries for different screen sizes */

@media screen and (max-width: 768px) {
  .service-card {
    width: 250px;
  }
}

@media screen and (max-width: 576px) {
  .service-card {
    width: 200px;
  }
}



/* -------------   Service Ends  ------------   */


/* -------------   Product Starts  ------------   */

.sectionn {

  padding: 100px 0;
}

.containerr {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.titles {
  flex: 0 0 20%;
  margin-right: 60px;
  /* Add margin to create space */
}

.titles ul {
  list-style: none;
  padding: 0;
}

.title {
  cursor: pointer;
  padding: 15px 20px;
  margin-bottom: 5px;
  background-color: #007bff;
  color: #fff;
  transition: background-color 0.3s;
}

.title:hover {
  background-color: #0056b3;
}

.projects {
  flex: 1;
  position: relative;
}

.project {
  width: 100%;
  max-width: 800px;
 
  padding: 100px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: absolute;
  top: 0;
}

.project.active {
  transform: translateX(0);
}

.project:not(.active) {
  right: 0%;
  /* Hide inactive cards */
  display: none;
}

.project h2 {
  margin-top: 0;

  color: #220b4a;
}

.project p {
  margin-bottom: 0;
  margin-left: 30%;
  color: #220b4a;
}



/* -------------   Product Ends  ------------   */


/* -------------   Testimonial Starts  ------------   */
.founder-info h2 {
  position: relative;
  color: #ffffff;
}

.founder-info p {
  position: relative;
  color: #ffffff;
}

.testimonial-section {
  display: flex;
}

.founder {
  background-color: #220b4a;
  border-radius: 15px;
  border: 1px solid #0056b3;
  padding: 5%;
  margin: 5%;
  flex: 1;
}

.founder img {
  width: 100px;
  border-radius: 50%;
}

.founder-info {
  margin-top: 20px;
}

.employee-testimonial {
  background-color: #0056b3;
  border-radius: 15px;
  border: 1px solid #220b4a;
  padding: 5%;
  margin: 5%;
  flex: 1;
 text-align: center;
}

.employee-testimonial img {
  width: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.employee-info h3 {
  margin-bottom: 5px;
}


/* -------------   Testimonial Ends  ------------   */





@media only screen and (max-width: 768px) {

  
  .project {
    top: 10%;
    width: 100%;
    max-width: 170px;
    padding: 5px;

  }

  .project p {
    margin-top: 107%;
    margin-bottom: 0; 
     margin-left: 0; 
    color: #220b4a;
}
  .hero-title{
    bottom: 10%;
  }
  .navbar {
    background-color: #fff;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #c5c5c5;
    padding: 20px;
    box-sizing: border-box;
  }

  .menu.show {
    display: flex;
  }

  .menu li {
    margin: 10px 0;
  }

  .logo-img-hover {
    display: none;
  }

  .hamburger-menu {
    display: block;
    cursor: pointer;
  }

  .navbar {
    padding: 10px;
  }

  .logo {
    justify-content: center;
    text-align: center;
    order: 2;
    /* Moves the logo to the center for small screens */
    flex-grow: 1;
    /* Allows the logo to take up available space */
  }

  .btn {
    display: block;
    /* Display the button on small screens */
    order: 3;
    /* Moves the button to the right for small screens */

    padding: 7px 14px;
    font-size: small;
  }

  .section {
    flex-direction: column;
  }

  .section img {
    width: 150px;
  }

  .right {
    width: auto;
  }
}

/* New CSS for larger screens */
@media only screen and (min-width: 769px) {
  .btn {
    display: block;
    /* Ensure the button is always visible */
    order: 3;
    /* Place the button at the end */
  }



}




.footer {
  background-color: #220b4a;
  color: #fff;
  padding: 40px 20px;
  bottom: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5%;
}

.footer-info {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 100px;
  margin-right: 20px;
}

.contact-details {
  max-width: 600px;
}

.footer h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  align-items: center;
}

.icon {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
}

.icon:last-child {
  margin-right: 0;
}

.footer-bottom {
  border-top: 1px solid;
  text-align: center;
  padding-top: 20px;
  font-size: 0.8rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  display: inline;
  margin-right: 20px;
}

.footer-nav ul li:last-child {
  margin-right: 0;
}

.footer-nav ul li a {
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-info, .social-icons {
    margin-bottom: 20px;
  }
}
