/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.7;
}

/* =========================
   HEADER
========================= */

header{
    background:linear-gradient(135deg,#1e3c72,#2a5298);
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 20px;
    flex-wrap:wrap;
}

.header-left{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.logo{
    width:65px;
}

#datetime{
    margin-top:8px;
    font-size:15px;
    font-weight:bold;
}

.header-center{
    text-align:center;
    flex:1;
}

.header-center h1{
    font-size:30px;
    margin-bottom:5px;
    font-weight:bold;
}

.header-center h2{
    font-size:16px;
    font-weight:normal;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    background:#f4a000;
    position:sticky;
    top:0;
    z-index:999;
}
nav a{
    transition: all 0.3s ease;
}

.menu{
    list-style:none;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
}

.menu li{
    position:relative;
}

.menu li a{
    display:block;
    padding:15px 16px;
    color:#0e0e0e !important;
    font-weight:600;
    text-decoration:none;
    font-size:15px;
    transition:0.3s;
}

.menu li a:hover{
    background:#1e3c72;
    color:#fff !important;
    border-radius:5px;
}
/* HERO IMAGE OVERLAY */

.hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.20);
}

.hero img{
    position:relative;
    z-index:0;
}

/* NEWS TICKER FIX */

.news-ticker marquee{
    padding-right:20px;
}

/* IMAGE FIX */

.circle-img img{
    object-fit:cover;
}

/* =========================
   DROPDOWN
========================= */

.submenu{
    display:none;
    position:absolute;
    background:white;
    min-width:230px;
    top:100%;
    left:0;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

.submenu li{
    width:100%;
}

.submenu li a{
    color:#333;
    padding:12px 15px;
    font-size:15px;
    border-bottom:1px solid #eee;
}

.submenu li a:hover{
    background:#f39c12;
    color:white;
}

.menu li:hover .submenu{
    display:block;
}

/* =========================
   BREAKING NEWS
========================= */

.breaking-news{
    background:#1e3c72;
    color:white;
    padding:10px;
    font-size:16px;
    font-weight:bold;
}

/* =========================
   MAIN SECTION
========================= */

main{
    padding:20px;
}

.content-wrapper{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

/* =========================
   SIDEBARS
========================= */

.sidebar{
    width:20%;
    background:white;
    border-radius:15px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.sidebar:hover{
    transform:translateY(-5px);
}

.center-text{
    text-align:center;
    margin-bottom:10px;
}

.sidebar-content{
    text-align:center;
}

/* =========================
   PROFILE CARD
========================= */

.card{
    background:#fff;
    padding:15px;
    border-radius:15px;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.card img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    object-position:top;
    border:5px solid #f39c12;
}
.card:hover{
   transform: translateY(-5px);
   box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* =========================
   MAIN CONTENT
========================= */

.main-content{
    width:60%;
    background:white;
    padding:20px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

/* =========================
   HERO SLIDER
========================= */

.slider{
    width:100%;
    overflow:hidden;
    border-radius:15px;
    margin-bottom:30px;
}

.slides{
    position:relative;
}

.slides img{
    width:100%;
    height:500px;
    object-fit:cover;
    object-position:center;
    display:none;
    border-radius:15px;
}

/* =========================
   ABOUT SECTION IMPROVED
========================= */

.about-section{
    padding:20px 10px;
}

.about-section h2{
    font-size:38px;
    color:#1e3c72;
    text-align:center;
    margin-bottom:25px;
    position:relative;
}

.about-section h2::after{
    content:'';
    width:120px;
    height:4px;
    background:#f39c12;
    display:block;
    margin:10px auto;
    border-radius:10px;
}

.about-section h3{
    font-size:26px;
    color:#f39c12;
    margin-top:25px;
    margin-bottom:12px;
}

.about-section p{
    font-size:18px;
    color:#444;
    text-align:justify;
    line-height:1.9;
    margin-bottom:18px;
}

/* MOBILE */

@media(max-width:768px){

    .about-section h2{
        font-size:28px;
    }

    .about-section h3{
        font-size:22px;
    }

    .about-section p{
        font-size:16px;
    }

}
/* =========================
   ICON BOXES
========================= */

.box{
    margin-top:20px;
    text-align:center;
}

.box img{
    width:100%;
    border-radius:12px;
    transition:0.3s;
}

.box img:hover{
    transform:scale(1.03);
}

/* =========================
   UPDATE SECTION
========================= */

.updates{
    display:flex;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

.update-box{
    flex:1;
    min-width:280px;
    background:white;
    border-radius:15px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    border-top:5px solid #f39c12;
}

.update-box h3{
    color:#1e3c72;
    margin-bottom:15px;
}

.update-box ul{
    padding-left:18px;
}

.update-box ul li{
    margin-bottom:10px;
}

.update-box ul li a{
    text-decoration:none;
    color:#333;
}

.update-box ul li a:hover{
    color:#f39c12;
}

.update-box button{
    margin-top:15px;
    background:#f39c12;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    cursor:pointer;
}

.update-box button a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

/* =========================
   TABLE
========================= */

table{
    width:100%;
    border-collapse:collapse;
    margin-top:25px;
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

th{
    background:#1e3c72;
    color:white;
    padding:15px;
    text-align:left;
}

td{
    padding:14px;
    border-bottom:1px solid #eee;
}

tr:hover{
    background:#f8f8f8;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-container{
    max-width:700px;
    margin:auto;
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.contact-container h2{
    text-align:center;
    color:#1e3c72;
    margin-bottom:20px;
}

.address{
    font-size:18px;
    line-height:2;
}
/* =========================
   YOJNA PAGE
========================= */

.yojna-box{
    max-width:900px;
    margin:60px auto;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    border-top:6px solid #f39c12;
}

.yojna-box h2{
    text-align:center;
    color:#1e3c72;
    font-size:38px;
    margin-bottom:35px;
    position:relative;
}

.yojna-box h2::after{
    content:'';
    width:100px;
    height:4px;
    background:#f39c12;
    display:block;
    margin:12px auto 0;
    border-radius:10px;
}

.yojna-box ul{
    list-style:none;
    padding:0;
}

.yojna-box ul li{
    margin-bottom:22px;
}

.yojna-box ul li a{
    display:block;
    background:#f5f7fa;
    padding:20px 25px;
    border-radius:14px;
    text-decoration:none;
    color:#1e3c72;
    font-size:22px;
    font-weight:bold;
    transition:0.3s;
    border-left:6px solid #f39c12;
    box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

.yojna-box ul li a:hover{
    background:#1e3c72;
    color:white;
    transform:translateX(8px);
}

/* page spacing */

main{
    min-height:60vh;
}

/* mobile */

@media(max-width:768px){

    .yojna-box{
        margin:30px 15px;
        padding:25px;
    }

    .yojna-box h2{
        font-size:28px;
    }

    .yojna-box ul li a{
        font-size:18px;
        padding:16px;
    }

}
/* =========================
   PAGE BANNER
========================= */

.page-banner{
    background:linear-gradient(rgba(30,60,114,0.8),rgba(30,60,114,0.8)),
    url('nagar parishad mauganj.jpeg');

    background-size:cover;
    background-position:center;

    padding:80px 20px;
    text-align:center;
    color:white;
}

.page-banner h1{
    font-size:48px;
    font-weight:bold;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#1e3c72;
    color:white;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    padding:40px 30px;
    margin-top:40px;
    gap:20px;
}

.footer-col{
    flex:1;
    min-width:220px;
}

.footer-col h3{
    margin-bottom:15px;
    color:#f39c12;
}

.footer-col ul{
    list-style:none;
}

.footer-col ul li{
    margin-bottom:10px;
}

.footer-col ul li a{
    color:white;
    text-decoration:none;
}

.footer-col ul li a:hover{
    color:#f39c12;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

    .content-wrapper{
        flex-direction:column;
    }

    .sidebar,
    .main-content{
        width:100%;
    }

    .updates{
        flex-direction:column;
    }

    .header-center h1{
        font-size:28px;
    }

    .slides img{
        height:350px;
    }
}

@media(max-width:768px){

    header{
        flex-direction:column;
        text-align:center;
    }

    .menu{
        flex-direction:column;
    }

    .menu li{
        width:100%;
    }

    .menu li a{
        border-bottom:1px solid rgba(255,255,255,0.2);
    }

    .submenu{
        position:static;
        width:100%;
        box-shadow:none;
    }

    .slides img{
        height:250px;
    }

    .card img{
        width:140px;
        height:140px;
    }

    .about-section h2{
        font-size:28px;
    }

    .about-section h3{
        font-size:22px;
    }
}