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

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* This ensures the body takes the full height of the viewport */
  color: #fff;
  position: relative;
  overflow: auto; /* Enable scrolling */
  user-select: none;
}

/* Ripple Background */
.ripple-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Ensures it stays behind other elements */
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5); /* Slightly transparent for effect */
  animation: ripple 15s infinite;
  box-shadow: 0px 0px 1px 0px #508fb9;
}

.small {
  width: 200px;
  height: 200px;
  left: -100px;
  bottom: -100px;
}

.medium {
  width: 400px;
  height: 400px;
  left: -200px;
  bottom: -200px;
}

.large {
  width: 600px;
  height: 600px;
  left: -300px;
  bottom: -300px;
}

.xlarge {
  width: 800px;
  height: 800px;
  left: -400px;
  bottom: -400px;
}

.xxlarge {
  width: 1000px;
  height: 1000px;
  left: -500px;
  bottom: -500px;
}

.shade1 {
  opacity: 0.2;
}

.shade2 {
  opacity: 0.5;
}

.shade3 {
  opacity: 0.7;
}

.shade4 {
  opacity: 0.8;
}

.shade5 {
  opacity: 0.9;
}

@keyframes ripple {
  0% {
      transform: scale(0.8);
  }
  50% {
      transform: scale(1.2);
  }
  100% {
      transform: scale(0.8);
  }
}

/* Main Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  z-index: 1; /* Ensure content is above the ripple background */
}

/* Title and Card Styles remain unchanged */
.title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeIn 1.5s ease;
}

.intro-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.card {
  background: #ffffff;
  border-radius: 15px;
  width: 220px; /* Fixed width for larger screens */
  height: 260px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  overflow: hidden;
  text-align: center;
  animation: fadeInUp 1s ease;
  text-decoration: none;
  max-width: 100%; /* Ensures it doesn't exceed container width */
}

.card:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-title {
  font-size: 1.25rem;
  margin: 2rem 0;
  color: #0072ff;
}

/* Extra Info */
.extra-info {
  margin: 2rem 0;
  font-size: 1rem;
  max-width: 600px;
  padding-bottom: 0;
}

.donate-button {
  background-color: #f67070; /* Orange color similar to Blender's donation button */
  color: #ffffff; /* White text */
  padding: 12px 24px; /* Slightly increased padding for a larger button */
  border-radius: 30px; /* Rounded corners */
  font-size: 1.2rem; /* Text size */
  bottom: 18px;
  margin-top: 50px;
  font-weight: bold; /* Bold text for emphasis */
  text-align: center; /* Centered text */
  text-decoration: none; /* Remove underline from links */
  position: relative; /* For pseudo-element positioning */
  overflow: hidden; /* Prevent overflow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3), 
              0 0 15px rgba(255, 255, 255, 0.5); /* Initial glow effect */
  
}

.donate-button::after {
  content: ""; /* Create a pseudo-element for the glow effect */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px; /* Match border radius of the button */
  background: rgba(255, 255, 255, 0.2); /* Light white color for glow */
  opacity: 0; /* Start invisible */
  transition: opacity 0.3s ease; /* Smooth transition */
  z-index: -1; /* Place behind the button */
}

.donate-button:hover {
  transform: translateY(-3px); /* Slight lift effect */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 
              0 0 20px rgba(255, 255, 255, 0.7); /* Enhanced glow on hover */
}

.donate-button:hover::after {
  opacity: 1; /* Show glow effect on hover */
}

@keyframes pulse {
  0% {
    transform: translateY(-3px); /* Lifted position */
  }
  100% {
    transform: translateY(-5px); /* Further lifted position */
  }
}




/* Footer Styling */
.footer {
  background-color: rgba(0, 0, 0, 0.8); /* Slightly transparent background */
  display: flex;
  justify-content: space-around; /* Space buttons evenly */
  align-items: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px; /* Thinner height for the footer */
  z-index: 10;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3); /* Reduced shadow for depth */
}

/* Footer Button Styling */
.footer-link {
  color: #ffffff; /* White text */
  text-decoration: none;
  font-size: 16px;
  font-weight: bold; /* Make text bold */
  padding: 5px 15px; /* Adjusted padding for a smaller button */
  border-radius: 5px; /* Rounded corners */
  transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

.footer-link:hover {
  background: linear-gradient(135deg, #a5e3ff, #008cff);
  color: black;
  transform: scale(1.1); /* Slightly enlarge on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow on hover */
}










/* Ensure the title stays as it is */
.title {
  font-size: 2.5rem; /* Adjust title font size as needed */
  font-weight: bold;
  display: inline-block; /* Keeps the title inline with the logo */
}

/* Style for the logo */
.main-logo {
  width: 50px; /* Set the size of the logo */
  height: auto;
  margin-left: 5px; /* Add margin to the left of the logo */
  vertical-align: text-bottom; /* Align the logo vertically in the middle of the text */
}

/* Mobile optimization for the logo */
@media (max-width: 768px) {
  .main-logo {
    width: 50px; /* Adjust logo size for mobile */
    margin-left: 8px;
  }
}

@media (max-width: 480px) {
  .main-logo {
    width: 45px; /* Further reduce logo size for smaller devices */
    margin-left: 6px;
  }
}