:root {
  --bg-color: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --coral: #ff856b;
  --coral-hover: #ff7051;
  --mint: #a8ead0;
  --blue: #a0d8f0;
  --yellow: #fdd26c;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 16px 40px rgba(0,0,0,0.06);
  --shadow-card: 0 8px 24px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Shell with Background Image */
.home-shell, .site-shell {
  position: relative;
  background: url('../images/background.png') top center / 100% auto no-repeat;
  padding-bottom: 40px;
  flex: 1;
}
body.home-page .home-shell {
  background: url('../images/home_background.png') center -100px / 100% auto no-repeat;
}

/* HEADER */
site-header {
  display: block;
  position: relative;
  z-index: 99;
}
body.home-page site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.header {
  padding: 24px 0;
  background-color: #ffffff;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 48px;
  height: auto;
}
.brand-text {
  font-weight: 900;
  color: #1771b3;
  font-size: 0.9rem;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1771b3;
  cursor: pointer;
  padding: 4px;
}

.nav {
  display: flex;
  gap: 32px;
  background: transparent;
}
.nav a {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
  transition: color 0.3s;
}
.nav a.active {
  color: var(--coral);
  border-bottom: 2px solid var(--coral);
}
.nav a:hover {
  color: var(--coral-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.phone-link {
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-coral {
  background-color: var(--coral);
  color: #fff;
  padding: 12px 28px;
  box-shadow: 0 8px 20px rgba(255, 133, 107, 0.3);
}
.btn-coral:hover {
  background-color: var(--coral-hover);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* HERO */
.hero {
  padding: 15vw 20px 5vw; /* Added 10vw padding top to clear absolute header and align with bg image */
  min-height: 50vw; 
  display: flex;
  align-items: center; 
}
.hero-content {
  max-width: 500px;
  position: relative;
  z-index: 2;
  margin-top: 0; /* Keep centered inside hero naturally */
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1771b3;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 32px;
}

/* GROUPS CARD */
.section { padding: 60px 20px; }

.groups .container {
  display: grid;
  grid-template-columns: repeat(3, calc((100% - 72px) / 4));
  justify-content: center;
  gap: 24px;
}
.group-card {
  border-radius: var(--radius-xl);
  padding: 60px 24px 40px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-top: 50px;
}
.group-card.mint { background-color: var(--mint); color: var(--text-dark); }
.group-card.blue { background-color: var(--blue); color: var(--text-dark); }
.group-card.yellow { background-color: var(--yellow); color: var(--text-dark); }
.group-card.coral { background-color: var(--coral); color: #fff; }

.avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.95);
  border: 4px solid #fff;
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.avatar-circle img {
  width: 50px;
  height: auto;
}

.group-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.group-card .subtitle {
  font-weight: 700;
  margin-bottom: 16px;
  opacity: 0.9;
}
.group-card p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* FEATURES (PREVIEWS) */
.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feat-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-visual img {
  width: auto;
  height: 100px;
}
.bg-light-orange { background-color: #fff0eb; }
.bg-light-blue { background-color: #ebf5fa; }
.bg-light-green { background-color: #ebf7ec; }

.feat-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feat-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.feat-body p {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 24px;
}
.link-coral {
  color: var(--coral);
  font-weight: 800;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff0ec;
  padding: 10px 20px;
  border-radius: 99px;
  width: max-content;
  transition: opacity 0.2s;
}
.link-coral:hover {
  opacity: 0.8;
}

/* ACTIVITIES */
.section-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 40px;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.act-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.act-card:hover {
  transform: translateY(-4px);
}
.act-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.act-icon img {
  width: 44px;
  height: auto;
}
.act-card p {
  font-weight: 800;
  font-size: 1.05rem;
}

/* CONTACT SECTION */
.contact-wrap {
  display: flex;
  align-items: stretch;
  gap: 40px;
}
.contact-text {
  flex: 1;
}
.contact-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 32px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 1.1rem;
}
.check-list i {
  color: #fbbf24;
  font-style: normal;
  font-size: 1.2rem;
}

.contact-form-box {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.form-inner {
  padding: 32px;
}
.form-contact {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.form-contact p {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-base {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.input-base:focus {
  outline: none;
  border-color: var(--coral);
}
.w-100 {
  width: 100%;
}

@media (max-width: 1024px) {
  .features-container, .groups .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-wrap {
    flex-direction: column;
  }
  .hero-content {
    margin: 0 auto;
    text-align: center;
  }
  .home-shell {
    background-size: cover;
  }
}

@media (max-width: 768px) {
  body.home-page .home-shell {
    background: none;
  }
  .hero {
    padding-top: 120px; /* Clear the absolute header tightly */
    padding-bottom: 60px;
  }
  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .groups .container, .features-container {
    grid-template-columns: 1fr;
  }
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-toggle {
    display: block;
  }
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
  }
  .brand {
    margin-right: auto;
  }
  .brand-text {
    font-size: 0.9rem;
  }
  .header-actions {
    display: flex;
    order: 2;
    margin-right: 15px;
  }
  .mobile-toggle {
    order: 3;
    display: block;
  }
  .phone-link {
    display: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 100;
    border-radius: var(--radius-md);
  }
  .nav.is-open {
    display: flex;
  }
}

/* SITE FOOTER */
site-footer {
  display: block;
  margin-top: auto;
}
.site-footer {
  background: white;
  padding: 60px 0 20px;
  border-top: 2px solid var(--border-light, #ecf2f6);
  color: var(--text-dark);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand {
  display: inline-flex;
  margin-bottom: 16px;
}
.footer-brand .brand-text {
  font-size: 0.9rem;
}
.footer-brand p {
  color: #798b9a;
  max-width: 300px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.5;
}
.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  font-weight: 700;
  color: var(--coral, #ff856b);
  text-decoration: none;
}
.footer-nav h4, .footer-contact h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1771b3;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #798b9a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--coral, #ff856b);
}
.footer-contact p {
  color: #798b9a;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light, #ecf2f6);
  color: #aebfd0;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.lang-switcher a {
  text-decoration: none;
  color: inherit;
  font-weight: normal;
  transition: all 0.3s ease;
}

.lang-switcher a.active {
  color: var(--coral, #ff6b6b);
  font-weight: 800;
  border-bottom: 2px solid var(--coral, #ff6b6b);
}
