.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4e89ffc9;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='0.1' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 120px;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='0.1' stroke-width='2'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    animation: float 8s ease-in-out infinite;
}

.hero-decoration {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='0.1' stroke-width='2'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {

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

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

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
}

/* Responsive image styles */
.hero-subheading {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;

    /* Default size for larger screens */
    width: 800px;
}

/* Responsive breakpoints for the image */
@media (max-width: 1200px) {
    .hero-subheading {
        width: 700px;
    }
}

@media (max-width: 992px) {
    .hero-subheading {
        width: 600px;
    }
}

@media (max-width: 768px) {
    .hero-subheading {
        width: 500px;
    }

    .hero-section::before,
    .hero-section::after {
        width: 80px;
        height: 80px;
    }

    .hero-decoration {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-subheading {
        width: 400px;
    }

    .hero-section::before,
    .hero-section::after {
        width: 60px;
        height: 60px;
    }

    .hero-decoration {
        width: 50px;
        height: 50px;
    }

    .hero-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-subheading {
        width: 320px;
    }
}

@media (max-width: 380px) {
    .hero-subheading {
        width: 280px;
    }
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-headline {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: #0f4077;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.feature-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 5rem 0;
    background: white;
}

.how-it-works-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.how-it-works-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.how-it-works-card:hover {
    border-color: #4361ee;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #0f4077;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ==================== BLOG SECTION ==================== */
.blog-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: linear-gradient(135deg, #4361ee, #38b000, #ff9e00);
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: #4361ee;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: #38b000;
    text-decoration: underline;
}

/* ==================== FINAL CTA SECTION ==================== */
.final-cta {
    background: #0f4077;
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.final-cta-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.final-cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: white;
    color: #38b000;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.final-cta-button:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
    .final-cta-headline {
        font-size: 1.8rem;
    }
}