body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f8f8f8;
    color: #333;
}

.content {
    max-width: 80%;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content h2 {
    text-align: center;
    color: #002244;
    margin-bottom: 20px;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.partner-item {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: justify;
    transition: transform 0.3s ease, border 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.1);
    border: 1px solid rgb(43, 43, 248);
}

.partner-item h3 {
    color: #002244;
    margin-bottom: 10px;
}

/* Responsive Styles for Tablet and Mobile */

@media (max-width: 1024px) { /* Tablet View */
    .content {
        /* width: 70%; */
        margin: 30px auto;
        padding: 15px;
    }

    .partner-item {
        width: 45%; /* Reduce the width of items for better fit */
    }
}

@media (max-width: 768px) { /* Mobile View */
    .content {
        /* width: 90%; */
        margin: 20px auto;
        padding: 15px;
    }

    .partners-list {
        flex-direction: column; /* Stack items vertically */
        gap: 20px; /* Reduce gap between items */
    }

    .partner-item {
        width: 100%; /* Full width for mobile */
    }
}

@media (max-width: 400px) { /* Extra Small Mobile View */
    .content {
        padding: 15px;
    }

  
    .partner-item {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .partner-item h3 {
        font-size: 18px; /* Reduce heading size for readability */
    }

    .partner-item p {
        font-size: 14px; /* Smaller font for text */
    }
}
