/* =========================================================================
   Burgland Technology Partners — Redesign System
   Colors & fonts derived entirely from the existing project.
   Primary navy #040636 · Steel blue #325983 · Light slate #ABC0D3 · #F2F2F2
   ========================================================================= */

:root {
  /* ---- Color role system (derived from existing brand palette) ---- */
  --bg-darkest:    #020218;
  --bg-primary:    #040636;   /* dominant background (existing --color-bg) */
  --bg-secondary:  #070a44;   /* section alternation (warmed navy) */
  --bg-lighter:    #0a1060;   /* radial gradient inner glow */
  --surface:       #0c1252;   /* cards / panels */
  --surface-2:     #111a6b;

  --accent:        #325983;   /* main action color (existing --color-secondary) */
  --accent-bright: #4f86c6;   /* lighter shade of accent for emphasis */
  --light-tint:    #ABC0D3;   /* existing --text-grey / light slate */
  --warm:          #d9a441;   /* derived gold for stars / ratings */

  --white:         #F2F2F2;   /* existing --light-color */
  --muted:         rgba(171, 192, 211, 0.72);
  --muted-soft:    rgba(171, 192, 211, 0.5);
  --border:        rgba(50, 89, 131, 0.32);  /* accent @ ~32% */
  --border-strong: rgba(79, 134, 198, 0.45);

  /* ---- Type ---- */
  --font-head: 'Montserrat', 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1140px;
}

/* ---- Global resets ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body), sans-serif;
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); }

/* ---- Scrollbar (brand steel-blue, matching the original theme) ---- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-thumb { background-color: var(--accent); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background-color: var(--accent); }
html { scrollbar-color: var(--accent) transparent; }

/* =========================================================================
   NAVIGATION
   ========================================================================= */
nav#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 48px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}
nav#main-nav.scrolled {
  background: rgba(4, 6, 54, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links > li > a,
.nav-links > li > .nav-link {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > li > a:hover,
.nav-links > li > .nav-link:hover { color: var(--accent-bright); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px;
  background: rgba(7, 10, 68, 0.98);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--light-tint);
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-menu li a:hover { background: rgba(50, 89, 131, 0.25); color: var(--white); }
.nav-dropdown .chev { transition: transform 0.25s ease; font-size: 12px; }
.nav-dropdown:hover .chev, .nav-dropdown.open .chev { transform: rotate(180deg); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  padding: 11px 24px;
  cursor: pointer;
  border: none;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s, filter 0.22s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 36px; font-size: 16px; border-radius: 8px; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(50, 89, 131, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--light-tint);
  border: 1.5px solid rgba(171, 192, 211, 0.35);
}
.btn-ghost:hover {
  background: rgba(171, 192, 211, 0.08);
  border-color: var(--light-tint);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================================================
   HERO  (brand background image + interactive particles + dark text card)
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 150px 48px 90px;
  background: url(../images/BurglandTechwebsitebackgournd.png) center center / cover no-repeat;
  background-color: var(--bg-darkest);
  overflow: hidden;
}
@media (min-width: 1366px) { .hero { background-attachment: fixed; } }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,2,24,0.55) 0%, rgba(2,2,24,0.15) 55%, rgba(2,2,24,0) 100%);
  z-index: 1;
}
/* particles.js renders a canvas into this layer */
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 2;
}
#particles-js canvas { display: block; }

.hero-wrap {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}
.hero-inner {
  max-width: 560px;
  background: rgba(2, 3, 28, 0.62);
  backdrop-filter: blur(2px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 40px;
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--light-tint); }
.hero .subtext {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--light-tint);
  max-width: 520px;
  margin: 0 0 28px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero-social {
  margin: 30px 0 30px;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
}
.hero-social a {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--light-tint);
  font-size: 18px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hero-social a:hover { color: #fff; transform: translateY(-3px); }

/* =========================================================================
   SECTIONS
   ========================================================================= */
section.sec { padding: 96px 48px; position: relative; }
section.sec.alt { background: var(--bg-secondary); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }

.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
  display: block;
}
.sec h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.sec .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
  margin-bottom: 12px;
}
.text-center { text-align: center; }
.center-head { text-align: center; margin: 0 auto 56px; max-width: 740px; }
.center-head .lead { margin-left: auto; margin-right: auto; }

/* Intro section — single full-width column, image cropped below the text */
.intro .intro-text { max-width: 100%; }
.intro .intro-text .lead { max-width: 100%; }
.intro .intro-media {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;          /* clip to the box — no navy gap below */
  aspect-ratio: 1080 / 473;  /* box height tracks width; matches the banner */
  line-height: 0;
}
.intro .intro-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;         /* image always fills the box exactly */
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; }
.two-col.flip .col-text { order: 2; }

/* Article + sidebar layout (insight detail) */
.article-grid { display: grid; grid-template-columns: 1.7fr 0.8fr; gap: 48px; align-items: start; }
.article-main img { border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 26px; width: 100%; }
.article-main .post-date { color: var(--accent-bright); font-size: 13.5px; font-weight: 600; margin-bottom: 22px; }
.article-main h2.title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.article-sidebar { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.article-sidebar h3 { font-size: 18px; color: var(--white); margin-bottom: 8px; text-align: center; }
.article-sidebar hr { border: none; border-top: 1px solid var(--border); margin: 14px 0 18px; }
.sidebar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sidebar-grid img { border-radius: var(--radius-sm); border: 1px solid var(--border); aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform 0.3s ease; }
.sidebar-grid a:hover img { transform: scale(1.05); }
@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

/* Rich text body (service pages / insights) */
.richtext p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.richtext strong { color: var(--white); }
.richtext h3 { font-size: clamp(24px, 3vw, 34px); color: var(--white); margin-bottom: 8px; }
.richtext ul { margin: 0 0 22px; display: grid; gap: 14px; }
.richtext ul li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.richtext ul li i {
  position: absolute;
  left: 0; top: 4px;
  color: var(--accent-bright);
  font-size: 18px;
}
.richtext ul li strong { color: var(--white); }
.richtext img { border-radius: var(--radius); border: 1px solid var(--border); margin: 10px 0; }

/* =========================================================================
   CARDS — Services / Features (with flip)
   ========================================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: block;
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card .card-icon {
  width: 64px; height: 64px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(50, 89, 131, 0.18);
}
.card .card-icon img { width: 38px; height: 38px; object-fit: contain; }
.card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.card .card-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--accent-bright); font-size: 13.5px; font-weight: 600;
}
.card:hover .card-more { gap: 10px; }

/* =========================================================================
   FLIP CARDS — How We Can Help (fixed height so flipping never shifts layout)
   ========================================================================= */
.flip-card {
  height: 320px;
  perspective: 1400px;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.flip-front {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.flip-front .card-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(50, 89, 131, 0.18);
}
.flip-front .card-icon img { width: 46px; height: 46px; object-fit: contain; }
.flip-front h4 { font-size: 18px; font-weight: 700; color: var(--white); line-height: 1.3; }
.flip-front .flip-hint {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.flip-back {
  transform: rotateY(180deg);
  justify-content: center;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border-color: var(--border-strong);
}
.flip-back h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.flip-back p { color: var(--light-tint); font-size: 14px; line-height: 1.65; }
.flip-back .card-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; color: var(--accent-bright); font-size: 13px; font-weight: 600;
}

/* =========================================================================
   STATS / WHY band
   ========================================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature-item i { font-size: 28px; color: var(--accent-bright); margin-bottom: 14px; display: block; }
.feature-item h4 { font-size: 17px; color: var(--white); margin-bottom: 8px; }
.feature-item p { color: var(--muted); font-size: 14px; }

/* =========================================================================
   INSIGHTS / BLOG cards
   ========================================================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.post-card .post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-lighter); }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-date { color: var(--accent-bright); font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 10px; }
.post-card h3 { font-size: 18px; line-height: 1.4; color: var(--white); margin-bottom: 16px; }
.post-card h3 a:hover { color: var(--accent-bright); }
.post-card .post-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  color: var(--white); font-size: 17px; font-weight: 600; font-family: var(--font-head);
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: pointer; text-align: left; gap: 20px;
}
.faq-a { display: none; padding: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }
.faq-icon { transition: transform 0.25s; font-size: 24px; color: var(--accent-bright); line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.stars { color: var(--warm); margin-bottom: 12px; font-size: 15px; }
.quote { color: var(--light-tint); font-size: 15px; line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.author-name { font-weight: 600; color: var(--white); font-size: 14px; }
.author-detail { color: var(--muted); font-size: 13px; }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band {
  position: relative;
  padding: 120px 48px;
  text-align: center;
  background: url(../images/Worldwithneonarch.png) center center / cover no-repeat;
  background-color: var(--bg-darkest);
  overflow: hidden;
}
@media (min-width: 1366px) { .cta-band { background-attachment: fixed; } }
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,2,24,0.72) 0%, rgba(2,2,24,0.82) 100%);
  z-index: 1;
}
.cta-inner { position: relative; max-width: 720px; margin: 0 auto; z-index: 2; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 800; margin-bottom: 18px; letter-spacing: -0.5px; }
.cta-band p { color: var(--muted); font-size: 18px; margin-bottom: 34px; }

/* =========================================================================
   PAGE HEADER (interior pages) — same brand image, no particles
   ========================================================================= */
.page-head {
  position: relative;
  padding: 150px 48px 80px;
  text-align: center;
  background: url(../images/BurglandTechwebsitebackgournd.png) center center / cover no-repeat;
  background-color: var(--bg-darkest);
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,2,24,0.45) 0%, rgba(2,2,24,0.70) 100%);
  z-index: 1;
}
.page-head-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; }
.breadcrumb-trail { display: flex; gap: 10px; justify-content: center; align-items: center; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.breadcrumb-trail a { color: var(--light-tint); }
.breadcrumb-trail a:hover { color: var(--accent-bright); }
.breadcrumb-trail .sep { color: var(--muted-soft); }

/* =========================================================================
   FORMS (contact / login / event editor)
   ========================================================================= */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 28px; align-items: start; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.info-card h6 { color: var(--accent-bright); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.info-card p { color: var(--muted); margin-bottom: 22px; }
.info-card p:last-child { margin-bottom: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; color: var(--light-tint); font-size: 13.5px; margin-bottom: 8px; font-weight: 500; }

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="password"],
.form-card textarea,
.form-card select,
.form-control {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-card textarea, textarea.form-control { min-height: 150px; resize: vertical; }
.form-card input::placeholder, .form-card textarea::placeholder, .form-control::placeholder { color: var(--muted-soft); }
.form-card input:focus,
.form-card textarea:focus,
.form-control:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(79, 134, 198, 0.18);
}
.form-card button[type="submit"],
button.form-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.form-card button[type="submit"]:hover,
button.form-submit:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(50, 89, 131, 0.45);
}
.g-recaptcha { margin: 12px 0 18px; }

/* Django messages */
.alert {
  max-width: var(--maxw);
  margin: 90px auto 0;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--white);
  text-align: center;
}
.alert.success, .alert.alert-success { border-color: rgba(80, 180, 120, 0.5); }
.alert.error, .alert.alert-error, .alert.alert-danger { border-color: rgba(210, 90, 90, 0.5); }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer.site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border);
  padding: 72px 48px 32px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.footer-col .footer-logo img { height: 40px; margin-bottom: 18px; }
.footer-col .footer-tag { color: var(--muted); font-size: 15px; margin-bottom: 22px; max-width: 320px; }
.footer-col h3 { font-size: 16px; color: var(--white); margin-bottom: 20px; letter-spacing: 0.3px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--muted); font-size: 14.5px; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--accent-bright); }
.footer-col .footer-address { font-style: normal; }
.footer-col .contact-line { display: flex; gap: 12px; color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.footer-col .contact-line i { color: var(--accent-bright); font-size: 17px; margin-top: 2px; }
.footer-col .contact-line a { color: var(--muted); transition: color 0.2s ease; }
.footer-col .contact-line a:hover { color: var(--accent-bright); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--light-tint);
  font-size: 17px;
  transition: all 0.25s ease;
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }
.footer-social span { display: block; color: var(--white); font-size: 14px; margin-bottom: 14px; width: 100%; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}
.footer-bottom a { color: var(--light-tint); }
.footer-bottom a:hover { color: var(--accent-bright); }

/* =========================================================================
   SCROLL-TO-TOP
   ========================================================================= */
.scroll-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 22px;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}
.scroll-top.active { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { filter: brightness(1.15); transform: translateY(-3px); }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.rv.on { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.flip .col-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  nav#main-nav { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(4, 6, 54, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 30px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    min-width: 100%;
    margin-top: 10px;
    display: none;
    box-shadow: none;
    background: rgba(7, 10, 68, 0.6);
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 760px) {
  .card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section.sec { padding: 64px 24px; }
  .cta-band, .page-head { padding-left: 24px; padding-right: 24px; }
  .form-card { padding: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 130px 24px 80px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 300px; text-align: center; }
}

/* =========================================================================
   BRAND-COLORED SOCIAL HOVERS (shared: hero, footer, contact)
   Placed last so they win over .hero-social / .footer-social hover rules.
   ========================================================================= */
a.soc-linkedin:hover  { background: #0A66C2; border-color: #0A66C2; color: #fff; }
a.soc-instagram:hover {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  color: #fff;
}
a.soc-facebook:hover  { background: #1877F2; border-color: #1877F2; color: #fff; }
