/* 
  Kafui Tot Centre - Stylesheet
  Colors: Lemon Green, Baby Pink, Sea Blue
*/

:root {
  --lemon-green: #b5e43a;
  --lemon-green-dark: #9bc02d;
  --baby-pink: #ffb6c1;
  --baby-pink-dark: #ff91a4;
  --sea-blue: #00bcd4;
  --sea-blue-dark: #0097a7;
  
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #fdfdfd;
  --white: #ffffff;
  
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Fredoka One', 'Outfit', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --border-radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-lemon { color: var(--lemon-green-dark); }
.text-pink { color: var(--baby-pink-dark); }
.text-sea { color: var(--sea-blue-dark); }

.lemon-bg { background-color: var(--lemon-green); color: var(--text-dark); }
.pink-bg { background-color: var(--baby-pink); color: var(--text-dark); }
.sea-bg { background-color: var(--sea-blue); color: var(--white); }

.bg-light-yellow { background-color: #fdfde6; }
.bg-light-blue { background-color: #e6fcfd; }
.bg-light-pink { background-color: #fdf0f2; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--lemon-green);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--lemon-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--sea-blue-dark);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sea-blue-dark);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--sea-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--sea-blue-dark);
  transition: var(--transition);
}

/* Layout Utilities */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--lemon-green);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.85) 0%, rgba(32, 178, 170, 0.6) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-content .highlight {
  color: var(--lemon-green);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.shape-divider .shape-fill {
  fill: var(--bg-light);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--white);
}

.floating-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--sea-blue);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 300px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--lemon-green);
}

.mission-values {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 5px solid var(--sea-blue);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.values-list {
  list-style: none;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1rem;
  background: var(--white);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.values-list li:hover {
  transform: translateX(5px);
}

.dot {
  min-width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
}

/* Founder Section */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-frame {
  position: relative;
  padding: 15px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  transition: var(--transition);
}

.image-frame:hover {
  transform: rotate(0deg);
}

.image-frame img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.founder-content blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--sea-blue-dark);
  border-left: 5px solid var(--baby-pink);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.founder-signature {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.founder-signature strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-dark);
}

.founder-signature span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Programs Section */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.program-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid transparent;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  font-size: 2rem;
  font-weight: bold;
  color: #999;
}

.pink-border { border-color: var(--baby-pink); }
.sea-border { border-color: var(--sea-blue); }
.lemon-border { border-color: var(--lemon-green); }

.team-card .role {
  color: var(--sea-blue-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.team-card .desc {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Donate Section */
.donate-section {
  background: linear-gradient(135deg, var(--sea-blue) 0%, var(--sea-blue-dark) 100%);
  color: var(--white);
}

.donate-box {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--border-radius);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.donate-content {
  padding: 4rem;
}

.donate-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.bank-details {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px dashed var(--sea-blue);
  margin-top: 2rem;
}

.account-info {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.highlight-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lemon-green-dark);
  letter-spacing: 2px;
}

.ways-to-give {
  background: #f9fbfc;
  padding: 4rem 3rem;
}

.ways-to-give ul {
  list-style: none;
  margin-top: 2rem;
}

.ways-to-give li {
  display: flex;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.ways-to-give .icon {
  min-width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Volunteer Section */
.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.vol-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--baby-pink);
}

.volunteer-cta {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.volunteer-cta h3 {
  color: var(--sea-blue-dark);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 5rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.logo-footer img {
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
}

.footer-brand p {
  color: #a0aec0;
  max-width: 300px;
}

.reg-details {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--lemon-green) !important;
}

.footer-links h3, .footer-contact h3 {
  margin-bottom: 1.5rem;
  color: var(--baby-pink);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--lemon-green);
  padding-left: 5px;
}

.footer-contact p {
  color: #a0aec0;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--sea-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Animations & Interactivity */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sea-blue-dark);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.back-link:hover {
  background: var(--white);
  transform: translateX(-5px);
  box-shadow: var(--shadow-sm);
}

/* Form Styles */
.volunteer-form-container {
  max-width: 800px;
  margin: 3rem auto 0;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--lemon-green);
  text-align: left;
}

.volunteer-form h3 {
  color: var(--sea-blue-dark);
  margin-bottom: 0.5rem;
  font-size: 2rem;
  text-align: center;
}

.form-desc {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.volunteer-form fieldset {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: var(--bg-light);
}

.volunteer-form legend {
  background: var(--baby-pink);
  color: var(--text-dark);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.input-wrap {
  margin-bottom: 1.2rem;
}

.input-wrap label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.volunteer-form input[type="text"],
.volunteer-form input[type="date"],
.volunteer-form input[type="tel"],
.volunteer-form input[type="email"],
.volunteer-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.volunteer-form input:focus,
.volunteer-form textarea:focus {
  outline: none;
  border-color: var(--sea-blue);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.radio-group label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.checkbox-grid label,
.declaration-grid label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-grid input[type="checkbox"],
.declaration-grid input[type="checkbox"],
.radio-group input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--sea-blue);
  width: 16px;
  height: 16px;
}

.declaration-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 3rem; }
  .about-grid, .founder-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mission-values { grid-template-columns: 1fr; }
  .floating-card { bottom: -20px; left: 10px; right: 10px; max-width: none; }
  .donate-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

  .hero-actions { flex-direction: column; }
  .donate-content { padding: 2rem; }
  .ways-to-give { padding: 2rem; }
}
