* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

body {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ffffff;
    margin-top: 3%;
    margin-bottom: 10%;
    background-image: url('../img/bg.png');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
     
}

.header {
    padding: 20px;
    width: 100%;
    text-align: center;
}

.logo {
    width: 130px;
}


.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 80%;
    max-width: 1200px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.26);
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
}

.icon {
    font-size: 40px;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 15px;
}

p.description {
    margin-bottom: 20px;
    color: #666;
}


/* Border colors */
.green-border {
    border-color: #33cc33;
    color: #33cc33;

}
.green-border:hover {
    background-color: #33cc33;
    color: white;
    text-decoration :  none;
}

.blue-border {
    border-color: #007bff;
    color: #007bff;
}
.blue-border:hover{
    background-color: #007bff;
    color: white;
    text-decoration :  none;
}

.red-border {
    border-color: #dc3545;
    color: #dc3545;
}
.red-border:hover{
    background-color: #dc3545;
    color: white;
    text-decoration :  none;
}

.yellow-border {
    border-color: #ffc107;
    color:#ffc107;
}
.yellow-border:hover{
    background-color: #ffc107;
    color: white;
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }

    .card p.description {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .card .icon {
        font-size: 30px;
    }

    .card h2 {
        font-size: 18px;
    }

    .card p.description {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
    }

    .card .icon {
        font-size: 25px;
    }

    .card h2 {
        font-size: 16px;
    }

    .card p.description {
        display: none;
    }
}
