/* General Page Style */
body{
    margin:0;
    padding:0;
    font-family: Arial, Helvetica, sans-serif;

    /* Background Image */
    background-image: url("p1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;

    color:white;
}

/* Dark transparent overlay */
body::before{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    z-index:-1;
}

/* Main Heading */
h1{
    text-align:center;
    background:#006400;
    color:white;
    padding:20px;
    margin:0;
}

/* Navigation Bar */
nav{
    background:#228B22;
    text-align:center;
    padding:15px;
}

nav a{
    color:white;
    text-decoration:none;
    font-size:18px;
    margin:15px;
    font-weight:bold;
}

nav a:hover{
    color:yellow;
}

/* Content Box */
h2,h3,p,ul,ol{
    width:80%;
    margin:auto;
}

p{
    font-size:18px;
    line-height:1.8;
}

ul,ol{
    font-size:18px;
}

li{
    padding:8px;
}

/* Horizontal Line */
hr{
    width:90%;
    border:1px solid white;
}

/* Footer */
footer{
    background:#006400;
    text-align:center;
    color:white;
    padding:15px;
    margin-top:30px;
}

/* Image Slider */

.slider{
    width:80%;
    height:400px;
    margin:20px auto;
    overflow:hidden;
    border-radius:10px;
    box-shadow:0 0 15px black;
}

.slides{
    width:100%;
    height:400px;
    object-fit:cover;
    display:none;
}
/*news*/
.news-box{
    width:80%;
    margin:20px auto;
    padding:20px;
    background:rgba(255,255,255,0.15);
    border-left:6px solid lime;
    border-radius:10px;
    color:white;
}

.news-box h3{
    color:yellow;
}

.news-box:hover{
    background:rgba(255,255,255,0.25);
    transition:0.5s;
}

/* Floating News Notification */

.news-icon{
    position:fixed;
    bottom:25px;
    right:25px;
    width:70px;
    height:70px;
    background:#28a745;
    color:white;
    text-decoration:none;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:35px;
    box-shadow:0 4px 12px rgba(0,0,0,0.4);
    animation:bounce 2s infinite;
    z-index:1000;
}

.news-icon:hover{
    background:#ff9800;
    transform:scale(1.1);
}

.badge{
    position:absolute;
    top:-5px;
    right:-5px;
    background:red;
    color:white;
    font-size:12px;
    font-weight:bold;
    padding:5px 8px;
    border-radius:20px;
}

@keyframes bounce{
    0%,20%,50%,80%,100%{
        transform:translateY(0);
    }
    40%{
        transform:translateY(-12px);
    }
    60%{
        transform:translateY(-6px);
    }
}

/*news page video/image posting*/

.news-post{
    width:85%;
    margin:30px auto;
    background:rgba(255,255,255,0.15);
    padding:20px;
    border-radius:10px;
    color:white;
}

.news-post img{
    width:100%;
    max-height:400px;
    object-fit:cover;
    border-radius:10px;
    margin:15px 0;
}

.news-post video{
    width:100%;
    border-radius:10px;
    margin-top:15px;
}

.news-post h3{
    color:yellow;
}
