﻿/* Hero Section Styles */
.hero-section {
   
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    color: white;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.hero-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color); /* Lighter blue base */
    color: var(--navy-blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden; /* Contain the water */
    transition: all 0.3s ease;
    z-index: 1;
}

/* Water layer */
.hero-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Full height for the wave effect */
    background: linear-gradient(
        to top,
        var(--primary-color), /* Light vibrant blue */
        rgba(135, 206, 250, 0.7) 70%, /* Fading to semi-transparent */
        transparent
    );
    z-index: -1; /* Behind text */
    animation: waveFlow 2s ease-in-out infinite; /* Sinusoidal wave effect */
    clip-path: polygon(
        0% 50%, /* Starting point at half height */
        25% calc(50% - 10px * sin(0deg)), /* Wave dips and rises */
        50% calc(50% - 10px * sin(90deg)),
        75% calc(50% - 10px * sin(180deg)),
        100% calc(50% - 10px * sin(270deg)),
        100% 100%,
        0% 100%
    ); /* Creates a wavy top edge */
}

/* Hover state */
.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(30, 144, 255, 0.4);
}

/* Sinusoidal wave animation */
@keyframes waveFlow {
    0% {
        clip-path: polygon(
            0% 50%,
            25% calc(50% - 10px * sin(0deg)),
            50% calc(50% - 10px * sin(90deg)),
            75% calc(50% - 10px * sin(180deg)),
            100% calc(50% - 10px * sin(270deg)),
            100% 100%,
            0% 100%
        );
    }
    50% {
        clip-path: polygon(
            0% 50%,
            25% calc(50% - 10px * sin(180deg)),
            50% calc(50% - 10px * sin(270deg)),
            75% calc(50% - 10px * sin(0deg)),
            100% calc(50% - 10px * sin(90deg)),
            100% 100%,
            0% 100%
        );
    }
    100% {
        clip-path: polygon(
            0% 50%,
            25% calc(50% - 10px * sin(0deg)),
            50% calc(50% - 10px * sin(90deg)),
            75% calc(50% - 10px * sin(180deg)),
            100% calc(50% - 10px * sin(270deg)),
            100% 100%,
            0% 100%
        );
    }
}
.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }
}




/* Stats Section Styles */
.stats-section {
    padding: 3rem 2rem;
    text-align: center;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color); /* Vibrant blue */
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

    .stats-title::after {
        content: '';
        position: absolute;
        width: 50%;
        height: 3px;
        background: var(--steel-blue); /* Lighter blue underline */
        bottom: -0.5rem;
        left: 25%;
        transition: all 0.3s ease;
    }

    .stats-title:hover::after {
        width: 100%;
        left: 0;
    }

.stats-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    color: var(--navy-blue);
}

.stat-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
    

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--steel-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--cornflower-blue);
    line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stats-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stats-items {
        flex-direction: column;
    }
}





/* Features Section Styles */
.features-section {
    padding: 3rem 2rem;
    text-align: center;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

    .features-title::after {
        content: '';
        position: absolute;
        width: 50%;
        height: 3px;
        background: var(--steel-blue); /* Lighter blue underline */
        bottom: -0.5rem;
        left: 25%;
        transition: all 0.3s ease;
    }

    .features-title:hover::after {
        width: 100%;
        left: 0;
    }

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    min-width: 300px;
}

    .feature-image img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(30, 144, 255, 0.2);
    }

.feature-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.feature-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--steel-blue);
    margin-bottom: 1rem;
}

.feature-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--cornflower-blue);
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features-title {
        font-size: 1.5rem;
    }

    .feature-item,
    .feature-reverse {
        flex-direction: column;
        text-align: center;
    }

    .feature-content {
        text-align: center;
    }

    .feature-subtitle {
        font-size: 1.3rem;
    }

    .feature-text {
        font-size: 1rem;
    }
}



/* Products Section Styles */
.products-section {
    padding: 3rem 2rem;
    text-align: center;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

    .products-title::after {
        content: '';
        position: absolute;
        width: 50%;
        height: 3px;
        background: var(--secondary-color);
        bottom: -0.5rem;
        left: 25%;
        transition: all 0.3s ease;
    }

    .products-title:hover::after {
        width: 100%;
        left: 0;
    }

.products-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--steel-blue);
    margin-bottom: 3rem;
}

.product-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--navy-blue);
    margin-bottom: 2rem;
    position: relative;
}

    .category-title::after {
        content: '';
        position: absolute;
        width: 30%;
        height: 2px;
        background: var(--cornflower-blue);
        bottom: -0.5rem;
        left: 35%;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(30, 144, 255, 0.3);
    }

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--steel-blue);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--cornflower-blue);
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .products-title {
        font-size: 2rem;
    }

    .products-subtitle {
        font-size: 1rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .product-name {
        font-size: 1.2rem;
    }

    .product-desc {
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}