/* SIRCAA Brand Color Theme */
:root {
  --brand-dark: #024FAE;
  --brand-light: #71C3FF;
  --brand-beige: #ECBC34;
  --brand-white: #FFFFFF;
  --accent-red: #c62828;
  --accent-maroon: #5c2148;

  --electric-blue: #1F5EA8;
  --deep-navy: #153e73;
  --dark-charcoal: #1a2a3a;
  --neon-cyan: #5FA9DD;
  --orange-glow: #c49a6c;
  --purple-light: #1F5EA8;

  --gray-100: #F7F4EE;
  --gray-200: #F3EDE3;
}

.text-brand { color: var(--brand-dark) !important; }
.text-brand-light { color: var(--brand-light) !important; }

.btn-brand {
  background: var(--brand-dark);
  color: var(--brand-white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: 0.3s ease;
}
.btn-brand:hover {
  background: #184d8f;
  color: var(--brand-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 94, 168, 0.35);
}

.btn-brand-outline {
  border: 2px solid var(--brand-dark);
  color: var(--brand-dark);
  background: transparent;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
}
.btn-brand-outline:hover {
  background: var(--brand-dark);
  color: var(--brand-white);
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light)) !important;
}
.btn-primary-glow:hover {
  box-shadow: 0 10px 28px rgba(31, 94, 168, 0.4) !important;
}

.btn-accent {
  background: var(--brand-beige) !important;
  color: var(--deep-navy) !important;
}

.section-subtitle {
  color: var(--brand-dark) !important;
}
.section-dark .section-subtitle,
.section-brand-dark .section-subtitle {
  color: var(--brand-light) !important;
}

.section-brand-dark {
  background: linear-gradient(135deg, var(--deep-navy), var(--brand-dark));
  color: var(--brand-white);
}

body {
  background: #f8fafc;
  color: var(--dark-charcoal);
}

.brand-logo-img {
  flex-shrink: 0;
  object-fit: contain;
}

.logo-mark {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light)) !important;
}

.logo-text small {
  color: var(--brand-light) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-light) !important;
}

.nav-link.active::after {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-beige)) !important;
}

.top-bar-list i {
  color: var(--brand-beige) !important;
}

/* Hero — image only */
.hero-simple {
  position: relative;
  padding-bottom: 0;
  background: var(--deep-navy);
}
.hero-tucked.hero-simple {
  background: var(--brand-white);
}
.hero-simple .hero-swiper {
  height: 55vh;
  min-height: 380px;
  max-height: 620px;
}
@media (min-width: 992px) {
  .hero-simple .hero-swiper {
    height: 65vh;
    min-height: 480px;
    max-height: 700px;
  }
}
.hero-slide-img-only {
  height: 100%;
  width: 100%;
}
.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-simple .hero-overlay,
.hero-simple .hero-content {
  display: none !important;
}
.hero-simple .swiper-pagination-bullet-active {
  background: var(--brand-light) !important;
  width: 28px;
  border-radius: 4px;
}
.hero-simple .swiper-button-prev,
.hero-simple .swiper-button-next {
  color: var(--brand-white);
}
.hero-simple .swiper-button-prev:after,
.hero-simple .swiper-button-next:after {
  font-size: 1.25rem;
}
.hero-simple .hero-pagination {
  bottom: 24px !important;
}
@media (min-width: 768px) {
  .hero-simple .hero-pagination {
    bottom: 100px !important;
  }
}

/* Overlap cards — base; homepage overrides in home-sections.css */
.hero-overlap-cards {
  position: relative;
  z-index: 10;
}

.page-home .hero-feature-card {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: var(--brand-white);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hfc-default {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: var(--brand-white);
  transition: opacity 0.4s ease;
  z-index: 2;
}
.hfc-default h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0.75rem 0 0;
  line-height: 1.3;
}
.hfc-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.page-home .hfc-default .hfc-icon {
  background: var(--accent-red);
  color: var(--brand-white);
}
.hfc-hover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 3;
}
.hfc-hover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(26, 42, 58, 0.88));
}
.hfc-hover-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  color: var(--brand-white);
}
.hfc-hover-inner h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: var(--brand-white);
}
.hfc-hover-inner p {
  font-size: 0.8rem;
  line-height: 1.5;
  opacity: 0.92;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .hfc-hover-inner .hfc-icon {
  background: var(--brand-white);
  color: var(--accent-red);
}
.hfc-btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--brand-white);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
}
.hero-feature-card:hover .hfc-default,
.hero-feature-card.is-active .hfc-default {
  opacity: 0;
  pointer-events: none;
}
.hero-feature-card:hover .hfc-hover,
.hero-feature-card.is-active .hfc-hover {
  opacity: 1;
}

/* Products paraflex hover */
.section-products-dark {
  background: linear-gradient(180deg, #0f2848 0%, #153e73 50%, #1a2a3a 100%);
  position: relative;
  overflow: hidden;
}
.section-products-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1920&q=60') center/cover;
  opacity: 0.08;
}

.product-card-v2 {
  display: block;
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: var(--brand-white);
  text-decoration: none;
  transition: transform 0.4s ease, border-color 0.3s ease;
}
.product-card-v2:hover,
.product-card-v2.is-active {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--brand-light);
  z-index: 2;
}
.pcv2-image {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.pcv2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-v2:hover .pcv2-image,
.product-card-v2.is-active .pcv2-image {
  transform: scale(1.08);
}
.pcv2-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(21, 62, 115, 0.95), rgba(31, 94, 168, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.product-card-v2:hover .pcv2-hover,
.product-card-v2.is-active .pcv2-hover {
  opacity: 1;
}
.pcv2-hover h3 {
  color: var(--brand-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pcv2-hover p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcv2-read {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--brand-white);
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 3px;
}

/* Certifications premium */
.section-certifications {
  background: var(--gray-100);
  padding: var(--section-py, 2.35rem) 0;
}
.cert-block {
  background: var(--brand-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(31, 94, 168, 0.1);
  border: 1px solid var(--gray-200);
}
.cert-grid-premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) {
  .cert-grid-premium {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-block { padding: 1.5rem; }
}
.cert-item-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 12px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  transition: all 0.35s ease;
}
.cert-item-premium:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 94, 168, 0.25);
}
.cert-item-premium:hover .cert-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--brand-beige);
}
.cert-item-premium:hover .cert-name {
  color: var(--brand-white);
}
.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(31, 94, 168, 0.12);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  transition: 0.35s ease;
}
.cert-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-dark);
  transition: 0.35s ease;
}

/* CTA brand colors */
.cta-banner-premium {
  background: linear-gradient(125deg, var(--brand-dark) 0%, var(--brand-light) 100%) !important;
}
.cta-eyebrow { color: var(--brand-beige) !important; }
.btn-cta-beige {
  background: var(--brand-beige) !important;
  color: var(--deep-navy) !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
}
.btn-cta-beige:hover {
  background: #e8d9b8 !important;
  color: var(--deep-navy) !important;
}
.cta-form-header i { color: var(--brand-dark) !important; }
.cta-form-header h3 { color: var(--brand-dark) !important; }

.stats-section {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light)) !important;
}

.process-num {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light)) !important;
}

.card-icon {
  background: rgba(31, 94, 168, 0.12) !important;
  color: var(--brand-dark) !important;
}
.section-dark .card-icon,
.section-brand-dark .card-icon {
  color: var(--brand-light) !important;
  background: rgba(95, 169, 221, 0.15) !important;
}

.footer-heading span::after {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-beige)) !important;
}
.footer-contact-list i { color: var(--brand-beige) !important; }
.mbn-fab {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light)) !important;
}
.mbn-menu-label { color: var(--brand-beige) !important; }
.mbn-item.active { color: var(--brand-dark) !important; }

/* Mobile nav drawer — never visible as footer bar */
.mobile-nav-drawer {
  height: auto !important;
  max-height: 75vh;
  border-radius: 20px 20px 0 0;
  visibility: hidden;
}
.mobile-nav-drawer.show {
  visibility: visible;
}
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-drawer-nav a {
  padding: 0.85rem 1rem;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: 0.2s;
}
.mobile-drawer-nav a:hover {
  background: var(--gray-100);
  color: var(--brand-dark);
}

/* Hide old quick menu completely */
.mobile-fullmenu {
  display: none !important;
  visibility: hidden !important;
}

body.page-home #heroParticles {
  display: none !important;
}
