/* Hero Section with Floating Bubbles */
.hero-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 8rem 0;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Fluid background animation */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
    transform: rotate(-45deg);
    animation: wave 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Add floating bubbles */
.hero-section .bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-section .bubble:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.hero-section .bubble:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 10s;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
}

.hero-section .bubble:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 65%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 8s;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
}

.hero-section .bubble:nth-child(3) {
    width: 140px;
    height: 140px;
    top: 25%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 12s;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}

.hero-section .bubble:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 25%;
    animation-delay: 3s;
    animation-duration: 9s;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
}

.hero-section .bubble:nth-child(5) {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 35%;
    animation-delay: 2.5s;
    animation-duration: 11s;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
}

.hero-section .bubble:nth-child(6) {
    width: 160px;
    height: 160px;
    top: 45%;
    right: 5%;
    animation-delay: 0.5s;
    animation-duration: 14s;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
}

@keyframes float {
    0% { transform: translateY(0) scale(1) rotate(0); }
    25% { transform: translateY(-15px) scale(1.05) rotate(2deg); }
    50% { transform: translateY(-25px) scale(1.1) rotate(0); }
    75% { transform: translateY(-10px) scale(1.05) rotate(-2deg); }
    100% { transform: translateY(0) scale(1) rotate(0); }
}

@keyframes wave {
    0% { transform: translate(-50%, -50%) rotate(-45deg); }
    100% { transform: translate(-50%, -50%) rotate(315deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-hero {
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-hero::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.6s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.btn-hero.btn-light {
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    color: #28a745;
    border: none;
}

.btn-hero.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-hero.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 1);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 5;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #28a745;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Feature Cards */
.features-section {
    padding: 6rem 0;
    background: white;
}

.feature-card {
    border: none;
    border-radius: 25px;
    background: white;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(40, 167, 69, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon::before {
    width: 120px;
    height: 120px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
    position: relative;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
}

/* Page Load Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.delay-1 { animation-delay: 0.2s; }
.fade-in-up.delay-2 { animation-delay: 0.4s; }
.fade-in-up.delay-3 { animation-delay: 0.6s; }
.fade-in-up.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New Animations and Interactivity */
.floating-element { 
    animation: wave 6s cubic-bezier(0.23, 1, 0.32, 1) infinite; 
}

.radioactive {
    position: relative;
}

.radioactive:hover::before {
    content: ''; 
    position: absolute; 
    top: -10px; 
    left: -10px;
    right: -10px;
    bottom: -10px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    border-radius: 50px; 
    transition: all 0.4s;
}

@keyframes wave {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-10px) scale(1.05) rotate(180deg); }
}

/* Enhanced Typography */
.display-1 {
    font-weight: 900;
    font-size: 5.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.display-4 {
    font-weight: 800;
    font-size: 3.2rem;
    letter-spacing: -1px;
}

h1, h2, h3 {
    font-weight: 800;
}

h4, h5, h6 {
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
}
