/* ==========================================================
   INTRASECT MAIN STYLE — Blue-Jean | Gold | White Theme
   ========================================================== */

:root {
  --blue-jean: #0d1f33;
  --blue-tint: #1b3b5a;
  --silver: #c9d6df;
  --accent: #5a9bd6;
  --gold: #ffd100;
  --card-bg: #1b3b5a;
}

/* Global */
body {
  font-family: "Open Sans", Arial, sans-serif;
  color: #0b2540;
  background: #f7f9fb;
  padding-top: 86px;
}
/* HERO SECTION ) */
.hero-section {
  position: relative;
}

.hero-img {
  height: 60vh; /* Updated from 100vh */
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Semi-transparent box behind text */
.hero-box {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 1rem;
}

/* Animations */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}
.animate-fade.delay-1 { animation-delay: 0.3s; }
.animate-fade.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

}

/* EQUAL CARDS */
.equal-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.features-list {
  list-style: none;
  padding-left: 0;
}

.features-list li::before {
  content: "✔";
  color: #ffd600;
  margin-right: 8px;
}

/* Fade Animations */
.animate-fade { opacity:0; transform: translateY(10px); animation: fadeInUp 0.8s forwards; }
.animate-fade.delay-1 { animation-delay: 0.3s; }
.animate-fade.delay-2 { animation-delay: 0.6s; }
@keyframes fadeInUp {
  to { opacity:1; transform: translateY(0); }
}

/* CORE MODULES */
.core-modules-section {
  background: var(--blue-jean);
  color: #fff;
  padding-top: 4rem;
  padding-bottom:4rem;
}
.module-card {
  background: rgba(255,255,255,0.03);
  padding:20px;
  border-radius:8px;
  min-height: 230px;
  transition: all 0.25s ease;
}
.module-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-5px);
}
.module-card h5 { color: #fff; font-weight:700; }
.module-card p { color: #e6eef7; }

/* feature list */
.features-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
}
.features-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
  color: #e6eef7;
}
.features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight:700;
}

/* Packages */
.package-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(13,31,51,0.08);
  min-height: 320px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(13,31,51,0.15);
}
.package-card h5 { font-weight:700; color: var(--blue-jean); }
.package-card .price { font-size:1.1rem; color: #555; font-weight:700; text-align:center; }

/* trusted logos */
.trusted-logo { height:48px; opacity:0.9; filter: grayscale(0.2); }

/* testimonials */
.testimonial-card { background:#f8fafc; border-radius:8px; }
.cta-section { background: linear-gradient(90deg, var(--blue-tint), var(--blue-jean)); padding: 3.5rem 0; }

/* Support widget placeholder handled in JS */

/* ==========================================================
   QA MODE VISUAL DEBUGGING
   ========================================================== */
.qa-label {
  background: #ffd100 !important;
  color: #000 !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  position: absolute;
  top: -18px;
  left: 4px;
  z-index: 99998;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
  pointer-events: none;
}
#qaBadge {
  animation: qaFadeIn 0.3s ease forwards;
}
@keyframes qaFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0.95; transform: translateY(0); }
}

/* ==========================================================
   QA PANEL THEME (Blue-Jean + Gold)
   ========================================================== */
#qaPanel {
  background: linear-gradient(160deg, #0d1f33 0%, #1b3b5a 100%) !important;
  color: #fefefe !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Open Sans", sans-serif;
  box-shadow: 0 6px 18px rgba(13, 31, 51, 0.45);
}

#qaPanel strong { color: #ffd100 !important; font-weight:700; }
.qa-btn {
  display:block;width:100%;margin:5px 0;padding:6px 0;
  border:none;border-radius:5px;
  background: linear-gradient(90deg, #ffd100, #ffdf40);
  color:#0d1f33 !important;
  font-weight:700;font-size:12px;cursor:pointer;text-transform:uppercase;
  transition: all .25s ease;
}
.qa-btn:hover { background:linear-gradient(90deg,#ffeb66,#fff2a3);transform:translateY(-2px);}
.qa-select {
  width:100%;border-radius:5px;border:1px solid #ffd100;
  padding:5px 6px;font-size:12px;background:#fff;color:#0d1f33;font-weight:600;
}
#qaBadge {
  background:#0d1f33 !important;
  color:#ffd100 !important;
  border:1px solid rgba(255,209,0,0.25);
  font-weight:600;letter-spacing:0.5px;text-transform:uppercase;
}
.modules-showcase {
  background: radial-gradient(circle at top left, #0f243f 0%, #0a1b30 100%);
  background-image: url('../images/pattern-dark.svg'), radial-gradient(circle at top left, #0f243f 0%, #0a1b30 100%);
  background-blend-mode: overlay;
  padding: 80px 0;
}
.module-card-glass {
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 300px;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(13,31,51,0.4);
  transition: all 0.3s ease;
}
.module-card-glass::before {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(13,31,51,0) 40%, rgba(13,31,51,0.8) 100%);
  z-index:1;
}
.module-card-glass .content { position:relative; z-index:2; padding:20px; }
.module-card-glass:hover { transform:translateY(-6px); }


}
.tick {
  color: #ffd100;
  margin-right: 10px;
  font-weight: bold;
}
.module-detailed p {
  text-align: justify;
  text-justify: inter-word;
}
.why-box {
  background: rgba(27, 59, 90, 0.08);
  border-left: 4px solid #ffd100;
  padding: 14px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(13,31,51,0.05);
}
.why-box strong {
  color: #0d1f33;
  font-weight: 700;
}
.why-box p {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 0;
  color: #222;
}
/* --- Equal height image & text panels in detailed modules --- */
.module-detailed .row.g-4 {
  display: flex !important;
  align-items: stretch !important;
  flex-wrap: wrap;
}

.module-detailed .col-lg-6 {
  display: flex !important;
  flex-direction: column;
}

.module-detailed .panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.97);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(2,10,40,0.04);
  padding: 22px;
}

/* Ensure the image side fills the column height exactly */
.bg-module {
  flex: 1 !important;
  width: 100%;
  height: auto;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

/* Stack gracefully on small screens */
@media (max-width: 991px) {
  .module-detailed .row.g-4 {
    display: block !important;
  }
  .bg-module {
    min-height: 280px;
  }
}
/* --- Equal height for Core Modules Showcase cards --- */
.modules-showcase .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.bg-module::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13,31,51,0.35);
  mix-blend-mode: multiply;
}
/* ==========================
   SUPPORT PAGE ENHANCEMENTS
   ========================== */

.hero-support {
  position: relative;
  height: 45vh;
  background: url('../images/support-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-support::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 51, 0.55);
  backdrop-filter: blur(2px);
}
.hero-support .content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 1rem;
}
.hero-support h1 {
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.3px;
}
.hero-support .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
}
.hero-support .btn {
  font-weight: 600;
  border-radius: 6px;
}

/* Category Cards */
.category-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease-in-out;
  text-align: center;
  padding: 30px;
  height: 100%;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.15);
}
.category-card i {
  color: var(--accent);
}

/* Locked Sections (Login Required) */
.locked-section {
  position: relative;
  filter: blur(1.5px) brightness(0.85);
  border-radius: 8px;
  overflow: hidden;
}
.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 31, 51, 0.6);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.locked-overlay:hover {
  background: rgba(13, 31, 51, 0.75);
}

/* Network Status Indicators */
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.status-green { background: #28a745; }
.status-orange { background: #ffc107; }
.status-red { background: #dc3545; }

/* Ticket Modal */
.modal-header.bg-primary {
  background: var(--blue-jean) !important;
}
.modal-content {
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}
.modal-footer .btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
}
.modal-footer .btn-primary:hover {
  background-color: #4c91c6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(90deg, var(--blue-tint), var(--blue-jean));
  padding: 3rem 0;
  color: #fff;
  text-align: center;
}
.cta-section .btn {
  font-weight: 600;
  border-radius: 8px;
}

/* Accordion (FAQ) Enhancements */
.accordion-button {
  font-weight: 600;
  color: var(--blue-jean);
}
.accordion-button:not(.collapsed) {
  background-color: rgba(13, 31, 51, 0.07);
  color: var(--blue-jean);
  box-shadow: none;
}
.accordion-body {
  line-height: 1.6;
}
/* Journey Section */
.journey-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 20px 0;
}

.journey-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d1f33, #1b3b5a);
  transform: translateY(-50%);
  z-index: 1;
}

.journey-step {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  padding: 20px;
  width: calc(16% - 10px);
  min-width: 160px;
  z-index: 2;
  transition: all 0.3s ease;
}
.journey-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.journey-dot {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d1f33, #5a9bd6);
  border: 3px solid #fff;
}

.journey-step h5 {
  color: #0d1f33;
  font-weight: 700;
  margin-top: 10px;
}
.journey-step p {
  color: #555;
  font-size: 0.9rem;
  text-align: justify;
}

/* Mobile layout */
@media (max-width: 991px) {
  .journey-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .journey-line {
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0d1f33, #1b3b5a);
    transform: translateX(-50%);
  }
  .journey-step {
    width: 90%;
    text-align: center;
  }
  .journey-dot {
    top: auto;
    left: 50%;
    bottom: -12px;
    transform: translate(-50%, 0);
  }
}
#searchToggle {
  transition: all .25s ease;
}
#searchToggle:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.1);
}

/* Fix invisible labels inside all Bootstrap modals */
.modal-content label,
.modal-content .form-label {
  color: #0d1f33 !important;   /* Strong dark blue */
  font-weight: 600;
}

