﻿/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero h1,
.hero h4 {
    color: #ffffff;
}

.hero .btn {
    background-color: #ffffff;
    color: #2a5298;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

    .hero .btn:hover {
        background-color: #dbeafe;
        color: #1e3c72;
        transform: translateY(-2px);
    }

/* Section Title */
.section-title {
    color: #1e3c72;
    font-weight: bold;
}

/* Feature Cards */
.card-feature ul {
    padding-left: 1.5rem;
}

.card-feature li {
    margin-bottom: 0.5rem;
}

/* Comparison Table – Clean Header Background */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

    .comparison-table thead {
        background-color: #f5f5f5; /* Light neutral background */
    }

    .comparison-table th {
        font-weight: 700;
        padding: 1rem;
        text-align: center;
        border-bottom: 2px solid #ddd;
        color: #374151;
    }

        .comparison-table th:nth-child(2) {
            color: #FF5722; /* Strong Orange - Lupini Beans */
        }

        .comparison-table th:nth-child(3) {
            color: #B71C1C; /* Strong Red - Soybeans */
        }

    .comparison-table tbody tr:nth-child(even) {
        background-color: #fefefe;
    }

    .comparison-table tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .comparison-table td {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #ddd;
        color: #263238;
    }

        .comparison-table td:nth-child(2) {
            color: #E65100; /* Vibrant Orange */
            font-weight: 600;
        }

        .comparison-table td:nth-child(3) {
            color: #C62828; /* Deep Red */
            font-weight: 600;
        }

    .comparison-table tbody tr:hover {
        background-color: #f9f9f9;
    }

/* Step Cards */
.step-card {
    border-left-width: 5px;
    transition: all 0.3s ease;
}

    .step-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
    }

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #2a5298;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

/* Collapsible Text */
.show-more-less {
    color: #1e3c72;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 0.5rem;
}

.collapsed-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

    .collapsed-content.show {
        max-height: 1000px; /* Adjust based on content */
        opacity: 1;
    }

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    animation-fill-mode: both;
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
}

/* Enhanced Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    }

.btn {
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

/* Pulse Animation for Important Elements */
.pulse-on-hover:hover {
    animation: pulse 1.5s infinite;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .step-card {
        margin-bottom: 15px;
    }
}
