/* =========================================
   RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Noto Sans Telugu',sans-serif;
    background:#f5f5f5;
    color:#222;

}

/* =========================================
   HEADER
========================================= */

header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;

    padding:20px;

    background:#ffffff;

    border-bottom:5px solid #F4B400;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

}

/* =========================================
   LOGO
========================================= */

.header-center{

    flex:1;
    text-align:center;

}

.logo{

    width:140px;
    margin-bottom:10px;

}

.header-center h1{

    color:#0057B8;
    font-size:42px;
    font-weight:700;

}

.header-center h2{

    color:#555;
    font-size:22px;
    margin-top:5px;

}

#todayDate{

    margin-top:12px;
    color:#666;
    font-size:17px;

}

/* =========================================
   CONTACT BUTTON
========================================= */

.contact{

    margin-top:18px;

    background:#0057B8;

    color:#fff;

    padding:12px 28px;

    border:none;

    border-radius:40px;

    cursor:pointer;

    font-size:16px;

    font-weight:bold;

    transition:.3s;

}

.contact:hover{

    background:#003F82;

}

/* =========================================
   ADVERTISEMENT
========================================= */

.ad-box{

    width:260px;

    height:120px;

    border:2px dashed #999;

    background:#FFF9DC;

    border-radius:10px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.ad-box h3{

    color:#C1121F;
    font-size:20px;

}

.ad-box p{

    margin-top:6px;
    color:#555;

}

/* =========================================
   PDF
========================================= */

main{

    width:95%;

    max-width:1300px;

    margin:30px auto;

}

.page{

    background:white;

    padding:15px;

    border-radius:10px;

    margin-bottom:30px;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

}

iframe{

    width:100%;

    height:1100px;

    border:none;

}

/* =========================================
   FOOTER
========================================= */

footer{

    background:#1F1F1F;

    color:white;

    text-align:center;

    padding:30px;

    font-size:15px;

}

/* =========================================
   CONTACT MODAL
========================================= */

.modal{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.6);

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.modal-content{

    background:white;

    width:90%;

    max-width:500px;

    border-radius:10px;

    padding:30px;

    position:relative;

    text-align:center;

    animation:popup .25s ease;

}

.modal-content h2{

    color:#0057B8;

    margin-bottom:15px;

}

.modal-content p{

    line-height:1.8;

}

.close{

    position:absolute;

    right:18px;

    top:10px;

    font-size:30px;

    cursor:pointer;

}

.close:hover{

    color:red;

}

@keyframes popup{

from{

transform:scale(.8);
opacity:0;

}

to{

transform:scale(1);
opacity:1;

}

}

/* =========================================
   FLOATING BUTTONS
========================================= */

#nextPageBtn,
#topBtn{

    position:fixed;

    right:25px;

    width:70px;

    height:70px;

    border:none;

    border-radius:50%;

    background:#0057B8;

    color:white;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    box-shadow:0 5px 15px rgba(0,0,0,.25);

    transition:.3s;

    z-index:9999;

}

#nextPageBtn{

    bottom:110px;

}

#topBtn{

    bottom:25px;

    display:none;

}

#nextPageBtn:hover,
#topBtn:hover{

    background:#003F82;

    transform:scale(1.08);

}

#nextPageBtn span,
#topBtn span{

    font-size:24px;

}

#nextPageBtn small,
#topBtn small{

    font-size:11px;

    font-weight:bold;

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:900px){

header{

    flex-direction:column;

}

.ad-box{

    width:100%;

    max-width:320px;

}

.logo{

    width:100px;

}

.header-center h1{

    font-size:30px;

}

.header-center h2{

    font-size:18px;

}

iframe{

    height:650px;

}

#nextPageBtn,
#topBtn{

    width:60px;
    height:60px;
    right:15px;

}

.newspaper-page{

    width:100%;

    height:auto;

    display:block;

}

}