/* ==========================
   AL PARVEZ GIRLS DEGREE COLLEGE
   style.css
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f8f8f8;
    color:#333;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Top Bar */

.top-bar{
    background:#7a1020;
    color:#fff;
    padding:10px 0;
    font-size:15px;
}

.top-bar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

/* Header */

header{
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:70px;
    height:70px;
    border-radius:50%;
}

.logo h1{
    color:#7a1020;
    font-size:24px;
}

.logo p{
    color:#888;
    font-size:13px;
}

nav ul{
    list-style:none;
    display:flex;
    gap:25px;
}

nav a{
    color:#333;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#7a1020;
}

/* Hero */

.hero{
    height:620px;

    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("../images/banner.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
}

.hero-content{
    width:55%;
    color:white;
}

.hero h2{
    font-size:60px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero span{
    color:#ffd54f;
}

.hero p{
    font-size:20px;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:#7a1020;
    color:white;
    padding:15px 35px;
    border-radius:5px;
    transition:.4s;
}

.btn:hover{
    background:#b51d35;
}

/* Quick Links */

.quick-links{
    margin-top:-60px;
    position:relative;
    z-index:99;
}

.quick-links .container{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;
}

.card{

background:white;

padding:35px;

text-align:center;

border-radius:12px;

box-shadow:0 5px 15px rgba(0,0,0,.12);

transition:.4s;

cursor:pointer;

}

.card:hover{

transform:translateY(-8px);

background:#7a1020;

color:white;

}

.card i{

font-size:40px;

margin-bottom:15px;

color:#7a1020;

}

.card:hover i{

color:white;

}

/* Welcome */

.welcome{

padding:80px 0;

}

.welcome .container{

display:grid;

grid-template-columns:2fr 1fr;

gap:40px;

}

.left-box,

.right-box{

background:white;

padding:35px;

border-radius:10px;

box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.left-box h3,

.right-box h3{

color:#7a1020;

margin-bottom:20px;

font-size:28px;

}

.left-box p{

line-height:1.8;

margin-bottom:25px;

}

.right-box ul{

list-style:none;

}

.right-box li{

padding:15px;

border-bottom:1px solid #eee;

}

/* Counter */

.counter{

background:#7a1020;

padding:70px 0;

color:white;

}

.counter .container{

display:grid;

grid-template-columns:repeat(4,1fr);

text-align:center;

}

.counter h2{

font-size:48px;

margin-bottom:10px;

}

.counter p{

font-size:18px;

}

/* Footer */

footer{

background:#222;

color:white;

text-align:center;

padding:25px;

}

/* Responsive */

@media(max-width:992px){

header .container{

flex-direction:column;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

margin-top:20px;

}

.hero{

height:500px;

}

.hero-content{

width:100%;

}

.hero h2{

font-size:42px;

}

.quick-links .container{

grid-template-columns:repeat(2,1fr);

}

.welcome .container{

grid-template-columns:1fr;

}

.counter .container{

grid-template-columns:repeat(2,1fr);

gap:30px;

}

}

@media(max-width:600px){

.hero{

height:420px;

}

.hero h2{

font-size:32px;

}

.quick-links .container{

grid-template-columns:1fr;

}

.counter .container{

grid-template-columns:1fr;

}

.logo h1{

font-size:18px;

}

}
