/* Styles */
html {
  scroll-behavior: smooth;
}

* { 
    margin:0; 
    padding:0;
     box-sizing:border-box; 
     font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
     }
body { 
    background-color:#fdfdfd; 
    color:#333; 
    line-height:1.6; 
}

h1,h2,h3 { 
    color:#0D3B66; 
    letter-spacing: 3px;
   

}
a { 
    text-decoration:none; 
    color:inherit; 
}

.navbar {
  display: flex;
  background:#e4e0e0 ;
  position: sticky;
  top: 0;
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 5px 15px;
}

.navbar h1 {
  font-size: 22px;
  font-weight: bold;
  color: #0D3B66;
}

/* Desktop menu */
.nav-center {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-center li a {
  font-weight: 500;
  color: #4f46e5;
  transition: 0.3s;
  text-decoration: none;
}
.nav-center li a:hover {
  color: #ee6a4f;
  text-decoration: underline;
}

/* Hamburger button */
.menu-btn {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #0D3B66;
}

/* Hero */
.hero { 
    background:url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80") no-repeat center/cover; 
    height:80vh; 
    display:flex;
     justify-content:center; 
     align-items:center; 
     text-align:center;
      color:white; 
      padding:20px; 
    }

.hero h2 {
     font-size:2.5rem; 
     background:rgba(147, 129, 129, 0.6); 
     padding:20px;
      border-radius:12px; 
    }

/* Counters */
.counters {
     display:flex; 
     justify-content:center; 
     gap:30px; 
     padding:
     60px 20px; 
     flex-wrap:wrap;
      background:#f8f9fa;
     }
.counter-box {
     background:white;
      padding:20px; 
      border-radius:12px;
       box-shadow:0 4px 10px rgba(0,0,0,0.1); 
       text-align:center;
        width:220px;
     }
.counter-icon { 
    font-size:2.5rem; 
    color:#0D3B66; 
    margin-bottom:10px; 
}
.counter {
     font-size:2rem; 
     font-weight:bold; 
     color:#F95738; 
    }
.counter-label { 
    margin-top:8px; 
    font-size:16px; 
}

/* About Section */
.about { 
    padding:60px 20px; 
    background:#ffffff;
    text-align: center;
    
 }
.about-container { 
    display:flex; gap:40px; 
    flex-wrap:wrap; 
    align-items:center;
 }
 .about h2{
    text-align: center;
    margin-bottom: 10px;
 }
.about img { 
    width: 45%; 
    height:400px; 
    border-radius:10px; 
}
.about-text { 
    flex:1; 
     min-width:250px;
    text-align:left;
    padding: 50px;
}
.about-text ul { 
    margin-left:20px; 
    list-style-type:disc; 
}

.corevalue{
    text-align: center;

}


 .moving-text-container {
    width: 100%;           
    overflow: hidden;      
    background: #f9f9f9;   
    
    
  }

  .moving-text {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    display: inline-block;
    animation: moveText 8s linear infinite alternate;
  }

  @keyframes moveText {
    0%   { transform: translateX(0); }
    100% { transform: translateX(100%); }
  }

.experience{
    text-align: center;
    margin: 20px;
}


/* Services Section */
.services { 
    padding:60px 20px;
     background:#f8f9fa;
      text-align:center;
     }
.services-container {
     display:flex;
      gap:30px;
       flex-wrap:wrap;
        justify-content:center; 
    }
.service-card { 
    background:white;
     padding:20px;
      border-radius:12px;
       width:400px;
        box-shadow:0 4px 10px rgba(0,0,0,0.1);
         text-align:left;
         }
.service-card img {
     width:100%;
     height: 350px;
      border-radius:12px;
       margin-bottom:15px; 
    }

/* Contact */
.container { 
    background:#f8f9fa;
     max-width:500px;
      margin:50px auto;
       padding:25px;
        border-radius:12px;
         box-shadow:0 4px 10px rgba(0,0,0,0.1); 
        }
form {
     display:flex;
      flex-direction:column;
     }
label { 
    font-weight:bold;
     margin-top:12px;
      margin-bottom:5px;
     }
input, textarea {
     padding:10px;
      border:1px solid #ccc;
       border-radius:6px;
        font-size:15px; 
    }
button {
     margin-top:15px;
      background:#28337d;
       color:white;
        border:none;
         padding:12px;
          border-radius:8px;
           cursor:pointer;
            transition:0.3s; 
        }
button:hover { 
    background:#FFD166;
     color:#333;
     }

     .error {
  color: red;
  font-size: 14px;
  margin-top: 4px;
}

.success {
  color: green;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366; /* WhatsApp green */
  color: white;
  font-size: 20px;
  padding: 10px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 9999;
}

.whatsapp-float:hover {
  background: #20b954; /* Darker green on hover */
}

.whatsapp-float i {
  background: white;         /* White circle behind icon */
  color: #25D366;            /* WhatsApp green logo */
  font-size: 24px;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-text {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

  /* ===== Testimonials Slider ===== */
  .testimonials {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
  position: relative;
  overflow: hidden; 
  max-width: 100%; 
  box-sizing: border-box;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: auto;
}
.testimonial-slide h4{
  color: 
  #2204a5;
}
.testimonial-slide p{
  color: white;
}

.testimonial-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #918181;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
}

/* Navigation arrows inside slider width */
.testimonial-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /*  arrows extra width */
}

.testimonial-nav span {
  cursor: pointer;
  font-size: 2rem;
  color: #08088f;
  user-select: none;
  padding: 10px;
  pointer-events: auto; /* span clickable  */
  transition: color 0.3s;
}

.testimonial-nav span:hover {
  color: #F95738;
}

#backToTop {
  position: fixed;
  bottom: 120px; /* above WhatsApp button */
  right: 30px;
  z-index: 9999;
  font-size: 24px;
  border: none;
  outline: none;
  background-color: #28337d;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: opacity 0.5s, background-color 0.3s;
  opacity: 0; /* initially hidden */
  animation: pulse 2s infinite; /* pulsate effect */
}

#backToTop.show {
  opacity: 1; /* visible after scroll */
}

#backToTop:hover {
  background-color: #FFD166;
  color: #333;
}

/* Pulsating animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

   
/* Footer */
footer { background:#e4e0e0; 
    padding:40px 20px;
     text-align:center;
      color:#333;
       margin-top:50px;
     }
.footer-container {
     display:flex; 
    flex-wrap:wrap;
     justify-content:space-between;
      gap:20px; max-width:1100px; 
      margin:auto; 
    }
.footer-section { flex:1; 
    min-width:220px; 
}
.footer-section h3 {
     margin-bottom:10px;
      color:#0D3B66; 
    }
.footer-section ul { 
    list-style:none; 
}
.footer-section a { 
    color:#333; 
    transition:0.3s;
 }
.footer-section a:hover { 
    color:#F95738; 
    text-decoration:underline; 
}
.copyright { 
    margin-top:20px; 
    font-size:14px; 
}



/* ================= RESPONSIVE MEDIA QUERIES ================= */

/* Mobile (max 600px) */
@media (max-width: 600px) {
  .nav-center {
    flex-direction: column;
    background: #333;
    position: absolute;
    top: 100%; /* menu starts just below navbar */
    left: 0;
    width: 100%;
    text-align: center;

    max-height: 0;        /* hide menu initially */
    overflow: hidden;
    display: none;        /* hidden by default */
    transition: max-height 0.4s ease-in-out;
    z-index: 999;
  }

  .nav-center.active {
    display: flex;        /* show menu when active */
    max-height: 500px;    /* enough space for links */
  }

  .nav-center li {
    padding: 2px 0;
  }

  .nav-center li a {
    color: white;
    font-size: 18px;
    display: block;
    text-decoration: none;
  }

  /* Hamburger button visible on mobile/tablet */
  .menu-btn {
    display: block;
    cursor: pointer;
    font-size: 26px;
    color: #0D3B66;
  }

  /* Change hamburger to X when active */
  .menu-btn.active::before {
    content: "✖";
  }

    .navbar ul { flex-direction: column; gap:10px; margin-top:10px; }
    .hero h2 { font-size:1.6rem; padding:10px; }
    .about-container { flex-direction:column; padding:20px; }
       .about img, .about-text {
        width: 100%;
        height: auto;
    }
    .services-container {
         flex-direction:column; padding:20px;
         }
    .service-card { 
        width:100%; 
    }
    .moving-text {
    font-size: 1rem;
  }
}

/* Tablet (601px – 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .nav-center {
    flex-direction: column;
    background: #333;
    position: absolute;
    top: 100%; /* menu starts just below navbar */
    left: 0;
    width: 100%;
    text-align: center;

    max-height: 0;        /* hide menu initially */
    overflow: hidden;
    display: none;        /* hidden by default */
    transition: max-height 0.4s ease-in-out;
    z-index: 999;
  }

  .nav-center.active {
    display: flex;        /* show menu when active */
    max-height: 500px;    /* enough space for links */
  }

  .nav-center li {
    padding: 12px 0;
  }

  .nav-center li a {
    color: white;
    font-size: 18px;
    display: block;
    text-decoration: none;
  }

  /* Hamburger button visible on mobile/tablet */
  .menu-btn {
    display: block;
    cursor: pointer;
    font-size: 26px;
    color: #0D3B66;
  }

  /* Change hamburger to X when active */
  .menu-btn.active::before {
    content: "✖";
  }

    .hero h2 { font-size:2rem; }
    .about-container { flex-direction:column; padding:30px; }
       .about img, .about-text {
        width: 100%;
        max-width: 450px;
    }
    .services-container { flex-direction:row; flex-wrap:wrap; justify-content:center; }
    .service-card { width:45%; }
    .moving-text {
    font-size: 1.3rem;
  }
}

/* Laptop (1025px – 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero h2 { font-size:2.5rem; }
    .about-container { flex-direction:row; padding:40px; }
    .about img {
        max-width: 400px;
    }
    .services-container { flex-direction:row; flex-wrap:wrap; gap:30px; }
    .service-card { width:30%; }
     .moving-text {
    font-size: 1.8rem;
  }
}

/* Desktop (1441px+) */
@media (min-width: 1441px) {
    .hero h2 { font-size:3rem; }
    .about-container { flex-direction:row; padding:50px 100px; }
    .about img {
        max-width: 400px;
    }
    .services-container { flex-direction:row; padding:50px 100px; }
    .service-card { width:22%; }
     .moving-text {
    font-size: 1.8rem;
  }
}



