/* Core Marketing — Supplementary CSS
 * Loaded AFTER /design/assets/css/style.css
 * Covers: Core brand overrides, hero slider React-state management, preloader. */



/* ─────────────────────────────────────────────────────────────
   Hero slider — React state-based (replaces Owl Carousel)
   One slide at a time; active slide uses position:relative so
   the section has natural height.
───────────────────────────────────────────────────────────── */
.hero-section { position: relative; overflow: hidden; }

.hero-single {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-single.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* Dot navigation */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.hero-dot.active {
  background: var(--color-green);
  border-color: var(--color-green);
  transform: scale(1.3);
}

/* Slide-in animations for active content */
.hero-content.animate-in h1 { animation: coreSlideRight 0.7s ease both; }
.hero-content.animate-in p  { animation: coreSlideRight 0.85s ease both; }
.hero-content.animate-in .hero-btn { animation: coreFadeUp 1s ease both; }

@keyframes coreSlideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes coreFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}


/* ─────────────────────────────────────────────────────────────
   Preloader
───────────────────────────────────────────────────────────── */
#core-pl {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.4s ease;
}
.cp-orbital { position: relative; width: 88px; height: 88px; }
.cp-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}
.cp-ring-1 {
  border-top-color: #279CD2;
  border-right-color: rgba(39, 156, 210, 0.2);
  animation: cpSpin 1s linear infinite;
}
.cp-ring-2 {
  inset: 12px;
  border-top-color: transparent;
  border-right-color: #279CD2;
  border-bottom-color: rgba(39, 156, 210, 0.15);
  animation: cpSpin 1.5s linear infinite reverse;
  opacity: 0.7;
}
.cp-ring-3 {
  inset: 26px;
  border-top-color: #279CD2;
  border-bottom-color: #279CD2;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: cpSpin 0.75s linear infinite;
  opacity: 0.4;
}
.cp-nucleus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-nucleus::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #279CD2;
  animation: cpPulse 1.4s ease-in-out infinite;
}
.cp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #044689;
  animation: cpFade 1.8s ease-in-out infinite;
}
.cp-dots { display: flex; gap: 7px; }
.cp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #279CD2;
  animation: cpBounce 1.2s ease-in-out infinite;
  opacity: 0.8;
}
.cp-dot:nth-child(2) { animation-delay: 0.18s; opacity: 0.6; }
.cp-dot:nth-child(3) { animation-delay: 0.36s; opacity: 0.4; }

@keyframes cpSpin   { to { transform: rotate(360deg); } }
@keyframes cpPulse  { 0%, 100% { transform: scale(0.7); opacity: 0.5; } 50% { transform: scale(1.35); opacity: 1; } }
@keyframes cpFade   { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes cpBounce { 0%, 80%, 100% { transform: scaleY(0.6); } 40% { transform: scaleY(1.4); } }


/* ─────────────────────────────────────────────────────────────
   Breadcrumb (inner pages)
───────────────────────────────────────────────────────────── */
.breadcrumb-area {
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  position: relative;
}
.breadcrumb-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 70, 137, 0.7);
}
.breadcrumb-content { position: relative; z-index: 1; text-align: center; }
.breadcrumb-content h1 { color: #fff; font-size: 42px; font-weight: 800; margin-bottom: 14px; }
.breadcrumb-content .breadcrumb {
  justify-content: center;
  background: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-item a { color: var(--color-green); }
.breadcrumb-item.active { color: rgba(255, 255, 255, 0.75); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.4); }


/* ─────────────────────────────────────────────────────────────
   FAQ accordion (inner page)
───────────────────────────────────────────────────────────── */
.faq-area .accordion-button {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--color-dark);
  background: #fff;
}
.faq-area .accordion-button:not(.collapsed) {
  color: var(--theme-color);
  background: #f0f8fd;
  box-shadow: none;
}
.faq-area .accordion-button:focus { box-shadow: none; }
.faq-area .accordion-button::after {
  filter: invert(43%) sepia(88%) saturate(367%) hue-rotate(162deg);
}


/* ─────────────────────────────────────────────────────────────
   Contact page
───────────────────────────────────────────────────────────── */
.contact-form .form-control {
  border-radius: 4px;
  border: 1px solid #dce3ea;
  padding: 12px 16px;
  font-size: 15px;
}
.contact-form .form-control:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(39, 156, 210, 0.15);
}
.contact-img img { width: 100%; border-radius: 8px; }
