/* ===========================
   GLOBAL RESET
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   GLOBAL TYPOGRAPHY
=========================== */

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fefcf9;
  color: #333;
  margin: 0;
  padding: 20px;
  text-align: center;
}

body,
p,
label,
input,
textarea,
select,
button,
.intro-message,
.vision-message,
.gift-message,
.how-it-works,
.participation-invite,
.participation-hook {
  font-size: 20px;
  line-height: 1.6;
}

/* Headings */
h1 {
  font-size: 32px;
  background-color: lightgreen; /* Latest version */
}

h2 {
  font-size: 28px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Section titles */
.section-title,
.section-header,
.how-it-works h2 {
  font-size: 32px;
  text-shadow: 0 0 10px #fdd9a0;
  color: #2c3e50;
  text-align: center;
}

/* Special text blocks */
.sunrise-message {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 20px;
}

.vision-message {
  font-size: 34px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
}

.help-message {
  font-size: 26px;
  font-weight: 500;
  color: #333;
  margin-top: 30px;
}

.step-message {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

/* Call to action & confirmation */
.call-to-action {
  font-size: 22px;
  color: #013220;
  font-weight: bold;
  line-height: 1.6;
  animation: blinkGlow 3s infinite;
}

.confirmation-message {
  font-size: 18px;
  color: #2d862d;
  margin-top: 20px;
  text-align: center;
  background-color: #eafbea;
  padding: 20px;
  border-radius: 10px;
}

/* Thank You section */
.thank-you {
  font-size: 24px;
  color: #013220;
  margin: 40px auto;
  max-width: 700px;
  background-color: #fff8e1;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===========================
   LAYOUT & SECTIONS
=========================== */

section {
  margin: 40px 0;
  padding: 20px;
  background-color: #fff8e1;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header {
  background-color: #fbeec1;
  padding: 30px;
  border-bottom: 2px solid #e0c097;
}

footer {
  background-color: #fbeec1;
  padding: 20px;
  border-top: 2px solid #e0c097;
  font-size: 1em;
  color: #013220;
  text-align: center;
}

.centered-text {
  text-align: center;
}

/* ===========================
   IMAGES & MEDIA
=========================== */

/* Generic centering for media and form elements */
img,
form,
input,
textarea,
button {
  display: block;
  margin: 0 auto;
}

/* Generic inputs */
input,
textarea {
  padding: 10px;
  width: 80%;
  max-width: 400px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Buttons (generic) */
button {
  margin: 20px auto;
  padding: 12px 24px;
  font-size: 18px;
  background-color: #f4c542;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* Welcome image */
.welcome-image img {
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.welcome-image figcaption {
  margin-top: 12px;
  font-size: 1.2em;
  color: #4a90e2;
  font-style: italic;
  text-shadow: 0 0 8px rgba(74, 144, 226, 0.6);
}

/* Vision image */
.vision-image img {
  width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
}

.vision-text {
  font-size: 22px;
  line-height: 1.8;
  max-width: 800px;
  margin: 30px auto;
  color: #333;
  text-align: center;
}

/* Who action / participation */
.who-action {
  font-size: 20px;
  line-height: 1.7;
  max-width: 750px;
  margin: 20px auto;
  color: #444;
  text-align: center;
}

/* How it works image */
.how-it-works-image img {
  max-width: 500px;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.how-it-works-image img:hover {
  transform: scale(1.02) rotate(-1deg);
  filter: brightness(1.1);
}

/* How it works text */
.how-title {
  font-size: 28px;
  text-align: center;
  margin-top: 40px;
  color: #333;
}

.how-steps p,
.how-it-works p {
  font-size: 20px;
  line-height: 1.7;
  max-width: 750px;
  margin: 15px auto;
  text-align: center;
  color: #444;
}

/* Welcome text variants */
.welcome-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #002147;
  text-align: center;
  letter-spacing: 4px;
}

.welcome-message,
.welcome-intro,
.welcome-body {
  font-size: 24px;
  line-height: 1.8;
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  color: #333;
}

/* ===========================
   ANIMATIONS & ANIMATED ELEMENTS
=========================== */

/* Tree animation */
.animated-tree {
  width: 100%;
  max-width: 400px;
  animation: waveFloat 5s ease-in-out infinite;
  display: block;
  margin: 0 auto;
}

/* Who image animated */
.who-image-animated {
  border: 3px solid red;
  animation: waveFloat 5s ease-in-out infinite;
}

/* Paper ripple */
.paper-image img {
  animation: rippleFloat 5s ease-in-out infinite;
}

/* Call-to-action glow is using blinkGlow via .call-to-action */

/* Keyframes */
@keyframes sunriseGlow {
  from { opacity: 0; transform: scale(0.95); text-shadow: none; }
  to { opacity: 1; transform: scale(1); text-shadow: 0 0 10px #fdd9a0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes waveFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes sway {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(1.5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes swayTree {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0px rgba(0, 255, 127, 0.3); }
  50%  { box-shadow: 0 0 20px rgba(0, 255, 127, 0.6); }
  100% { box-shadow: 0 0 0px rgba(0, 255, 127, 0.3); }
}

@keyframes rippleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px) rotate(-1deg); }
  100% { transform: translateY(0); }
}

@keyframes blinkGlow {
  0%, 100% { text-shadow: 0 0 10px #fdd9a0; }
  50%      { text-shadow: 0 0 20px #f4a261; }
}

/* ===========================
   CONTACT FORM & BUTTONS
=========================== */

/* Contact section wrapper */
.contact-section {
  padding: 20px;
  background: #f9f9f9;
}

/* Base form layout */
.contact-form {
  max-width: 600px;
  margin: 20px auto;
  display: block;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

/* Labels */
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 20px;
  color: #013220;
}

/* Inputs, textarea, select */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 18px;
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 30px;
  margin-top: 10px;
  font-size: 18px;
}

/* Send button */
.contact-form button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  box-shadow: 0 0 12px #f39c12;
}

.contact-form button:hover {
  background-color: #45a049;
}

/* ===========================
   MOBILE & RESPONSIVE
=========================== */

/* General mobile tweaks */
@media (max-width: 768px) {
  .contact-form {
    width: 100%;
    padding: 10px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 18px;
  }

  .radio-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .vision-image img {
    width: 100%;
    max-width: 600px;
  }

  .welcome-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 15px;
  }

  .contact-form {
    padding: 15px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 16px;
  }

  .welcome-title,
  .section-title {
    font-size: 26px;
  }

  .welcome-message,
  .welcome-intro,
  .welcome-body,
  .vision-text,
  .who-action,
  .how-steps p {
    font-size: 18px;
  }
}

/* Ensure form visibility on mobile (safe version, no !important) */
@media (max-width: 768px) {
  .contact-form,
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    display: block;
    width: 100%;
    visibility: visible;
  }
   /* ===========================
   MUSIC BUTTON
=========================== */

#music-btn {
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid #013220;
  background-color: #4CAF50;
  color: white;
  margin: 20px auto;
  display: inline-block;
}

#music-btn:hover {
  background-color: #45a049;
}

/* Blinking effect when music is playing */
.blinking {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

  .confirmation-message {
  display: block !important;
}
 
}






