/* ===========================================
   Vanasthali Gyanpeeth Degree College
   Professional College Website
=========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#f7f9fc;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Top Bar */

.topbar{
    background:#003366;
    color:#fff;
    padding:10px 0;
    font-size:14px;
}

.topbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.topbar span{
    margin-right:20px;
}

.topbar a{
    color:#fff;
    margin-left:15px;
    text-decoration:none;
}

/* Navigation */

nav{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo h2{
    color:#003366;
    font-size:30px;
    font-weight:700;
}

.nav-links{
    display:flex;
    list-style:none;
}

.nav-links li{
    margin:0 14px;
}

.nav-links a{
    color:#333;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#0056b3;
}

/* Buttons */

.btn{
    display:inline-block;
    background:#0056b3;
    color:#fff;
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
}

.btn:hover{
    background:#003366;
}

.btn-outline{
    background:transparent;
    border:2px solid #fff;
    margin-left:10px;
}

.btn-outline:hover{
    background:#fff;
    color:#003366;
}

/* Hero */

.hero{
    position: relative;
    min-height:700px;
    display:flex;
    align-items:center;
    justify-content:center;
    background-image:
    linear-gradient(rgba(0,40,85,0.55), rgba(0,40,85,0.55)),
    url("../images/banner.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    color:#fff;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,40,80,.65);
}

.hero-content{
    position:relative;
    color:#fff;
    z-index:2;
}

.hero h4{
    font-size:28px;
    margin-bottom:10px;
}

.hero h1{
    font-size:60px;
    font-weight:700;
    margin-bottom:20px;
}

.hero p{
    max-width:650px;
    margin-bottom:35px;
    font-size:18px;
}

/* Stats */

.stats{
    padding:60px 0;
    background:#fff;
}

.stats .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-box{
    background:#0056b3;
    color:#fff;
    text-align:center;
    padding:35px;
    border-radius:12px;
}

.stat-box h2{
    font-size:42px;
}

/* Sections */

section{
    padding:80px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:38px;
    color:#003366;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
}

/* About */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-image img{
    width:100%;
    height:400px;
    object-fit:cover;
    border-radius:12px;
}

.about-content h3{
    color:#003366;
    margin-bottom:20px;
}

.about-content ul{
    margin:20px 0;
    padding-left:20px;
}

.about-content li{
    margin-bottom:10px;
}
/* ================= COURSES ================= */

.course-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.course-card{
background:#fff;
padding:30px;
border-radius:12px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.3s;
}

.course-card:hover{
transform:translateY(-10px);
}

.course-card i{
font-size:50px;
color:#0056b3;
margin-bottom:20px;
}

.btn-small{
display:inline-block;
margin-top:20px;
padding:10px 20px;
background:#0056b3;
color:#fff;
text-decoration:none;
border-radius:5px;
}

/* Facilities */

.facility-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.facility-box{
background:#fff;
padding:30px;
text-align:center;
border-radius:12px;
box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.facility-box i{
font-size:45px;
color:#0056b3;
margin-bottom:15px;
}

/* Principal */

.principal{
background:#003366;
color:#fff;
text-align:center;
}

.principal h2{
margin-bottom:20px;
}

/* Admission */

.admission{
background:#0056b3;
color:#fff;
text-align:center;
}

.admission h2{
font-size:42px;
margin-bottom:20px;
}

/* Gallery */

.gallery-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.gallery-grid img{
width:100%;
border-radius:10px;
transition:.3s;
cursor:pointer;
}

.gallery-grid img:hover{
transform:scale(1.05);
}

/* News */

.news-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.news-card{
background:#fff;
padding:25px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* Testimonials */

.testimonial-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.testimonial{
background:#fff;
padding:30px;
border-radius:12px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* Contact */

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
width:100%;
padding:15px;
margin-bottom:15px;
border:1px solid #ddd;
border-radius:6px;
}

/* Footer */

footer{
background:#002244;
color:#fff;
padding:60px 0 20px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

footer a{
color:#fff;
text-decoration:none;
}

footer ul{
list-style:none;
}

footer li{
margin:10px 0;
}

.social-icons a{
margin-right:15px;
font-size:20px;
}

.copyright{
text-align:center;
margin-top:30px;
border-top:1px solid rgba(255,255,255,.2);
padding-top:20px;
}

/* Responsive */

@media(max-width:768px){

.nav-container,
.topbar .container{
flex-direction:column;
}

.nav-links{
flex-direction:column;
text-align:center;
}

.stats .container,
.about-grid,
.course-grid,
.gallery-grid,
.news-grid,
.testimonial-grid,
.contact-grid,
.footer-grid{
grid-template-columns:1fr;
}

.hero h1{
font-size:40px;
}

}
.page-banner{
    background: linear-gradient(rgba(0,40,85,.70), rgba(0,40,85,.70)),
    url('../images/banner.jpg') center center/cover no-repeat;
    height:350px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
}

.page-banner h1{
    font-size:48px;
    margin-bottom:15px;
}

.page-banner p{
    font-size:18px;
}
<!-- PREMIUM GALLERY -->

<section class="gallery-section">

<div class="container">

<div class="section-title">
<h2>Our Campus Gallery</h2>
<p>Explore our campus, classrooms, library and student activities.</p>
</div>

<div class="gallery-grid">

<div class="gallery-item">
<img src="images/gallery1.jpg" alt="College Main Gate">
<div class="gallery-caption">College Main Gate</div>
</div>

<div class="gallery-item">
<img src="images/gallery2.jpg" alt="Academic Block">
<div class="gallery-caption">Academic Block</div>
</div>

<div class="gallery-item">
<img src="images/gallery3.jpg" alt="Library">
<div class="gallery-caption">Central Library</div>
</div>

<div class="gallery-item">
<img src="images/gallery4.jpg" alt="Computer Lab">
<div class="gallery-caption">Computer Laboratory</div>
</div>

<div class="gallery-item">
<img src="images/gallery5.jpg" alt="Cultural Event">
<div class="gallery-caption">Annual Cultural Program</div>
</div>

<div class="gallery-item">
<img src="images/gallery6.jpg" alt="Sports">
<div class="gallery-caption">Sports Activities</div>
</div>

</div>

</div>

</section>