/* ============================================================
   DIGITAL CORE FOR ENERGY & TECHNOLOGY — style.css
   Path: /css/style.css
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

/* ── Brand Tokens ────────────────────────────────────────── */
:root {
  --brand-primary:        #011232;
  --brand-accent:         #255593;
  --brand-highlight:      #ffcc06;
  --brand-bg:             #ffffff;
  --brand-page-bg:        #f4f6fa;
  --brand-text:           #0d1b2a;
  --brand-text-subtle:    #4a5568;
  --brand-text-muted:     #8a95a3;
  --brand-border:         #dce3ef;
  --brand-primary-rgb:    1, 18, 50;
  --brand-accent-rgb:     37, 85, 147;
  --brand-highlight-rgb:  255, 204, 6;

  --font-heading: 'Syne', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 4px rgba(var(--brand-primary-rgb), .08);
  --shadow-md:   0 4px 20px rgba(var(--brand-primary-rgb), .10);
  --shadow-lg:   0 12px 40px rgba(var(--brand-primary-rgb), .14);

  --transition:  all .28s cubic-bezier(.4,0,.2,1);
  --transition-fast: all .16s ease;

  --container:   1240px;
  --gap:         clamp(16px, 2.5vw, 32px);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--brand-page-bg);
  color: var(--brand-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--brand-accent); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--brand-primary); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

::selection {
  background: var(--brand-highlight);
  color: var(--brand-primary);
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--brand-page-bg); }
::-webkit-scrollbar-thumb { background: var(--brand-accent); border-radius: 99px; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); }
h5 { font-size: 1rem; }
h6 { font-size: .9rem; }

p {
  font-size: clamp(.9rem, 1.2vw, 1rem);
  color: var(--brand-text-subtle);
  line-height: 1.8;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--brand-text);
  line-height: 1.75;
}

.text-muted  { color: var(--brand-text-muted); }
.text-accent { color: var(--brand-accent); }
.text-primary { color: var(--brand-primary); }
.text-highlight { color: var(--brand-highlight); }
.text-sm     { font-size: .875rem; }
.text-xs     { font-size: .75rem; }
.text-lg     { font-size: 1.125rem; }
.text-xl     { font-size: 1.25rem; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.font-bold   { font-weight: 700; }
.font-medium { font-weight: 500; }

/* ── Layout & Container ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  width: 100%;
}

.section {
  padding-block: clamp(48px, 7vw, 96px);
}

.section--light  { background: var(--brand-bg); }
.section--tinted { background: var(--brand-page-bg); }
.section--dark   {
  background: var(--brand-primary);
  color: #fff;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p  { color: rgba(255,255,255,.75); }

/* Content + Sidebar layout */
.layout-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--gap);
  align-items: start;
}
.layout-sidebar-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--gap);
  align-items: start;
}

/* Grid utilities */
.grid       { display: grid; gap: var(--gap); }
.grid-2     { grid-template-columns: repeat(2, 1fr); }
.grid-3     { grid-template-columns: repeat(3, 1fr); }
.grid-4     { grid-template-columns: repeat(4, 1fr); }
.grid-auto  { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Flex utilities */
.flex        { display: flex; gap: var(--gap); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.items-center{ align-items: center; }
.items-start { align-items: flex-start; }
.gap-sm      { gap: 8px; }
.gap-md      { gap: 16px; }
.gap-lg      { gap: 32px; }

/* Spacing */
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mt-5  { margin-top: 48px; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }
.mb-5  { margin-bottom: 48px; }
.py-1  { padding-block: 8px; }
.py-2  { padding-block: 16px; }
.py-3  { padding-block: 24px; }
.py-4  { padding-block: 32px; }
.py-5  { padding-block: 48px; }
.px-2  { padding-inline: 16px; }
.px-3  { padding-inline: 24px; }
.px-4  { padding-inline: 32px; }

/* ── Section Header ──────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section-header.center { text-align: center; }
.section-header.center .section-line { margin-inline: auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand-highlight);
  display: block;
}

.section-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-highlight), var(--brand-accent));
  border-radius: 2px;
  margin-top: 14px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .7em 1.6em;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .925rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border: 2px solid var(--brand-primary);
}
.btn-primary:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--brand-accent-rgb),.3);
}

.btn-accent {
  background: var(--brand-accent);
  color: #fff;
  border: 2px solid var(--brand-accent);
}
.btn-accent:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-highlight {
  background: var(--brand-highlight);
  color: var(--brand-primary);
  border: 2px solid var(--brand-highlight);
}
.btn-highlight:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.btn-outline:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

.btn-sm { padding: .5em 1.2em; font-size: .825rem; }
.btn-lg { padding: .9em 2em;   font-size: 1rem; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--brand-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--brand-border);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-body { padding: clamp(20px, 3vw, 32px); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--brand-page-bg) 0%, var(--brand-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-text-muted);
  font-size: .85rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: var(--brand-text-muted);
  margin-bottom: 10px;
}

/* Highlighted card */
.card--highlighted {
  border-color: var(--brand-accent);
  border-width: 2px;
}
.card--dark {
  background: var(--brand-primary);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}
.card--dark h3,
.card--dark h4 { color: #fff; }
.card--dark p   { color: rgba(255,255,255,.7); }

/* Feature card */
.feature-card {
  background: var(--brand-bg);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--brand-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-highlight));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(var(--brand-accent-rgb), .08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--brand-accent);
  transform: scale(1.05);
}
.feature-card:hover .feature-icon svg { stroke: #fff; }

/* ── Sidebar Widgets ─────────────────────────────────────── */
.widget {
  background: var(--brand-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
  overflow: hidden;
  margin-bottom: var(--gap);
}

.widget-header {
  padding: 18px 24px;
  background: var(--brand-primary);
  color: #fff;
}
.widget-header h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .02em;
  margin: 0;
}

.widget-body { padding: 20px 24px; }

/* Recent Posts list */
.post-list-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--brand-border);
  transition: var(--transition-fast);
}
.post-list-item:last-child { border-bottom: none; }
.post-list-item:hover { transform: translateX(4px); }

.post-list-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--brand-page-bg);
}

.post-list-info { flex: 1; min-width: 0; }
.post-list-info h5 {
  font-size: .875rem;
  color: var(--brand-primary);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-list-info span {
  font-size: .75rem;
  color: var(--brand-text-muted);
}

/* Partner logos */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.partner-logo-box {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-page-bg);
  min-height: 60px;
  color: var(--brand-text-muted);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: var(--transition-fast);
}
.partner-logo-box:hover {
  border-color: var(--brand-accent);
  background: rgba(var(--brand-accent-rgb),.04);
}
.partner-logo-box img {max-height: 123px;  object-fit: contain;}

/* ── Tags & Badges ───────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: .25em .75em;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag-primary   { background: rgba(var(--brand-primary-rgb),.08); color: var(--brand-primary); }
.tag-accent    { background: rgba(var(--brand-accent-rgb),.1); color: var(--brand-accent); }
.tag-highlight { background: rgba(var(--brand-highlight-rgb),.15); color: #a07a00; }
.tag-light     { background: var(--brand-page-bg); color: var(--brand-text-subtle); border: 1px solid var(--brand-border); }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .2em .6em;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 700;
}
.badge-primary  { background: var(--brand-primary);   color: #fff; }
.badge-accent   { background: var(--brand-accent);    color: #fff; }
.badge-highlight{ background: var(--brand-highlight); color: var(--brand-primary); }

/* ── Header & Navigation ─────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brand-border);
  transition: var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  object-fit: cover;
  max-height: 80px;
  width: 390px;
  margin: 3.7% 0 0 -64px;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.logo-text span {
  display: block;
  font-size: .65rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--brand-text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.widget-body li{
list-style: circle;
margin:4% 0;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  display: flex;
  align-items: center;
  padding: .55em 1em;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand-text);
  border-radius: var(--radius-sm);
  letter-spacing: .01em;
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 50%; right: 50%;
  height: 2px;
  background: var(--brand-highlight);
  border-radius: 1px;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb),.05);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  left: 14px;
  right: 14px;
}

.nav-cta {
  background: var(--brand-primary) !important;
  color: #fff !important;
  border-radius: var(--radius-md) !important;
  padding: .55em 1.2em !important;
}
.nav-cta:hover {
  background: var(--brand-accent) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.hamburger:hover { background: var(--brand-page-bg); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--brand-bg);
  border-top: 1px solid var(--brand-border);
  padding: 16px 0;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px clamp(16px, 4vw, 40px);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-text);
  border-bottom: 1px solid var(--brand-border);
  transition: var(--transition-fast);
}
.mobile-nav a:hover { color: var(--brand-accent); background: var(--brand-page-bg); }
.mobile-nav a:last-child { border-bottom: none; }

/* ── Top Bar ─────────────────────────────────────────────── */
.top-bar {
  background: #225698;;
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  padding: 8px 0;
  letter-spacing: .02em;
}
.top-bar a { color: var(--brand-highlight); }
.top-bar a:hover { color: #fff; }
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--brand-primary);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-block: clamp(60px, 8vw, 110px);
}

/* Geometric decoration */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 50%, rgba(var(--brand-accent-rgb),.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(var(--brand-highlight-rgb),.12) 0%, transparent 50%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--brand-page-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-content { color: #fff; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-highlight);
  margin-bottom: 20px;
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--brand-highlight);
  flex-shrink: 0;
}

.hero h1 {
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-highlight);
  position: relative;
}

.hero-sub {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-highlight);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card-stack {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
}
.hero-card-stack .hc-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-highlight);
  margin-bottom: 12px;
}
.hc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.05);
  margin-bottom: 8px;
  transition: var(--transition-fast);
}
.hc-item:last-child { margin-bottom: 0; }
.hc-item:hover { background: rgba(255,255,255,.1); }
.hc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(var(--brand-highlight-rgb),.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hc-text { flex: 1; }
.hc-text strong { font-size: .875rem; color: #fff; font-weight: 600; display: block; }
.hc-text span   { font-size: .75rem;  color: rgba(255,255,255,.5); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .825rem;
  color: var(--brand-text-muted);
  padding-block: 14px;
}
.breadcrumb a { color: var(--brand-accent); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb-sep { opacity: .4; }

/* ── Post / Article Cards ────────────────────────────────── */
.post-card { display: flex; flex-direction: column; }
.post-card .card-body { flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.35; }
.post-card h3 a { color: var(--brand-primary); }
.post-card h3 a:hover { color: var(--brand-accent); }
.post-card p { flex: 1; font-size: .9rem; }
.post-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--brand-border);
  font-size: .8rem;
  color: var(--brand-text-muted);
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: var(--brand-border);
  margin-block: 32px;
}
.divider--highlight {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-highlight), var(--brand-accent), transparent);
  border-radius: 2px;
}

/* ── Quote / Callout ─────────────────────────────────────── */
.callout {
  border-left: 4px solid var(--brand-accent);
  padding: 16px 20px;
  background: rgba(var(--brand-accent-rgb),.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--brand-text-subtle);
  font-style: italic;
}
.callout-highlight {
  border-color: var(--brand-highlight);
  background: rgba(var(--brand-highlight-rgb),.07);
}

/* ── Accordion ───────────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-primary);
  background: var(--brand-bg);
  text-align: left;
  gap: 12px;
  transition: var(--transition-fast);
}
.accordion-trigger:hover { background: var(--brand-page-bg); }
.accordion-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  transition: var(--transition);
}
.accordion-item.open .accordion-icon { transform: rotate(180deg); background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.accordion-body.open { max-height: 400px; }
.accordion-body-inner {
  padding: 0 20px 18px;
  font-size: .9rem;
  color: var(--brand-text-subtle);
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(var(--brand-highlight-rgb),.08);
}
.cta-banner h2 { color: #fff; }
.cta-banner p  { color: rgba(255,255,255,.8); max-width: 520px; }
.cta-banner-inner { position: relative; z-index: 1; }

/* ── Tabs ────────────────────────────────────────────────── */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--brand-border);
  margin-bottom: 24px;
}
.tab-btn {
  padding: .6em 1.2em;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand-text-subtle);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition-fast);
}
.tab-btn:hover { color: var(--brand-accent); }
.tab-btn.active { color: var(--brand-primary); border-bottom-color: var(--brand-accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: .65em 1em;
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .925rem;
  color: var(--brand-text);
  background: var(--brand-bg);
  transition: var(--transition-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(var(--brand-accent-rgb),.12);
}
textarea.form-control { resize: vertical; min-height: 100px; }

/* Newsletter inline */
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
}
.newsletter-form .form-control {
  flex: 1;
  border-radius: var(--radius-md);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background:  #225698;;
  color: rgba(255,255,255,.75);
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(32px, 5vw, 60px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .site-logo .logo-text { color: #fff; }
.footer-brand .site-logo .logo-text span { color: rgba(255,255,255,.5); }

.footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(var(--brand-highlight-rgb),.4);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--brand-highlight);
  font-size: 1rem;
  line-height: 1;
}
.footer-links a:hover { color: #fff; transform: translateX(4px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* Social icons */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: var(--transition-fast);
}
.social-link:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}

/* ── Utility — Visibility / Animation ───────────────────── */
.hidden  { display: none !important; }
.visible { visibility: visible; }

.fade-in {
  transition: opacity .6s ease, transform .6s ease;
}
/* Only hide when animations are enabled via JS */
body.animations-ready .fade-in {
  opacity: 0;
  transform: translateY(22px);
}
body.animations-ready .fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ── Back to Top ─────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 900;
  font-size: 1.1rem;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--brand-primary);
  transform: translateY(-3px);
}

/* ── Progress bar ────────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-highlight));
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .layout-content-sidebar,
  .layout-sidebar-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3  { grid-template-columns: repeat(2, 1fr); }
  .grid-4  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-inner .top-bar-right { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .cta-banner { padding: 28px 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  #site-header, .site-footer, #back-to-top, #progress-bar { display: none; }
  body { background: #fff; color: #000; }
}

 .carousel-section {
      width: 100%;
      overflow: hidden;
      position: relative;
      background: var(--brand-primary);
    }
    .carousel-track-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden;
    }
    .carousel-track-wrapper:hover .carousel-btn { opacity: 1; }
    .carousel-track {
      display: flex;
      transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }
    .carousel-slide {
      min-width: 100%;
      height: clamp(320px, 50vw, 580px);
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }
    .carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .carousel-slide-bg {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.35);
      font-size: clamp(.9rem,1.5vw,1.1rem);
      font-family: var(--font-heading);
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .carousel-slide:nth-child(1) .carousel-slide-bg { background: linear-gradient(135deg, #011232 0%, #1a3a6b 50%, #255593 100%); }
    .carousel-slide:nth-child(2) .carousel-slide-bg { background: linear-gradient(135deg, #0d2444 0%, #255593 50%, #3a7bd5 100%); }
    .carousel-slide:nth-child(3) .carousel-slide-bg { background: linear-gradient(135deg, #011232 0%, #0d3060 50%, #1a4a8a 100%); }
    .carousel-slide:nth-child(4) .carousel-slide-bg { background: linear-gradient(135deg, #1a3a6b 0%, #011232 50%, #255593 100%); }
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: rgba(255,255,255,0.12);
      border: 2px solid rgba(255,255,255,0.25);
      color: #fff;
      font-size: 1.3rem;
      cursor: pointer;
      transition: all 0.22s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
      opacity: 0.7;
      line-height: 1;
    }
    .carousel-prev { left: clamp(12px,3vw,32px); }
    .carousel-next { right: clamp(12px,3vw,32px); }
    .carousel-btn:hover {
      background: rgba(255,255,255,0.28);
      border-color: rgba(255,255,255,0.6);
      opacity: 1;
      transform: translateY(-50%) scale(1.08);
    }
    .carousel-dots {
      position: absolute;
      bottom: clamp(14px,2.5vw,24px);
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 10;
    }
    .carousel-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.35);
      border: 1.5px solid rgba(255,255,255,0.4);
      cursor: pointer;
      transition: all 0.22s ease;
      padding: 0;
    }
    .carousel-dot.active {
      background: var(--brand-highlight);
      border-color: var(--brand-highlight);
      transform: scale(1.25);
    }
    .carousel-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: clamp(20px,3vw,36px) clamp(20px,4vw,48px) clamp(40px,5vw,60px);
      background: linear-gradient(to top, rgba(1,18,50,0.75) 0%, transparent 100%);
      color: #fff;
      pointer-events: none;
    }
    .carousel-caption h4 {
      color: #fff;
      font-size: clamp(1rem,2vw,1.4rem);
      margin-bottom: 4px;
    }
    .carousel-caption p {
      color: rgba(255,255,255,0.72);
      font-size: clamp(.8rem,1.2vw,.95rem);
      line-height: 1.5;
    }


 .error-section {
      min-height: calc(100vh - 200px);
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--brand-page-bg);
      padding-block: clamp(60px,10vw,120px);
    }
    .error-inner {
      text-align: center;
      max-width: 600px;
      padding-inline: clamp(16px,4vw,32px);
    }
    .error-code {
      font-family: var(--font-heading);
      font-size: clamp(6rem,18vw,11rem);
      font-weight: 800;
      line-height: 1;
      color: transparent;
      -webkit-text-stroke: 3px var(--brand-accent);
      letter-spacing: -.04em;
      margin-bottom: 8px;
      display: block;
    }
    .error-divider {
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, var(--brand-highlight), var(--brand-accent));
      border-radius: 2px;
      margin: 20px auto 28px;
    }
    .error-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-top: 36px;
    }
    .error-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-top: 28px;
    }
    .error-links a {
      font-size: .85rem;
      color: var(--brand-text-muted);
      padding: .3em .8em;
      border: 1px solid var(--brand-border);
      border-radius: var(--radius-sm);
      transition: var(--transition-fast);
    }
    .error-links a:hover {
      color: var(--brand-accent);
      border-color: var(--brand-accent);
      background: rgba(37,85,147,.04);
    }