@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
      --main-color: #0077b5;
      --dark-color: #0b1a2a;
    }
* {
    font-family: "Roboto", sans-serif !important;
}
    body {
      font-family: 'Roboto', sans-serif;
      background-color: #ffffff;
      color: #333;
      scroll-behavior: smooth;
    }

    /* Navbar */
    .navbar {
      background-color: rgba(255, 255, 255, 0.98);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      padding: 15px 0;
    }

    .navbar-brand {
      max-height: 70px;
      margin-right: 20px;
    }

    .navbar-nav .nav-link {
      color: #222;
      margin: 0 10px;
      font-weight: 500;
      position: relative;
      transition: all 0.3s ease;
    }

    .navbar-nav .nav-link::after {
      content: "";
      position: absolute;
      width: 0%;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: var(--main-color);
      transition: 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
      width: 100%;
    }

    .navbar-nav .nav-link:hover {
      color: var(--main-color);
    }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.scroll-indicator i {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
}


    /* Section Titles */
    .section-title {
      text-align: left;
      margin-bottom: 50px;
    }

    .section-title h2 {
      color: var(--main-color);
      font-weight: 700;
    }

    /* About */
    #about img {
      border-radius: 12px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }

    /* Solutions */
    .solution-card {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      background: #fff;
    }

    .solution-card img {
      width: 100%;
      height:300px;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .solution-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,119,181,0.45);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .solution-card:hover img {
      transform: scale(1.02);
    }

    .solution-card:hover::after {
      opacity: 1;
    }

    .solution-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .solution-card .card-body {
      position: relative;
      z-index: 2;
      padding: 25px;
      text-align: center;
      transition: color 0.4s ease;
    }

    .solution-card h5 {
      color: var(--main-color);
      font-weight: 600;
      margin-bottom: 10px;
    }

    .solution-card:hover h5, 
    .solution-card:hover p {
      color: #fff;
    }

    /* Impact */
    .impact {
      background-color: var(--main-color);
      color: white;
      padding: 100px 0;
      text-align: center;
    }

    .impact h2 {
      font-weight: 700;
      margin-bottom: 40px;
    }

    .impact .stat {
      font-size: 2.5rem;
      font-weight: 700;
    }

    .impact p {
      font-size: 1rem;
      opacity: 0.9;
    }


.btn-main {
  background-color: #1a3c6e;
  color: #fff;
  border-radius: 6px;
  transition: 0.3s ease;
}

.btn-main:hover {
  background-color: #102848;
  color: #fff;
}

.map-wrapper iframe {
  border-radius: 10px;
}


    /* Contact */
    #contact {
      padding: 80px 0;
      background-color: #f8f9fa;
    }

    #contact .btn-main {
      background-color: var(--main-color);
      color: #fff;
      border: none;
    }

    #contact .btn-main:hover {
      background-color: #005a87;
    }

    footer {
      background-color: #0a0a0a;
      color: #ccc;
      padding: 30px 0;
      text-align: left;
      font-size: 0.9rem;
    }

    footer a {
      color: var(--main-color);
      text-decoration: none;
    }

    /* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  color: white;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  padding: 0 20px;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slider h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-slider p {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 40px;
  color: #e8f6fd;
}

.hero-slider .slide {
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.8s ease-in-out, transform 2.5s ease-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .slide.zoom {
  transform: scale(1.08); /* Ken Burns zoom-in */
}


.btn-main {
  background: #00a6e0;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-main:hover {
  background: #0088b5;
}





.slider-arrows .arrow i {
  font-size: 1.5rem;
  color: #fff;
}

.slider-arrows .arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  border-color: #fff;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.scroll-indicator i {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
}
/* Hidden by default, fade in on hover */
.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-slider:hover .slider-arrows {
  opacity: 1;
}

.slider-arrows .arrow {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.slider-arrows .arrow i {
  font-size: 1.5rem;
  color: #fff;
}

.slider-arrows .arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: #fff;
  transform: scale(1.1);
}

/* ------------------------------
   NAVBAR DROPDOWN – PREMIUM ANIMATION
----------------------------------- */

/* Dropdown container */
.navbar-nav .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 14px;
  padding: 10px 0;
  border: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px) scale(1);
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
  padding: 10px 22px;
  font-size: 15px;
  position: relative;
  transition: all 0.25s ease;
}

/* Highlight bar on hover */
.dropdown-menu .dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: rgba(0, 119, 181, 0.08);
  transition: width 0.25s ease;
}

.dropdown-menu .dropdown-item:hover::before {
  width: 100%;
}

.dropdown-menu .dropdown-item:hover {
  color: #0077b5;
  padding-left: 26px;
}


/* ------------------------------
   NAV LINK HOVER EFFECT (NO TRIANGLE)
----------------------------------- */

.nav-item.dropdown > .nav-link::after {
  content: "";
}

/* Text glow + lift */
.nav-item.dropdown > .nav-link {
  transition: 0.25s ease;
  position: relative;
}

.nav-item.dropdown:hover > .nav-link {
  color: #0077b5;
  text-shadow: 0 0 6px rgba(0, 119, 181, 0.45);
  transform: translateY(-2px);
}


.logo-slider {
  height: 150px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.logo-track {
  display: flex;
  width: calc(220px * 8); /* 8 logos total (4 real + 4 duplicate) */
  animation: scroll 18s linear infinite;
}

/* WRAPPER */
.logo-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 150px;
  padding: 10px 0;
  background: #fff;
}

/* FADE EDGES */
.fade-left, .fade-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 90px;
  z-index: 5;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, #fff 40%, transparent);
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, #fff 40%, transparent);
}

/* SCROLLING TRACK */
.logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scroll 22s linear infinite;
}

/* PAUSE ON HOVER */
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* LOGO STYLES */
.cert-logo {
  width: 90px;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.cert-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* KEYFRAME */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* RESPONSIVE (MOBILE & TABLET) */
@media (max-width: 992px) {
  .cert-logo {
    width: 110px;
  }
}

@media (max-width: 768px) {
  .cert-logo {
    width: 90px;
  }
  .fade-left, .fade-right {
    width: 60px;
  }
}

@media (max-width: 480px) {
  .cert-logo {
    width: 70px;
  }
  .fade-left, .fade-right {
    width: 40px;
  }
}

.lpslider {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* Slides */
.lpslide {
  position: absolute;
  width: 100%;
  max-height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.lpslide.active {
  opacity: 1;
}

/* Images with Ken Burns */
.lpslide img {
  width: 100%;
  max-height: 100%;
  object-fit:cover;
  animation: kenburns 10s ease-in-out infinite alternate;
  border-radius: 16px;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.01); }
}

/* Arrows */
.lparrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.lparrow:hover { background: rgba(0,0,0,0.55); }

.prev { left: 15px; }
.next { right: 15px; }

/* Dots */
.lpdots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 11;
}

.lpdot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s ease;
}

.lpdot.active {
  background: #0077b5;
  width: 26px;
  border-radius: 12px;
}
