:root {
  --brand: #011355;
}
body {
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
}

.text-blue {
  color: var(--brand) !important;
}
nav a {
  color: var(--brand) !important;
}
a {
  color: var(--brand);
  text-decoration: none !important;
}
.btn-primary {
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: #013288 !important;
  border-color: #013288 !important;
}

.btn-outline-primary {
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}
.btn-outline-primary:hover {
  background-color: var(--brand) !important;
  color: #fff !important;
}
/* OFFCANVAS HEADER */
/* Premium Offcanvas Width */
.mobile-offcanvas {
  width: 70% !important;
  max-width: 350px;
}

/* Mobile Navigation Styling */
.mobile-nav li {
  margin-bottom: 15px;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  padding: 8px 0;
  display: block;
  transition: 0.2s ease-in-out;
}

.mobile-nav a:hover {
  color: var(--brand);
  transform: translateX(4px);
}

/* Better close button */
.offcanvas-header .btn-close {
  filter: brightness(0);
}

/* Smooth slide effect */
.offcanvas {
  transition: transform 0.35s ease-in-out;
}

/* Premium Modal */
.premium-modal {
  border-radius: 18px;
  padding: 20px 25px;
  box-shadow: 0px 12px 40px rgba(0, 0, 0, 0.15);
  border: none;
}

.premium-input {
  border-radius: 10px !important;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  transition: 0.2s;
}

.premium-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.premium-btn {
  border-radius: 50px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 17px;
  letter-spacing: 0.3px;
  box-shadow: 0px 8px 20px rgba(0, 123, 255, 0.25);
}

.premium-btn:hover {
  transform: translateY(-2px);
  transition: 0.2s;
}

.modal-header {
  background: transparent !important;
}

.modal-header .btn-close:hover {
  opacity: 0.7;
}

.hero {
  position: relative;
  height: 70vh;

  background: url("/assets/images/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(
    0,
    0,
    0,
    0.75
  ); /* Adjust darkness: 0.3 = light, 0.7 = darker */
}

.hero-content {
  position: relative;
  z-index: 2; /* Ensures text stays above overlay */
}
.section-title {
  font-weight: 700;
}
.step-box {
  border: 1px solid #ddd;
  padding: 1.2rem;
  border-radius: 0.5rem;
  background: #fff;
  transition: 0.2s;
}
.step-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.testimonial-box {
  border-left: 4px solid var(--brand);
  background: #f8faff;
  padding: 1rem 1.2rem;
  border-radius: 0.4rem;
}
.service-card:hover {
  transform: translateY(-6px);
  transition: 0.2s;
}
.phone-strip {
  background: var(--brand);
  color: #fff;
  padding: 0.4rem 0;
  font-weight: 600;
}
/* Stat Cards */
.stat-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* Icons */
.stat-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: rgba(13, 110, 253, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: #011355;
  margin: 0 auto 10px auto;
  transition: 0.3s;
}

.stat-card:hover .stat-icon {
  background: rgba(13, 110, 253, 0.2);
  transform: scale(1.08);
}

/* Stat Numbers */
.stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #011355;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  height: 100%;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.process-icon {
  width: 70px;
  height: 70px;
  background: rgba(1, 19, 85, 0.12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Fade-in animation */

.fade-in-step {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.fade-in-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Service Card Image Wrapper */
.service-card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0px 8px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.4s ease;
}

/* Floating Icon Overlay */
.service-icon-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #011355;
  font-size: 1.8rem;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Hover Effects */
.service-card-img-wrapper:hover .service-img {
  transform: scale(1.08);
}

/* Gradient Overlay Layer */
.service-card-img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 19, 85, 0),
    rgba(1, 19, 85, 0.45)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 18px;
  pointer-events: none;
}

/* On Hover → show gradient overlay */
.service-card-img-wrapper:hover::after {
  opacity: 1;
}

.service-card-img-wrapper:hover .service-icon-overlay {
  transform: translateY(-4px);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
}

/* Content Box */
.service-card-content {
  background: #ffffff;
  border-radius: 14px;
  margin-top: -10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.service-card-content:hover {
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.cert-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;

  /* FORCE SAME HEIGHT */
  height: 220px; /* 🔥 Equal height for all cards */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center image + text */
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Reduce height slightly on mobile */
@media (max-width: 576px) {
  .cert-card {
    height: 200px; /* 🔥 Equal height mobile */
  }
}

.cert-img {
  max-height: 70px; /* Prevent uneven stretching */
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.cert-title {
  font-size: 14px;
  font-weight: 600;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cert-img {
  height: 80px;
  object-fit: contain;
  opacity: 0.9;
}

#certificateModal .modal-content {
  border-radius: 18px;
  overflow: hidden;
}

#certificateModal .modal-header {
  background: var(--brand-light, #eef6ff);
  border-bottom: 1px solid #ddd;
}

#certificateModal iframe {
  border-radius: 0 0 18px 18px;
}

/* Results Cards */
/* Premium Stats Section */
.premium-stats-section {
  background: linear-gradient(to bottom, #eef3ff, #ffffff);
}

.section-underline {
  width: 120px;
  height: 3px;
  background: var(--brand);
}

.premium-stat-card {
  background: #ffffff;
  padding: 28px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.premium-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.premium-stat-icon {
  font-size: 36px;
  color: var(--brand); /* premium orange-yellow */
  margin-bottom: 12px;
}

.premium-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.premium-stat-label {
  color: #666;
  font-size: 14px;
}

/* USP  */
.usp-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.12);
}

.usp-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(13, 110, 253, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: #011355;
  margin: 0 auto;
  transition: 0.3s ease;
}

.usp-card:hover .usp-icon {
  background: rgba(13, 110, 253, 0.25);
  transform: scale(1.08);
}

/* INDIVIDUAL SERVICES */
.hero-img {
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

/* CONTACT US */
/* Hero Section */
.contact-hero-section,
.about-hero {
  background: linear-gradient(135deg, #eef3ff, #ffffff);
}

/* Contact Cards */
.contact-card {
  background: #ffffff;
  border-radius: 14px;
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Icon Box */
.contact-icon-box {
  width: 50px;
  height: 50px;
  background: var(--brand-light, #e9f3ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--brand, #0066ff);
}

/* Map Wrapper */
.map-wrapper {
  border-radius: 18px;
  overflow: hidden;
}

/* Support Box */
.support-box {
  background: #f8faff;
  border-left: 5px solid var(--brand, #005eff);
}

/* Footer */
.footer-section {
  background: linear-gradient(135deg, #011355, #052ab1);
  color: #ffffff;
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
  padding-top: 50px;
  padding-bottom: 40px;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.15);
}

/* Footer links */
.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Social icons */
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: #ffffff;
  color: #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.25);
}

.brand-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.brand-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollBrands 30s linear infinite;
}

/* Pause on hover */
.brand-slider:hover .brand-track {
  animation-play-state: paused;
}

.brand-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s ease;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Infinite scroll animation */
@keyframes scrollBrands {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .brand-logo {
    height: 45px;
  }
}
/* HERO */
.research-hero-premium {
  height: 420px;
  background: linear-gradient(rgba(1, 19, 85, 0.75), rgba(1, 19, 85, 0.75)),
    url("/assets/images/research-hero.webp") center/cover no-repeat;
}

.hero-glass {
  max-width: 650px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* SECTION HEADING */
.section-heading {
  color: #011355;
  font-size: 32px;
}

/* INTRO TEXT */
.intro-text {
  font-size: 16px;
  line-height: 1.7;
}

/* FOCUS CARD */
.research-pro-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7f3;
  transition: 0.3s;
}

.research-pro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(1, 19, 85, 0.1);
}

/* ICONS */
.research-pro-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #011355;
}

/* METHOD CARD */
.method-pro-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7f3;
  transition: 0.3s;
}

.method-pro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(1, 19, 85, 0.1);
}

.method-pro-icon {
  font-size: 26px;
  color: #011355;
}

/* CTA */
.premium-cta {
  background: linear-gradient(135deg, #011355, #02208f);
}

/* HERO */
.careers-hero {
  background: linear-gradient(rgba(1, 19, 85, 0.75), rgba(1, 19, 85, 0.75)),
    url("/assets/images/careers-hero.webp") center/cover no-repeat;
  padding: 90px 0;
  color: #fff;
}

/* Cards */
.career-card {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e5e7f3;
  transition: 0.3s;
}

.career-card i {
  font-size: 28px;
  color: #011355;
}

.career-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(1, 19, 85, 0.12);
}

/* Jobs */
.job-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5e7f3;
  margin-bottom: 16px;
}

/* Form */
.career-form-card {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  border: 1px solid #e5e7f3;
  box-shadow: 0 12px 30px rgba(1, 19, 85, 0.08);
}
