/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

/* Header Styles */
.header {
  background-color: #fff;
  padding: 20px 0;
}

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

.logo-placeholder {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.logo-image {
  height: 32px;
  width: auto;
}

.back-btn {
  background-color: #6022A6;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.back-btn:hover {
  background-color: #7742b3;
}

.back-btn:active {
  transform: scale(0.98);
}

/* Purple Pledge Section */
.purple-pledge-section {
  background-color: #6022A6;
  padding: 60px 20px;
}

.purple-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pledge-left {
  color: #fff;
}

.pledge-title {
  font-size: 64px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 40px;
  text-align: center;
}

.ribbon-graphic-placeholder {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.placeholder-text {
  color: #fff;
  font-size: 16px;
  opacity: 0.7;
}

/* Form Container */
.form-container {
  background-color: #7742b3;
  border-radius: 15px;
  color: #fff;
}

.form-title-container {
  background-color: #421389;
  padding: 10px;
  border-radius: 0 0 15px 15px;
}

.form-title {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

.pledge-form {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
  align-items: center;
}

.form-group label {
  color: #fff;
  font-size: 14px;
  text-align: left;
  font-weight: bold;
}

.required-asterisk {
  color: #ff0000;
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  padding: 10px;
  border: 1px solid #fff;
  background-color: #fff;
  color: #000;
  font-size: 14px;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
  outline: none;
  border: 1px solid #f8d754;
}

.checkbox-group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  flex: 1;
  cursor: pointer;
}

.submit-btn {
  background-color: #f8d754;
  color: #000;
  padding: 10px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
  align-self: flex-end;
}

.submit-btn:hover {
  background-color: #ffc107;
}

.submit-btn:active {
  transform: scale(0.98);
}

/* Pledge Details Section */
.pledge-details-section {
  background-color: #fff;
  padding: 20px;
}

.details-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: start;
}

.details-title {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin-bottom: 40px;
  text-align: left;
}

.pledge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.pledge-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pledge-icon-placeholder {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pledge-icon-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pledge-text {
  color: #000;
  font-size: 18px;
  line-height: 1.6;
  flex: 1;
}

/* Concluding Section */
.concluding-section {
  background-color: #fff;
  padding: 20px;
}

.concluding-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: start;
}

.concluding-text {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

/* Disclaimer Section */
.disclaimer-section {
  background-color: #fff;
  padding: 20px;
}

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

.disclaimer-title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.disclaimer-list {
  list-style-position: inside;
  color: #000;
  font-size: 14px;
  line-height: 1.2;
}

.disclaimer-list li {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: #fff;
  padding: 30px 20px;
}

.footer-separator {
  height: 1px;
  background-color: #ccc;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  margin-bottom: 15px;
  font-size: 14px;
  color: #999;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  margin: 0 5px;
  text-decoration: underline;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links span {
  margin: 0 5px;
}

.copyright {
  font-size: 12px;
  color: #999;
}

/* Certificate Page Styles */
.thank-you-section {
  background-color: #fff;
  padding: 30px 20px;
}

.thank-you-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-text {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.certificate-section {
  background-color: #fff;
  padding: 40px 20px 60px;
}

.certificate-container {
  max-width: 800px;
  margin: 0 auto 40px;
  border: 2px solid #ebecec;
  background-color: #fff;
  position: relative;
}

.certificate-inner {
  position: relative;
  padding: 40px 40px 0 40px;
}

.certificate-inner > img:first-child {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width:50%
}

.certificate-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.certificate-title {
  font-size: 36px;
  font-weight: 800;
  color: #6022A6;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.certificate-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-align: center;
  margin-bottom: 15px;
}

.certificate-body {
  text-align: center;
}

.certificate-name {
  font-size: 32px;
  font-weight: bold;
  color: #6022A6;
  margin-bottom: 15px;
}

.certificate-text-container {
  padding: 0 50px;
}

.certificate-text {
  font-size: 20px;
  color: #000;
  line-height: 1.6;
  border-top: 2px solid #6022A6;
}

.certificate-decorations {
  position: relative;
  height: 200px;
  width: 100%;
}

.certificate-decorations img {
  width: 100%;
  object-fit: contain;
} 

.download-section {
  text-align: center;
  font-weight: bold;
}

.download-btn {
  background-color: #ffd700;
  color: #000;
  padding: 15px 50px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #ffc107;
}

.download-btn:active {
  transform: scale(0.98);
}

/* Responsive Design */
@media (max-width: 968px) {
  .header-container {
    flex-wrap: wrap;
    gap: 15px;
  }

  .back-btn {
    font-size: 12px;
    padding: 8px 16px;
  }

  .purple-container {
    grid-template-columns: 1fr;
  }

  .pledge-title {
    font-size: 48px;
    text-align: center;
  }

  .pledge-grid {
    grid-template-columns: 1fr;
  }

  .certificate-title {
    font-size: 28px;
  }

  .certificate-name {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .pledge-title {
    font-size: 36px;
  }

  .details-title {
    font-size: 24px;
  }

  .certificate-title {
    font-size: 24px;
  }

  .certificate-name {
    font-size: 20px;
  }

  .certificate-decorations{
    height: 100%;
  }
}
