* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: system-ui, 'Segoe UI', 'Open Sans', 'Helvetica Neue', sans-serif;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
header {
  width: 100%;
  min-height: 100vh; /* full screen */
  background-image: url(hero_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

.navbar {
  width: 100%;
  padding: 0.8rem 2rem; /* ✅ auto height */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #c7cbda;
  
}

.logo img {
  width: 120px; 
  max-width: 100%;
  height: auto;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar ul li {
  list-style: none;
}
.navbar ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
}

.humbarg {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* ✅ Responsive */
@media (min-width:390px) and (max-width: 767px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #c7cbda;
    width: 220px;
    max-width: 100%;   /* ✅ screen ke bahar nahi jayega */
    padding: 1rem;
    border-radius: 8px 0 0 8px;
  }
   .navbar ul li {
    padding: 0.7rem 0;
  }

  .navbar ul li a {
    color: #fff;
    font-size: 0.8rem;
  }

  .humbarg {
    display: block;
  }

  ul.active {
    display: flex;
  }

}
 
/* --- Hero Section --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 8%;
  gap: 2rem;
  height: calc(100vh - 80px);
}

/* Left side content */
.hero-content {
  flex: 1;
  color: #222;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.1rem;
  margin: 1rem 0 2rem;
  color: #555;
}

.hero-btn {
  background-color: #0077ff;
  color: #fff;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.hero-btn a{
  color: white;
  text-decoration: none;
}
.hero-btn:hover {
  background-color: #005fd4;
}

/* Right side image */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 3rem 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-image img {
    max-width: 90%;
    margin-top: 2rem;
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  width: 100%;
  padding: 5rem 8%;
  background: #f8f9fc;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Left side image */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
}

/* Right side content */
.about-content {
  flex: 1;
}
.about-content h2 {
  color: #0077ff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.about-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #222;
}
.about-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}
.stat-box {
  text-align: center;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.stat-box h4 {
  color: #0077ff;
  font-size: 1.8rem;
}
.stat-box p {
  font-size: 0.9rem;
  color: #333;
}

/* Button */
.about-btn {
  background-color: #0077ff;
  color: #fff;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.about-btn a{
  color: white;
  text-decoration: none;
}
.about-btn:hover {
  background-color: #005fd4;
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-content h3 {
    font-size: 1.4rem;
  }
}

/* ===== SERVICES SECTION ===== */
.services {
  width: 100%;
  padding: 2rem 8%;
  background: #fff;
  text-align: center;
}

.services-heading h2 {
  font-size: 2rem;
  color: #0077ff;
  margin-bottom: 0.5  rem;
}

.services-heading p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #f8f9fc;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  box-shadow: 20px 20px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card i {
  font-size: 1.8rem;
  color: #fff;
  background: #0077ff;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
  transition: 0.3s ease;
  box-shadow: 0 24px 20px rgba(0,0,0,0.1);
}


.service-card h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Hover effect */
.service-card:hover {
  background: #0077ff;
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card:hover i {
  background: #fff;
  color: #0077ff;
}

.service-card:hover h3, 
.service-card:hover p {
  color: #fff;
}

/* Animation on scroll */
.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .services-heading h2 {
    font-size: 1.8rem;
  }
}

/* ===== WHY CHOOSE US (Centered Layout) ===== */
.choose {
  width: 100%;
  min-height: 100vh;
  background: #f9fbff;
  padding: 5rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.choose-heading {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
}

.choose-heading h2 {
  font-size: 2.2rem;
  color: #0077ff;
  margin-bottom: 1rem;
}

.choose-heading p {
  color: #555;
  line-height: 1.6;
  font-size: 1.05rem;
}

.choose-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  width: 100%;
}

.choose-image {
  flex: 1;
  min-width: 350px;
  display: flex;
  justify-content: center;
}

.choose-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.choose-image img:hover {
  transform: scale(1.05);
}

.choose-content {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.choose-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: start;
  gap: 1rem;
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 1.6rem;
  color: #fff;
  background: #0077ff;
  padding: 0.9rem;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.feature:hover i {
  background: #005fd1;
}

.feature h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.4rem;
}

.feature p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 900px) {
  .choose-container {
    flex-direction: column;
    text-align: center;
  }

  .choose-image img {
    width: 90%;
    max-width: 420px;
  }

  .feature {
    text-align: left;
  }
}


.contact-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    max-width: 1100px;
    margin: 60px auto;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
  }

  /* Left side */
  .contact-info {
    flex: 1;
    background: #0d6efd;
    color: #fff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .contact-info p {
    font-size: 16px;
    opacity: 0.9;
  }

  /* Right side */
  .contact-form {
    flex: 1;
    padding: 50px 40px;
  }

  .contact-form h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
  }

  .contact-form select {
    background-color: #fff;
  }

  .contact-form textarea {
    resize: none;
    height: 120px;
  }

  .contact-form button {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  }

  .contact-form button:hover {
    background: #0b5ed7;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .contact-section {
      flex-direction: column;
    }
    .contact-info, .contact-form {
      flex: 100%;
      padding: 40px 25px;
    }
  }

.footer {
  background: linear-gradient(135deg, #0a1f44, #00152e);
  color: #fff;
  padding: 4rem 8% 1.5rem;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.footer-col h3,
.footer-about h2 {
  color: #00aaff;
  margin-bottom: 1rem;
}

.footer-about h2 {
  font-size: 1.6rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 0rem;
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.footer-col a:hover {
  color: #00aaff;
  transform: translateX(4px);
}

/* About text */
.footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1rem;
}

/* Social Icons */
.social-icons a {
  color: #fff;
  font-size: 1.1rem;
  margin-right: 0.8rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00aaff;
  transform: translateY(-3px);
}

/* Contact Info */
.footer-contact p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 0.7rem;
  word-break: break-word; /* 👈 Fix long text breaking */
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: #00aaff;
  margin-right: 0.6rem;
  min-width: 20px;
  text-align: center;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #aaa;
}

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

  .social-icons a {
    margin: 0 0.4rem;
  }

  .footer-col,
  .footer-about,
  .footer-contact {
    justify-self: center;
  }

  .footer-contact p {
    justify-content: center;
  }
}
