* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: azure;
}

nav {
    height: 7vh;
    width: 100%;
    display: flex;
    background-color: black;
    align-items: center;
}

.logo {
    margin-left: 20px;
    color: coral;
    font-size: 2.5rem;
    font-weight: 600;
}

ul {
    display: flex;
    margin-left: auto;
    margin-right: 20px;
}

li {
    padding: 15px 20px;
    font-size: large;
    font-weight: 300;
    text-align: center;
    list-style: none;
    color: white;
}

li:hover {
    color: antiquewhite;
    font-size: 1.2rem;
    cursor: pointer;
}

header {
    padding: 20px;
}

.para {
    font-size: 1.1rem;
    line-height: 1.5;
}

sections {
    padding: 20px;
}

.head10th {
    text-align: center;
    color: blueviolet;
    margin: 20px 0;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.card {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 15px;
    padding: 20px;
    width: calc(30% - 40px); /* Responsive width */
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.postname {
    font-size: 1.5rem;
    color: #333;
}

.image {
    height: 150px;
    width: 100%;
    background-color: #f0f0f0; /* Placeholder for image */
    border-radius: 8px;
    margin: 10px 0;
}

.postdetail {
    font-size: 0.9rem;
    color: #444;
    margin-top: 10px;
}

.postdetail a {
    color: blue;
    text-decoration: underline;
}

.faqheading {
    text-align: center;
    margin-top: 30px;
}

.faq {
    background-color: antiquewhite;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 1px 1px 5px rgba(51, 49, 49, 0.5);
    cursor: pointer;
}

.question {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon {
    transition: transform 0.2s;
}

.icon.active {
    transform: rotate(-180deg);
}

.ans {
    color: #666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s;
}

.ans.active {
    max-height: 150px;
}

.o {
    margin: 0 0 20px 0;
    font-size: 1rem;
}

footer {
    background-color: rgb(160, 157, 157);
    padding: 20px 0;
    text-align: center;
}

.foot {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.foot a {
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
}

footer p {
    color: gray;
    margin-top: 10px;
}


@media (max-width: 750px) {
    .card {
        width: calc(100% - 40px); /* Full width on small screens */
    }

    .logo {
        width: 100%;
        text-align: center;
        font-size: 2rem;
    }

    nav ul {
        display: none; /* Hide navigation on smaller screens */
    }

    .head10th {
        font-size: 1.5rem;
    }
}

footer {
    background-color: rgb(160, 157, 157);
    padding: 20px 0;
    text-align: center;
}

.foot {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.foot a {
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
}

footer p {
    color: gray;
    margin-top: 10px;
}