 * {
     box-sizing: border-box; 
     margin: 0; 
     padding: 0; 
    }
    body { 
        font-family: 'Montserrat', sans-serif;

    }
   .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 0.5rem 1rem;
  position: relative;   /* ✅ make navbar a positioning context */
  z-index: 1000;        /* ✅ ensure navbar stays on top */
}
   .logo{
    width: 150px;
    display: flex;
    align-items: center;
   }
   .logo img{
    width: 100%;
    height: auto;
    }

    .headingmain{
      font-weight: 900;
      font-size: 2rem;
      color: #648DD1;
    }
    .techclass{
      font-weight: 400;
      font-size: 1rem;
      color: #000;
    }
    .navbar .nav-links {
      display: flex;
      gap: 2rem;
    }
    .navbar .nav-links a {
      color: #000;
      text-decoration: none;
      font-size: 1.2rem;
      transition: color 0.2s;
    }
    .navbar .nav-links a:hover {
      color: #648DD1;
    }
    .navbar .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }
    .navbar .menu-toggle span {
      height: 3px;
      width: 25px;
      background: #000;
      margin: 4px 0;
      border-radius: 2px;
      transition: 0.3s;
    }
    @media (max-width: 768px) {
      .navbar .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 150px;
        display: none;
        padding: 1rem ;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      }
      .navbar .nav-links.active {
        display: flex;
      }
      .navbar .menu-toggle {
        display: flex;
      }
    }
/* hero section */
.hero {
  display: flex;
  align-items: stretch;
  min-height: 70vh;
  background:linear-gradient(to bottom right, #9FB8E6, #648DD1);

  padding: 0;
  position: relative;
}
.hero-content {
  flex: 1 1 50%;
  color: #fff;
  background: transparent;
  text-align: left;
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 50%;
  min-height: 100%;

}
.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #443f3f;
}
.hero-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(to left, #fff 50%, #648DD1 50%); /* 👈 changed to 'to left' */
  background-size: 200% 100%;
  background-position: right bottom; /* 👈 start from right */
  color: #000;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: background-position 0.5s ease-in-out;
}

.hero-btn:hover {
  background-position: left bottom; /* 👈 animate left → right */
  color: #000;
}


.hero-image {
  flex: 1 1 50%;
  max-width: 50%;
  min-height: 90%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* Responsive styles */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    min-height: 50vh;
  }
  .hero-content, .hero-image {
    max-width: 100%;
    flex: 1 1 100%;
    min-height: unset;
    padding: 2rem 1rem;
  }
  .hero-image {
    margin-top: 2rem;
    height: 250px;
  }
  .hero-image img {
    height: 100%;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .hero-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
  .hero-image {
    height: 140px;
  }
  .hero-image img {
    max-width: 100%;
    height: 100%;
  }
}
/* about us */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 8%;
  gap: 4rem;
  background: #fff;
}

.about-image {
  flex: 1 1 50%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.about-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #333;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
    padding: 3rem 5%;
    text-align: center;
  }
  .about-content {
    align-items: center;
  }
}
/* what we do  */
.services {
  padding: 20px;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
}

/* Top text block */
.title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}
.subtitle {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 30px;
  text-align: center;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

/* Individual card */
.card {
  background: #e7f0ff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
}



/* Headings */
.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Paragraphs */
.card p {
  font-size: 15px;
  color: #4b5563;
}

/* Responsive tweak */
@media (max-width: 640px) {
  .title {
    font-size: 28px;
  }
  .subtitle {
    font-size: 16px;
  }
}
/* why choose us  */
.why-choose {
  padding: 80px 24px;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
}
.row {
  display: flex;
  align-items: center;
  gap: 64px;
}

/* ---------- LEFT IMAGE ---------- */
.col-img {
  flex: 0 0 45%;
}
.col-img img {
  width: 100%;
  border-radius: 12px;
}

/* ---------- RIGHT TEXT ---------- */
.col-txt {
  flex: 1;
}
.title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px;
}
.intro {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 32px;
}
/* ---------- FEATURE LIST (no dot + left→right black hover) ---------- */
.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.features li {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;                 /* hide the sliding pseudo-element */
  cursor: pointer;
  transition: color 0.4s ease;
  z-index: 1;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 1%;               /* exactly 1 % of the box */
  background: #92b4f2;
  transition: width 0.4s ease;
  z-index: -1;
}
.features li:hover {
  color: #fff;                      /* text turns white */
}
.features li:hover::before {
  width: 100%;                      /* fill from left → right */
}


/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    gap: 40px;
  }
  .features {
    grid-template-columns: 1fr;
  }
}

/* our clients */
.clients-section {
      text-align: center;
      padding: 60px 20px;
    }

    .clients-section h2 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 40px;
      color: #1e1e1e;
    }

    .clients-logos {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 100px; /* space between logos */
      flex-wrap: wrap;
    }

    .clients-logos img {
      max-width: 120px;
      height: auto;
    
      opacity: 0.9;
      transition: all 0.3s ease;
    }

    .clients-logos img:hover {
      filter: grayscale(0%);
      opacity: 1;
      transform: scale(1.05);
    }

/* footer */
footer {
  background: #76a3eb;
  padding: 50px 20px 20px;
  color: #ddd;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.footer-col p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #f9f9f9;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin: 10px 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: #f9f9f9;
  font-size: 14px;
  position: relative;
  transition: 0.3s;
}

/* Hover underline animation */
.footer-col ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: #000;
  transition: width 0.3s ease-in-out;
}

.footer-col ul li a:hover {
  color: #000;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

.contact-info p {
  margin: 10px 0;
  font-size: 14px;
  color: #f9f9f9;
}

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 10px;       /* space between icons */
  flex-wrap: nowrap; /* ✅ prevents wrapping */
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #648DD1;
  font-size: 16px;
  transition: 0.3s;
}

.social-links a:hover {
  background: #648DD1;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #fff;
  padding: 15px;
  margin-top: 30px;
  font-size: 14px;
  color: #fff;
}
/* =============================
   Responsive Footer
   ============================= */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col p,
  .footer-col ul li a,
  .contact-info p {
    font-size: 13px;
  }
}

/* Mobiles (≤ 600px) */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 25px;
  }

  .footer-col h3 {
    font-size: 15px;
  }

  .footer-col p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-col ul li {
    margin: 8px 0;
  }

  .footer-col ul li a {
    font-size: 13px;
  }

  .contact-info p {
    font-size: 13px;
  }

  .social-links {
    justify-content: center;
  }
}
