/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('../img/admin-ajax-Edited.jpg') center/cover no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 20%, 
        rgba(255, 255, 255, 0.85) 50%, 
        rgba(255, 255, 255, 0.6) 70%,
        rgba(255, 255, 255, 0.3) 85%,
        rgba(255, 255, 255, 0.1) 95%,
        transparent 100%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

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

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

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

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

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

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

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.5;
}

.stats-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(15px);
    -webkit-backdrop-filter: saturate(180%) blur(15px);
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.44) inset, 
                0 4px 20px 0 rgba(0, 0, 0, 0.1);
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.44) inset, 
                0 15px 35px 0 rgba(0, 0, 0, 0.15);
}

.stats-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stats-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Services Section */
#services {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(15px);
    -webkit-backdrop-filter: saturate(180%) blur(15px);
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-align: center;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.44) inset, 
                0 4px 20px 0 rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.44) inset, 
                0 20px 40px 0 rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.5);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    font-size: 0.85rem;
}

.feature-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Mobile Responsive for Homepage */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        padding: 0 15px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }
    
    .stats-card {
        margin-bottom: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .feature-item {
        margin-bottom: 1rem;
    }
    
    /* Services section mobile spacing */
    #services {
        padding: 4rem 0;
    }
    
    #services .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* About section mobile spacing */
    .about-section {
        padding: 4rem 0;
    }
    
    .about-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 1.5rem;
    }
    
    .stats-card {
        padding: 1.2rem 0.8rem;
    }
    
    .stats-number {
        font-size: 2.2rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    /* Hero action buttons mobile */
    .hero-section .btn-primary-gradient,
    .hero-section .btn-secondary-glass {
        padding: 12px 24px;
        font-size: 0.9rem;
        margin: 0.3rem;
        display: block;
        width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    /* Grid adjustments for mobile */
    .row > div {
        margin-bottom: 1.5rem;
    }
    
    /* Feature items mobile */
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
}