
:root {
    /* Color Variables */
    --primary-color: #FF6B35;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --background-color: #F7F3E9;
    --text-color: #2C3E50;
    --button-color: #E74C3C;
    --button-hover: #c0392b;
    --progress-bg: #ECF0F1;
    --progress-fill: #27AE60;
    --border-color: #2C3E50;
    --shadow-color: rgba(44, 62, 80, 0.3);
    --cloud-colour: rgba(192, 57, 43, 0.3);
    color-scheme: only light;
}

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

body {
    font-family: 'Arial Black', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
}

.background-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.cloud {
    fill: var(--cloud-colour);
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    max-width: auto;
    background: white;
    border: 8px solid var(--border-color);
    border-radius: 25px;
    box-shadow: 0 15px 30px var(--shadow-color);
}

.donate-btn {
    background-color: var(--button-color);
    color: white;
    border: 5px solid var(--border-color);
    padding: 15px 30px;
    font-size: 24px;
    font-weight: 900;
    border-radius: 15px;
    cursor: pointer;
    margin: 0 auto 30px;
    display: block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    text-align: center;
    width: fit-content;
}

.donate-btn:hover {
    background-color: var(--button-hover);
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.raised-section {
    text-align: center;
    margin: 30px 0px 50px 0px;
}

.raised-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 10px 0;
    text-shadow: 3px 3px 0px var(--accent-color);
    transition: all 0.3s ease;
}

.amount:hover {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.progress-container {
    width: 100%;
    height: 30px;
    background-color: var(--progress-bg);
    border: 4px solid var(--border-color);
    border-radius: 20px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(45deg, var(--progress-fill), var(--secondary-color));
    border-radius: 15px;
    transition: width 2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.target-info {
    text-align: center;
    font-size: 16px;
    color: var(--text-color);
    margin-top: 10px;
}

.progress-section {
    position: relative;
}

.thank-you {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(80%) translateX(-40%) rotate(-15deg);
    font-size: 24px;
    color: var(--secondary-color);
    font-style: italic;
    font-weight: bold;
    transition: all 0.3s ease;
}

.thank-you:hover {
    color: var(--primary-color);
    transform: translateY(80%) translateX(-40%) rotate(-15deg) scale(1.1);
}

.info-section {
    margin: 30px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:nth-child(even) {
    flex-direction: row-reverse;
}

.info-box {
    background-color: var(--accent-color);
    border: 5px solid var(--border-color);
    border-radius: 15px;
    padding: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
}

.info-text-flex{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.bold-arrow-container {
    width: 100%;
    display: flex;
    justify-content: left;
}

.bold-arrow-flex {
    width: 100px;
}

.info-text {
    width: 100%;
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
}

.info-box.hovered {
    /* transform: scale(1.05) rotate(2deg); */
    box-shadow: 0 8px 16px var(--shadow-color);
}

.info-box.village {
    background-color: var(--primary-color);
    color: white;
}

.info-box.nepal {
    background-color: var(--secondary-color);
    color: white;
}

.info-box.cycling {
    background-color: var(--accent-color);
    color: white;
}

.info-image {
    width: 95%;
    height: 95%;
    border-radius: 15px;
    object-fit: cover;
}

.church-info {
    text-align: center;
    font-size: 16px;
    color: var(--text-color);
    font-style: italic;
}

.image-container {
    width: auto;
    margin-top: 10px;
}

.church-info img {
    width: 100px;
    transition: all 0.3s ease;
}

.church-info img:hover {
    transform: scale(1.05) rotate(2deg);
}

.bottom-donate {
    margin-top: 30px;
}

.stamp {
    position: absolute;
    left: 50%;
    transform: translateY(-80%) translateX(80%) rotate(-15deg);
    padding: 25px 25px;
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    letter-spacing: 2px;
    background-color: white;
    border: 5px solid var(--secondary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stamp:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-80%) translateX(80%) rotate(-15deg) scale(1.1);
}

/* Pulse animation for donate buttons */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.donate-btn:focus {
    animation: pulse 1.5s infinite;
}

.bold-arrow {
  fill: var(--primary-color); /* Bold red */
  stroke: var(--border-color);
  stroke-width: 5px;
  transform: rotate(15deg);
  transition: all 0.3s ease;
}

.bold-arrow:hover {
    transition: all 0.3s ease;
    fill: var(--secondary-color);
    transform: rotate(20deg) scale(1.1);
}

/* Responsive design */
@media (max-width: 650px) {
    .container {
        margin: 10px;
        padding: 20px;
        border-width: 5px;
    }
    
    .amount {
        font-size: 36px;
    }
    
    .donate-btn {
        font-size: 20px;
        padding: 12px 25px;
    }
    
    .info-item {
        flex-direction: column !important;
        align-items: stretch;
    }
    
    .info-item:nth-child(even) {
        flex-direction: column !important;
    }
    
    .info-box {
        flex: none;
        min-height: 150px;
        max-height: 200px;
    }
    
    .thank-you {
        position: static;
        text-align: center;
        transform: rotate(0deg);
        margin-top: 15px;
    }

    .thank-you:hover {
        transform: translateY(0) translateX(0) rotate(0) scale(1.1);
    }

    .bold-arrow-container {
        justify-content: center;
        margin-top: 20px;
    }

    .bold-arrow {
        transform: rotate(92deg);
    }

    .bold-arrow:hover {
        transform: rotate(92deg) scale(1.1);
    }

    .stamp {
        position: relative;
        margin-top: 15px;
        left: 0;
        transform: translateY(0) translateX(0) rotate(0);
        padding: 15px 15px;
    }

    .stamp:hover {
        transform: translateY(0) translateX(0) rotate(0) scale(1.1);
    }
}