/* ==========================================================
   NEYEWS MAIN STYLESHEET
   ========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.7;
}
html,
body{

    overflow-x:hidden;

}
/* ===============================
   CONTAINER
   =============================== */

.container{
    width:95%;
    max-width:1280px;
    margin:auto;
}

/* ===============================
   HEADER
   =============================== */

header{

    background:#111827;
    position:sticky;
    top:0;
    z-index:9999;

    box-shadow:0 3px 15px rgba(0,0,0,.2);

}

header .container{

    max-width:1280px;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;

    padding:15px 20px;

}

/* ===============================
   LOGO
   =============================== */
.logo{

    flex:0 0 auto;

}

.logo img{

    width:70px;

    height:70px;

    display:block;

}
.logo a{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
}

.logo-title{
    display:block;
    font-size:30px;
    font-weight:700;
    color:#ffffff;
    letter-spacing:2px;
}

.logo-tagline{
    display:block;
    font-size:12px;
    color:#d1d5db;
    margin-top:4px;
}

/* ===============================
   NAVIGATION
   =============================== */

nav ul{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

    list-style:none;

    margin:0;

    padding:0;

}

nav li{

    list-style:none;

}

nav a{

    color:#fff;

    text-decoration:none;

    font-weight:600;

    white-space:nowrap;

}

nav a:hover{

    color:#ff6b35;

}

/* ===============================
   SEARCH
   =============================== */

.search-form{

    flex:0 0 240px;

    display:flex;

    gap:8px;

}

.search-form input{

    flex:1;

    min-width:0;

    padding:10px;

    border-radius:6px;

    border:none;

}
.search-form button{

    padding:10px 15px;

    border:none;

    border-radius:6px;

    cursor:pointer;

}

.search-form button:hover{

    background:#ff814f;

}

/* ===============================
   MAIN
   =============================== */

main{

    min-height:600px;

}
/* ==========================================
   NEWSLETTER
========================================== */

.newsletter{

    background:#111827;

    color:#fff;

    text-align:center;

    padding:80px 20px;

}

.newsletter h2{

    font-size:36px;

    margin-bottom:20px;

}

.newsletter p{

    max-width:700px;

    margin:auto;

    margin-bottom:40px;

    color:#ddd;

}

.newsletter form{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

}

.newsletter input{

    width:350px;

    max-width:100%;

    padding:15px;

    border:none;

    border-radius:8px;

}

.newsletter button{

    background:#ff6b35;

    color:white;

    border:none;

    padding:15px 30px;

    border-radius:8px;

    cursor:pointer;

    transition:.3s;

}

.newsletter button:hover{

    background:#ff814f;

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#0f172a;

    color:#ddd;

    padding:70px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

}

.footer-logo{

    width:80px;

    margin-bottom:20px;

}

footer h3{

    color:white;

    margin-bottom:20px;

}

footer ul{

    list-style:none;

}

footer li{

    margin-bottom:12px;

}

footer a{

    color:#ccc;

    text-decoration:none;

    transition:.3s;

}

footer a:hover{

    color:#ff6b35;

}

.footer-button{

    display:inline-block;

    margin-top:15px;

    padding:12px 20px;

    background:#ff6b35;

    color:white;

    border-radius:6px;

}

.footer-button:hover{

    background:#ff814f;

    color:white;

}

footer hr{

    border:none;

    border-top:1px solid #2d3748;

    margin:50px 0 30px;

}

.footer-bottom{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:15px;

    font-size:15px;

}

/* ==========================================
   BACK TO TOP
========================================== */

#topBtn{

    position:fixed;

    bottom:30px;

    right:30px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:#ff6b35;

    color:white;

    font-size:24px;

    cursor:pointer;

    display:none;

    box-shadow:0 5px 20px rgba(0,0,0,.25);

}

#topBtn:hover{

    background:#ff814f;

}

@media(max-width:768px){

.footer-bottom{

    text-align:center;

    justify-content:center;

}

.newsletter h2{

    font-size:28px;

}

}

/* ===============================
   MOBILE
   =============================== */

/* ===============================
   TABLET
   =============================== */

@media(max-width:1000px){

    header .container{
        flex-direction:column;
        align-items:center;
    }

    nav{
        width:100%;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
    }

    .search-form{
        width:100%;
        max-width:450px;
        justify-content:center;
    }

    .search-form input{
        width:100%;
        max-width:350px;
    }

}

/* ===============================
   MOBILE
   =============================== */

@media(max-width:700px){

    .logo img{
        height:55px;
    }

    nav ul{
        flex-direction:column;
        gap:12px;
    }

}

@media(max-width:700px){

.logo img{

    height:55px;

}

nav ul{

    flex-direction:column;

    gap:12px;

}

}

.site-footer{

    background:#081320;

    color:#d6d6d6;

}

.footer-column p{

    line-height:1.8;

}

.newsletter-form{

    display:flex;

    justify-content:center;

    gap:12px;

    flex-wrap:wrap;

}

.footer-bottom{

    font-size:15px;

}

.footer-bottom strong{

    color:#16c47f;

}
