@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --bg: #f7f8fa;
  --text: #2d3142;
  --text-light: #5a6074;
  --blue: #1a3c6e;
  --blue-mid: #2353a0;
  --blue-light: #e8eef8;
  --green: #3a8a6e;
  --green-light: #e6f4ef;
  --border: #e2e6ef;
  --shadow: 0 2px 16px rgba(26,60,110,0.07);
  --shadow-md: 0 6px 32px rgba(26,60,110,0.11);
  --radius: 10px;
  --radius-lg: 18px;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-mid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }

img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--blue);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- HEADER ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(26,60,110,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}

.logo span { color: var(--green); }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}

.main-nav a:hover, .main-nav a.active {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  z-index: 200;
  overflow: hidden;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.875rem;
  border-radius: 0;
  color: var(--text);
}

.dropdown-menu a:hover { background: var(--bg); color: var(--blue); }

.nav-dropdown:hover .dropdown-menu { display: block; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all .3s;
}

/* ---- HERO ---- */
.hero {
  background: var(--white);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 { margin-bottom: 1.2rem; color: var(--blue); }
.hero-text p { font-size: 1.08rem; color: var(--text-light); margin-bottom: 2rem; line-height: 1.8; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
}

.btn-primary:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--blue-mid);
  border: 1.5px solid var(--blue-mid);
}

.btn-outline:hover { background: var(--blue-light); color: var(--blue); border-color: var(--blue); }

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover { background: #2d7059; color: var(--white); transform: translateY(-1px); }

.hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-image img { width: 100%; height: 420px; object-fit: cover; }

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--blue);
  padding: 44px 0;
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item p { color: rgba(255,255,255,0.72); font-size: 0.88rem; margin: 0; }

/* ---- SECTIONS ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }

.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1.02rem; max-width: 640px; }

.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ---- CARDS ---- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card-img { overflow: hidden; }
.card-img img { width: 100%; height: 210px; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card-body p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 14px; }

.card-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-mid);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.card-tag-green {
  background: var(--green-light);
  color: var(--green);
}

.card-date { font-size: 0.8rem; color: var(--text-light); margin-top: 10px; }

/* ---- INFO CARD ---- */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.info-card .icon-circle {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.info-card .icon-circle svg { color: var(--blue-mid); }

.info-card h3 { margin-bottom: 10px; }
.info-card p { color: var(--text-light); font-size: 0.92rem; }

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p { color: var(--text); font-size: 0.95rem; margin: 0; }

.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box p { color: var(--text); font-size: 0.95rem; margin: 0; }

/* ---- TWO COL CONTENT ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }

/* ---- FEATURED IMAGE ---- */
.featured-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.featured-img img { width: 100%; height: 340px; object-fit: cover; }

/* ---- DATA TABLE ---- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-head);
}

.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--bg); }
.data-table .positive { color: var(--green); font-weight: 600; }
.data-table .negative { color: #c0392b; font-weight: 600; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* ---- CHART VISUAL ---- */
.chart-bar-group { display: flex; flex-direction: column; gap: 14px; }

.chart-bar-item label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 5px;
  color: var(--text);
  font-weight: 500;
}

.bar-track { background: var(--border); border-radius: 4px; height: 10px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: var(--blue-mid); transition: width 1s ease; }
.bar-fill.green { background: var(--green); }
.bar-fill.accent { background: #e8943a; }

/* ---- SIDEBAR ---- */
.sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
  color: var(--blue);
}

.sidebar-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-links li a {
  color: var(--text-light);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.sidebar-links li a::before {
  content: '›';
  color: var(--blue-mid);
  font-size: 1.1rem;
  line-height: 1;
}

.sidebar-links li a:hover { color: var(--blue); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--blue); font-weight: 500; }

/* ---- PAGE HEADER ---- */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 64px 0 56px;
  color: var(--white);
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 620px; }

/* ---- TEAM / EXPERT CARD ---- */
.expert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}

.expert-card:hover { box-shadow: var(--shadow-md); }

.expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.expert-info h3 { font-size: 1.05rem; margin-bottom: 3px; }
.expert-info .role { font-size: 0.82rem; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.expert-info p { font-size: 0.87rem; color: var(--text-light); margin: 0; }

/* ---- CONTACT FORM ---- */
.contact-wrap { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(35,83,160,0.1);
}

textarea.form-control { resize: vertical; min-height: 140px; }

.form-success {
  display: none;
  background: var(--green-light);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 20px;
  color: var(--green);
  font-weight: 600;
}

.form-success.show { display: block; }

/* ---- CONTACT INFO BLOCK ---- */
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-mid);
}

.contact-detail h4 { font-size: 0.85rem; color: var(--text-light); font-weight: 500; margin-bottom: 2px; }
.contact-detail p { font-size: 0.95rem; color: var(--text); font-weight: 600; margin: 0; }

/* ---- POLICY PAGES ---- */
.policy-content h2 { font-size: 1.3rem; margin: 2rem 0 0.8rem; color: var(--blue); }
.policy-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.policy-content p { font-size: 0.95rem; line-height: 1.8; }
.policy-content ul, .policy-content ol { padding-left: 24px; margin-bottom: 1rem; }
.policy-content li { margin-bottom: 6px; font-size: 0.95rem; line-height: 1.7; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--blue);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; color: rgba(255,255,255,0.65); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.84rem;
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ---- PAGINATION ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.page-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text);
  background: var(--white);
  transition: all .2s;
}

.page-link:hover, .page-link.active {
  background: var(--blue-mid);
  color: var(--white);
  border-color: var(--blue-mid);
}

/* ---- MOBILE MENU ---- */
@media (max-width: 900px) {
  .burger { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 99;
    gap: 0;
  }

  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-dropdown .dropdown-menu { display: none !important; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-image { display: none; }
  .stats-strip .container { grid-template-columns: repeat(2,1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: repeat(2,1fr); }
  .two-col, .two-col-3-2 { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stats-strip .container { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  h1 { font-size: 1.75rem; }
}
