
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}


.details {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 93vh;
    padding: 20px;
    flex-wrap: wrap;
}


.details-card {
    width: 350px; 
    height: 400px; 
    border-radius: 10px;
    background-color: rgba(255, 166, 0, 0.8); 
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px;
    padding: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.details-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.15); 
}


h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}


button {
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}


button:hover {
    background-color: #f8f9fa;
    color: #333;
    transform: translateY(-2px); 
}

@media (max-width: 768px) {
    .details {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        height: auto;
    }

    .details-card {
        width: 85%; 
        height: 180px; 
        padding: 15px; 
        margin-bottom: 15px; 
    }

    h3 {
        font-size: 1.4rem; 
    }

    button {
        padding: 10px 18px;
        font-size: 1rem;
    }
}
