/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(240, 245, 255, 0.9) 0%, rgba(232, 239, 253, 0.9) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.1) 0%, rgba(67, 97, 238, 0.1) 100%);
    z-index: 0;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-image {
    max-width: 90%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

/* Stats Cards */
.stats-card {
    background-color: white;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.stats-card:hover {
    transform: translateY(-5px);
}

.counter-value {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, rgba(240, 245, 255, 0.9) 0%, rgba(232, 239, 253, 0.9) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.steps-card {
    transition: all 0.3s ease;
}

.steps-card:hover .steps-icon {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: white !important;
}

.steps-card:hover .steps-icon i {
    color: white !important;
}

.steps-icon {
    transition: all 0.3s ease;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .text-gradient {
        font-size: 2.5rem;
    }

    .counter-value {
        font-size: 2rem;
    }
}

/* Placeholder image styling */
.placeholder-fallback {
    border-radius: 10px;
    border: 1px dashed var(--primary-color);
}