﻿/* FILE: wwwroot/css/site.css */

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1b263b;
    margin: 0;
    padding: 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        color: #4361ee;
        position: relative;
        display: inline-block;
    }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: #4361ee;
            border-radius: 2px;
        }

    .section-header .section-subtitle {
        font-size: 1.1rem;
        color: #495057;
        max-width: 700px;
        margin: 0 auto;
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    border: none;
}

    .btn:active {
        transform: scale(0.98);
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15);
    }

    .btn.primary {
        background: #4361ee;
        color: white;
    }

        .btn.primary:hover {
            background: #3f37c9;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
            color: white;
        }

    .btn.pulse {
        animation: pulse 2s infinite;
    }

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

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

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

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1b263b 0%, #4361ee 100%);
    color: white;
    overflow: hidden;
}

    .hero .hero-content {
        position: relative;
        z-index: 2;
    }

        .hero .hero-content h1 {
            font-size: 3.5rem;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero .hero-content .lead {
            font-size: 1.3rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }

    .hero .hero-image {
        text-align: center;
        position: relative;
        z-index: 2;
    }

        .hero .hero-image img {
            max-width: 100%;
            height: auto;
            animation: float 6s ease-in-out infinite;
            transform: scale(1.3) rotate(-10deg) translateY(20px);
        }

    .hero .buttons {
        display: flex;
        gap: 15px;
        margin-top: 30px;
    }

    .hero .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, #4361ee, #4cc9f0, #f72585);
        background-size: 400% 400%;
        animation: gradientFlow 10s ease infinite;
        opacity: 0.2;
        z-index: 1;
    }

@keyframes float {
    0% {
        transform: translateY(0) scale(1.3) rotate(-10deg);
    }

    30% {
        transform: translateY(-20px) scale(1.33) rotate(-10deg);
    }

    60% {
        transform: translateY(10px) scale(1.3) rotate(-10deg);
    }

    100% {
        transform: translateY(0) scale(1.32) rotate(-10deg);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e8edff);
}

    .about .about-content {
        margin-top: 40px;
    }

    .about .about-text p {
        margin-bottom: 30px;
        font-size: 1.1rem;
        color: #495057;
    }

    .about .icon-innovation,
    .about .icon-support {
        width: 40px;
    }

    .about .about-image img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .about .features-grid {
        margin-top: 30px;
    }

    .about .feature-item {
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        height: 100%;
    }

        .about .feature-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

    .about .feature-icon {
        width: 60px;
        height: 60px;
        background: rgba(67, 97, 238, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    .about h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: #1b263b;
    }

    .about p {
        font-size: 0.95rem;
        color: #495057;
    }

/* Products Section */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff, #f0f4ff);
}

    .products .product-grid {
        margin-top: 40px;
    }

    .products .product-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

        .products .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

    .products .product-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #f72585;
        color: white;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        z-index: 2;
    }

    .products .product-icon {
        padding: 30px;
        text-align: center;
    }

        .products .product-icon img {
            width: 200px;
            max-width: 100%;
            height: auto;
        }

    .products .content {
        padding: 25px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

        .products .content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: #1b263b;
        }

        .products .content p {
            color: #495057;
            margin-bottom: 20px;
            font-size: 0.95rem;
            flex: 1;
        }





    /* Products Section */
    .products .product-footer {
        display: flex;
        flex-direction: column; /* Stack button and tags vertically */
        gap: 15px; /* Space between button and tags */
        margin-top: auto;
        align-items: flex-start; /* Align items to the start for consistency */
    }

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #4361ee;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 22px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
    width: 100%; /* Button takes full row width */
}

    .product-btn i {
        font-size: 1rem;
        transition: transform 0.3s ease;
    }

    .product-btn:hover {
        background: #3f37c9;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(63, 55, 201, 0.3);
        color: white;
    }

        .product-btn:hover i {
            transform: translateX(6px);
        }

.products .product-tags {
    display: flex;
    gap: 8px; /* Slightly larger gap for better tag spacing */
    flex-wrap: wrap;
    width: 100%; /* Tags take full row width */
}

    .products .product-tags .tag {
        background: rgba(67, 97, 238, 0.1);
        color: #4361ee;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: 600;
    }
