/* ============================
   PARENTS GROUP — style.css
   ============================ */

/* ---------- CSS Variables ---------- */
:root {
  --blue-dark:   #0d2b8e;
  --blue-mid:    #1a3a8f;
  --blue-light:  #2755c8;
  --blue-bright: #1565c0;
  --blue-btn:    #1e40af;
  --orange:      #f07c00;
  --orange-star: #f5a623;
  --white:       #ffffff;
  --bg-light:    #dce8f8;
  --shadow-blue: 0 8px 32px rgba(13,43,142,0.22);
  --shadow-card: 0 4px 18px rgba(13,43,142,0.15);
  --radius-card: 14px;
  --radius-icon: 50%;
  --font: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #d4e4f7;
  color: #111;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ---------- Animated Background Shapes ---------- */
.bg-shape {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(0px);
}

.bg-shape-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,85,200,0.18) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: floatShape 14s ease-in-out infinite alternate;
}
.bg-shape-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(21,101,192,0.22) 0%, transparent 70%);
  bottom: 200px; right: -150px;
  animation: floatShape 18s ease-in-out infinite alternate-reverse;
}
.bg-shape-3 {
  /* Large curved blue swirl — bottom-right */
  width: 900px; height: 280px;
  background: linear-gradient(135deg, rgba(13,43,142,0.35) 0%, transparent 60%);
  bottom: 0; right: -100px;
  border-radius: 120px 0 0 0;
  transform: rotate(-12deg);
  pointer-events: none;
  position: fixed;
}
.bg-shape-4 {
  /* Lighter top-right arc */
  width: 600px; height: 200px;
  background: linear-gradient(225deg, rgba(37,85,200,0.28) 0%, transparent 60%);
  top: 0; right: 0;
  border-radius: 0 0 0 120px;
  transform: rotate(8deg);
  position: fixed;
}

@keyframes floatShape {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 18px 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  margin-bottom: 22px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 14px;
}

/* --- Logo Card --- */
.logo-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 130px;
  border: 2px solid #e8f0ff;
  animation: fadeSlideRight 0.6s ease both;
}

.logo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.logo-p { color: #e53935; }
.logo-g { color: #2e7d32; }

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.logo-parents {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e53935;
  letter-spacing: 1px;
}

.logo-group {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-mid);
  letter-spacing: 2px;
}

/* --- Hero Title Box --- */
.hero-title-wrap {
  display: flex;
  justify-content: center;
  animation: fadeSlideDown 0.6s ease 0.1s both;
  /* margin-top: -45px; */
}

.hero-title-box {
  background: linear-gradient(160deg, #1a3faa 0%, #0d2480 40%, #1657c4 100%);
  border-radius: 22px;
  padding: 20px 40px 18px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(13,36,128,0.45), 0 2px 8px rgba(0,0,0,0.2);
  border: 2px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  min-width: 280px;
}

.hero-title-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

.welcome-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 3px;
  margin: 0 0 4px;
  text-transform: uppercase;
  opacity: 0.9;
}

.brand-name {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.1;
}

.title-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 1.3rem;
  color: var(--orange-star);
  animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

/* --- Profile Area --- */
.profile-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  animation: fadeSlideLeft 0.6s ease 0.2s both;
}

.profile-photo-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 3px solid #cddaf8;
  width: 130px; height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #c5d8f4 0%, #8baee0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--blue-mid);
  opacity: 0.7;
}

.profile-info-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 2px solid #e8f0ff;
  padding: 12px 16px;
  text-align: center;
  width: 220px;
}

.director-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.5px;
  margin: 0 0 2px;
  line-height: 1.1;
}

.director-title {
  font-size: 0.68rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.info-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue-mid));
  border-radius: 2px;
  margin: 0 0 8px;
}

.company-name-info {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--blue-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

/* ============================================================
   MAIN CONTENT GRID
   ============================================================ */
.main-content {
  margin-bottom: 22px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ============================================================
   LEFT — SERVICE CHAIN
   ============================================================ */
.services-col {}

.service-chain {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Blue circle icon */
.service-icon-wrap {
  width: 62px; height: 62px;
  min-width: 62px;
  background: linear-gradient(160deg, #1e50d0 0%, #0d2b8e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,43,142,0.4);
  border: 3px solid rgba(255,255,255,0.2);
  z-index: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 24px rgba(13,43,142,0.55);
}

/* Blue gradient rectangle card */
.service-card {
  flex: 1;
  background: linear-gradient(100deg, #1657c4 0%, #0d2b8e 100%);
  border-radius: 10px;
  padding: 10px 16px 10px 22px;
  margin-left: -8px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-card span {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.3;
}

.service-item:hover .service-card {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(13,43,142,0.35);
}

/* Arrow connector */
.chain-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue-bright);
  height: 26px;
  padding-left: 22px;
  animation: arrowBounce 1.8s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* ============================================================
   RIGHT — MOTIVATION
   ============================================================ */
.motivation-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
}

.family-illustration {
  position: relative;
  width: 240px; height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.family-circle-outer {
  position: relative;
  width: 220px; height: 220px;
}

/* The orange swoop arc */
.orange-arc {
  position: absolute;
  top: 0; left: 0;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 10px solid transparent;
  border-top: 10px solid var(--orange);
  border-right: 10px solid var(--orange);
  animation: spinArc 6s linear infinite;
  box-shadow: 0 0 20px rgba(240,124,0,0.3);
}

@keyframes spinArc {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Inner blue ring */
.family-circle-outer::after {
  content: '';
  position: absolute;
  top: 10px; left: 10px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 3px solid rgba(13,43,142,0.2);
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(200,220,255,0.3) 100%);
}

.family-figures {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.family-icon{
  width: 190px;
  height: 121px;
}

.family-svg {
  width: 160px; height: 145px;
}

/* Sparkles */
.sparkle {
  position: absolute;
  color: var(--orange-star);
  z-index: 3;
  animation: sparklePop 2s ease-in-out infinite;
}

.sparkle-1 { top: 0; right: 5px; font-size: 1.8rem; animation-delay: 0s; }
.sparkle-2 { top: 30px; right: -10px; font-size: 0.9rem; animation-delay: 0.4s; }
.sparkle-3 { top: 55px; right: -5px; font-size: 0.65rem; animation-delay: 0.8s; }

@keyframes sparklePop {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.75; }
}

/* Motivational text */
.motivational-text {
  text-align: center;
}

.grow-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--blue-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 2px;
  line-height: 1.2;
}

.succeed-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.2;
}

.motive-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--orange-star);
}

/* ============================================================
   FOOTER / CONTACT
   ============================================================ */
.contact-footer {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 30px rgba(13,43,142,0.12);
  padding: 22px 22px 0;
  border-top: 3px solid rgba(37,85,200,0.2);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: start;
  padding-bottom: 20px;
}

/* Contact info rows */
.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.contact-icon-wrap {
  width: 40px; height: 40px;
  min-width: 40px;
  background: linear-gradient(160deg, #1e50d0 0%, #0d2b8e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 3px 10px rgba(13,43,142,0.35);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail { flex: 1; }

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-mid);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 2px;
}

.contact-value {
  font-size: 0.72rem;
  font-weight: 500;
  color: #333;
  margin: 0;
  letter-spacing: 0.3px;
}

.contact-email {
  color: var(--blue-light);
  text-transform: uppercase;
  font-size: 0.68rem;
}

.contact-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(37,85,200,0.15), rgba(37,85,200,0.05));
  margin: 0 0 0 52px;
}

/* QR Code */
.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qr-title {
  background: linear-gradient(100deg, #1657c4 0%, #0d2b8e 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 28px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin: 0;
}

.qr-placeholder {
  background: #fff;
  border: 3px solid #cddaf8;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(13,43,142,0.18);
  width: 140px; height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-svg {
  width: 110px; height: 110px;
}

/* ============================================================
   SOCIAL BAR
   ============================================================ */
.social-bar {
  border-top: 2px solid rgba(37,85,200,0.15);
  padding: 14px 0;
  margin: 0 -22px;
}

.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
  padding: 6px 14px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.social-link i {
  font-size: 1.3rem;
}

.social-link.facebook { color: #1877f2; }
.social-link.whatsapp { color: #25d366; }
.social-link.tiktok   { color: #010101; }

.social-link:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.7);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.social-sep {
  color: #bbb;
  font-size: 1.1rem;
  user-select: none;
}

/* ============================================================
   ENTRY ANIMATIONS
   ============================================================ */
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-25px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-item { animation: fadeSlideUp 0.5s ease both; }
.service-item:nth-child(1)  { animation-delay: 0.05s; }
.service-item:nth-child(3)  { animation-delay: 0.10s; }
.service-item:nth-child(5)  { animation-delay: 0.15s; }
.service-item:nth-child(7)  { animation-delay: 0.20s; }
.service-item:nth-child(9)  { animation-delay: 0.25s; }
.service-item:nth-child(11) { animation-delay: 0.30s; }
.service-item:nth-child(13) { animation-delay: 0.35s; }
.service-item:nth-child(15) { animation-delay: 0.40s; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  .page-wrapper { padding: 16px 12px 0; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .hero-title-wrap {
    grid-column: 1 / -1;
    order: -1;
  }

  .hero-title-box { min-width: unset; padding: 16px 24px 14px; }
  .brand-name { font-size: 1.5rem; }

  .logo-card { min-width: unset; }
  .profile-area { align-items: center; }
  .profile-photo-card { width: 100px; height: 110px; }
  .profile-info-card { width: 150px; }

  /* Content grid → stack */
  .content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .motivation-col { padding-top: 0; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .qr-box { align-items: center; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-title-wrap { order: 0; }
  .logo-card { margin: 0 auto; }
  .profile-area { align-items: center; order: 1; }

  .brand-name { font-size: 1.3rem; }
  .welcome-text { font-size: 0.8rem; }

  .service-card span { font-size: 0.72rem; }
  .service-icon-wrap { width: 52px; height: 52px; font-size: 1.2rem; }

  .grow-text, .succeed-text { font-size: 1rem; }

  .social-bar-inner { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .social-link span { font-size: 0.7rem; }
}
