@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&family=Roboto:wght@400;700&display=swap');

:root {
  --bg: #001836;
  --card: rgba(16, 32, 64, .92);
  --text: #e8eef7;
  --muted: #9fb3c8;
  --line: #1e2a3a;
  --brand: #3C467B;
  --accent: #AFCBFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Raleway', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--bg) url('/Website_background.png') no-repeat center center fixed;
  background-size: cover;
  line-height: 1.6;
}

/* Header & Nav */
header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 24, 54, .95), rgba(0, 24, 54, .82));
  backdrop-filter: saturate(140%) blur(6px);
}
.container { max-width: 1100px; margin: 0 auto; padding: clamp(12px, 2vw, 20px); }
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.logo { height: 50px; width: auto; transition: transform .3s ease, filter .3s ease; }
.logo:hover { transform: scale(1.06); filter: drop-shadow(0 0 6px #F5F8FA); }

.nav-links { display: flex; gap: 24px; }
.nav-links a {
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* Main Content Components */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; margin-top: 24px;
}
.card-head {
  display: inline-block; background: rgba(10, 22, 40, .95);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 18px; margin-bottom: 16px;
}
.center-head { text-align: center; margin: 0 auto 16px; display: table; }

h1, h2 { margin: 0 0 12px; line-height: 1.2; }
h3 { margin: 0; font-size: 1.05rem; line-height: 1.1; }
p { color: var(--muted); margin: 0 0 1em; }

/* Grid Layouts */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; } 

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(4, 1fr); }
}

.service-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.tile {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  transition: transform .18s, box-shadow .18s, border-color .18s, background .18s;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.tile:hover {
  transform: translateY(-2px); border-color: #F5F8FA;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25); background: rgba(255, 255, 255, .04);
}

/* Badges & Logos */
.badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.badge {
  border: 1px solid var(--line); color: var(--muted); padding: 6px 12px;
  border-radius: 99px; font-size: .85rem; transition: transform .18s;
}
.badge:hover { transform: scale(1.05); border-color: #F5F8FA; background: rgba(255,255,255,0.05); }

.row3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 12px; }
.box80 {
  height: 80px; width: 80px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
}
.box80 img { max-width: 70%; max-height: 70%; object-fit: contain; }

/* Sub-Page Specifics */
.hero-img { width: 100%; border-radius: 12px; border: 1px solid var(--line); margin-top: 16px; margin-bottom: 24px; }
.links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.links a { color: var(--accent); text-decoration: none; font-weight: 700; }
.links a:hover { text-decoration: underline; }

/* Footer */
footer { border-top: 3px solid var(--line); margin-top: 40px; padding: 32px 0; }
.footer-grid { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.footer-col { flex: 1 1 300px; }
.footer-title { font-weight: 700; font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.footer-col p.muted { margin: 3px 0; line-height: 1.4; }
.footer-icons { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.footer-icons img { height: 32px; width: auto; }
.footer-social { display: flex; gap: 16px; }

/* Business Card */
.biz-card {
  flex: 0 1 auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px; height: fit-content; min-width: 300px;
}
.biz-title { margin: 0 0 10px; font-weight: 700; font-size: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; display: inline-block;}
.biz-list { list-style: none; padding: 0; font-size: .85rem; }
.biz-list li { margin-bottom: 4px; color: var(--muted); line-height: 1.3; }
.biz-list strong { color: var(--accent); }

/* --- NEW INSIGHTS PAGE STYLES --- */
/* UPDATED: Removed gradient background */
.knowledge-hero {
  text-align: center; 
  padding: 40px 20px 30px; 
  /* Removed border-bottom and background */
}
.k-subtitle {
  color: var(--accent); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 8px; display: block; font-size: 0.9rem;
}

/* Intro Block */
.intro-block {
  max-width: 850px; margin: 0 auto 40px; text-align: center;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.05rem; line-height: 1.8;
  background: rgba(0, 24, 54, 0.75);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.faq-container { max-width: 850px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 16px; overflow: hidden; transition: border-color 0.3s ease;
}
.faq-item:hover { border-color: var(--muted); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 22px 24px;
  color: var(--text); font-size: 1.15rem; font-weight: 700; font-family: inherit;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question:hover { color: var(--accent); }
.icon-plus { font-size: 1.5rem; color: var(--muted); transition: transform 0.3s ease; margin-left: 15px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; padding: 0 24px; }
.faq-inner {
  padding-bottom: 30px; color: var(--muted); line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px;
}
.faq-inner strong { color: var(--text); }
.faq-inner ul { padding-left: 20px; margin: 10px 0; }
.faq-inner li { margin-bottom: 8px; }
.highlight-box {
  background: rgba(60, 70, 123, 0.2); border-left: 4px solid var(--brand);
  padding: 20px; margin-top: 24px; border-radius: 0 8px 8px 0;
}
.highlight-title { color: #fff; font-weight: 700; display: block; margin-bottom: 8px; font-size: 1.05rem; }
.faq-item.active .faq-answer { max-height: 2000px; transition: max-height 0.5s ease-in; }
.faq-item.active .icon-plus { transform: rotate(45deg); color: var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { flex-direction: column; gap: 10px; }
  .biz-card { display: none; }
  
  /* Mobile Fixes */
  .card-head h3 { white-space: nowrap; font-size: 0.75rem !important; letter-spacing: -0.2px; }
  .card-head { padding: 6px 12px; width: auto; max-width: 100%; }
  .row3 { flex-wrap: nowrap !important; gap: 8px; justify-content: center; }
  .box80 { width: 60px; height: 60px; flex-shrink: 0; }
  footer { margin-top: 0px !important; padding-top: 15px !important; padding-bottom: 15px !important; border-top-width: 1px; }
  .footer-col p.muted { margin-bottom: 4px; font-size: 0.85rem; }
  
  /* Insights Mobile */
  .intro-block { font-size: 0.95rem; text-align: left; padding: 24px; }
  .faq-question { font-size: 1rem; padding: 18px; }
}