html {
  font-size: 45%; /* 1rem = 10px */
}

/* --- Base and Container --- */
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  /* This gradient background will apply to the whole page */
  background: linear-gradient(102deg, rgba(251, 250, 250, 0.00) -0.22%, rgba(247, 248, 250, 0.00) 75.02%, #FFA4A7 100.75%, #FFC8CA 103.64%);
  background-attachment: fixed;
}

/* ===============================
  STYLES FOR START HERO
  ===============================
*/
.start-hero {
  width: 100%;
  height: 63.3rem; /* 633px */
  background: #D21117;
  flex-shrink: 0;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.start-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2rem 4rem;
  gap: 1.5rem;
}
.home-link {
  color: #FFF;
  text-align: center;
  font-family: "DM Sans";
  font-size: 2.4rem; /* 24px */
  font-weight: 300;
  text-decoration: none;
  line-height: 1;
}
.login-btn {
  width: 14.1rem; /* 141px */
  height: 4.9rem; /* 49px */
  flex-shrink: 0;
  border-radius: 0.6rem; /* 6px */
  background: #7BC3FF;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-family: "DM Sans";
  font-size: 2.4rem; /* 24px */
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}
.start-content {
  padding-left: 6rem;
  margin-top: 2rem;
  z-index: 10;
}
.start-content h1 {
  max-width: 127.7rem; /* 1277px */
  color: #FFF;
  font-family: "DM Sans";
  font-size: 12.8rem; /* 128px */
  font-weight: 400;
  line-height: 10rem; /* 100px */
  letter-spacing: -0.3rem; /* -3px */
  margin: 0 0 1rem 0;
  opacity: 0;
  animation: fadeInSlideUp 1.5s ease forwards;
}
.start-content p {
  max-width: 56.3rem; /* 563px */
  color: #FFF;
  font-family: "Source Serif 4";
  font-size: 4.8rem; /* 48px */
  font-style: italic;
  font-weight: 400;
  line-height: 5rem; /* 50px */
  margin: 20;
  transform: translateY(10rem);
}

.dashboard-icon {
  width: 500rem; 
  height: 0rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-7rem);

}



@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(2rem); /* 20px */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
  STYLES FOR ACCORDION
  ===============================
*/
.module-container {
  width: 100%;
  max-width: 144.3rem; /* 1443px */
  min-height: 146rem; /* 1460px */
  margin: 0 auto;
  margin-top: 5rem; /* 50px */
  padding: 4rem 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem; /* 25px */
}
.module-item {
  width: 100%;
  max-width: 120.5rem; /* 1205px */
  flex-shrink: 0;
  border-radius: 1rem; /* 10px */
  background: #FFF;
  box-shadow: 0 1rem 1rem 0.5rem rgba(221, 206, 206, 0.50);
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}
.module-item.closed {
  max-height: 11.4rem; /* 114px */
}
.module-item.closed .module-content {
  display: none;
}
.module-item.closed .module-header {
  cursor: pointer;
}
.module-item.open {
  max-height: 47.2rem; /* 472px */
}
.module-item.open .module-header {
  display: none;
}
.module-item.open .module-content {
  display: block;
  padding: 3rem 4rem;
  box-sizing: border-box;
  animation: fadeInContent 1s ease;
}
.module-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 4rem;
  height: 11.4rem; /* 114px */
  animation: fadeInContent 0.5s ease;
}
.module-tag {
  display: flex;
  width: 15rem; /* 141px */
  height: 4.8rem; /* 48px */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 2.4rem; /* 24px */
  color: #FFF;
  text-align: center;
  font-family: "DM Sans";
  font-size: 2.4rem; /* 24px */
  font-weight: 300;
  line-height: 1;
}
.module-tag.blue {
  background: #B9DFFF;
  color: #353635;
}
.module-item.closed .module-tag.blue {
  background: #B9DFFF;
  color: #353635;
}
.module-content .module-tag.blue {
  background: #B9DFFF;
  color: #353635;
}
.module-tag.grey {
  background: #BDBDBD;
  color: #FFF;
}
.module-title-closed {
  color: #D21117;
  font-family: "Source Serif 4";
  font-size: 4rem; /* 40px */

  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.2rem; /* -3px */
  margin: 0;
}
.module-title-open {
  color: #D21117;
  font-family: "Source Serif 4";
  font-size: 9.6rem; /* 96px */

  font-weight: 400;
  line-height: 8rem; /* 80px */
  letter-spacing: -0.3rem; /* -3px */
  margin: 1rem 0 1.5rem 0;
}
.module-subtitle {
  color: #4B4E53;
  font-family: Inter, sans-serif;
  font-size: 2.3rem; /* 28px */
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.025rem; /* 0.25px */
  max-width: 100rem; /* 811px */
  margin-bottom: 2rem;
}
.start-button {
  display: inline-flex;
  width: 19.9rem; /* 199px */
  height: 6.9rem; /* 69px */
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: #D21117;
  border-radius: 0.8rem; /* 8px */
  color: #FFF;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 2.8rem; /* 28px */
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025rem; /* 0.25px */
  text-decoration: none;
  transition: background 0.3s;
}
.start-button:hover {
  background: #a10e13;
}
.deco-line {
  position: absolute;
  right: 12rem; /* 120px */
  top: 0;
  height: 100%;
  width: 2px;
  background: #D21117;
  opacity: 0.3;
}
.deco-circle-container {
  position: absolute;
  right: 7rem; /* 70px */
  top: 6rem; /* 60px */
  width: 10rem; /* 100px */
  height: 10rem; /* 100px */
}
.deco-circle {
  width: 9rem; /* 90px */
  height: 9rem; /* 90px */
  border: 2px solid #D21117;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.deco-clover {
  width: 60%;
  height: 60%;
  position: relative;
  transform: rotate(45deg);
}
.petal {
  position: absolute;
  width: 50%;
  height: 50%;
  background: #C2DFFE;
  border-radius: 50%;
}
.petal.top-left { top: 0; left: 0; }
.petal.top-right { top: 0; right: 0; }
.petal.bottom-left { bottom: 0; left: 0; }
.petal.bottom-right { bottom: 0; right: 0; }
@keyframes fadeInContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===============================
  STYLES FOR MODALS
  ===============================
*/
#main-content.blurred {
  filter: blur(0.8rem); /* 8px */
  transition: filter 0.3s ease-out;
  pointer-events: none;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  width: 100rem; /* 1000px */
  height: 50rem; /* 500px */
  flex-shrink: 0;
  border-radius: 1rem; /* 10px */
  background: #D21117;
  box-shadow: 0 0rem 6rem 0.5rem rgba(221, 206, 206, 0.50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem; /* 20px */
  position: relative;
  padding: 2rem;
  box-sizing: border-box;
  transform: scale(0.95);
  transition: transform 0.3s ease-out;
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}
.modal-text-1 {
  max-width: 103.1rem; /* 1031px */
  color: #FFF;
  text-align: center;
  font-family: "DM Sans";
  font-size: 2.5rem; /* 25px */
  font-weight: 300;
  line-height: 1.3;
  margin: 0;
}
.modal-text-2 {
  max-width: 103.1rem; /* 1031px */
  color: #FFF;
  text-align: center;
  font-family: "DM Sans";
  font-size: 2.5rem; /* 25px */
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.modal-donate-btn {
  width: 45.4rem; /* 454px */
  height: 6.9rem; /* 69px */
  flex-shrink: 0;
  background: #FFF;
  border-radius: 0.8rem; /* 8px */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #D21117;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 2.8rem; /* 28px */
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025rem; /* 0.25px */
  text-decoration: none;
  transition: transform 0.2s ease;
}
.modal-donate-btn:hover {
  transform: scale(1.05);
}
.modal-footer {
  max-width: 97.1rem; /* 971px */
  color: #FFF;
  text-align: center;
  font-family: "Source Serif 4";
  font-size: 3.2rem; /* 32px */
  font-style: italic;
  font-weight: 600;
  line-height: 3.6rem; /* 36px */
  margin: 0;
  margin-top: 2rem; /* 20px */
}
.close-modal {
  position: absolute;
  top: 1.5rem; /* 15px */
  right: 2.5rem; /* 25px */
  background: none;
  border: none;
  color: white;
  font-size: 4.8rem; /* 48px */
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

/* Login Modal */
.login-modal-box {
  background: #FFFFFF;
  width: 45rem; /* 450px */
  height: auto;
  gap: 1.5rem; /* 15px */
  padding: 2.5rem;
}
.login-modal-box h2 {
  color: #D21117;
  font-family: "Source Serif 4", serif;
  font-size: 4.8rem; /* 48px */
  font-style: italic;
  margin: 0 0 1rem 0;
  text-align: center;
}
.login-modal-box .close-modal {
  color: #333;
  top: 1rem; /* 10px */
  right: 2rem; /* 20px */
}
#login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem; /* 20px */
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* 8px */
}
.form-group label {
  color: #4B4E53;
  font-family: "DM Sans", sans-serif;
  font-size: 1.8rem; /* 18px */
  font-weight: 500;
}
.form-group input {
  width: 100%;
  padding: 1.2rem; /* 12px */
  border: 1px solid #BDBDBD;
  border-radius: 0.6rem; /* 6px */
  font-size: 1.6rem; /* 16px */
  box-sizing: border-box;
}
.login-modal-box .modal-donate-btn {
  background: #D21117;
  color: #FFF;
  width: 100%;
  margin-top: 1rem; /* 10px */
}
.login-modal-box .modal-donate-btn:hover {
  background: #a10e13;
  transform: scale(1.02);
}
.login-error-message {
  color: #D21117;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  text-align: center;
  margin: 0;
  display: none;
}
/* ===============================
   FOOTER STYLES (New Layout)
   ===============================
*/
.footer {
  width: 100%;
  height: 20rem; /* Auto height */
  min-height: 0rem; /* 251px */
  background: #7BC3FF;
  display: flex;
  justify-content: space-between; /* Pushes items to ends */
  align-items: center;
  padding: 4rem 6rem; /* Add padding */
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: 5rem;
  flex-wrap: wrap; /* Allows wrapping on small screens */
  gap: 2rem; /* Adds space between items if they wrap */
}

/* Container for the text on the left */
.footer-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-text {
  color: #FFF;
  font-family: "Source Serif 4", serif;
  font-size: 3rem; /* 40px */
  font-weight: 400;
  line-height: 1.5; /* Adjusted */
  letter-spacing: -0.2rem; /* -2px */
  margin: 0;
}

.footer-text.italic {
  font-style: italic;
}

/* Red box for the icon on the right */
.footer-icon-box {
  width: 10rem; /* 120px */
  height: 10rem; /* 120px */
  background: #D21117;
  border-radius: 0.8rem; /* 8px */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto; /* Pushes icon to the right */
}

.footer-icon {
  width: 7.8rem; /* 77.938px */
  height: 7.7rem; /* 76.589px */
  flex-shrink: 0;
}