:root {
  --primary-blue: #2B44FF;
  --primary-blue-dark: #1A33DD;
  --secondary-teal: #1A4A4F;
  --secondary-teal-dark: #0A3A3F;
  --accent-gold: #FFBB00;
  --accent-gold-dark: #E6A800;
  --text-dark: #0A3A3F;
  --text-gray: #666666;
  --bg-light: #F0F4F6;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-strong: rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--white);
  color: var(--text-gray);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar Styles */
.top-bar {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 20px;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--white);
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.8;
}

/* Header Styles */
header {
  background-color: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 10px var(--shadow);
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: block;
  max-width: 200px;
}

.logo-img {
  width: 100%;
  height: auto;
}

/* Navigation Styles */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--primary-blue);
}

.donate-nav-button {
  background-color: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}

.donate-nav-button:hover {
  background-color: var(--primary-blue-dark);
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 60px;
}

.info-section {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--primary-blue);
}

.info-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-strong);
}

.donation-section {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--accent-gold);
}

.donation-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-strong);
}

h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--secondary-teal);
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
}

p {
  margin-bottom: 20px;
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

.impact-stats {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-box {
  text-align: center;
  flex: 1;
  min-width: 120px;
  padding: 25px 15px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(43, 68, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

.stat-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(43, 68, 255, 0.4);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.stat-label {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.donation-form {
  margin-top: 30px;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.05rem;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--bg-light);
  border-radius: 8px;
  font-size: 1.05rem;
  background-color: var(--bg-light);
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

input:focus {
  border-color: var(--primary-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 68, 255, 0.2);
}

.amount-presets {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.preset-btn {
  flex: 1;
  min-width: 80px;
  padding: 12px;
  background: var(--bg-light);
  border: 2px solid var(--bg-light);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-dark);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.preset-btn:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.preset-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(255, 187, 0, 0.3);
}

/* DO NOT CHANGE THE CLASS NAME - it's used by the payment system */
.intaSendPayButton {
  background: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  border: none;
  color: var(--white);
  padding: 18px 25px;
  width: 100%;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 15px rgba(255, 187, 0, 0.3);
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.intaSendPayButton::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
  z-index: 1;
}

.intaSendPayButton:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(255, 187, 0, 0.4);
}

.intaSendPayButton:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(255, 187, 0, 0.3);
}

.gallery {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  margin: 30px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--bg-light);
}

.gallery::-webkit-scrollbar {
  height: 8px;
}

.gallery::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 4px;
}

.gallery::-webkit-scrollbar-thumb {
  background-color: var(--accent-gold);
  border-radius: 4px;
}

.gallery-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid var(--white);
}

.gallery-img:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 15px 30px var(--shadow-strong);
  border-color: var(--accent-gold);
}

.testimonial {
  background: var(--bg-light);
  border-left: 5px solid var(--primary-blue);
  padding: 25px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  color: rgba(43, 68, 255, 0.1);
  font-family: Georgia, serif;
}

.testimonial-author {
  font-weight: 700;
  font-style: normal;
  margin-top: 15px;
  text-align: right;
  color: var(--text-dark);
}

footer {
  text-align: center;
  margin-top: 70px;
  padding: 40px 20px;
  background: var(--bg-gradient);
  color: var(--white);
  font-size: 0.95rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to right bottom, transparent 49%, var(--secondary-teal) 50%);
}

.social-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  color: var(--accent-gold);
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-3px);
}

/* Payment Status Modal - DO NOT CHANGE CLASS NAMES */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(0);
  animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: all 0.3s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal:hover {
  background: #f0f0f0;
  color: #333;
}

.status-icon {
  font-size: 5rem;
  margin-bottom: 25px;
  display: inline-block;
}

.success-icon {
  color: #4CAF50;
  animation: pulse 2s infinite;
}

.error-icon {
  color: #F44336;
}

.processing-icon {
  color: var(--primary-blue);
  animation: spin 1.5s linear infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-weight: 700;
}

.modal-message {
  margin-bottom: 30px;
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.6;
}

.modal-button {
  background: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(255, 187, 0, 0.3);
}

.modal-button:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 187, 0, 0.4);
}

.modal-button:active {
  transform: translateY(0);
}

/* Donation options with checkmarks */
.donation-options {
  margin: 30px 0;
}

.donation-option {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.donation-option:hover {
  transform: translateX(5px);
}

.donation-option-icon {
  width: 30px;
  height: 30px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--white);
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(255, 187, 0, 0.3);
  flex-shrink: 0;
}

.donation-option-text {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.05rem;
}

/* Call to action section */
.cta-section {
  background-color: var(--accent-gold);
  padding: 40px 20px;
  margin: 40px 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--secondary-teal);
  clip-path: polygon(0 0, 100% 0, 100% 15%, 0 30%, 0 70%, 100% 85%, 100% 100%, 0 100%);
  opacity: 0.1;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--white);
}

.cta-button {
  background-color: var(--white);
  color: var(--accent-gold);
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-button:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo {
    font-size: 1.8rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .main-content {
    flex-direction: column;
  }
  
  .impact-stats {
    flex-direction: column;
  }
  
  .stat-box {
    margin: 5px 0;
  }
  
  .cta-title {
    font-size: 1.6rem;
  }
}
