/* ======================================================
   CYBER SEEDS – 2025 Premium UI
   Bulletproof Navigation • Modern Sections • Mobile First
====================================================== */

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f4faf7;
  color: #1a2a33;
  line-height: 1.6;
}

/* ---------- CONTAINERS ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======================================================
   NAVIGATION (2025)
====================================================== */

.navbar {
  background: #ffffff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.nav-scrolled {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0a2953;
  text-decoration: none;
}

.logo img {
  width: 42px;
  height: 42px;
}

/* =============== Desktop Nav =============== */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a,
.drawer ul li a {
  color: #1a2a33;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  border-radius: 8px;
  padding: 8px 16px;
}

.nav-links .nav-link-partners,
.drawer .nav-link-partners {
  background: #e6f9f4;
  color: #0a5cff;
  font-weight: 700;
  border: 1.5px solid #0a5cff;
  margin-left: 6px;
}

.nav-links .nav-link-partners:hover,
.drawer .nav-link-partners:hover {
  background: #0a5cff;
  color: #fff;
}
/* ======================================================
   SLIDING DRAWER NAV (Mobile)
====================================================== */

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #1a2a33;
  border-radius: 4px;
  transition: all 0.35s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Sliding drawer container */
.drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 16px rgba(0,0,0,0.12);
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transition: right 0.35s ease;
  z-index: 1000;
}

.drawer.open {
  right: 0;
}

.drawer ul {
  list-style: none;
}

.drawer ul li {
  margin-bottom: 22px;
}

.drawer ul li a {
  font-size: 1.1rem;
  color: #1a2a33;
  text-decoration: none;
  font-weight: 600;
}

/* Overlay — fixes button blocking */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: 0.35s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
  z-index: 999;
}

/* Mobile breakpoints */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}

/* ======================================================
   HERO SECTION
====================================================== */

.hero {
  position: relative;
  background: url('/images/hero.png') center/cover no-repeat;
  padding: 160px 0 120px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  max-width: 850px;
  margin: 0 auto 20px;
}

.hero-sub {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 35px;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 32px;
  }
}

/* ======================================================
   BUTTONS
====================================================== */

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: 0.25s ease;
}

.btn-primary {
  background: #0a5cff;
  color: #fff;
}

.btn-primary:hover {
  background: #0849cc;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #0a2953;
}

.btn-large {
  padding: 16px 34px;
  font-size: 18px;
}

/* ======================================================
   SECTION TEMPLATE
====================================================== */

.section {
  padding: 80px 0;
  text-align: center;
}

.section h2 {
  font-size: 32px;
  color: #0a2953;
  margin-bottom: 18px;
}

.section p {
  max-width: 750px;
  margin: 0 auto;
  color: #44555f;
}

/* ======================================================
   AUDIT CARDS
====================================================== */

.services-grid {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.service-card {
  background: #ffffff;
  width: 280px;
  padding: 35px 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.service-card h3 {
  font-size: 20px;
  margin: 14px 0;
}

/* ======================================================
   WHY FAMILIES CHOOSE US
====================================================== */

.why-section {
  padding: 80px 0;
  background: #f3fbf7;
}

.stats-grid {
  max-width: 1100px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.stat-card {
  background: #fff;
  padding: 32px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.25s;
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-icon {
  width: 48px;
  margin-bottom: 16px;
  opacity: 0.9;
}

/* ======================================================
   HOW IT WORKS
====================================================== */

.how-section {
  background: #f5fdf9;
  padding: 80px 0;
}

.steps-grid {
  max-width: 1100px;
  margin: 50px auto 0;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step-card {
  background: #fff;
  padding: 32px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.25s;
}

.step-card:hover {
  transform: translateY(-6px);
}

/* ======================================================
   RISKS SECTION
====================================================== */

.risks-section {
  padding: 90px 0;
  background: #f3fbff;
}

.risk-chart {
  max-width: 1100px;
  margin: 55px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.risk-column {
  background: #fff;
  padding: 32px;
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.risk-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.risk-title.danger {
  color: #c62828;
}

.risk-title.safe {
  color: #1e7d32;
}

.risk-column ul {
  list-style: none;
}

.risk-column li {
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.5;
}

/* ======================================================
   RESOURCES
====================================================== */

/* RESOURCE PAGE */

.resources-hero {
  text-align: center;
  padding: 60px 20px 50px;
}

.page-subtitle {
  max-width: 720px;
  margin: 10px auto 0;
  color: #4a5b63;
  font-size: 1rem;
  line-height: 1.6;
}

/* GRID */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* CARDS */
.resource-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card h3 {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-weight: 600;
}

.resource-card p {
  color: #4a5b63;
  margin-bottom: 18px;
  line-height: 1.5;
}

.center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

/* RESOURCE PAGE STANDARD */

.resource-hero {
  padding: 60px 20px 40px;
  text-align: center;
}

.resource-heading {
  text-align: center;
  font-size: 1.7rem;
  margin-top: 50px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.resource-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
  color: #4a5b63;
}

/* ALERT / FACT BOX */
.alert-box {
  background: #ffecec;
  border-left: 6px solid #ff5b5b;
  padding: 25px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 820px;
}

.alert-box h3 {
  font-weight: 600;
  margin-bottom: 12px;
}

.alert-box ul {
  margin: 0;
  padding-left: 20px;
  color: #333;
  line-height: 1.6;
}

/* STEP BLOCKS */
.step {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  margin: 25px auto;
  max-width: 820px;
}

.step h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.step p {
  color: #4a5b63;
  line-height: 1.6;
}

.enhanced-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.25s ease;
}

.enhanced-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.resource-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  opacity: 0.95;
}

/* ======================================================
   CTA
====================================================== */

.cta-section {
  background: #25c266;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 12px;
}

/* ======================================================
   FOOTER
====================================================== */

.footer {
  background: #ffffff;
  padding: 35px 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer p {
  color: #44555f;
}

/* END */
