 
.hero {
                position: relative;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Aligns content to bottom */
    text-align: center;
    background: linear-gradient(135deg, #1A3157 0%, #1A3157 100%);
        }
        
        

.health-content {
    max-width: 800px;
    padding: 20px;
    margin-bottom: 20px; /* Space from bottom edge */
}

.hero h1 {
    font-size: 42px;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 18px;
    color: #F5F7FA;
    margin-bottom: 30px;
    animation: fadeInUp 1.1s ease-out;
}



       /* General Styles for Sections */
.services, .why-choose, .how-it-works, .client-impact, .testimonial {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #fff; /* Bright white base for light mode */
}

.services::before, .why-choose::before, .how-it-works::before, .client-impact::before, .testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 0;
    animation: shimmer 6s infinite linear;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.services-overview {
        padding: 60px 20px;
        background: #F5F7FA;
        text-align: center;
    }
    .overview-content h2 {
        font-size: 36px;
        color: #1A3157;
        margin-bottom: 20px;
    }
    .overview-content p {
        font-size: 16px;
        color: #555555;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* Services Section */
    .services {
        padding: 80px 20px;
        background: #FFFFFF;
    }
    .services h2 {
        font-size: 36px;
        color: #1A3157;
        text-align: center;
        margin-bottom: 40px;
    }
    .services-category {
        margin-bottom: 50px;
    }
    .services-category h3 {
        font-size: 28px;
        color: #1A3157;
        text-align: center;
        margin-bottom: 30px;
    }
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }
    .service-item {
        background: #F9FAFB;
        padding: 30px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        animation: fadeInUp 0.5s ease-out;
        animation-delay: calc(var(--i) * 0.1s);
    }
    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    .service-item i {
        font-size: 40px;
        color: #007BFF;
        margin-bottom: 20px;
    }
    .service-item h4 {
        font-size: 22px;
        color: #1A3157;
        margin-bottom: 15px;
    }
    .service-item p {
        font-size: 16px;
        color: #555555;
    }

/* Responsive Design for Our Services Section */
@media (max-width: 768px) {
    .services {
        padding: 80px 15px;
    }

    .services h2 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stacked on mobile */
        gap: 30px;
        padding: 0;
    }

    .service-item {
        width: 100%;
        margin: 0 auto 20px;
    }

    .service-item i {
        font-size: 40px;
    }
}
/* Why Choose Hecown Section */
.why-choose {
    background: #e0e7ff;
}

.why-choose h2 {
    font-size: 48px;
    color: #1a3157;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-item {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeInUp 1.2s ease-out;
    animation-delay: calc(0.3s * var(--i));
    position: relative;
    z-index: 1;
}

.why-item::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.1);
}

.why-item:hover::before {
    opacity: 1;
}

.why-item i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
    animation: pulse 1s infinite alternate;
}

.why-item:hover i {
    transform: scale(1.1);
    color: #0056b3;
}

.why-item p {
    font-size: 20px;
    color: #1a3157;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* How It Works Section */
.how-it-works {
    background: #fff;
}

.how-it-works h2 {
    font-size: 48px;
    color: #1a3157;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.step {
    width: 200px;
    background: linear-gradient(135deg, #fff, #e0e7ff);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeInUp 1.2s ease-out;
    animation-delay: calc(0.3s * var(--i));
    position: relative;
    z-index: 1;
}

.step::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.1);
}

.step:hover::before {
    opacity: 1;
}

.step i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
    animation: pulse 1s infinite alternate;
}

.step:hover i {
    transform: scale(1.1);
    color: #0056b3;
}

.step span {
    display: block;
    font-size: 24px;
    color: #1a3157;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.step p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* Client Impact Section */
.client-impact {
    background: #e0e7ff;
}

.client-impact h2 {
    font-size: 40px;
    color: #1a3157;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.impact-item {
    background: #fff;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeInUp 1.2s ease-out;
    animation-delay: calc(0.3s * var(--i));
    position: relative;
    z-index: 1;
}

.impact-item::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.impact-item:nth-child(1) { --i: 1; }
.impact-item:nth-child(2) { --i: 2; }
.impact-item:nth-child(3) { --i: 3; }
.impact-item:nth-child(4) { --i: 4; }

.impact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.1);
}

.impact-item:hover::before {
    opacity: 1;
}

.impact-item span {
    font-size: 36px;
    color: #007bff;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
    transition: color 0.3s ease;
}

.impact-item:hover span {
    color: #0056b3;
}

.impact-item p {
    font-size: 20px;
    color: #1a3157;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Testimonials Section */
.testimonial {
    background: #fff;
}

.testimonial h2 {
    font-size: 48px;
    color: #1a3157;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-item {
    background: linear-gradient(135deg, #fff, #e0e7ff);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeInUp 1.2s ease-out;
    animation-delay: calc(0.3s * var(--i));
    position: relative;
    z-index: 1;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-item:nth-child(1) { --i: 1; }
.testimonial-item:nth-child(2) { --i: 2; }
.testimonial-item:nth-child(3) { --i: 3; }

.testimonial-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.1);
}

.testimonial-item:hover::before {
    opacity: 1;
}

.testimonial-item p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.testimonial-item span {
    font-size: 16px;
    color: #1a3157;
    font-weight: 600;
    display: block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Responsive Design for All Sections */
@media (max-width: 768px) {
    .services, .why-choose, .how-it-works, .client-impact, .testimonial {
        padding: 80px 15px;
    }

    .services h2, .why-choose h2, .how-it-works h2, .client-impact h2, .testimonial h2 {
        font-size: 36px;
    }

    .services-grid, .why-grid, .steps, .impact-grid, .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }

    .service-item, .why-item, .step, .impact-item, .testimonial-item {
        width: 100%;
        margin: 0 auto 20px;
    }

    .service-item i, .why-item i, .step i, .impact-item i {
        font-size: 40px;
    }
}


.compliance-security {
        padding: 80px 20px;
        background: #FFFFFF;
        text-align: center;
    }
    .section-title h2 {
        font-size: 36px;
        color: #1A3157;
        margin-bottom: 15px;
    }
    .section-title p {
        font-size: 16px;
        color: #555555;
        max-width: 700px;
        margin: 0 auto 40px;
    }
    .security-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }
    .security-item {
        background: #F9FAFB;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        animation: fadeInUp 0.5s ease-out;
        animation-delay: calc(var(--i) * 0.1s);
    }
    .security-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    .security-item i {
        font-size: 40px;
        color: #007BFF;
        margin-bottom: 20px;
    }
    .security-item h3 {
        font-size: 22px;
        color: #1A3157;
        margin-bottom: 15px;
    }
    .security-item p {
        font-size: 16px;
        color: #555555;
        line-height: 1.6;
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
        .compliance-security {
            padding: 50px 15px;
        }
        .section-title h2 {
            font-size: 28px;
        }
        .section-title p {
            font-size: 14px;
        }
        .security-item {
            padding: 20px;
        }
        .security-item h3 {
            font-size: 20px;
        }
        .security-item p {
            font-size: 14px;
        }
    }

    /* Animation Keyframes */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }