:root {
  --primary-dark: #101f61;
  --primary-blue: #2b4cb6;
  --primary-light: #4171fc;
  --accent-blue: #7fd8ff;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Gradient Background */
.gradient-bg {
  background: linear-gradient(45deg, #101f61, #2b4cb6 40%, #4171fc 59%, #7fd8ff 85%, #a6e4ff);
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px !important;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-blue), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(43, 76, 182, 0.2);
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

/* Check circles */
.check-circle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer */
.footer {
  background-color: #0a1538;
  color: #a6e4ff;
}

.footer a {
  color: #a6e4ff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

/* Card enhancements */
.card {
  border: 1px solid rgba(0,0,0,0.08);
}

.card-title {
  color: var(--primary-dark);
}

/* Navigation Styles */

.navbar {
  border-bottom: 4px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(90deg, #101f61, #2b4cb6 40%, #4171fc 59%, #7fd8ff 85%, #a6e4ff) border-box;
  border-bottom: 4px solid transparent;
}

/* Active link styling */
.navbar-nav .nav-link.active {
  color: #2b4cb6 !important;
  position: relative;
}

.navbar-nav .nav-link.active:after {
  /*content: '';*/
  content: '•••';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  font-weight: 300;
  height: 3px;
  /*background: linear-gradient(to right, #2b4cb6, #4171fc);*/
  /*border-radius: 2px;*/
}

/* Hover effects */
.navbar-nav .nav-link:not(.active):hover {
  color: #4171fc !important;
}

/* Three Pillars Section */
.bg-gradient-subtle {
  background: linear-gradient(135deg, rgba(16, 31, 97, 0.03) 0%, rgba(43, 76, 182, 0.03) 40%, rgba(65, 113, 252, 0.03) 59%, rgba(127, 216, 255, 0.03) 85%, rgba(166, 228, 255, 0.03) 100%);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Icon wrapper effect */
.icon-wrapper {
  position: relative;
}

.icon-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: rgba(43, 76, 182, 0.1);
  border-radius: 50%;
  z-index: 0;
}

/* Logo styling */
.navbar-brand {
  padding-top: 5px;
  padding-bottom: 5px;
}

.navbar-brand img {
  height: 40px;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.5);
}

/* Hover effect for service items */
.service-item {
  transition: all 0.2s ease;
}

.service-item:hover {
  background-color: rgba(13, 110, 253, 0.05);
  transform: translateY(-1px);
}

/* Icon wrapper for responsive icons */
.icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile: colored icon without background */
.icon-wrapper .bi {
  font-size: 1.1rem;
  color: #0d6efd;
}

/* Desktop: white icon with blue circle background */
@media (min-width: 768px) {
  .icon-wrapper {
    background-color: #0d6efd;
    border-radius: 50%;
  }
  
  .icon-wrapper .bi {
    color: white;
    font-size: 1rem;
  }
}




/* Simpler mega menu styling */
.mega-menu {
  animation: fadeIn 0.2s ease-out;
  margin-top: 10px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,0.08) !important;

  animation: fadeIn 0.2s ease-out;
}

/* Badge styling for mega menu */
.mega-menu .badge {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px !important;
}

/* Simpler hover effect */
.dropdown-item {
  transition: all 0.15s ease;
  border: 1px solid rgba(0,0,0,0.03) !important;
}

.dropdown-item:hover {
  background-color: rgba(13, 110, 253, 0.04) !important;
  border-color: rgba(13, 110, 253, 0.1) !important;
  transform: translateX(3px);
}

/* Cleaner animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Better vertical divider */
.mega-menu .vr {
  opacity: 0.1;
  width: 1px;
  background-color: #6c757d;
}

/* Clean up border styling */
.mega-menu .border-bottom {
  border-color: rgba(0,0,0,0.1) !important;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  .mega-menu {
    width: 100% !important;
    position: static !important;
    transform: none !important;
    left: 0 !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: none !important;
  }
  
  .mega-menu .vr {
    display: none !important;
  }
  
  .mega-menu .col-md-6:first-child {
    margin-bottom: 1rem;
  }
}

/* Desktop column divider */
@media (min-width: 992px) {
  .mega-menu .col-md-6:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: -0.75rem;
    height: 100%;
    width: 1px;
    background-color: rgba(0,0,0,0.08);
  }
}

/* Remove old icon wrapper styles */
.icon-wrapper-md,
.icon-wrapper-sm {
  /* These are no longer needed with badges */
}

/* Keep only the essential icon wrapper for other parts of the site */
.icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile: colored icon without background */
.icon-wrapper .bi {
  font-size: 1.1rem;
  color: #0d6efd;
}

/* Desktop: white icon with blue circle background */
@media (min-width: 768px) {
  .icon-wrapper {
    background-color: #0d6efd;
    border-radius: 50%;
  }
  
  .icon-wrapper .bi {
    color: white;
    font-size: 1rem;
  }
}

/* Add to existing style.css */

/* Better mobile navigation */
@media (max-width: 991.98px) {
  /* Tighter navbar padding on mobile */
  .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  /* Better mobile nav items */
  .navbar-nav .nav-link {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  /* Remove icons on desktop */
  .nav-link .d-lg-none {
    display: inline-block !important;
  }
  
  /* Better spacing for mobile nav */
  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }
  
  /* Mobile mega menu adjustments */
  .mega-menu .col-md-6:first-child {
    margin-bottom: 1.5rem;
  }
  
  /* Simpler badges on mobile */
  .mega-menu .badge {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
  
  /* Remove excessive borders on mobile */
  .dropdown-item {
    border: none !important;
  }
  
  /* Better mobile menu spacing */
  .navbar-collapse {
    padding-top: 1rem;
  }
  
  /* Active link styling for mobile */
  .navbar-nav .nav-link.active {
    background-color: rgba(13, 110, 253, 0.05);
    border-radius: 6px;
  }
  
  .navbar-nav .nav-link.active:after {
    display: none; /* Hide the triple dots on mobile */
  }
}

/* Desktop-specific styles */
@media (min-width: 992px) {
  /* Hide mobile icons */
  .nav-link .d-lg-none {
    display: none !important;
  }
  
  /* Show desktop CTA */
  .d-lg-block .btn {
    display: inline-block !important;
  }
  
  /* Column divider for mega menu */
  .mega-menu .col-md-6:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1rem;
    height: 100%;
    width: 1px;
    background-color: rgba(0,0,0,0.1);
  }
}

/* Simpler dropdown items */
.dropdown-item {
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.dropdown-item:hover {
  background-color: rgba(13, 110, 253, 0.04);
}

/* Clean badge styling */
.mega-menu .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

/* Remove border from toggler */
.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Adjust logo for mobile */
@media (max-width: 576px) {
  .navbar-brand img {
    height: 35px;
  }
}
