/*=====================================================
CITY NEWS PAKISTAN
Global Website Styles
======================================================*/

/*========================
ROOT COLORS
========================*/

:root{

--primary:#004AAD;
--secondary:#D71920;
--dark:#222222;
--light:#F5F7FB;
--white:#FFFFFF;
--gray:#666666;
--border:#E5E5E5;

--radius:8px;

--shadow:
0 5px 20px rgba(0,0,0,.08);

}

/*========================
RESET
========================*/

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Poppins',sans-serif;

background:var(--light);

color:var(--dark);

line-height:1.7;

overflow-x:hidden;

}

/*========================
SELECTION
========================*/

::selection{

background:var(--secondary);

color:#fff;

}

/*========================
SCROLLBAR
========================*/

::-webkit-scrollbar{

width:8px;

}

::-webkit-scrollbar-track{

background:#eee;

}

::-webkit-scrollbar-thumb{

background:var(--primary);

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:var(--secondary);

}

/*========================
LINKS
========================*/

a{

text-decoration:none;

color:inherit;

transition:.3s;

}

/*========================
IMAGES
========================*/

img{

max-width:100%;

display:block;

}

/*========================
LISTS
========================*/

ul{

list-style:none;

}

/*========================
CONTAINER
========================*/

.container{

width:95%;

max-width:1400px;

margin:auto;

}

/*========================
SECTION
========================*/

section{

padding:60px 0;

}

/*========================
HEADINGS
========================*/

h1{

font-size:42px;

font-weight:700;

}

h2{

font-size:34px;

font-weight:700;

}

h3{

font-size:24px;

font-weight:600;

}

h4{

font-size:20px;

font-weight:600;

}

p{

color:var(--gray);

}

/*========================
BUTTONS
========================*/

.btn{

display:inline-block;

padding:12px 24px;

background:var(--primary);

color:#fff;

border:none;

border-radius:var(--radius);

cursor:pointer;

transition:.3s;

font-weight:600;

}

.btn:hover{

background:var(--secondary);

}

/*========================
CARD
========================*/

.card{

background:#fff;

border-radius:12px;

box-shadow:var(--shadow);

overflow:hidden;

}

/*========================
FORM
========================*/

input,
textarea,
select{

width:100%;

padding:12px;

border:1px solid var(--border);

border-radius:6px;

font-family:inherit;

outline:none;

transition:.3s;

}

input:focus,
textarea:focus,
select:focus{

border-color:var(--primary);

}

/*========================
PAGE LOADER
========================*/

#pageLoader{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:#fff;

display:flex;

justify-content:center;

align-items:center;

z-index:999999;

transition:.4s;

}

.loader-wrapper{

text-align:center;

}

.loader-spinner{

width:60px;

height:60px;

border:5px solid #ddd;

border-top:5px solid var(--secondary);

border-radius:50%;

margin:auto;

animation:loaderSpin 1s linear infinite;

}

.loader-wrapper h3{

margin-top:20px;

font-size:20px;

color:var(--primary);

}

.loader-wrapper p{

margin-top:10px;

font-size:14px;

color:#777;

}

@keyframes loaderSpin{

100%{

transform:rotate(360deg);

}

}

/*========================
UTILITY CLASSES
========================*/

.text-center{

text-align:center;

}

.mt-20{

margin-top:20px;

}

.mt-30{

margin-top:30px;

}

.mb-20{

margin-bottom:20px;

}

.mb-30{

margin-bottom:30px;

}

.d-flex{

display:flex;

}

.align-center{

align-items:center;

}

.justify-between{

justify-content:space-between;

}

/*========================
RESPONSIVE
========================*/

@media(max-width:992px){

section{

padding:50px 0;

}

h1{

font-size:34px;

}

h2{

font-size:28px;

}

}

@media(max-width:768px){

.container{

width:94%;

}

section{

padding:40px 0;

}

h1{

font-size:28px;

}

h2{

font-size:24px;

}

}

