﻿

body {
    box-sizing: border-box;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}
/*
.services-container {
    max-width: 1500px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
.service-card {
    flex: 3;
    min-width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-left: 30px;
    padding-right: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}
*/
.services-container {
    max-width: 1400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 5px;
}

.service-card {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 1px;
    /*box-shadow: 0 1px 2px rgba(0,0,0,0.1);*/
    background-color: white;
}

.group-card {
    flex: 1;
    min-width: 300px;
    
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 1px;
    /*box-shadow: 0 1px 2px rgba(0,0,0,0.1);*/
    background-color: white;
}
.upload-box {
    background: white;
    border-radius: 5px;
    /*box-shadow: 0 2px 3px rgba(0,0,0,0.1);*/
    padding: 2px;
    text-align: center;
    margin-bottom: 10px;
}
.group-box {
    border: 1px solid lightgray;
    background: white;
    border-radius: 5px;
    /*box-shadow: 0 2px 3px rgba(0,0,0,0.1);*/
    padding: 2px;
    text-align: center;
    margin-top: 1px;
    margin-bottom: 1px;
    margin-left: 5px;
    margin-right: 5px;
}


    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    }

    .service-card.selected {
        border-color: #3498db;
    }

    .service-card.popular {
        border-color: #e74c3c;
    }

        .service-card.popular::before {
            content: "Most Popular";
            position: absolute;
            top: -10px;
            right: 10px;
            background: #e74c3c;
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: bold;
        }

    .service-card h2 {
        color: #2c3e50;
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .service-card h3 {
        color: #7f8c8d;
        font-size: 1rem;
        margin-bottom: 10px;
        font-weight: normal;
    }

    .service-card ul {
        list-style-type: none;
        margin-bottom: 20px;
    }

    .service-card li {
        padding: 1px 0;
        border-bottom: 1px solid #ecf0f1;
        position: relative;
        padding-left: 2px;
    }

        .service-card li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #27ae60;
            font-weight: bold;
        }

.select-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background 0.3s ease;
}

    .select-button:hover {
        background: #2980b9;
    }

    .select-button.selected {
        background: #27ae60;
    }

    .select-button.popular {
        background: #e74c3c;
    }

        .select-button.popular:hover {
            background: #c0392b;
        }

.total-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.total-amount {
    color: #e74c3c;
    font-size: 1.5rem;
}

/* Media query - now properly placed in CSS */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
    }

    .service-card {
        min-width: 100%;
    }
}
}

/*======================================================================================*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .service-card h2 {
        color: #2c3e50;
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    .service-card h3 {
        color: #7f8c8d;
        font-size: 1rem;
        margin-bottom: 15px;
        font-weight: normal;
    }

    .service-card ul {
        list-style-type: none;
        margin-bottom: 20px;
        flex-grow: 1; /* This makes the list take up available space */
    }

    .service-card li {
        padding: 8px 0;
        border-bottom: 1px solid #ecf0f1;
        position: relative;
        padding-left: 25px;
    }

        .service-card li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #27ae60;
            font-weight: bold;
        }

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 15px;
}

.select-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background 0.3s ease;
    margin-top: auto; /* This pushes the button to the bottom */
}

    .select-button:hover {
        background: #2980b9;
    }

    .select-button.selected {
        background: #27ae60;
    }

.total-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.total-amount {
    color: #e74c3c;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
    }

    .service-card {
        min-width: 100%;
    }
}

/*======================================================================================*/