.navbar {
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  height: auto;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  min-height: 48px; /* tighter height */
}

.navbar-brand img {
  height: 28px; /* smaller logo for compact nav */
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 10px;
  line-height: 1.2;
  color: #002645 !important;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
  color: #002645 !important;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.4s ease-in-out;
}

.nav-link:hover::before {
  width: 100%;
}
.custom-navbar-height {
  height: 10%;
}

.btn-danger {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
}

.bg-gradient {
    background: linear-gradient(to bottom, #eff6ff, #ffffff);
  }
  .bg-indigo {
    background-color: #c7d2fe;
  }

  .animate-fade-in {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
  }

  .delay-300 {
    animation-delay: 0.3s;
  }

  .delay-500 {
    animation-delay: 0.5s;
  }

  .animate-bounce {
    animation: bounce 2s infinite;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

   .tech-card {
    opacity: 0;
    transform: translateY(20px);
  }

  .tech-card.opacity-100 {
    opacity: 1 !important;
    transform: translateY(0);
  }

   .fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .service-card {
    opacity: 0;
    transform: translateY(20px);
  }

  .service-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
  }


  .expertise-section {
      background-color: #e0f2fe;
      padding: 4rem 1rem;
    }

    .expertise-card {
      transition: all 0.3s ease;
      opacity: 0;
    }

    .expertise-card.visible {
      animation: fadeIn 0.6s forwards;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }

    .tool-badge {
      background-color: #cfe2ff;
      color: #084298;
      padding: 4px 8px;
      border-radius: 0.25rem;
      font-size: 0.875rem;
      margin-right: 5px;
      margin-bottom: 5px;
      display: inline-block;
    }

    .detail-section {
      border-left: 4px solid #0d6efd;
      padding-left: 1rem;
      margin-bottom: 1rem;
    }

    .accordion-button:after {
      background-image: none;
    }

 .fade-in {
      animation: fadeIn 1s ease-in forwards;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .active-button {
      background-color: #0d6efd !important;
      color: white !important;
    }

    .sub-item-description {
      transition: max-height 0.3s ease, opacity 0.3s ease;
      overflow: hidden;
    }

    .sub-item-description.collapsed {
      max-height: 0;
      opacity: 0;
    }

    .sub-item-description.expanded {
      max-height: 500px;
      opacity: 1;
    }

.card-tool {
      width: 100%;
      height: 150px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 20px;
      border-radius: 15px;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .card-tool img {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
    }
    .card-tool:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    .nav-tabs .nav-link.active {
      background-color: #0D3B66;
      color: white;
    }
    .nav-tabs .nav-link {
      color: #0D3B66;
      font-weight: 500;
    }
.category-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 2rem;
  border-bottom: 2px solid #0d6efd;
  padding-bottom: 0.5rem;
}


/* Base styles for tool cards */
.card-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  height: 100%;
  text-align: center;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  transition: transform 0.3s;
}

.card-tool:hover {
  transform: translateY(-5px);
}

.card-tool img {
  max-height: 60px;
  max-width: 80px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

/* Responsive grid for desktop */
@media (min-width: 992px) {
  #tool-container .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
}

/* Tablet screen */
@media (max-width: 991.98px) {
  #tool-container .col-md-3 {
    flex: 0 0 auto;
    width: 33.3333%;
  }

  .card-tool img {
    max-height: 50px;
    max-width: 60px;
  }

  #tools h2 {
    font-size: 1.75rem;
  }

  #tools p {
    font-size: 0.95rem;
  }
}

/* Mobile screen */
@media (max-width: 767.98px) {
  #tool-container .col-md-3 {
    flex: 0 0 auto;
    width: 50%;
  }

  .card-tool {
    padding: 0.75rem;
  }

  .card-tool img {
    max-height: 40px;
    max-width: 50px;
  }

  #tools h2 {
    font-size: 1.5rem;
  }

  #tools p {
    font-size: 0.9rem;
  }

  .nav-tabs .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Extra small screen (phones) */
@media (max-width: 480px) {
  #tool-container .col-md-3 {
    flex: 0 0 auto;
    width: 100%;
  }

  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
  }

  .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .nav-tabs .nav-link {
    white-space: nowrap;
  }
}



.footer-custom {
   background-color: #002645;
  color: white;
  
  width: 100vw; /* Ensure it spans full screen width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 60px 20px 30px;
}

.footer-custom a {
  color: white;
  text-decoration: none;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 4;
  min-width: 220px;
}
.footer-custom a:hover {
  text-decoration: underline;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  /* background-color: white; */
  color: #002645;
  transition: all 0.3s ease;
}

/* Social-specific hover colors */
.social-icon.twitter:hover { color: #1DA1F2; background-color: white; }
.social-icon.linkedin:hover { color: #0077B5; background-color: white; }
.social-icon.facebook:hover { color: #1877F2; background-color: white; }
.social-icon.instagram:hover { color: #E1306C; background-color: white; }
.social-icon.youtube:hover { color: #FF0000; background-color: white; }
.social-icon.medium:hover { color: #12100E; background-color: white; }
.social-icon.quora:hover { color: #B92B27; background-color: white; }

.footer-links li a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #0D6EFD;
}

.footer-contact li {
  /* margin-bottom: 8px; */
  color: #ccc;
  /* line-height: 2px; */
}
.footer-custom .row {
  display: flex;
  justify-content: center;
  gap: 10%;
  flex-wrap: wrap;
  padding: 0 15px;
}

.footer-custom .col-md-2,
.footer-custom .col-md-5 {
  flex: 0 0 auto;
  width: auto;
  max-width: 280px;
}

.footer-contact .icon {
  color: #0D6EFD;
  margin-right: 8px;
}

.google-map {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  /* margin-top: 7px; */
  border: 1px solid #ccc;
}

.footer-bottom p,
.footer-legal a {
  color: #aaa;
}

.footer-legal a:hover {
  color: #0D6EFD;
}

