/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

/* Header */
.header {
    background-color: white;
    padding: 15px;
    text-align: center;
}

.logo img {
    width: 150px;
}


/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 90vh; /* Stretched height for desktop */
    overflow: hidden;
}

/* Full overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Text */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 20px;
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    box-sizing: border-box;
}

/* Call-to-Action Button */
.cta-btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #6A1B1A;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.2s ease;
}

.cta-btn:hover {
    background-color: #6a0dad;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero-text {
        padding: 20px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}








/* Content Sections */
.content-section {
    padding: 50px 10%;
    background: white;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    text-align: center;
    color: #6A1B1A; /* Deep red */
    font-size: 28px;
}

.content-section p {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

/* Get Involved Grid */
.involve-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}

/* Support Us Boxes */
.support-boxes {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.support-box {
    flex: 1;
    text-align: center;
    background: #6a0dad; /* Deep purple */
    color: white;
    padding: 20px;
    border-radius: 8px;
    min-width: 250px;
}

/* Style for Donate Buttons */
.donate-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: white; /* White background */
    color: #6A1B1A; /* Deep red text */
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #6A1B1A; /* Red border to match the text */
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.donate-button:hover {
    background-color: #6A1B1A; /* Deep red background on hover */
    color: white; /* White text on hover */
    transform: scale(1.05); /* Slightly increase the size on hover */
}



/* Footer (Remains Unchanged) */
.footer {
    background: #9370DB;
    color: white;
    text-align: center;
    padding: 20px 10px;
}

.footer-social h3 {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 10px;
}



/* Prevent horizontal scroll and shaking */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    touch-action: manipulation; /* Helps prevent weird touch behavior */
    overscroll-behavior-x: none; /* Prevents bounce on mobile */
    position: relative;
}





.purple {
    color: #C800FF; /* Brighter electric purple */
}

.deep-red {
    color: #FF0033; /* Vivid deep red */
}

.white {
    color: #ffffff;
}

.hero-text h1 span,
.hero-text p span {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}






.back-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px 20px;
  background-color: #800080; /* Purple */
  color: #fff;            /* Deep Red */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  z-index: 9999;
  transition: background-color 0.3s;
}
.back-btn:hover {
  background-color: #4B004B; /* Darker purple on hover */
}