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

body {
  font-family: 'Roboto', sans-serif;
  color: #000;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ══════════════════════════════════
   HOME PAGE STYLES
   ══════════════════════════════════ */

/* ── Language Bar ── */
.lang-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 10px 0;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.lang-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Header / Nav ── */
.header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 0 12px;
}

.header .logo img {
  width: 130px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  padding-bottom: 8px;
}

.nav-links a {
  font-weight: 600;
  font-size: 16px;
}

.nav-links a:hover {
  color: #5496ff;
}

/* ── Hero Section ── */
.hero {
  max-width: 960px;
  margin: 60px auto 80px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-image {
  flex-shrink: 0;
  width: 450px;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.hero-content h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
  max-width: 467px;
  margin-bottom: 28px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: #5496ff;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 19px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: #3a7ee6;
}

.btn-send {
  display: inline-block;
  background: #5496ff;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 13px 19px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-send:hover {
  background: #3a7ee6;
}

/* ── Cards Section (blue background) ── */
.cards-section {
  position: relative;
  padding: 80px 0;
}

.cards-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cards-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards-grid {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 4px;
  padding: 18px;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card-title {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card-text {
  font-size: 14px;
  line-height: 1.55;
  text-align: justify;
  flex: 1;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5496ff;
  margin-top: 14px;
}

.card-link img {
  width: 18px;
  height: 18px;
}

.card-link:hover {
  color: #3a7ee6;
}

/* ── Contact Section ── */
.contact-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 0;
}

.contact-heading {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.contact-info {
  text-align: center;
  margin-bottom: 32px;
}

.contact-info p {
  font-size: 14px;
  line-height: 2;
}

.contact-form {
  max-width: 632px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row input {
  flex: 1;
  height: 48px;
  background: #d9d9d9;
  border: none;
  border-radius: 4px;
  padding: 0 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: #3d3d3d;
}

.form-row input::placeholder,
.contact-form textarea::placeholder {
  color: #3d3d3d;
}

.contact-form textarea {
  width: 100%;
  height: 272px;
  background: #d9d9d9;
  border: none;
  border-radius: 4px;
  padding: 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: #3d3d3d;
  resize: vertical;
  margin-bottom: 24px;
}

/* ── Home Footer ── */
.footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-contact p {
  font-size: 14px;
  line-height: 2;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.footer-divider {
  border: none;
  border-top: 1px solid #000;
  margin: 20px 0;
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 300;
  padding-bottom: 20px;
}

.footer-copyright svg {
  width: 18px;
  height: 18px;
}


/* ══════════════════════════════════
   INNER PAGE STYLES (shared by all age-group & tips pages)
   ══════════════════════════════════ */

/* ── Inner Header ── */
.inner-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.inner-header .logo img {
  width: 200px;
  height: auto;
}

.back-btn {
  font-weight: 600;
  font-size: 16px;
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

.back-btn:hover {
  color: #5496ff;
}

/* ── Banner Image ── */
.page-banner {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Content Area ── */
.page-body {
  background: #e8ecee;
  padding: 40px 24px 60px;
}

.content-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px 72px 60px;
}

.content-card .page-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #c73737;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.content-card .section-heading {
  font-size: 16px;
  font-weight: 600;
  color: #12acba;
  margin-top: 32px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.content-card .sub-heading {
  font-size: 16px;
  font-weight: 600;
  color: #12acba;
  margin-top: 20px;
  margin-bottom: 8px;
}

.content-card p {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 10px;
}

.content-card ul {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 10px;
}

.content-card ul li {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 4px;
}

/* ── Tips page (no banner, special title style) ── */
.tips-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #000;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.tips-body .section-heading {
  color: #000;
  font-weight: 600;
  text-transform: none;
}

/* ── Inner Footer (black bar) ── */
.inner-footer {
  background: #000;
  padding: 20px 0;
  text-align: center;
}

.inner-footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.inner-footer-content svg {
  width: 18px;
  height: 18px;
}

.inner-footer-content span {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}


/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */

@media (max-width: 1024px) {
  .header,
  .hero,
  .cards-grid,
  .contact-section,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    gap: 32px;
  }

  .hero-image {
    width: 100%;
    max-width: 400px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .form-row {
    flex-direction: column;
  }

  .header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .nav-links {
    padding-bottom: 0;
  }

  .content-card {
    padding: 32px 24px 40px;
  }

  .page-banner {
    height: 200px;
  }
}
