/* Rotary Milestone Section */
.rotary-milestone {
    padding: 60px 0;
    background: linear-gradient(135deg, #00539f 0%, #1e7e34 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.rotary-milestone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.milestone-item {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.milestone-item:hover {
    transform: translateY(-5px);
}

.milestone-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ffc107;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.milestone-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Animated counter for numbers */
.milestone-number.animate {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .rotary-milestone {
        padding: 40px 0;
    }
    
    .milestone-number {
        font-size: 2.5rem;
    }
    
    .milestone-label {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .milestone-item {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .milestone-number {
        font-size: 2rem;
    }
    
    .milestone-label {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
}
/* Nepalese currency specific styles */
.milestone-number.currency {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffc107;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.milestone-subtext {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-style: italic;
}

/* Ensure proper spacing for NPR */
.milestone-number.currency::before {
    content: '';
    display: inline-block;
    width: 4px;
}

/* Optional: Add Nepalese flag color theme */
.rotary-milestone {
    background: linear-gradient(135deg, #003893 0%, #DC143C 100%);
    /* Nepal flag colors: Blue (#003893) and Red (#DC143C) */
}

/* Responsive adjustments for currency */
@media (max-width: 992px) {
    .milestone-number.currency {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .milestone-number.currency {
        font-size: 1.6rem;
    }
    
    .milestone-subtext {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .milestone-number.currency {
        font-size: 1.4rem;
    }
    
    .milestone-subtext {
        display: none; /* Hide subtext on very small screens */
    }
}
