/**
 * Servolution Modern UI Upgrade
 * Enhanced styling for better conversion and user experience
 */

/* ===== MODERN COLOR SCHEME ===== */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #F7931E;
    --accent-color: #FFD23F;
    --dark-bg: #0F0F0F;
    --light-text: #FFFFFF;
    --gray-text: #B8B8B8;
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hard: 0 20px 40px rgba(0,0,0,0.2);
}

/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(247,147,30,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255,107,53,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--gray-text);
}

.hero-hashtags {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 2.5rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255,210,63,0.1);
    border-radius: 50px;
    border: 2px solid var(--accent-color);
}

/* ===== MODERN CTA BUTTONS ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.4);
    color: white;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
}

.cta-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
    color: white;
}

/* ===== MINISTRY CARDS ===== */
.ministry-section {
    padding: 5rem 0;
}

.ministry-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ministry-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #333 !important;
    margin-bottom: 1rem;
}

.ministry-subtitle {
    font-size: 1.2rem;
    color: #666 !important;
    max-width: 600px;
    margin: 0 auto;
}

.ministry-group {
    margin-bottom: 3rem;
}

.ministry-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.ministry-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.ministry-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.ministry-card-link {
    color: white;
    text-decoration: none;
    display: block;
}

.ministry-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ministry-card:hover .ministry-card-title {
    color: var(--primary-color);
}

/* ===== INFO SECTIONS ===== */
.info-section {
    padding: 5rem 0;
}

.info-card {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-text);
}

/* ===== STATS COUNTER ===== */
.stats-section {
    padding: 3rem 0;
    background: var(--gradient-dark);
    border-radius: 20px;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    padding: 5rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== VOLUNTEER SHOWCASE ===== */
.volunteer-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.volunteer-showcase:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255,107,53,0.3);
}

.volunteer-showcase img {
    transition: all 0.3s ease;
}

.volunteer-showcase:hover img {
    transform: scale(1.1);
}

/* ===== VOLUNTEER GALLERY ===== */
.volunteer-gallery {
    margin-top: 3rem;
}

.volunteer-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.volunteer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,107,53,0.3);
    border-color: var(--primary-color);
}

.volunteer-card img {
    transition: all 0.3s ease;
    height: 250px;
    object-fit: cover;
}

.volunteer-card:hover img {
    transform: scale(1.1);
}

.volunteer-caption {
    text-align: center;
    color: var(--gray-text);
    font-size: 0.9rem;
    padding: 0.5rem;
}

.volunteer-caption small {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===== VOLUNTEER CARD SMALL ===== */
.volunteer-card-small {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

.volunteer-card-small:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255,107,53,0.4);
    border-color: var(--primary-color);
    z-index: 10;
}

.volunteer-card-small img {
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.volunteer-card-small:hover img {
    transform: scale(1.1);
}

/* ===== VOLUNTEER SHOWCASE GRID ===== */
.volunteer-showcase-grid {
    margin-top: 3rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .ministry-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .volunteer-showcase {
        display: none;
    }
    
    .volunteer-card img {
        height: 200px;
    }
    
    .volunteer-card-small {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-gallery .row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .volunteer-showcase-grid .col-6 {
        width: 50%;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LOADING STATES ===== */
.loading-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
