/* Base Section Styling */
.products-section {
    background-color: var(--theme-light); /* Light grey background */
    padding: 80px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-web {
    max-width: 800px;
    margin: 0 auto;
}

/* Typography */
.section-title {
    color: #cc0000; /* Deep red color */
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Search Bar Layout */
.search-wrapper {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden; /* Ensures corners stay clean */
    background: #fff;
}

.search-input {
    flex-grow: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
    background-color: #f8f9fa; /* Slight tint inside input */
}

.search-button {
    background-color: #cc0000;
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-button:hover {
    background-color: #a30000;
}



/* priduct grid section  */

.product-grid-section {
    background-color: #ffffff;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(286px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease-in-out; /* Handles the smooth animation */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- HOVER EFFECTS --- */
.product-card:hover {
    border-color: #cc0000; /* Red Border */
    transform: translateY(-10px); /* Lift Upwards */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Adds depth when lifted */
}

.card-icon img {
    width: 50px;
    height: auto;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
    min-height: 50px; /* Keeps titles aligned */
}

.card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes button to the bottom */
}

.btn-trial {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: var(--theme-light);
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
    background-color: var(--theme-red);
}

.btn-trial:hover {
    background-color: var(--theme-deep-red);
    color: #fff;
    border-color: var(--theme-red);
}

.btn-grp{
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width:1024px){
    .btn-trial{
        font-size: small;
    }
    .btn-grp{
        display: flex;
        gap: 1rem;
    }
}