:root {
  --brand-dark: #0b1a2d;
  --brand-blue: #122c6a;
  --brand-green: #65c26d;
  --brand-orange: #e98b3c;
  --brand-ice: #edf9fd;
  --brand-white: #ffffff;
  --brand-border: rgba(11, 26, 45, 0.12);
  --brand-shadow: 0 18px 38px rgba(11, 26, 45, 0.12);
  --radius: 18px;
  --brand-muted: rgba(11,26,45,0.06);
  --brand-soft: rgba(18,44,106,0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f4f8fb;
  color: var(--brand-dark);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--brand-dark);
  color: var(--brand-white);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-white);
}
.top-links a:hover { color: var(--brand-gold); }

header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--brand-border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--brand-dark);
}
.logo img {
  width: 120px;
  height: auto;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--brand-mid);
  border-radius: 10px;
  color: var(--brand-mid);
  padding: 10px 12px;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--brand-dark);
  font-weight: 700;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand-green);
  color: var(--brand-dark);
  box-shadow: var(--brand-shadow);
}
.btn-secondary {
  background: var(--brand-blue);
  color: var(--brand-white);
}
.btn-light {
  background: var(--brand-white);
  color: var(--brand-dark);
  border: 1px solid var(--brand-border);
}
.btn-gold {
  background: var(--brand-orange);
  color: var(--brand-dark);
}

section { padding: 52px 0; }
.hero { padding-top: 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.hero-visual {
  position: relative;
  min-height: 430px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--brand-shadow);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(255,255,255,0.95);
  color: var(--brand-dark);
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: var(--brand-shadow);
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(101, 194, 109, 0.12);
  color: var(--brand-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1, h2, h3, h4 { margin: 0 0 16px; }
h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--brand-dark);
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  color: var(--brand-dark);
}
h3 {
  font-size: 1.25rem;
  color: var(--brand-dark);
  margin-bottom: 10px;
}
p {
  margin: 0 0 12px;
  color: rgba(12, 35, 64, 0.83);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.feature-grid, .stats-grid, .card-grid, .service-grid, .footer-grid, .contact-grid, .product-grid {
  display: grid;
  gap: 22px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: 1.1fr 0.9fr; }
.footer-grid { grid-template-columns: 1.3fr 0.8fr 0.8fr 1.2fr; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.panel {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  box-shadow: var(--brand-shadow);
  padding: 22px;
}
.feature-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 163, 200, 0.12);
  color: var(--brand-cyan);
  border-radius: 16px;
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.stats-grid .panel { text-align: center; }
.stats-grid .panel h3 { color: var(--brand-blue); font-size: 2rem; }

.product-card {
  background: var(--brand-white);
  border-radius: var(--radius);
  border: 1px solid var(--brand-border);
  overflow: hidden;
  box-shadow: var(--brand-shadow);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 163, 200, 0.12);
  color: var(--brand-cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-card .btn { margin-top: auto; width: 100%; }

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}
.service-card .btn { margin-top: 12px; }

.filter-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 24px;
}
.field-input, .field-select, .field textarea, .field input, .field select {
  width: 100%;
  border: 1px solid rgba(12, 35, 64, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--brand-white);
  color: var(--brand-dark);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(26, 163, 200, 0.12);
  color: var(--brand-cyan);
  flex-shrink: 0;
}
.contact-form {
  display: grid;
  gap: 14px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--brand-dark);
}

footer {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 40px 0 20px;
  margin-top: 30px;
}
.footer-grid h4 {
  color: var(--brand-white);
  margin-bottom: 14px;
}
.footer-grid a, .footer-grid p {
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--brand-white);
}
.copyright {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.page-banner {
  background: linear-gradient(135deg, rgba(101, 194, 109, 0.12), rgba(233, 139, 60, 0.12));
  border-bottom: 1px solid var(--brand-border);
  padding: 50px 0 34px;
}
.inner-page-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.inner-page-wrap img { border-radius: 22px; box-shadow: var(--brand-shadow); }

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 26px;
}
.team-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(11,26,45,0.06);
}
.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--brand-muted);
}
.team-body { padding: 6px 0; }
.team-card h3 { margin-top: 6px; margin-bottom: 8px; }
.team-card p { margin-bottom: 8px; color: rgba(11,26,45,0.75); }
.team-role {
  font-size: 0.85rem;
  color: rgba(11,26,45,0.6);
  font-weight: 700;
  margin-bottom: 6px;
}
.team-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-meta a { color: var(--brand-blue); font-weight: 700; }

/* Partners grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 26px;
}
.partner-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: linear-gradient(180deg, var(--brand-white), var(--brand-soft));
  border: 1px solid var(--brand-border);
  padding: 12px;
  border-radius: 10px;
}
.partner-card img { width: 84px; height: 84px; object-fit: contain; border-radius: 8px; background: transparent; }
.partner-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(11,26,45,0.06); }
.partner-card strong { display: block; margin-bottom: 6px; }

/* Donation / payment cards */
.donation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.payment-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 16px;
}
.payment-card h4 { margin: 0 0 8px; }
.payment-steps { margin-top: 10px; padding-left: 16px; color: rgba(11,26,45,0.75); }
.payment-detail { margin-top: 8px; }

/* Small devices */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card img { width: 120px; height: 120px; }
  .partner-card img { width: 72px; height: 72px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(255,255,255,0.98); flex-direction: column; padding: 16px; gap: 12px; border-bottom: 1px solid var(--brand-border); }
  .nav-links.open { display: flex; }
  .team-grid, .partners-grid, .donation-grid { grid-template-columns: 1fr; }
  .logo img { width: 100px; }
  .inner-page-wrap { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .team-card img { width: 100px; height: 100px; }
  .team-card { padding: 12px; }
}

/* Small tweaks for footer socials spacing */
.footer-grid .socials a { width: 40px; height: 40px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.team-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
}
.team-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.team-body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.team-role {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.team-body h3 {
  margin-bottom: 10px;
}
.team-body > p {
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 14px;
  color: rgba(11, 26, 45, 0.8);
  flex: 1;
}
.team-meta {
  display: grid;
  gap: 6px;
  color: rgba(11, 26, 45, 0.8);
  font-size: 0.92rem;
}
.team-meta a {
  color: var(--brand-dark);
  font-weight: 600;
}

@media (max-width: 1000px) {
  .hero-grid, .inner-page-wrap, .contact-grid, .feature-grid, .stats-grid, .card-grid, .service-grid, .team-grid, .product-grid, .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid, .inner-page-wrap, .contact-grid { grid-template-columns: 1fr; }
  .filter-wrap { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: var(--brand-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: var(--brand-shadow);
    border: 1px solid var(--brand-border);
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 640px) {
  .feature-grid, .stats-grid, .card-grid, .service-grid, .team-grid, .product-grid, .footer-grid, .filter-wrap {
    grid-template-columns: 1fr;
  }
  .topbar-inner, .top-links, .cta-row { align-items: flex-start; flex-direction: column; }
  .btn { width: 100%; }
  .container { width: min(100% - 24px, 1180px); }
}

/* Hero full-bleed background + overlay */
.hero-home { position: relative; padding: 100px 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 25, 52, 0.65), rgba(6, 25, 52, 0.55)); z-index:1; }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; min-height: 420px; }
.hero-copy { max-width: 760px; color: #fff; }
.hero-copy p { color: rgba(255,255,255,0.9); }

/* Floating action buttons */
.floating-widgets { position: fixed; left: 18px; right: 18px; bottom: 18px; pointer-events: none; z-index: 60; }
.floating-widgets .fab { pointer-events: auto; position: fixed; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 16px; font-weight:800; box-shadow: 0 10px 30px rgba(2,6,23,0.18); text-decoration: none; }
.floating-widgets .fab i { font-size: 1.25rem; }
.fab-whatsapp { left: 18px; bottom: 18px; background: #25D366; color: #08202a; }
.fab-ai { right: 18px; bottom: 18px; background: #0b1a2d; color: #fff; }
.fab-schedule { right: 18px; bottom: 82px; background: var(--brand-green); color: #08202a; }
.fab span { display:inline-block; }

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.blog-card img { height: 200px; object-fit: cover; border-radius: 12px; }
.blog-card .panel { padding: 18px; }

/* Donate page */
.donate-hero { padding: 48px 0; }
.donation-grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; }
.donation-method { display: grid; gap:12px; }

/* Partners */
.partners-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; align-items: center; }
.partner-card { display:flex; align-items:center; justify-content:center; padding:18px; background:var(--brand-white); border-radius:12px; border:1px solid var(--brand-border); }

@media (max-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .donation-grid { grid-template-columns: 1fr; }
}

/* AI Assistant modal */
.assistant-modal { position: fixed; right: 20px; bottom: 90px; width: 360px; max-width: calc(100% - 40px); background: var(--brand-white); border-radius: 12px; box-shadow: 0 18px 50px rgba(2,6,23,0.25); overflow: hidden; display: none; flex-direction: column; z-index: 120; }
.assistant-modal.open { display: flex; }
.assistant-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-dark)); color:#fff; }
.assistant-header h4 { margin:0; font-size:1rem; }
.assistant-body { padding:12px; background: #f7fbfd; height: 320px; overflow:auto; display:flex; flex-direction:column; gap:10px; }
.assistant-input { display:flex; gap:8px; padding:12px; border-top:1px solid var(--brand-border); background:var(--brand-white); }
.assistant-input input { flex:1; padding:10px 12px; border-radius:8px; border:1px solid rgba(11,26,45,0.08); }
.assistant-input button { padding:10px 14px; border-radius:8px; border:none; background:var(--brand-blue); color:#fff; font-weight:700; }
.assistant-msg { max-width:82%; padding:10px 12px; border-radius:12px; font-size:0.95rem; line-height:1.3; }
.assistant-msg.user { margin-left:auto; background:var(--brand-green); color:var(--brand-dark); }
.assistant-msg.bot { margin-right:auto; background:#fff; border:1px solid var(--brand-border); color:var(--brand-dark); }

@media (max-width: 640px) {
  .assistant-modal { right: 12px; left: 12px; bottom: 80px; width: auto; }
  .assistant-body { height: 240px; }
}

/* ===== APPENDED EXTENDED STYLES (merged from styles_extended.css) ===== */
/* ===== EXTENDED STYLES FOR AM HEALTHMED UPGRADE ===== */
/* Add these to your existing styles.css */

:root {
  --accent-teal: #14b8a6;
  --dark-bg: #0f1f35;
  --dark-bg-alt: #1a2f4a;
}

/* ===== DARK SECTIONS & MODERN THEME ===== */
.dark-section {
  background: linear-gradient(135deg, #0f1f35 0%, #1a2f4a 100%);
  color: #fff;
  padding: 60px 0;
}
.dark-section h2, .dark-section h3 {
  color: #fff;
}
.dark-section p {
  color: rgba(255, 255, 255, 0.85);
}

/* Dropdown menu for Services */
.nav-item {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--brand-white);
  border-radius: 12px;
  box-shadow: var(--brand-shadow);
  border: 1px solid var(--brand-border);
  padding: 8px 0;
  min-width: 200px;
  z-index: 100;
}
.nav-item:hover .dropdown-menu,
.nav-item .dropdown-menu.open {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.dropdown-menu a:hover {
  background: rgba(101, 194, 109, 0.1);
  color: var(--brand-green);
}

/* Checklist styles */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.checklist li::before {
  content: '✓';
  font-weight: 800;
  color: var(--brand-green);
  font-size: 1.3rem;
  min-width: 24px;
  flex-shrink: 0;
}
.checklist li strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.stat-box {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  background: #f9fafb;
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--brand-dark);
}
.accordion-header:hover {
  background: #f0f5f8;
}
.accordion-header::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.accordion-item.open .accordion-header::after {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 18px;
  background: #fafbfc;
}
.accordion-content.open {
  max-height: 500px;
  padding: 16px 18px;
}

/* Hero overlay */
.hero-section {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 31, 53, 0.75), rgba(26, 47, 74, 0.65));
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

/* Collaboration cards */
.collaboration-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.collaboration-card i {
  font-size: 2.5rem;
  color: var(--brand-green);
  margin-bottom: 12px;
}
.collaboration-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Partner cards */
.partner-item {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.partner-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.partner-logo img {
  max-height: 100%;
  max-width: 140px;
  object-fit: contain;
}
.partner-item h4 {
  margin: 12px 0 8px;
}
.partner-item a {
  color: var(--brand-green);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-member {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  overflow: hidden;
}
.team-member img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #e5e7eb;
}
.team-member-info {
  padding: 16px;
}
.team-member-name {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--brand-dark);
}
.team-member-role {
  color: var(--brand-green);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.team-member-bio {
  font-size: 0.85rem;
  color: rgba(11, 26, 45, 0.7);
}

/* Quotation form */
.quote-form {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.full {
  grid-template-columns: 1fr;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brand-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  background: #f9fafb;
  color: var(--brand-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  background: #fff;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}
.checkbox-group input[type='checkbox'] {
  cursor: pointer;
  accent-color: var(--brand-green);
}

/* Pillar cards */
.pillar-card {
  background: var(--brand-white);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  text-align: center;
}
.pillar-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--brand-green);
}

/* CTA section */
.cta-dark {
  background: linear-gradient(135deg, #122c6a 0%, #0f2147 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-dark h2 {
  color: #fff;
  margin-bottom: 20px;
}
.cta-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* News/Blog card */
.news-card {
  background: var(--brand-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--brand-border);
}
.news-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #e5e7eb;
}
.news-card-content {
  padding: 16px;
}
.news-card-date {
  color: var(--brand-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.news-card-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brand-dark);
}
.news-card-excerpt {
  font-size: 0.9rem;
  color: rgba(11, 26, 45, 0.7);
  margin-bottom: 12px;
}

/* Payment method cards */
.payment-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 20px;
}
.payment-card h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--brand-dark);
}
.payment-detail {
  margin-bottom: 12px;
}
.payment-detail strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
}
.payment-detail span {
  color: rgba(11, 26, 45, 0.7);
}

/* News grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Collaboration grid */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Partners grid */
.partners-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Responsive */
@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .collab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team-grid,
  .news-grid,
  .collab-grid,
  .partners-showcase,
  .stats-row {
    grid-template-columns: 1fr;
  }
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: #f5f5f5;
  }
  .dropdown-menu.open {
    display: block;
  }
}

/* ===== PILLAR CARDS (Home Page) ===== */
.pillar-card {
  background: var(--brand-white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(18, 44, 106, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--brand-green);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(18, 44, 106, 0.12);
}
.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 20px;
}
.pillar-card h3 {
  font-size: 1.3rem;
  margin: 16px 0 12px;
  color: var(--brand-dark);
}
.pillar-card p {
  color: rgba(11, 26, 45, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.link-arrow {
  color: var(--brand-green);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.link-arrow:hover {
  gap: 10px;
}

/* ===== ARTICLE CARDS (Blog/News) ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.article-card {
  background: var(--brand-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(18, 44, 106, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(18, 44, 106, 0.12);
}
.article-image {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: rgba(18, 44, 106, 0.05);
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-card:hover .article-image img {
  transform: scale(1.05);
}
.article-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(18, 44, 106, 0.9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.article-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-content h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: var(--brand-dark);
  line-height: 1.4;
}
.article-content p {
  color: rgba(11, 26, 45, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(11, 26, 45, 0.6);
  margin: 8px 0 12px;
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.read-more {
  color: var(--brand-green);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  margin-top: auto;
}
.read-more:hover {
  gap: 10px;
}

/* ===== FEATURED ARTICLE STYLES ===== */
.featured-article {
  overflow: hidden;
}
.featured-article .tag {
  display: inline-block;
}

/* ===== QUOTATION FORM ===== */
.quote-form {
  background: var(--brand-white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(18, 44, 106, 0.08);
  max-width: 700px;
  margin: 40px auto 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row.full {
  grid-template-columns: 1fr;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--brand-dark);
}
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(101, 194, 109, 0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

/* ===== CTA DARK SECTION ===== */
.cta-dark {
  background: linear-gradient(135deg, #122c6a 0%, #1a2f4a 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.cta-dark h2 {
  color: #fff;
  margin-top: 0;
  font-size: 2.2rem;
}
.cta-dark p {
  color: rgba(255, 255, 255, 0.85);
}
.cta-dark .btn {
  margin: 8px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1000px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .quote-form {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .featured-article {
    grid-template-columns: 1fr !important;
  }
  .featured-article img {
    min-height: 250px;
  }
}

/* Schedule meeting button */
.fab-schedule {
  right: 18px;
  bottom: 82px;
  background: var(--brand-green);
  color: #08202a;
}

/* New product popup */
.new-product-popup {
  position: fixed;
  left: 18px;
  bottom: 96px;
  width: min(300px, calc(100% - 36px));
  background: rgba(17, 24, 39, 0.96);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.28);
  padding: 16px 18px 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 80;
}
.new-product-popup.show {
  opacity: 1;
  transform: translateY(0);
}
.new-product-popup .popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.4rem;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
}
.new-product-popup .popup-title {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.new-product-popup .popup-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.new-product-popup .popup-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8ef0c2;
  font-weight: 700;
  text-decoration: none;
}

.btn-whatsapp {
  background: #25D366;
  color: #08202a;
  border: none;
}
.product-card .product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-card .product-actions .btn {
  flex: 1 1 140px;
}

@media (max-width: 640px) {
  .fab-whatsapp { bottom: 18px; left: 12px; }
  .fab-ai { bottom: 18px; right: 12px; }
  .fab-schedule { bottom: 78px; right: 12px; }
  .new-product-popup { left: 12px; right: 12px; bottom: 86px; width: auto; }
}



