
/* 1. Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Open+Sans:wght@300;400;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* 2. Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Space Grotesk', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: #23272f;
  background: linear-gradient(135deg, #f8fbff 0%, #e3f0ff 100%);
  line-height: 1.7;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #0070f3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #e67300;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* 3. Header & Navbar */
header.main-header  {
  position: sticky;
  top: 0;
  background:  #B6eafa;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
header .logo {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #000000;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);

}
/* Navbar logo image sizing (used in template) */
.navbar-logo{ height:52px; margin-right:10px; }
header nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}
header nav ul {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
/* Remove Bootstrap underline and style nav links */
header nav a {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #000; 
  text-decoration: none;
  position: relative;
}

/* Specific named nav color classes (use in navbar template) */
header nav a.nav-home { color: #ffd200; }
header nav a.nav-about { color: #74c447; }
header nav a.nav-champion { color: #0171d3; }
header nav a.nav-contact { color: #ff65c3; }
header nav a.nav-shop { color: #ff7827; }
header nav a.nav-howtouse { color: #7a034e; }
/* Fundraise link style */
header nav a.nav-fundraise { color: #ffd200; }

/* Hover states for readability (slightly darken) */
header nav a.nav-home:hover { color: #e6b800; text-decoration: none; }
header nav a.nav-about:hover { color: #63b23f; text-decoration: none; }
header nav a.nav-champion:hover { color: #005fb8; text-decoration: none; }
header nav a.nav-contact:hover { color: #ff47b0; text-decoration: none; }
header nav a.nav-shop:hover { color: #ff6a00; text-decoration: none; }
header nav a.nav-howtouse:hover { color: #5a023a; text-decoration: none; }

/* Active / focus state (slightly bolder and underline) */
header nav a.nav-home:focus, header nav a.nav-home.active { font-weight: 700; text-decoration: underline; }
header nav a.nav-about:focus, header nav a.nav-about.active { font-weight: 700; text-decoration: underline; }
header nav a.nav-champion:focus, header nav a.nav-champion.active { font-weight: 700; text-decoration: underline; }
header nav a.nav-contact:focus, header nav a.nav-contact.active { font-weight: 700; text-decoration: underline; }
header nav a.nav-shop:focus, header nav a.nav-shop.active { font-weight: 700; text-decoration: underline; }
header nav a.nav-howtouse:focus, header nav a.nav-howtouse.active { font-weight: 700; text-decoration: underline; }

/* Custom black underline effect on hover */
header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

/* Ensure hover text color is black */
header nav a:hover {
  color: #000 !important;
}

/* Prevent persistent underline on active item */
header nav a.active::after {
  width: 0 !important;
}

.login-btn {
  background-color: #ffffff;
  color: #000;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  line-height: 1.5;
  vertical-align: middle;
  margin-left: 1rem; /* add spacing from last item */
}

.login-btn:hover {
  background-color: #eeeeee;
  transform: scale(1.05);
}


/* 4. Hero Section */
.hero-complex {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5rem;
  gap: 4rem;

  /*background-image: url('/static/images/background2.jpg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white; 
}
.background1 {
  background: url('/static/images/background1.jpg') no-repeat center center;
  background-size: cover;
}

.background2 {
  background: url('/static/images/background2.jpg') no-repeat center center;
  background-size: cover;
}

.background3 {
  background: url('/static/images/background3.jpg') no-repeat center center;
  background-size: cover;
}



/* Left side paragraph */
.hero-complex .hero-left {
  flex: 1;
  text-align: left;
}

.hero-complex .hero-left .intro-text {
  font-size: 1.5rem;
  color: #000000;
  max-width: 400px;
}

/* Right side heading + button */
.hero-complex .hero-right {
  flex: 1;
  text-align: left;
}

.hero-complex .hero-right h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;        /* make it bigger */
  font-weight: 800;         /* boldest */
  line-height: 1.25;
  color: #222;
  margin: 0;
  text-align: right;
}




.btn-learn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.btn-learn:hover {
  background: #0070f3;
  color: #fff;
}

/* 4a. Vertical Tagline: WHO WE ARE */
.hero-complex .tagline {
  position: absolute;           /* remove from flow */
  right: 2rem;                  /* align to right edge */
  top: 50%;                     /* vertical center */
  transform: translateY(-50%);
  writing-mode: vertical-lr;     /* top→bottom */
  text-orientation: upright;     /* keep letters upright */
  white-space: nowrap;           /* no wrapping */
  font-weight: 600;
  letter-spacing: 0.2em;         /* space between letters */
  color: #888;
  margin: 0;
}

/* 5. Services Grid */
.services-grid {
  padding: 5rem 4rem;
  text-align: center;
}
.services-grid h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #222;
  font-weight: 600;
}
.services-grid .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.services-grid .item {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.services-grid .item:hover {
  transform: translateY(-8px);
}
.services-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: block;
}
.services-grid p {
  font-weight: 700;
  color: #333;
  font-size: 1.4rem;
}

/* Service item colors matching navbar */
.services-grid .service-school p { color: #ffd200; }
.services-grid .service-hospital p { color: #74c447; }
.services-grid .service-parent p { color: #0171d3; }
.services-grid .service-ngo p { color: #ff65c3; }
.services-grid .service-researcher p { color: #ff7827; }
.services-grid .service-leader p { color: #7a034e; }

.services-grid .item[data-modal] {
  cursor: pointer;
}

/* School Modal */
/* Updated Modal Overlay to ensure centering */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Darker backdrop for focus */
  display: none; /* Controlled by JS */
  align-items: center;
  justify-content: center;
  z-index: 2000; /* Ensure it's above the header */
  backdrop-filter: blur(4px); /* Modern touch */
  overflow: auto;
  padding: 20px;
}

/* Modernized Modal Content */
.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  
  width: auto;
  min-width: 80vw;
  max-width: 95vw;
  min-height: auto;
  max-height: none;
  overflow: visible;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin: 20px auto;
}

/* Fix the grid inside the modal */
.school-options {
  display: grid;
  /* Use 1fr 1fr to force two equal columns */
  grid-template-columns: 1fr 1fr; 
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* On small screens, let them stack vertically */
@media (max-width: 768px) {
  .modal-content {
    min-width: 90vw;
    max-width: 95vw;
    padding: 2rem;
  }
  
  .school-options {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustment for small phones */
@media (max-width: 600px) {
  .modal-content {
    min-width: 95vw;
    max-width: 99vw;
    padding: 1.5rem;
    border-radius: 8px;
  }
  
  .school-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 400px) {
  .modal-content {
    min-width: 95vw;
    max-width: 99vw;
    padding: 1rem;
  }
}

/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  padding: 0;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #222;
  transform: rotate(90deg);
}

/* Modal Heading */
.modal-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #222;
  font-weight: 600;
}

.modal-content > p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.option-card {
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.option-card:hover {
  background: #f0f4ff;
  border-color: #0171d3;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(1, 113, 211, 0.1);
}

.option-card.selected {
  background: #e3f2fd;
  border-color: #0171d3;
  box-shadow: 0 4px 12px rgba(1, 113, 211, 0.2);
}

.option-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.option-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #222;
  font-weight: 600;
}

.option-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .option-card {
    padding: 1.25rem;
    min-height: 160px;
  }
  
  .option-icon {
    font-size: 2.5rem;
  }
  
  .option-card h4 {
    font-size: 1rem;
  }
  
  .option-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .option-card {
    padding: 1rem;
    min-height: 150px;
  }
  
  .option-icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  
  .option-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }
  
  .option-card p {
    font-size: 0.8rem;
  }
}

/* 6. Contact Section */
.contact-section {
  padding: 60px 20px;
  text-align: center;
}

.contact-container {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-container h2 {
  margifamily: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  color: #003366;
  font-weight: 600;
  color: #003366;
}

.contact-container p {
  margin-bottom: 30px;
  color: #555;
}

.form-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-grid input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 20px;
  resize: vertical;
}

button[type="submit"] {
  background-color: #005bbb;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #004699;
}


/* 7. Video Section */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.video-section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}


.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}


/* 8. Footer */
footer {
  background:#B6eafa;
  padding: 2rem 4rem;
  color: #fff;
  font-size: 0.9rem;
}
footer a {
  color: #000000;
  transition: color 0.3s;
}
footer p {
  color: #000000;
  transition: color 0.3s;
}
footer a:hover {
  color: #0c0c0c;
}

/* Footer layout: left/right columns */
.footer-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-left{
  text-align: left;
  flex: 1;
}
.footer-right{
  text-align: right;
}
@media (max-width: 768px){
  .footer-content{
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }
  .footer-left, .footer-right{
    text-align: center;
  }
}

/* Footer inner layout for logo + credits + socials (stacked on left) */
.footer-inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
}
.footer-inner .footer-left{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 1 60%;
}
.footer-logo{
  max-width: 160px;
  height: auto;
  display: block;
}
.footer-credits{
  font-size: 14px;
  margin: 0;
  color: #0b2230; /* darker ink for legibility */
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.social-links{
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  color: #0b2230;
  font-size: 22px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease;
}
.social-links a:hover{
  background: rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.footer-inner .footer-right{
  flex: 1 1 35%;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
}
@media (max-width: 768px){
  .footer-inner{ flex-direction: column; align-items: center; text-align: center; }
  .footer-inner .footer-left{ align-items: center; }
  .footer-inner .footer-right{ justify-content: center; }
  .social-links{ justify-content: center; }
}

/* 9. Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-complex {
    flex-direction: column;
    text-align: center;
  }
  .hero-complex .tagline {
    writing-mode: horizontal-tb;
    margin: 0 auto 1rem;
    position: relative;
    transform: none;
    right: auto;
    top: auto;
  }
}
@media (max-width: 768px) {
  header nav ul {
    display: none;   /* replace with mobile menu if needed */
  }
  .hero-complex {
    padding: 2rem 1.5rem;
  }
  .services-grid,
  .contact,
  .video-section {
    padding: 2.5rem 1.5rem;
  }
}
/* 10. Collab */
/* Section */
.collab-section {
  padding: 3rem 1.5rem;
  text-align: center;
}

.static-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.collab-section h2 {
  padding-top: 2px;
  text-align: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: #1a1a1a;
}

.collab-subtitle {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Carousel Container */
.carousel-wrapper {
  width: 100%;
  background: linear-gradient(180deg, #fff 0%, #fff 100%);
  padding: 1rem 0;
  margin: 0;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 50px;
  padding: 0 40px;
  animation: scroll 45s linear infinite;
  width: fit-content;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 40px));
  }
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-logo {
  flex-shrink: 0;
  width: 150px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-logo:hover {
  transform: scale(1.15) translateY(-10px);
}

.carousel-logo img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
}

.carousel-logo:hover img {
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.15));
}

/* --- GRID LAYOUT: auto-fit cards across the row --- */
.collab-grid{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
}

/* Flip card container fills its grid cell */
.flip-card {
  width: 100%;
  height: 200px;          /* smaller, more compact */
  perspective: 1000px;
}

/* Inner wrapper */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }

/* Faces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
}

/* Front: make logos bigger but contained */
.flip-card-front img{
  width: 90%;
  max-height: 110px;
  object-fit: contain;
}

/* Back face */
.flip-card-back{
  background: #ffffff;
  color: #1a1a1a;
  transform: rotateY(180deg);
  text-align: center;
  padding: .9rem;
}

.flip-card-back h3{
  font-size: 1rem;
  margin-bottom: .4rem;
}
.flip-card-back p{
  font-size: .85rem;
  opacity: .85;
  margin: 0;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .carousel-track {
    gap: 50px;
    padding: 0 30px;
  }
  .carousel-logo {
    width: 120px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .collab-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .collab-subtitle {
    font-size: 0.95rem;
  }
  .carousel-wrapper {
    padding: 2rem 0;
  }
  .carousel-track {
    gap: 40px;
    padding: 0 20px;
  }
  .carousel-logo {
    width: 100px;
    height: 80px;
  }
}

@media (max-width: 480px){
  .collab-section h2 {
    font-size: 1.6rem;
  }
  .collab-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .carousel-wrapper {
    padding: 1.5rem 0;
  }
  .carousel-track {
    gap: 30px;
    padding: 0 15px;
  }
  .carousel-logo {
    width: 50px;
    height: 55px;
  }
  .flip-card{ height: 180px; }
  .flip-card-front img{ max-height: 95px; }
}

/* 11 Sign up */

/* =========================================================
   SIGNUP – polished layout, hero card, animation, a11y
   =======================================================*/
:root{
  --brand:#0070f3;
  --brand-2:#43b7ff;
  --ink:#1b2533;
  --card-bg: rgba(255,255,255,.66);
  --ring: 0 0 0 3px rgba(0,112,243,.25);
}

.signup-box > h2{
  margin: .25rem 0 .25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #222;
}
.signup-box > p{
  color:#445269;
  margin-bottom: .5rem;
}

/* Grid: auto-fit, centered */
.signup-choice-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
  align-items: stretch;
  justify-items: center;
  max-width: 1024px;
  margin: 1.2rem auto 1.6rem;
}

/* Card */
.choice-card{
  width:100%;
  max-width: 520px;
  border: 2px solid rgba(0,112,243,.12);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: 0 10px 28px rgba(93,143,180,.12);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}

/* Remove default marker and add chevron */
.choice-card summary::-webkit-details-marker{ display:none; }
.choice-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  padding: 1.25rem 1rem;
  font-weight: 900;
  font-size: 1.28rem;
  color: var(--ink);
  cursor:pointer;
  position: relative;
}
.choice-title::after{
  content:"";
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  position:absolute; right:18px;
  transition: transform .2s ease;
}
.choice-card[open] .choice-title::after{ transform: rotate(225deg); }

/* Icon size */
.choice-icon{ font-size: 1.25rem; }

/* Open animation */
.choice-options{
  width: 100% !important;          /* override old 250% */
  padding: 0 1rem 1.2rem;
  display:flex;
  flex-direction:column;
  gap:.72rem;
  align-items:center;               /* centers buttons (fixes "My Kids") */
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.choice-card[open] .choice-options{ max-height: 600px; }

/* Buttons */
.choice-btn{
  width: 100%;
  max-width: 420px;
  padding: 1.05rem 1.25rem;
  border-radius: 14px;
  border: 2px solid var(--brand);
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(0,112,243,.09);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.choice-btn:hover{
  background: linear-gradient(90deg, var(--brand) 60%, var(--brand-2) 100%);
  color:#fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,112,243,.18);
}
.choice-btn:focus-visible{
  outline: none;
  box-shadow: var(--ring);
}

/* Hover lift */
.choice-card:hover{
  transform: translateY(-4px);
  border-color: rgba(0,112,243,.25);
  box-shadow: 0 16px 36px rgba(0,112,243,.16);
}

/* PARTICIPANT hero option (optional) */
.participant-hero{
  background: linear-gradient(120deg, #e3f0ff 60%, #b6eafa 100%);
  border-width: 3px;
}
@media (min-width: 900px){
  .participant-hero{ grid-column: 1 / -1; }  /* span full row on desktop */
}
.participant-hero .choice-title{ font-size: 1.45rem; padding: 1.4rem 1rem; }
.participant-hero .choice-btn{ max-width: 520px; font-size:1.12rem; padding: 1.12rem 1.3rem; }

/* Mobile tweaks */
@media (max-width: 520px){
  .choice-title{ font-size:1.15rem; }
  .choice-btn{ font-size:1rem; }
}

/* 12. dashboard*/
.carousel-box {
    position: relative;
    width: 90%;               /* Wider */
    max-width: 1100px;
    height: 300px;            
    margin: 30px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }

  .carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-image {
    width: 100%;
  height: 100%;
  object-fit: contain;  /* change from 'cover' to 'contain' */
  border-radius: 20px;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

.dashboard-container {
  text-align: center;
  padding: 3rem 1rem;
  background: #f9fcff;
}

.dashboard-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #222;
}

.dashboard-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* 13. Book Grid */
.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 40px;
}

.book-card {
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%; /* Let it fill the grid cell */
}


.book-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.book-card h3 {
  margin: 10px 0;
  font-size: 1.1rem;
}

.read-btn {
  display: inline-block;
  background-color: #64c2f0;
  color: white;
  padding: 6px 14px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 8px;
}


.read-btn:hover {
  background-color: #4ca9d6;
}

/* 14. About Details */

/* Enhanced About Section */
.about-container {
  display: flex;
  padding: 48px 40px;
  gap: 48px;
  background: rgba(255,255,255,0.92);
  font-family: 'Space Grotesk', sans-serif;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(93,143,180,0.10);
  backdrop-filter: blur(2px);
}

.about-main {
  flex: 3;
  max-width: 750px;
  font-size: 1.13rem;
  color: #2a2a2a;
}

.about-main p {
  line-height: 1.85;
  margin-bottom: 1.2em;
  text-align: justify;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.13rem;
  color: #2a2a2a;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(93,143,180,0.04);
}

.about-sidebar {
  flex: 1;
  background: linear-gradient(120deg, #f7faff 60%, #e3f0ff 100%);
  padding: 28px 20px;
  border-left: 2.5px solid #dbe6f6;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(93,143,180,0.07);
}

.about-sidebar ul {
  list-style: none;
  padding: 0;
}

.about-sidebar li {
  margin-bottom: 12px;
}

.about-sidebar a {
  color: #e67300;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.about-sidebar a:hover {
  color: #0070f3;
  text-decoration: underline;
}

.about-image {
  width: 100%;
  max-width: 400px;
  float: left;
  margin-right: 28px;
  margin-bottom: 24px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(93,143,180,0.13);
}

blockquote {
  background: linear-gradient(120deg, #f7faff 60%, #e3f0ff 100%);
  padding: 18px 26px;
  border-left: 6px solid #e67300;
  margin: 24px 0;
  font-style: italic;
  font-size: 1.08rem;
  color: #444;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(93,143,180,0.07);
}
.info-section {
  margin: 3rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.section-title {
  font-size: 2rem;
  color: #1a2233;
  margin-bottom: 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.subsection-title {
  font-size: 1.25rem;
  margin-top: 2.2rem;
  color: #0070f3;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.justification-list {
  padding-left: 1.2rem;
  margin-top: 0.8rem;
}

.justification-list li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

/* 15. Participant Section */
.consent-container {
  max-width: 800px;
  margin: 40px auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
}

.consent-container h2 {
  text-align: center;
  color: #003c57;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
}

.consent-container h3 {
  margin-top: 30px;
  color: #444;
}

.consent-container ul {
  margin-left: 20px;
}

.consent-form {
  margin-top: 20px;
  margin-bottom: 40px;
}

.consent-form label {
  display: block;
  margin-bottom: 15px;
}

.consent-form input[type="text"],
.consent-form input[type="date"] {
  width: 100%;
  padding: 8px 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.support-contact {
  text-align: center;
  margin-top: 30px;
}

/* 16. ContactUs*/
.contact-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.text-center {
  text-align: center;
}

.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.contact-card {
  flex: 1;
  min-width: 350px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.contact-card h3 {
  color: #003366;
}

.contact-card h4 {
  margin-top: 20px;
}

.contact-card ul {
  padding-left: 20px;
}

.contact-map {
  flex: 1;
  min-width: 350px;
  border-radius: 10px;
  overflow: hidden;
}

/* 17. Signup  */
.signup-form-container {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.signup-submit-btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  background-color: #4CAF50;
  color: #fff;
  font-size: 1rem;
}
/* 18. Quiz Section */
.quiz-container {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.question {
  margin-bottom: 20px;
}
/* Book */
.book-cover {
  width: 140px;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
}

.book-card {
  min-width: 180px;
  max-width: 200px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 10px 0;
}

.qty-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 5px 0;
}

.qty-controls input {
  width: 40px;
  text-align: center;
}
/* 19. Children Monitoring Dashboard */
.monitor-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  }

.monitor-table th {
  background-color: #4db8ff;
  color: white;
  padding: 12px;
  text-align: center;
  font-size: 16px;
  }
.monitor-table td {
  padding: 12px;
  text-align: center;
  border-top: 1px solid #eee;
  font-size: 15px;
  }
.monitor-table tr:nth-child(even) {
  background-color: #f9f9f9;
  }

.monitor-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  color: #444;
  }
  

  .news-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  margin-bottom: 1.2rem;
  padding: 1.1rem 1.2rem 0.9rem 1.2rem;
  transition: box-shadow 0.2s;
  border-left: 5px solid #007bff;
}

.news-card:hover {
  box-shadow: 0 6px 24px rgba(0,123,255,0.13);
}

.news-title {
  font-size: 1.13rem;
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
}

.news-title:hover {
  text-decoration: underline;
  color: #0056b3;
}

.news-desc {
  color: #444;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

/* Scroll animation: pop-up effect */
.scroll-animate {
  opacity: 0;
  transform: scale(0.92) translateY(40px);
  transition: opacity 0.7s cubic-bezier(.6,.2,.4,1), transform 0.7s cubic-bezier(.6,.2,.4,1);
  will-change: opacity, transform;
}

.scroll-animate.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Optional: stagger effect for multiple items */
.services-section .card,
.collab-section .flip-card {
  transition-delay: 0.2s;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-toggle {
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  min-width: 120px;
  z-index: 100;
  padding: 8px 0;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu {
  display: block;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08em;
}

.lang-menu a:hover {
  background: #f3f6fc;
}

/* Make sure the modal is above the backdrop and anything in the header */
.modal { 
  z-index: 1060 !important; 
}

.modal-backdrop {
  z-index: 1050 !important;
  background-color: rgba(0, 0, 0, 0.15) !important; /* lighter overlay */
}

/* If your header/nav has a very high z-index, keep it under modal */
.main-header, .navbar {
  z-index: 1000;
}

/* Clickable tiles (Canva-style) */
.pillar-tile{
  border: 1.5px solid #dbe6f6;
  background: linear-gradient(120deg, rgba(93,143,180,0.97) 70%, rgba(230,115,0,0.10) 100%);
  color: #fff;
  padding: 32px 22px 28px 22px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(13,110,253,.13), 0 2px 8px rgba(230,115,0,0.07);
  transition: transform .22s cubic-bezier(.6,.2,.4,1), box-shadow .22s, background .22s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}
.pillar-tile::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, #e67300 0%, transparent 70%);
  opacity: 0.12;
  z-index: 0;
}
.pillar-tile::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, #fff 0%, transparent 80%);
  opacity: 0.08;
  z-index: 0;
}
.pillar-tile:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow: 0 18px 44px rgba(13,110,253,.18), 0 6px 18px rgba(230,115,0,0.13);
  background: linear-gradient(120deg, rgba(93,143,180,1) 60%, rgba(230,115,0,0.18) 100%);
}
.pillar-tile .pill-num {
  background: linear-gradient(135deg, #e67300 60%, #ffb347 100%);
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: .45rem 1.1rem;
  box-shadow: 0 4px 14px rgba(230,115,0,0.18);
  font-size: 1.13rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.03em;
  border: 2px solid rgba(255,255,255,0.13);
  margin-bottom: 8px;
  z-index: 1;
  position: relative;
  transition: box-shadow 0.22s, background 0.22s;
}
.pillar-tile:hover .pill-num {
  box-shadow: 0 10px 28px rgba(230,115,0,0.22);
  background: linear-gradient(135deg, #ffb347 0%, #e67300 100%);
}
.pillar-tile .pill-title {
  font-weight: 900;
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
  z-index: 1;
  position: relative;
}

/* Modal content styling */
.pill-section{
  background:#f8fbff;
  border:1px solid #e9f1fb;
  border-radius:12px;
  padding:12px 14px;
  margin-bottom:12px;
}
.pill-tag{
  font-size:.78rem; letter-spacing:.06em; text-transform:uppercase;
  font-weight:800; color:#0d6efd; background:#e9f2ff;
  padding:.25rem .5rem; border-radius:.5rem; display:inline-block; margin-bottom:.35rem;
}
/* Intro paragraph */
section.bg-white p.lead {
  line-height: 1.7;
  color:#444;
}

/* Big pillar boxes */
.pillar-box {
  background: linear-gradient(135deg, rgba(93,143,180,0.92) 60%, rgba(230,115,0,0.13) 100%);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 64px 32px 56px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(93,143,180,0.18), 0 1.5px 8px rgba(230,115,0,0.08);
  overflow: hidden;
  backdrop-filter: blur(2.5px);
  transition: transform .22s cubic-bezier(.6,.2,.4,1), box-shadow .22s cubic-bezier(.6,.2,.4,1), filter .22s;
}
.pillar-box::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #e67300 0%, transparent 70%);
  opacity: 0.13;
  z-index: 0;
}
.pillar-box::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 90px; height: 90px;
  background: radial-gradient(circle, #fff 0%, transparent 80%);
  opacity: 0.09;
  z-index: 0;
}
.pillar-box:hover {
  transform: translateY(-10px) scale(1.025) rotate(-1deg);
  box-shadow: 0 16px 44px rgba(93,143,180,0.22), 0 4px 18px rgba(230,115,0,0.13);
  filter: saturate(1.08) brightness(1.04);
}
.pillar-box h5 {
  margin: 22px 0 0;
  font-weight: 900;
  font-size: 1.32rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
  z-index: 1;
  position: relative;
}
.pillar-box:hover {
  transform:translateY(-5px);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

/* Number circle */
.pillar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 62px;
  line-height: 62px;
  background: linear-gradient(135deg, #e67300 60%, #ffb347 100%);
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(230,115,0,0.18);
  font-size: 1.22rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  border: 2.5px solid rgba(255,255,255,0.18);
  z-index: 1;
  position: relative;
  transition: box-shadow 0.22s, background 0.22s;
}
.pillar-box:hover .pillar-circle {
  box-shadow: 0 12px 32px rgba(230,115,0,0.22);
  background: linear-gradient(135deg, #ffb347 0%, #e67300 100%);
}

/* Title inside box */
.pillar-box h5 {
  margin-top:20px;
  font-size:1.2rem;
  font-weight:700;
}
/* Intro text */
.helios-intro{
  max-width: 900px;
  line-height: 1.75;
  color:#404a57;
  font-size:1.08rem;
}

/* Big Canva-like pillar boxes (clickable) */
.pillar-box{
  background:#5d8fb4;         /* slate-blue like your slide */
  color:#fff;
  border:none;
  border-radius:22px;
  padding:60px 24px;
  text-align:center;
  box-shadow:0 8px 22px rgba(0,0,0,.15);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.pillar-box:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 36px rgba(0,0,0,.22);
  filter:saturate(1.05);
}
.pillar-box h5{
  margin:18px 0 0;
  font-weight:800;
  font-size:1.24rem;
}

/* Number badge */
.pillar-circle{
  display:inline-block;
  min-width:56px;
  height:56px;
  line-height:56px;
  text-align:center;
  background:#e67300;          /* orange badge */
  color:#fff;
  font-weight:800;
  border-radius:999px;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
  font-size:1.1rem;
}

/* Modal content blocks */
.pill-section{
  background:#f8fbff;
  border:1px solid #e6eefb;
  border-radius:12px;
  padding:12px 14px;
  margin-bottom:12px;
}
.pill-tag{
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:800;
  color:#0d6efd;
  background:#e9f2ff;
  border-radius:.5rem;
  padding:.25rem .5rem;
  display:inline-block;
  margin-bottom:.4rem;
}
.pill-section p{ margin:0; color:#536072; }

/* Responsive */
@media (max-width: 576px){
  .pillar-box{ padding:44px 20px; }
  .pillar-circle{ min-width:48px; height:48px; line-height:48px; }
}
/* UTIL */
.container{
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.champion-hero{
  position: relative;
  padding-bottom: 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #e6f0ff 100%);
}
.champion-hero.has-backdrop::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 360px at 50% -10%, rgba(0,112,243,.12), transparent 55%),
    radial-gradient(600px 220px at 90% 10%, rgba(230,115,0,.10), transparent 60%);
  pointer-events:none;
}
.champion-title{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  text-align: center;
  color: #1b2533;
  margin-bottom: .55rem; 
}
.title-accent{
  background: linear-gradient(90deg, #1b2533 40%, #0070f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.champion-subtitle {
  text-align: center !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* GRID */
.champion-body{
  padding: 48px 0 88px;
}
.champion-grid{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* PHOTO CARD */
.champion-card{
  position: sticky;
  top: 96px;                 /* nice pinned effect on tall pages */
  background: #fff;
  border: 1px solid #e4eefb;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(93,143,180,.12);
  overflow: hidden;
}
.champion-photo{
  margin:0;
  aspect-ratio: 4/5;         /* keeps composition tidy */
  background: #f3f7ff;
}
.champion-photo img{
  width:100%; height:100%;
  object-fit: cover; object-position: center;
  display:block;
}
.champion-caption{
  padding: 14px 16px 18px;
  border-top: 1px dashed #e7effc;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  text-align:center;
}
.champion-caption .name{
  display:block;
  font-weight:800;
  letter-spacing:.02em;
  color:#1c2a3b;
}
.champion-caption .role{
  display:block;
  font-size:.92rem;
  color:#5b6b82;
  margin-top:4px;
}

/* COPY */
.champion-copy{
  background: rgba(255,255,255,.72);
  border: 1px solid #e9f1fb;
  border-radius: 18px;
  padding: clamp(18px, 3.2vw, 28px);
  box-shadow: 0 8px 26px rgba(93,143,180,.08);
  backdrop-filter: blur(2px);
}
.block-heading{
  font-family:'Space Grotesk',sans-serif;
  font-weight:800;
  font-size: clamp(1.05rem, 1.4rem, 1.5rem);
  color:#0f2238;
  margin: 18px 0 6px;
  letter-spacing:.02em;
  position: relative;
  padding-left: 14px;
}
.block-heading::before{
  content:"";
  position:absolute; left:0; top:.42em;
  width:6px; height:1.2em; border-radius:6px;
  background: linear-gradient(180deg,#0070f3 0%, #43b7ff 100%);
}
.champion-copy p{
  color:#32445b;
  line-height:1.85;
  margin: 0 0 14px;
}

/* CTA */
.cta-row{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top: 14px;
}
.btn-pill{
  display:inline-block;
  padding:.8rem 1.2rem;
  border-radius:999px;
  font-weight:800;
  background: linear-gradient(90deg,#0070f3 0%, #43b7ff 100%);
  color:#fff; border: none;
  box-shadow: 0 8px 22px rgba(0,112,243,.18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-pill:hover{ transform: translateY(-2px); filter: brightness(1.03); }
.btn-link{
  display:inline-block;
  padding:.8rem 1rem;
  font-weight:700;
  color:#0f2238;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-link:hover{ color:#0070f3; }

/* RESPONSIVE */
@media (max-width: 1024px){
  .champion-grid{ grid-template-columns: 1fr; }
  .champion-card{ position: relative; top: 0; }
}

/* Fundraise Page Styles */
.fundraise-hero {
  background: linear-gradient(135deg, #f8fbff 0%, #e6f0ff 100%);
  padding: 60px 0;
  text-align: center;
}

.fundraise-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #1b2533;
  margin-bottom: 1rem;
}

.fundraise-subtitle {
  font-size: 1.2rem;
  color: #445269;
  max-width: 600px;
  margin: 0 auto;
}

.fundraise-body {
  padding: 60px 0;
}

.impact-section {
  background: rgba(255,255,255,0.8);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(93,143,180,0.10);
}

.impact-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0070f3;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.donation-impact {
  list-style: none;
  padding: 0;
}

.donation-impact li {
  background: #f7faff;
  padding: 12px 16px;
  margin: 8px 0;
  border-radius: 8px;
  border-left: 4px solid #0070f3;
}

.donation-card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(93,143,180,0.15);
  position: sticky;
  top: 20px;
}

.donation-card h3 {
  color: #1b2533;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.amount-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.amount-btn {
  padding: 12px;
  border: 2px solid #0070f3;
  background: #fff;
  color: #0070f3;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover, .amount-btn.active {
  background: #0070f3;
  color: #fff;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.donate-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #0070f3 0%, #43b7ff 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.donate-btn:hover {
  transform: translateY(-2px);
}

.payment-info {
  margin-top: 15px;
  text-align: center;
  color: #666;
}

@media (max-width: 768px) {
  .impact-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .amount-buttons {
    grid-template-columns: 1fr;
  }
}
/* About page custom styles */
.about-hero-large{ padding: 56px 0; }
.about-hero-img{ max-width: 320px; width: 100%; border-radius: 10px; box-shadow: 0 14px 40px rgba(12,48,70,0.08); }
.about-title{ font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.6rem; }
.about-sub{ color:#445269; font-size:1.05rem; line-height:1.7; }
.who-we-are{ margin-top: -40px; margin-bottom: 40px; }
.who-card{ background: #fff; border-radius: 12px; overflow: hidden; }
.who-img{ max-width: 160px; width:100%; height:auto; }
.what-we-do .feature-card{ background: linear-gradient(180deg,#fff 0%, #fbfdff 100%); border: 1px solid #f0f4fb; }
.feature-icon{ width:64px; height:64px; object-fit:contain; }
.section-heading{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.35rem; }
.plan-visit .cta-card{ background: linear-gradient(90deg,#fff 0%, #fffaf6 100%); }
@media (max-width: 768px){
  .who-we-are{ margin-top: 0; }
  .about-hero-img{ max-width: 220px; margin: 0 auto 12px; }
}
/* Center the signup modal and box */
.signup-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.signup-box {
  margin: 0 auto;
}

/* ==== Auth (Login) ==== */
.auth-hero{
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(900px 300px at 10% 0%, rgba(0,112,243,.08), transparent 60%),
    radial-gradient(900px 300px at 90% 100%, rgba(230,115,0,.07), transparent 60%);
}

.auth-card{
  width: 100%;
  max-width: 750px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(13,110,253,.12);
  backdrop-filter: blur(8px);
  padding: 28px 26px 24px;
}

.auth-heading{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #0f2238;
  letter-spacing: .01em;
  margin-bottom: 6px;
  text-align: center;
}
.auth-sub{
  text-align: center;
  color: #5b6b82;
  margin-bottom: 18px;
}

/* Alerts */
.alert{
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid transparent;
}
.alert-success{
  background: #e9f7ef;
  color: #146c43;
  border-color: #d1f1df;
}
.alert-error{
  background: #fdecea;
  color: #b02a37;
  border-color: #f8d7da;
}

/* Form */
.auth-form .form-group{ margin-bottom: 14px; }
.auth-form label{
  display:block; margin-bottom: 6px; font-weight:700; color:#1b2533; font-size:.98rem;
}
.input-wrap{
  position: relative;
  display: flex; align-items: center;
  border: 1.5px solid #dbe6f6;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px 10px 40px;   /* space for icon */
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input-wrap:focus-within{
  border-color: #0070f3;
  box-shadow: 0 0 0 4px rgba(0,112,243,.14);
}
.input-wrap input{
  border: 0; outline: none; width: 100%;
  font-size: 1rem; background: transparent; color:#222;
}
.input-wrap input::placeholder{ color:#9aa9bf; }

/* left icon */
.input-icon{
  position: absolute; left: 12px; display: inline-flex; align-items:center; color:#7a8aa6;
}

/* right action (eye) */
.input-action{
  position: absolute; right: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px; border: 0; background: transparent; color:#536072; cursor:pointer;
}
.input-action:hover{ background: #f2f6ff; }

/* Row */
.form-row.between{
  display:flex; align-items:center; justify-content:space-between; gap: 12px;
  margin: 8px 0 14px;
}
.chk{ display:inline-flex; align-items:center; gap:8px; color:#32445b; font-size:.95rem; }
.link-muted{ color:#536072; text-decoration: none; }
.link-muted:hover{ color:#0070f3; text-decoration: underline; }

/* Buttons */
.btn-primary{
  display:inline-block; border: none; cursor:pointer;
  padding: .9rem 1.2rem; border-radius: 12px; font-weight: 800;
  background: linear-gradient(90deg,#0070f3 0%, #43b7ff 100%);
  color:#fff; box-shadow: 0 10px 22px rgba(0,112,243,.18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, opacity .15s;
}
.btn-primary:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.btn-primary:disabled{ opacity:.7; cursor:not-allowed; }
.w-100{ width:100%; }

.meta-row{
  margin-top: 12px;
  display:flex; justify-content:center; gap:8px; font-size:.96rem; color:#536072;
}
.link-strong{ color:#e67300; font-weight:800; }
.link-strong:hover{ color:#0070f3; text-decoration: underline; }

/* Auth Content Wrapper - Side by side layout */
.auth-content-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.auth-form {
  flex: 1;
}

.auth-footer-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.auth-footer-image img {
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Small screens */
@media (max-width: 520px){
  .auth-card{ padding: 22px 18px; border-radius: 14px; max-width: 100%; }
  .auth-heading{ font-size: 1.6rem; }
  .auth-content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .auth-footer-image img {
    max-width: 180px;
  }
}
/* === Partner Row Layout === */
.partners-row{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.partner-col--center {
  grid-column: 2;
}

.partner-col h3{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: #111;
}

/* Smaller cards so all 3 fit nicely */
.small-card{
  height: 160px;
}

.small-card .flip-card-front img{
  max-height: 80px;
}

.small-card .flip-card-back h4{
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 900px){
  .partners-row{
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* ===== FIX: Activities mobile layout ===== */
@media (max-width: 768px) {

  .services-grid .grid {
    grid-template-columns: 1fr;   /* 1 card per row */
    gap: 1.5rem;
  }

  .services-grid img {
    height: 160px;               /* smaller image */
  }

  .services-grid .item {
    padding: 1.5rem;
  }

  .services-grid p {
    font-size: 1.2rem;
  }
}
