/* Campaign Color Scheme */
:root {
  --campaign-yellow: #ffd43b;
  --campaign-blue: #0054a6;
  --campaign-light-blue: #0071ce;
  --campaign-dark-blue: #0054a6;
  --text-dark: #000000;
  --text-light: #5c5c5c;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --accent-green: #3b7251;
  --accent-pink: #e2a9c4;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.4;
  color: var(--text-dark);
  background: var(--white);
}

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

/* Header Section */
.header {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  color: var(--white);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("assets/header-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: -2;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: -1;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 250px;
  position: relative;
  z-index: 1;
}

.header-text {
  flex: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.main-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.header-image {
  display: none;
}

.hero-image {
  display: none;
}

/* Main Content Section */
.main-content {
  padding: 30px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
  position: relative;
  overflow: hidden;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  position: relative;
}

.content-text h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 15px;
  color: var(--campaign-blue);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 10px;
}

.content-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--campaign-yellow);
  border-radius: 2px;
}

.content-text p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.6;
  text-indent: 2rem;
  position: relative;
  padding-left: 15px;
  transition: all 0.3s ease;
}

.content-text p:first-of-type {
  font-size: 1.1rem;
  color: var(--campaign-blue);
  font-weight: 500;
}

.content-text p:last-of-type {
  font-size: 1.1rem;
  color: var(--campaign-blue);
  font-weight: 600;
  font-style: italic;
  text-align: center;
  background: linear-gradient(135deg, var(--campaign-yellow) 0%, #ffe066 100%);
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-indent: 0;
  margin-top: 20px;
  position: relative;
}

.content-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.campaign-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--campaign-yellow);
  transition: all 0.4s ease;
  position: relative;
}

.campaign-image::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(
    45deg,
    var(--campaign-yellow),
    var(--campaign-blue)
  );
  border-radius: 25px;
  z-index: -1;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.content-image:hover .campaign-image::before {
  opacity: 0.6;
}

.content-image:hover .campaign-image {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* How it Works Section */
.how-it-works {
  padding: 40px 0;
  background: var(--gray-100);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--campaign-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.works-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--campaign-blue);
}

.works-text p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.5;
  text-indent: 2rem;
}

/* Step styling */
.step {
  margin-bottom: 25px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.step-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--campaign-blue);
  min-width: 20px;
}

.step-icon {
  font-size: 1.3rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--campaign-blue);
}

.step-quote {
  font-style: italic;
  color: var(--campaign-blue);
  font-weight: 500;
  text-indent: 0 !important;
}

.works-action {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sms-box {
  background: var(--white);
  border: 3px solid var(--campaign-yellow);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 200px;
}

.sms-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.sms-icon {
  font-size: 1.5rem;
}

.sms-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--campaign-blue);
}

.sms-content {
  text-align: center;
}

.sms-text {
  font-size: 2rem;
  font-weight: 900;
  color: var(--campaign-yellow);
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.sms-info {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Testimonial Section */
.testimonial {
  padding: 40px 0;
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}

.testimonial-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.child-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--campaign-yellow);
  box-shadow: var(--shadow);
}

.testimonial-text blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
  position: relative;
}

.testimonial-text blockquote::before {
  content: '"';
  font-size: 3rem;
  color: var(--campaign-yellow);
  position: absolute;
  left: -20px;
  top: -10px;
  font-family: serif;
}

.testimonial-text cite {
  font-size: 0.9rem;
  color: var(--campaign-blue);
  font-weight: 500;
}

/* Call to Action Section */
.call-to-action {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--campaign-yellow) 0%, #ffe066 100%);
  text-align: center;
}

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

.cta-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.donate-btn {
  background: var(--campaign-blue);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  min-height: 50px;
  min-width: 200px;
}

.donate-btn:hover {
  background: var(--campaign-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.donate-btn:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-text {
  white-space: nowrap;
}

.btn-info {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.cta-qr {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-code {
  text-align: center;
}

.qr-image {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--campaign-yellow);
  background: var(--white);
  padding: 15px;
  margin-bottom: 15px;
}

.qr-subtext {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--campaign-dark-blue);
  color: var(--white);
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

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

.footer-logo-image {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.footer-info a {
  color: var(--campaign-yellow);
  text-decoration: none;
  font-weight: 500;
}

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

/* Mobile-First Responsive Design */
/* Default styles are mobile-first */
.container {
  padding: 0 15px;
}

.header-content {
  flex-direction: column;
  text-align: center;
  gap: 15px;
  min-height: 150px;
}

.main-title {
  font-size: 2rem;
}

.subtitle {
  font-size: 1rem;
}

.content-grid {
  grid-template-columns: 1fr;
  gap: 25px;
}

.works-grid {
  grid-template-columns: 1fr;
  gap: 25px;
}

.testimonial-grid {
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
}

.cta-grid {
  grid-template-columns: 1fr;
  gap: 25px;
}

.footer-content {
  flex-direction: column;
  text-align: center;
  gap: 20px;
}

.footer-info {
  text-align: center;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header-content {
    flex-direction: row;
    text-align: left;
    min-height: 200px;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    text-align: left;
  }

  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: row;
    text-align: left;
  }

  .footer-info {
    text-align: right;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .header-content {
    min-height: 250px;
  }

  .main-title {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }
}

/* Mobile-specific enhancements */
@media (max-width: 768px) {
  .header {
    padding: 10px 0;
    min-height: 200px;
  }

  .main-content,
  .how-it-works,
  .testimonial,
  .call-to-action {
    padding: 25px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .works-text h3 {
    font-size: 1.3rem;
  }

  .step-header {
    gap: 8px;
  }

  .step-number {
    font-size: 1.1rem;
    min-width: 18px;
  }

  .step-icon {
    font-size: 1.2rem;
  }

  .step-title {
    font-size: 1rem;
  }

  .content-text h2 {
    font-size: 1.8rem;
  }

  .content-text p:last-of-type {
    font-size: 1.1rem;
    padding: 15px;
  }

  .content-grid::after {
    display: none;
  }

  .sms-box {
    padding: 15px;
    min-width: 180px;
  }

  .sms-text {
    font-size: 1.5rem;
  }

  .donate-btn {
    padding: 12px 25px;
    font-size: 1rem;
    min-width: 180px;
  }

  .qr-image {
    width: 150px;
    height: 150px;
    padding: 10px;
  }

  .child-photo {
    width: 120px;
    height: 120px;
  }

  .testimonial-text blockquote {
    font-size: 1rem;
  }

  .testimonial-text blockquote::before {
    font-size: 2rem;
    left: -15px;
    top: -5px;
  }

  .footer-logo-image {
    height: 50px;
    max-width: 150px;
  }
}

/* Touch-friendly interactions */
.donate-btn,
.sms-box {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.donate-btn:focus,
.sms-box:focus {
  outline: 2px solid var(--campaign-yellow);
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--campaign-yellow);
  outline-offset: 2px;
}

/* Animation for interactive elements */
.sms-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-image:hover,
.campaign-image:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--campaign-yellow);
  color: var(--campaign-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
}

.back-to-top.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--campaign-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.back-to-top:active {
  transform: translateY(-1px);
}

.arrow-up {
  line-height: 1;
}

/* Mobile adjustments for back-to-top button */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}
