.contact-form .invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.25rem;
}

.contact-form .form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.contact-form .form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.contact-form .g-recaptcha.is-invalid + .invalid-feedback {
  display: block;
  color: #dc3545;
  margin-top: 0.5rem;
  text-align: center;
}

html,
body {
  font-family: "Nunito", sans-serif;
  background: #f8fafc;
  overflow-x: hidden;
}

.btn-secondary {
  background: #3b82f6;
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(15, 69, 157, 0.13);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
  background: #ec3747;
  box-shadow: 0 4px 16px rgba(15, 69, 157, 0.18);
}

.text-secondary {
  color: #3b82f6 !important;
}

.btn-gradient {
  font-size: 1rem;
  padding: 0.7rem 1.4rem;
  border-radius: 28px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(90deg, #0f459d 60%, #3b82f6 100%);
  box-shadow: 0 2px 12px rgba(15, 69, 157, 0.13);
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0;
  position: relative;
  max-width: 300px;
}

.btn-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6 40%, #ec3747 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.btn-gradient:hover::after {
  opacity: 1;
}

.btn-gradient > * {
  position: relative;
  z-index: 2;
}

.see-more-articles-link {
  position: relative;
  font-size: 1.08rem;
  color: #0f459d;
  transition: color 0.25s;
}

.see-more-articles-link .see-more-arrow {
  display: inline-block;
  margin-left: 0.3em;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1), color 0.25s;
  color: inherit;
}

.see-more-articles-link:hover {
  color: #ec3747;
  text-decoration: underline;
}

.see-more-articles-link:hover .see-more-arrow {
  transform: translateX(8px);
  color: #ec3747;
}

a.link:hover {
  color: #ec3747 !important;
  text-decoration: underline;
}

.navbar-custom {
  background: transparent;
  box-shadow: none;
  transition: background 0.3s, box-shadow 0.3s, top 0.3s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-custom.dark {
  background: #13233e;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: color 0.3s, background 0.3s;
}

.navbar-custom .nav-link.active {
  color: #fff;
  background: none;
  font-weight: 700;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}

.navbar-custom .nav-link.active::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 60%, #ec3747 100%);
  border-radius: 2px;
  transition: width 0.2s;
  width: 100%;
}

@media (max-width: 991px) {
  .navbar-custom .nav-link.active::after {
    width: 3.5rem;
  }
}

.navbar-custom .navbar-brand img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
  transition: filter 0.3s;
}

.navbar-custom.sticky {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: fixed;
  animation: fadeInDown 0.5s;
}

.navbar-custom.sticky .navbar-brand img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.navbar-custom.sticky .navbar-brand,
.navbar-custom.sticky .nav-link {
  color: #222;
  text-shadow: none;
}

.navbar-custom.sticky .navbar-toggler-icon {
  filter: unset;
}

.navbar-custom .navbar-toggler-icon {
  filter: invert(1);
}

@keyframes fadeInDown {
  from {
    top: -80px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.carousel-item {
  height: 68vh;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

@media (max-width: 575.98px) {
  .carousel-caption {
    padding: 1rem 0.5rem;
  }

  .carousel-caption h1.display-3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .carousel-caption p.lead {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    word-break: break-word;
  }

  .carousel-caption .btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 375px) {
  .carousel-caption h1.display-3 {
    font-size: 1.1rem;
  }

  .carousel-caption p.lead {
    font-size: 0.9rem;
  }
}

.carousel-caption .caption-btn {
  background: linear-gradient(90deg, #0f459d 60%, #3b82f6 100%);
  box-shadow: 0 2px 12px rgba(15, 69, 157, 0.13);
  transition: background 0.2s, box-shadow 0.2s;
}

.carousel-caption .caption-btn:hover {
  background: linear-gradient(90deg, #3b82f6 40%, #ec3747 100%);
}

.hero-section {
  padding: 2.5rem 0 4.2rem;
  background: linear-gradient(90deg, #fff 80%, #d2e3ff 100%);
  text-align: center;
}

@media (min-width: 992px) {
  .hero-section.stats-float {
    padding: 2.5rem 0 7.5rem;
  }
}

.hero-section.hero-top {
  padding: 9.5rem 0 5.5rem;
  text-align: left;
}

.hero-section.hero-top .display-5 {
  justify-content: start !important;
}

.hero-section .display-5 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  /* &::before {
    content: '\1F4BC'; // briefcase emoji
    font-size: 1.2em;
  } */
}

.stats-section {
  background: #f1f5f9;
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .stats-section.stats-float {
    position: relative;
    z-index: 2;
    height: 0;
    padding: 0;
  }

  .stats-section.stats-float .row {
    position: relative;
    justify-content: center !important;
    display: flex;
  }

  .stats-section.stats-float .stat-card {
    box-shadow: 0 12px 48px rgba(15, 69, 157, 0.13);
    transform: translateY(-75px);
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    margin: 0.5rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1.5px solid #e3f0ff;
    z-index: 3;
  }
}

@media (max-width: 991.98px) {
  .stats-section.stats-float .stat-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: none;
    border: none;
    padding: 2rem 1rem;
  }
}

.stats-section .stat-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 2rem 1rem;
  text-align: center;
  margin: 0.5rem;
}

.stats-section .stat-card h2 {
  font-size: 2.5rem;
  color: #3b82f6;
}

.brands-section {
  padding: 5rem 0;
  background: linear-gradient(120deg, #e3f0ff 60%, #f8fafc 100%);
}

@media (min-width: 992px) {
  .brands-section.stats-float {
    padding-top: 10rem;
  }
}

.brands-section .brands-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.brands-section .brands-header h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f459d;
}

.brands-section .brands-header p {
  font-size: 1.15rem;
  color: #444;
  margin-top: 0.5rem;
}

.brands-section .brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-items: center;
  align-items: center;
}

.brands-section .brand-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15, 69, 157, 0.08);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 120px;
  margin: 0 auto;
}

.brands-section .brand-card:hover {
  box-shadow: 0 8px 32px rgba(15, 69, 157, 0.16);
  transform: translateY(-4px) scale(1.04);
  border: 1px solid #ec3747;
}

.brands-section .brand-card img {
  max-height: 90px;
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: grayscale(0.1) brightness(1);
  opacity: 1;
  transition: filter 0.2s, opacity 0.2s;
}

.testimonials-section {
  background: #fff;
  padding: 3rem 0;
}

.testimonials-section .testimonial {
  background: #f8fafc;
  border-radius: 8px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonials-section .position-relative {
  min-height: 380px;
}

.testimonials-section .testimonial-nav {
  width: 56px;
  height: 56px;
  background: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-section .testimonial-nav svg {
  display: block;
  margin: auto;
}

.testimonials-section .testimonial-nav svg circle {
  transition: fill 0.2s;
}

.testimonials-section .testimonial-nav:hover svg circle {
  fill: #e2e8f0;
}

.articles-section {
  background: linear-gradient(90deg, #f1f5f9 80%, #d2e3ff 100%);
  padding: 3rem 0;
}

.card {
  box-shadow: 0 2px 12px rgba(15, 69, 157, 0.07);
  border-radius: 12px;
  border-color: transparent;
}

.cta-section {
  background: linear-gradient(120deg, #e3f0ff 60%, #d2e3ff 100%);
  color: #222;
  padding: 4rem 0 4.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cta-section .cta-accent {
  position: absolute;
  bottom: -10vw;
  right: -10vw;
  width: 80vw;
  height: 80vw;
  max-width: 1200px;
  max-height: 1200px;
  min-width: 320px;
  min-height: 320px;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.cta-section .cta-content {
  max-width: 700px;
  margin-left: 0;
  text-align: left;
}

.cta-section .cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f459d;
  margin: 2.2rem 0 1.2rem;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.cta-section .cta-content p.lead {
  font-size: 1.18rem;
  color: #333;
  margin-bottom: 2.2rem;
}

.cta-section .cta-content .btn-cta {
  font-size: 1rem;
  padding: 0.7rem 1.4rem;
  border-radius: 28px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #0f459d 60%, #3b82f6 100%);
  box-shadow: 0 2px 12px rgba(15, 69, 157, 0.13);
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0;
  position: relative;
  max-width: 300px;
}

.cta-section .cta-content .btn-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6 40%, #ec3747 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.cta-section .cta-content .btn-cta:hover::after {
  opacity: 1;
}

.cta-section .cta-content .btn-cta > * {
  position: relative;
  z-index: 2;
}

.cta-section .cta-content .blog-readmore-btn {
  background: linear-gradient(90deg, #3b82f6 40%, #e3f0ff 100%) !important;
  color: #0f459d !important;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.cta-section .cta-content .blog-readmore-btn .blog-readmore-icon {
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.cta-section .cta-content .blog-readmore-btn:hover {
  background: linear-gradient(90deg, #e3f0ff 10%, #3b82f6 90%) !important;
  color: #3b82f6 !important;
}

.cta-section .cta-content .blog-readmore-btn:hover .blog-readmore-icon {
  transform: translateX(10px);
}

.leader-card {
  background: linear-gradient(90deg, #f8fafc 80%, #e3f0ff 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15, 69, 157, 0.08);
  overflow: hidden;
}

.footer {
  background: #14233e;
  color: #fff;
  padding: 2rem 0 1rem;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

.navbar-logo {
  height: 50px;
  width: auto;
  max-width: 250px;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer-logo {
  height: 55px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

