/* .news-container {
    padding: 10px;
    max-width: 1000px; 
    margin: 0 auto;
}

.news-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.news-item h2 {
    margin: 0 0 10px;
    font-size: 1em;
}

.news-item p {
    margin: 0 0 10px;
    font-size: .8em;
    color: #333;
}

.news-item a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.news-item a:hover {
    text-decoration: underline;
} */

.officials {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
.ocontent {
    text-align: center;
    margin-bottom: 40px;
}

.ohead {
    color: #1a5f7a;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.otext {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
}

/* Chief Minister styles */
.chief {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chiefimg img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.chieftxt h3 {
    color: #1a5f7a;
    margin-bottom: 5px;
}

.chieftxt p {
    font-size: 1.2em;
    font-weight: bold;
}

/* Card styles */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    width: 220px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.cardimg {
    height: 200px;
    overflow: hidden;
}

.cardimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cardcontent {
    padding: 15px;
    text-align: center;
}

.cardcontent p:first-child {
    font-weight: bold;
    margin-bottom: 5px;
    color: #1a5f7a;
}

.cardcontent p:last-child {
    font-size: 0.9em;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .chief {
        flex-direction: column;
        text-align: center;
    }

    .chiefimg img {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;
    }
}

/*Popup Window*/
.popup {
    position: fixed;
    top: 75%;
    left: 80%;
    transform:translate(-50%,-50%);
    display: none;
    z-index: 1000;
}
.popup-content{
    position: relative;
    width: 600px;
    height: 400px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,22%);
}
.imgbox{
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.imgbox img{
    width: 300px;
    height: 250px;
}
.imgbox::before{
    content:'';
    position: absolute;
    width:250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.imgbox img{
    position: relative;
    width: 250px;
    z-index: 1;
}
.content h3{
    color: #333;
    line-height: 1 em;
    font-weight: 400;
    font-size: 2em;
}
.content p{
    font-weight: 300;
    padding-right: 10px;
}
.content a{
    display: inline-block;
    padding: 10px 20px;
    background: brown;
    color: white;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 10px;
    transition: .4s;
}
.content a:hover{
    background: #ec2020;
}
.closebtn{
    top:20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #fff url(assets/close.png);
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: center;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
}
.qr{
    width: 100px;
    height: 100px;
}

.helpline
{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.help p
{
    margin-top: 2px;
}
/*Responsive Design*/
@media (max-width: 992px) {
    .popup-content{
        display: flex;
        flex-direction: column;
        width: fit-content;
        height: fit-content;
        text-align: center;
        margin-top: 30px;
    }
    .popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform:translate(-50%,-50%);
        display: none;
        margin-top: 25px;
    }
    .content h3{
        margin-top: -120px;
    }
    .imgbox img{
        margin-top: -80px;
    }
}