:root {
  --accent: #1a61b2;
  --accent-600: #0845b8;
  --dark: #071133;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
  --container-max: 1200px;
  --radius: 12px;
  --glass: rgba(255, 255, 255, 0.75);
  --gradient: linear-gradient(135deg, var(--accent), #6c4cff);
  --ease: cubic-bezier(.2, .9, .2, 1);
  --shadow-1: 0 10px 30px rgba(2, 6, 23, .06);
  --shadow-2: 0 14px 40px rgba(2, 6, 23, .08);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9ff;
  color: #333;
  overflow-x: hidden;
}

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

.hamburgerBtn {
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 3px 8px;
  display: none;
}

.navMenuMobile {
  display: none;
}

/* ===== NAVBAR ===== */
/* nav {
      position: fixed; top:0; width:100%; display:flex; justify-content:space-between; align-items:center;
      padding:15px 50px; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px);
      box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index:1000;
    }
    nav .logo { font-size:1.7em; font-weight:700; color:#007bff; cursor:pointer; }
    nav ul { list-style:none; display:flex; gap:30px; }
    nav ul li a { text-decoration:none; color:#333; font-weight:500; transition:color 0.3s ease; }
    nav ul li a:hover { color:#007bff; } */

/* Navbar container */
/* Navbar container */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  z-index: 999;
}

/* Logo */
nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav .logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a61b2;
}

/* Nav links */
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 10px;
  transition: all 0.3s ease;
}

/* Hover effect */
nav ul li a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #1a61b2;
  margin-top: 4px;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #1a61b2;
  transform: translateY(-2px);
}

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  min-width: 180px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

.has-dropdown:hover .dropdown {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.dropdown a {
  padding: 12px 18px;
  color: #333;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.dropdown a:hover {
  background: #f3f7ff;
  color: #1a61b2;
  padding-left: 24px;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #1a61b2;
  cursor: pointer;
}

@media(max-width: 850px) {
  nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    background: white;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  nav ul.active {
    max-height: 300px;
    padding: 20px 0;
  }

  .menu-toggle {
    display: block;
  }

  /* Mobile dropdown inside menu */
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    display: none;
    transform: none;
    box-shadow: none;
  }

  .has-dropdown.active .dropdown {
    display: flex;
  }
}

/* HERO */
.hero {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
}

.hero .bg.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity .9s var(--ease), transform 14s linear;
}

.overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFF;
  max-width: 980px;
  padding: 0 20px;
  animation: fadeIn 1.2s ease forwards;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 10px;
  text-shadow: 0 12px 30px rgba(2, 6, 23, .6);
}

.hero p {
  font-size: 25px;
  color: rgba(255, 255, 255, .95);
  margin-bottom: 16px;
}

.cta {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
}

.cta:hover {
  background: var(--accent-600);
  transform: translateY(-3px) scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PILLARS */
/* .pillars {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
          gap: 18px;
          max-width: var(--container-max);
          margin: -120px auto 22px;
          position: relative;
          z-index: 4;
        }

        .pillar {
          padding: 18px;
          border-radius: 12px;
          background: var(--card);
          box-shadow: var(--shadow-1);
          transform: translateY(50px);
          opacity: 0;
          transition: all .6s ease;
        }

        .pillar.visible {
          transform: translateY(0);
          opacity: 1;
        }

        .pillar:hover {
          transform: translateY(-8px);
          box-shadow: var(--shadow-2);
        } */

/* SERVICES
        section {
          padding: 64px 0;
        }

        section h2 {
          text-align: center;
          color: var(--dark);
          font-size: 1.5rem;
        }

        .services-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
          gap: 18px;
          max-width: var(--container-max);
          margin: 0 auto;
        }

        .service-card {
          padding: 16px;
          border-radius: 12px;
          background: var(--card);
          box-shadow: var(--shadow-1);
          transform: translateY(30px);
          opacity: 0;
          transition: all 0.6s ease;
        }


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

        .service-card img {
          width: 70px;
          height: 70px;
          object-fit: cover;
          border-radius: 8px;
          margin-bottom: 12px;
        }

        .service-footer a {
          display: inline-block;
          padding: 8px 16px;
          background: var(--accent-100);
          border-radius: 8px;
          color: var(--accent-600);
          font-weight: 600;
          transition: all 0.3s ease;
        }

        .service-footer a:hover {
          background: var(--accent-600);
          color: #fff;
          transform: scale(1.05);
        } */
#services {
  padding: 100px 10%;
  background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
  text-align: center;
}

#services h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1a61b2;
  margin-bottom: 60px;
  position: relative;
}

#services h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #1a61b2;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ===== GRID LAYOUT ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-content: center;
}

/* ===== SERVICE CARD ===== */
.service-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(11, 99, 255, 0.15);
}

/* ===== CARD IMAGE ===== */
.service-card img {
  display: block;
  margin: auto;
  width: 50%;
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 12px;
}

/* ===== TITLE ===== */
.service-card h3 {
  font-size: 1.4rem;
  color: #071133;
  font-weight: 600;
  margin-bottom: 15px;
}

/* ===== DESCRIPTION ===== */
.service-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
  padding: 0 10px;
}

/* ===== FOOTER LINK ===== */
.service-footer {
  text-align: center;
}

.service-footer .learn {
  text-decoration: none;
  font-weight: 600;
  color: #1a61b2;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.service-footer .learn::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -2px;
  background: #1a61b2;
  transition: width 0.3s ease;
}

.service-footer .learn:hover {
  color: #1a61b2;
}

.service-footer .learn:hover::after {
  width: 100%;
}

/* CONTACT */
#contact {
  background: linear-gradient(120deg, #ffff, #6c4cff10);
}

#contact .service-card {
  background: var(--accent-100);
  box-shadow: 0 12px 40px rgba(11, 99, 255, .15);
}

#contact .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(11, 99, 255, .2);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 36px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  max-width: var(--container-max);
  margin: 0 auto;
}

footer h4,
p {
  text-align: left;
}

footer a {
  color: #cbd5e1;
  display: block;
  margin: 6px 0;
  text-align: left;
}

footer div {
  text-align: center;
  margin-top: 18px;
  color: #e7eaee;
}

/* BACK TO TOP */
.backtop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(11, 99, 255, .18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}

.backtop.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover Effect */


/*contact us */
.contact-img {
  width: 22px;
  /* adjust size */
  height: 22px;
  /* adjust size */
  vertical-align: middle;
  margin-right: 8px;
}

#contact .service-card {
  display: flex;
  flex-direction: column;
  /* stack vertically */
  align-items: center;
  /* center horizontally */
  text-align: center;
  /* center text */
  padding: 20px;
  border-radius: 12px;
  background: var(--accent-100);
  box-shadow: 0 12px 40px rgba(11, 99, 255, .15);
  transition: all 0.3s ease;
}

#contact .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(11, 99, 255, .2);
  background: var(--accent-600);
  color: #fff;
}

.contact-icon {
  width: 75px;
  /* adjust size */
  height: 75px;
  /* adjust size */
  margin-bottom: 12px;
}

/* footer */
/* Footer */
footer {
  background-color: #333;
  background: var(--dark);
  color: #cbd5e1;
  padding: 36px 24px
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  max-width: var(--container-max);
  margin: 0 auto
}

footer a {
  color: #cbd5e1;
  display: block;
  margin: 6px 0
}

/* Footer links hover effect */
footer a {
  color: #f2f5f9;
  /* Default link color */
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer a:hover {
  color: #1a61b2;
  /* Change color on hover */
  transform: translateX(5px);
  /* Optional slight slide effect */
}


/* Hover effect */
header ul li a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #1a61b2;
  margin-top: 4px;
  transition: width 0.3s ease;
}

header ul li a:hover::after {
  width: 100%;
}

header ul li a:hover {
  color: #1a61b2;
  transform: translateY(-2px);
}

/* --- WHY CHOOSE US SECTION --- */
/* #why-choose-us {
  background: #f9fafc;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#why-choose-us h2 {
  font-size: 2.2rem;
  color: #071133;
  margin-bottom: 20px;
  font-weight: 700;
}

#why-choose-us .intro {
  font-size: 1.05rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

#why-choose-us .subheading {
  font-size: 1.5rem;
  margin-bottom: 40px;
  /* color: #0b63ff; */
/* } */


.about-section {
  background: var(--bg);
  padding: 100px 0;
  overflow: hidden;
}

.about-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 0 24px;
}

.about-image {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
  transform: scale(1);
  transition: transform 0.8s var(--ease);
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  transform: scale(1);
  transition: transform 0.8s var(--ease);
}

.about-content {
  flex: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease);
}

.about-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-content h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-content p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
}

.about-btn {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.about-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--accent-600);
}

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

  .about-image,
  .about-content {
    width: 100%;
  }

  .about-image img {
    width: 90%;
    margin: 0 auto;
  }
}

footer h4 {
  margin-bottom: 15px;
  /* space below the h4 */
}

hr {
  border: none;
  border-top: 1px solid rgba(234, 227, 227, 0.3);
  margin-top: 20px;
  /* translucent white */
}

.about-learn {
  position: relative;
  color: inherit;
  text-decoration: none;
  color: #1a61b2;
  transition: color 0.3s ease;
  font-weight: 500;
  /* optional: makes it look cleaner */
}

.about-learn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #1a61b2;
  /* Blue underline */
  transition: width 0.3s ease;
}

.about-learn:hover {
  color: #1a61b2;
  /* Blue text */
}

.about-learn:hover::after {
  width: 100%;
}

@media screen and (min-width: 320px) and (max-width: 767px) {

  /*** Mobile Menu Starts**/
  .hamburgerBtn {
    display: block;
  }

  .navMenuDesktop {
    display: none;
  }

  .navMenuMobile.show {
    display: flex;
    position: absolute;
    background: #ddd;
    z-index: 999999;
    flex-direction: column;
    max-height: none;
    padding: 10px;
  }

  .navMenuMobile.show .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    display: block;
    transform: none;
    box-shadow: none;
    width: 100%;
    text-align: left;
    background: transparent;
    padding-left: 20px;
  }

  ul.navMenuMobile.show li {
    text-align: center;
    padding: 1px 0;
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }

  ul.navMenuMobile.show li a {
    display: block;
  }

  ul.navMenuMobile.show li a::after {
    content: none;
  }

  /*** Mobile Menu Ends**/



}

