/* ============================================================
   AGAPETEC — Shared Stylesheet (Light/White Theme)
   ============================================================ */

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

:root {
  --bg:       #ffffff;
  --bg2:      #f4f7fb;
  --bg3:      #e8eef6;
  --accent:   #0d47a1;
  --accent-l: #1565c0;
  --accent-xl:#1976d2;
  --text:     #0d1a2d;
  --muted:    #546e8a;
  --border:   #dce5f0;
  --shadow:   0 2px 16px rgba(13,71,161,0.08);
  --shadow-lg:0 8px 40px rgba(13,71,161,0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--accent);
  color: rgba(255,255,255,0.9);
  padding: 9px 0;
  font-size: 13px;
}
.topbar .inner {
  max-width: 1200px; margin: auto; padding: 0 24px;
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item .label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.7; }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; }
.topbar-right { margin-left: auto; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px; margin: auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 800;
  color: var(--accent); text-decoration: none;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 4px;
}
.logo-dot { color: var(--accent-xl); }
.nav-links { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-links li { position: relative; }
.nav-links > li > a {
  color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
  display: block; transition: all 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--accent); background: var(--bg2); }
.nav-links .nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 9px 20px !important; border-radius: 6px; font-weight: 600 !important;
}
.nav-links .nav-cta:hover { background: var(--accent-l) !important; }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 8px;
  min-width: 180px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s;
  list-style: none;
}
.nav-links li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 9px 14px; font-size: 14px;
  color: var(--text); text-decoration: none; border-radius: 6px;
  transition: all 0.15s;
}
.nav-dropdown a:hover { background: var(--bg2); color: var(--accent); }

/* Mobile */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border-radius: 6px;
  background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.mobile-menu {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 4px; color: var(--text); text-decoration: none;
  font-size: 15px; border-bottom: 1px solid var(--bg3);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

/* ── PAGE HERO BANNER ── */
.page-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-xl) 100%);
  padding: 72px 24px 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero-inner { max-width: 1200px; margin: auto; position: relative; z-index: 1; }
.page-hero-sub {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  color: #fff; letter-spacing: -1px; line-height: 1.15;
  max-width: 640px;
}
.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.8);
  margin-top: 16px; max-width: 560px; line-height: 1.7;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: 0.5; }

/* ── SECTION COMMONS ── */
section { padding: 88px 24px; }
.section-inner { max-width: 1200px; margin: auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 800;
  letter-spacing: -0.8px; line-height: 1.2; margin-bottom: 14px;
}
.section-sub {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  max-width: 560px;
}
.section-alt { background: var(--bg2); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: none; transition: all 0.25s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-l); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,71,161,0.25); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--bg2); }

/* ── CARDS ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 32px;
  box-shadow: var(--shadow); transition: all 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #b3c6e0; }
.card-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, #e3edf9, #c5d8f0);
  border-radius: 12px; display: flex;
  align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19px; font-weight: 700; margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent); font-size: 13px; font-weight: 600;
  text-decoration: none; margin-top: 16px; transition: gap 0.2s;
}
.card-link:hover { gap: 9px; }

/* ── STATS BAR ── */
.stats-bar {
  display: flex; gap: 0; flex-wrap: wrap;
  background: var(--accent);
  border-radius: 16px; overflow: hidden;
}
.stat-item {
  flex: 1; min-width: 160px;
  padding: 32px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 40px; font-weight: 800; color: #fff;
  line-height: 1;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ── PARTNERS ── */
.partners-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; align-items: center;
}
.partner-pill {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 22px;
  font-family: 'Inter', sans-serif; font-size: 13px;
  font-weight: 700; color: var(--muted); letter-spacing: 0.3px;
  transition: all 0.2s;
}
.partner-pill:hover { border-color: #b3c6e0; color: var(--accent); background: #fff; }

/* ── FAQ ACCORDION ── */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.acc-trigger {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: 'Inter', sans-serif; font-size: 16px;
  font-weight: 700; color: var(--text); transition: color 0.2s;
}
.acc-trigger:hover { color: var(--accent); }
.acc-trigger.open { color: var(--accent); }
.acc-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; transition: all 0.3s;
  color: var(--accent);
}
.acc-trigger.open .acc-icon { background: var(--accent); color: #fff; transform: rotate(45deg); }
.acc-body {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.acc-body.open { max-height: 500px; }
.acc-body-inner {
  padding: 0 24px 20px; font-size: 15px; color: var(--muted); line-height: 1.7;
}

/* ── CONTACT FORM ── */
.form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--text); outline: none; transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); background: #fff; }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-success { display: none; text-align: center; padding: 48px 20px; }
.form-success .fs-icon { font-size: 60px; margin-bottom: 16px; }
.form-success h3 { font-family: 'Inter',sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 15px; }

/* ── FOOTER ── */
footer {
  background: #0d1a2d;
  color: rgba(255,255,255,0.85);
  padding: 64px 24px 28px;
}
.footer-inner { max-width: 1200px; margin: auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 800;
  color: #fff; text-decoration: none; letter-spacing: -0.5px;
  margin-bottom: 14px; display: block;
}
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }
.footer-col-title {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── FADE IN ── */
.fade { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade.in { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 60px 20px; }
  .page-hero { padding: 52px 20px 48px; }
}
