html {
  scroll-behavior: smooth;
}

     a {
  position: relative;
  text-decoration: none;
}

 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color:white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
top: 20px;
}

 a:hover::after {
  transform: scaleX(1);
}
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      overflow-x: hidden;
      /*background-color: #f9f9f9;*/
    }

    /* Header */
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 40px;
      background-color: #3c254d;
      color: white;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
    }

    .logo img {
      height: 70px; 
    }

    nav {
      display: flex;
      align-items: center;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 30px;
    }

    .nav-links li a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .nav-links li a:hover {
      color: #a1a1a1;
    }

    .hamburger {
      display: none;
      font-size: 30px;
      cursor: pointer;
      margin-left: 20px;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 40px;
        background-color: #3c254d;
        padding: 20px;
        border-radius: 10px;
      }

      .nav-links.show {
        display: flex;
      }

      .hamburger {
        display: block;
      }
    }

    /* Hero Section */
    .hero {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  position: center;
}

/* Wave shape at the bottom */
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 150px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 150" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" fill-opacity="1" d="M0,96L60,85.3C120,75,240,53,360,64C480,75,600,117,720,128C840,139,960,117,1080,90.7C1200,64,1320,32,1380,16L1440,0L1440,160L1380,160C1320,160,1200,160,1080,160C960,160,840,160,720,160C600,160,480,160,360,160C240,160,120,160,60,160L0,160Z"/></svg>') no-repeat bottom center;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}


  .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
}


    .hero-overlay {
      position: relative;
      z-index: 1;
      height: 100%;
      width: 100%;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.4);
      text-align: center;
      padding: 20px;
    }

    .hero-overlay h1 {
      font-size: 3rem;
      max-width: 90%;
    }

    @media (max-width: 768px) {
      .hero-overlay h1 {
        font-size: 2rem;
      }
     
    }

    /* Stats Section */
    .stats-section {
      background-color: #3c254d;
      color: white;
      padding: 80px 20px;
      width: 100vw;
    }

    .stats-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .stats-title {
      font-size: 2.8rem;
      text-align: center;
      margin-bottom: 10px;
      color: #fff;
    }

    .stats-subtitle {
      font-size: 1.1rem;
      text-align: center;
      margin-bottom: 50px;
      color: #c8b6d7;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      padding: 0 10px;
    }

    .stat-box {
      background-color: #fff;
      color: #3c254d;
      border-radius: 15px;
      padding: 40px 30px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .stat-box h3 {
      font-size: 2.5rem;
      margin-bottom: 10px;
    }

    .stat-box p {
      font-size: 1.1rem;
      font-weight: 500;
    }

    .stat-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

   /* Clients Section */
.clients-section {
  background: #f2f2f2;
  padding: 60px 20px;
  text-align: center;
}

.clients-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #3c254d;
}

.clients-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clients-swiper .swiper-slide img {
  width: 150px; /* Set a fixed width */
  height: 80px; /* Set a fixed height */
  object-fit: contain; /* Ensure the image fits without distorting */
  padding: 10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.clients-swiper .swiper-slide img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}
/* Services Section */
.services-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.services-title {
  font-size: 2.8rem;
  color: #3c254d;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.service-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-name {
  font-size: 1.5rem;
  color: #3c254d;
  margin: 20px 0 10px;
}
.stats-title-glow {
    font-size: 2.2rem;
    margin-bottom: 10px;
    /*color: #0ff;*/
    /*text-shadow: 0 0 10px #0ff, 0 0 20px #00e6e6;*/
}
.service-desc {
  font-size: 0.95rem;
  color: #555;
  padding: 0 20px 30px;
  line-height: 1.6;
}
/* Our Work Section */
.our-work {
  padding: 80px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.our-work .section-title {
  font-size: 2.5rem;
  color: #3c254d;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .services-grid {
    display: contents !important;
  }
  .service-card {
    margin: 10px;}
}



/* Our Work Section */
.our-work {
  padding: 80px 20px;
  text-align: center;

}

.our-work .section-title {
  font-size: 2.5rem;
  color: #3c254d;
  margin-bottom: 40px;
}

/* Flip Box Container */
.flip-box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
}

/* Individual Flip Box */
.flip-box {
  width: 300px;
  height: 350px;
  perspective: 1000px;
}

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

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



/* Front and Back Faces */
.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* This ensures the title stays at the bottom */
}

/* Front Face */
.flip-box-front {
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.flip-box-front img {
  width: 100%;
  height: 80%;  /* Image takes 80% of the height of the card */
  object-fit: cover;
  border-radius: 10px;
}

.flip-box-front h3 {
  margin-top: 20px; /* Provides space between the image and the title */
  font-size: 1.2rem;
  color: #3c254d;
  padding-bottom: 15px;
  text-align: center;
  background-color: white; /* Background to keep the title clear */
  width: 100%;
}

/* Back Face */
.flip-box-back {
  background-color: #3c254d;
  color: #fff;
  transform: rotateY(180deg);
  text-align: center;
  padding: 20px;
}

.flip-box-back p {
  font-size: 1rem;
  line-height: 1.5;
  padding-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .flip-box {
    width: 100%;
    max-width: 320px;
  }
}




    /* ===footer=== */
    .footer {
        
   background-color: #3c254d;
  color:#fff;
  font-size:1.0rem;
  padding: 60px 20px 30px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1400px;
  margin: auto;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-logo {
  max-width: 190px;   
  margin-bottom: 20px;
   color: #11A2E5;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ddd;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #11A2E5;
  border-bottom: 2px solid#11A2E5;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col h5 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color:#c9f5ff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-col p a {
  color: #ccc;
  text-decoration: none;
}

.footer-col p a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid #555;
  margin-top: 30px;
}


/* ==aout us s==== */
.about-section {
  background-color: #fff;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
   /*background-image: linear-gradient(to right bottom, #302ac3, #5e55d5, #847fe5, #aaa8f3, #d2d2ff);*/
}
.about-section {
        background-image: linear-gradient(to right bottom, #302ac3, #5e55d5, #847fe5, #aaa8f3, #d2d2ff);
      background-size: cover; 
      background-repeat: no-repeat; 
      background-position: center;
}

.about-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about-image {
  flex: 1 1 500px;
}

.about-image img {
 width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 10px 10px 10px lightblue;

}

.about-text {
  flex: 1 1 600px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #a579d0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-top: 10px;
  color: #3c254d;
  margin-bottom: 15px;
}

.underline {
  width: 50px;
  height: 4px;
  background: #a579d0;
  margin-bottom: 20px;
  border-radius: 2px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
}



.cta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #3c254d;
  color: white;
  padding: 60px 40px;
  border-radius: 20px;
  margin: 40px 20px;
  flex-wrap: wrap;
}

.cta-content {
  max-width: 600px;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.cta-button button {
  padding: 12px 24px;
  font-size: 1rem;
  background: white;
  color: #3c254d;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button button:hover {
  background: #f2f2f2;
}

/* Popup Form Styles */
.popup-form {
  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-content {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.popup-content h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #3c254d;
}

.popup-content input,
.popup-content textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.popup-content button {
  background: #3c254d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}
.th-social a {
	display: inline-block;
	width: 46px;
	height: 46px;
	line-height: 46px;
	background-color: #fff;
	color: #9b51e0;
	font-size: 16px;
	text-align: center;
	margin-right: 5px;
	border-radius: 50%
}

.th-social a:last-child {
	margin-right: 0
}

.th-social a:hover {
	background-color: #ddd;
	color: #9b51e0;
}

.th-social.style2 a {
	--icon-size: 40px;
	font-size: 14px;
	background-color: transparent;
	color: #ddd;
	border: 1px solid
}

.th-social.style2 a:hover {
	border-color: #fff;
	color: #9b51e0;
	background-color: #ddd;
}

.th-social.color-theme a {
	color: #ddd;
	border-color: #ddd;
}
