/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

/* BODY */

body{
    background:#eef6ff;
}

/* TOP BAR */             

@media(max-width:768px){
    .top-bar{
        font-size:12px;
        line-height:1.6;
        padding:10px;
    }
}

/* HEADER */

.header{
    background:#001F3F;
    color:white;
    text-align:center;
    padding:20px;
}

.trust{
    color:#87cefa;
    font-size:18px;
}

.college-name{
    font-size:30px;
    font-weight:bold;
    margin:10px 0;
}

/* NAVBAR */

.navbar{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.navbar a{
    text-decoration:none;
    color:white;
    padding:10px 15px;
    border-radius:5px;
    transition:0.3s;
}

.navbar a:hover{
    background:white;
    color:#001F3F;
}



/* HERO */
.hero{
    height:85vh;

    background:
    linear-gradient(
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.4)
    ),
    url("assets/college.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

/*College */
.college-name{
    display: flex;
    align-items: center;   /* Vertical alignment */
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}
/* logo */
.logo{
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

/* SMALL WELCOME BOX WITH IMAGE */

.hero-text{

    width:500px;
    max-width:90%;

    padding:30px;

    background:
    linear-gradient(
        rgba(0,31,63,0.75),
        rgba(0,31,63,0.75)
    ),
    url("https://images.unsplash.com/photo-1562774053-701939374585");
    background-size:cover;
    background-position:center;

    border-radius:20px;

    text-align:center;
    color:white;

    box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.hero-text h1{
    font-size:32px;
    margin-bottom:15px;
}

.hero-text p{
    font-size:18px;
    margin-bottom:20px;
}

.btn{
    display:inline-block;
    background:#ffffff;
    color:#001F3F;
    text-decoration:none;
    padding:12px 25px;
    border-radius:30px;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:#87cefa;
    transform:translateY(-3px);
}

/* BUTTON */

.btn{
    background:#001F3F;
    color:white;
    text-decoration:none;
    padding:12px 25px;
    border-radius:5px;
}

.btn:hover{
    background:#001f54;
}
/* New button */
/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

/* HEADER */
.header{
    position:sticky;
    top:0;
    z-index:1000;

    background:rgba(0,31,63,0.95);
    backdrop-filter:blur(10px);

    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

/* HERO */
.hero{
    height:100vh;
    position:relative;
}

.hero::before{
    content:'';
    position:absolute;
    inset:0;

    background:linear-gradient(
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5));
}

.hero-text{
    position:relative;
    z-index:2;

    animation:fadeUp 1.5s ease;
}

/* STATISTICS */
.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;

    padding:70px 40px;

    background:white;
}

.stat-box{
    text-align:center;

    padding:30px;

    background:white;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,0.08);

    transition:.4s;
}

.stat-box:hover{
    transform:translateY(-10px);

    background:#001F3F;

    color:white;
}

.stat-box h2{
    font-size:45px;
    color:#fbbf24;
}

/* CARDS */
.card{
    position:relative;
    overflow:hidden;
}

.card::before{
    content:'';
    position:absolute;

    width:0%;
    height:100%;

    left:0;
    top:0;

    background:#fbbf24;

    transition:.5s;

    z-index:-1;
}

.card:hover::before{
    width:100%;
}

.card:hover{
    color:#001F3F;
}
/* course-info */
.course-info{
    margin-top:20px;
    padding:20px;
    background:#f5f5f5;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    text-align:left;
}
/* GALLERY */
.gallery img{
    transition:.5s;
    cursor:pointer;
}

.gallery img:hover{
    transform:scale(1.08);
    box-shadow:0 15px 30px rgba(0,0,0,0.3);
}

/* ADMISSION */
.admission{
    padding:90px 20px;

    text-align:center;

    background:
    linear-gradient(
    rgba(0,31,63,.9),
    rgba(0,31,63,.9)),
    url("../assets/collage.jpg");

    background-size:cover;
    color:white;
}

.admission h2{
    font-size:42px;
    margin-bottom:20px;
}

.apply-btn{
    display:inline-block;

    margin-top:20px;

    background:#fbbf24;
    color:#001F3F;

    padding:15px 35px;

    text-decoration:none;

    border-radius:50px;

    font-weight:bold;

    transition:.3s;
}

.apply-btn:hover{
    transform:scale(1.08);
}

/* PRINCIPAL */
.principal{
    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.principal img{
    width:220px;
    height:220px;
}

/* TOP BUTTON */
#topBtn{
    position:fixed;
    right:25px;
    bottom:25px;

    border:none;

    width:55px;
    height:55px;

    border-radius:50%;

    background:#001F3F;
    color:white;

    cursor:pointer;

    display:none;

    font-size:22px;

    box-shadow:0 5px 20px rgba(0,0,0,.3);
}

/* ANIMATION */
@keyframes fadeUp{

from{
opacity:0;
transform:translateY(50px);
}

to{
opacity:1;
transform:translateY(0);
}

}
/* SECTION */

.section{
    margin:20px;
    padding:50px;
    text-align:center;
    background:#dceeff;
    border-radius:10px;
}

.section h2{
    margin-bottom:20px;
    color:#001F3F;
}
/* About */ #about {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    text-align: justify;
    line-height: 1.8;
}

#about h2 {
    text-align: center;
    margin-bottom: 15px;
}
/* CARDS */

.cards{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.card{
    width:220px;
    padding:25px;
    background:white;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
    background:#001F3F;
    color:white;
}
/*Course*/
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #003366;
    color: white;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    width: 220px;
    text-align: center;
    font-weight: bold;
    transition: 0.3s;
}

.card:hover {
    background: #0055aa;
    transform: translateY(-5px);
}

.course-info {
    margin-top: 30px;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
/* Vision Section */
.vision-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-card {
    max-width: 900px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 25px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.4s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.vision-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.vision-card h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vision-card p {
    font-size: 22px;
    line-height: 1.8;
    color: #f1f5f9;
}
.title-line {
    width: 100px;
    height: 4px;
    background: #ffd700;
    margin: 15px auto 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px #ffd700;
}
/* Mission Section */
.mission-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f766e, #134e4a);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-card {
    max-width: 1000px;
    width: 100%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.4s;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.mission-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.mission-card h2 {
    font-size: 38px;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-line {
    width: 100px;
    height: 4px;
    background: #facc15;
    margin: 15px auto 35px;
    border-radius: 10px;
    box-shadow: 0 0 15px #facc15;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.mission-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateX(10px);
}

.mission-item span {
    font-size: 35px;
    min-width: 50px;
}

.mission-item p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}
/* Governing Body Section */
.governing-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.governing-card {
    max-width: 1100px;
    margin: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border: 1px solid #dbeafe;
}

.governing-card h2 {
    text-align: center;
    color: #0f172a;
    font-size: 32px;
    margin-bottom: 10px;
}

.title-line {
    width: 80px;
    height: 4px;
    background: #0284c7;
    margin: 0 auto 30px;
    border-radius: 10px;
}

.table-container {
    overflow-x: auto;
}

.governing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.governing-table thead {
    background: #0284c7;
    color: white;
}

.governing-table th,
.governing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dbeafe;
}

.governing-table tbody tr {
    transition: all 0.3s ease;
}

.governing-table tbody tr:hover {
    background: #eff6ff;
}

.governing-table td:first-child,
.governing-table th:first-child {
    text-align: center;
    width: 80px;
}

/* Mobile */
@media (max-width: 768px) {

    .governing-card {
        padding: 25px;
    }

    .governing-card h2 {
        font-size: 26px;
    }

    .governing-table {
        font-size: 14px;
    }

    .governing-table th,
    .governing-table td {
        padding: 10px;
    }
}
/* Mobile Responsive */
@media(max-width:768px){

    .mission-card{
        padding:30px;
    }

    .mission-card h2{
        font-size:28px;
    }

    .mission-item{
        flex-direction:column;
        text-align:center;
    }

    .mission-item p{
        font-size:16px;
    }
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .vision-card {
        padding: 30px;
    }

    .vision-card h2 {
        font-size: 28px;
    }

    .vision-card p {
        font-size: 18px;
    }
}
/* Notice */
.notice-section{
    padding:70px 20px;
    background:#f8fafc;
    text-align:center;
}

.notice-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.notice-card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
    transition:.3s;
}

.notice-card:hover{
    transform:translateY(-8px);
}

.notice-date{
    color:#0284c7;
    font-weight:bold;
}

.notice-card h3{
    margin:15px 0;
}

.notice-btn{
    display:inline-block;
    background:#001F3F;
    color:white;
    padding:10px 20px;
    border-radius:25px;
    text-decoration:none;
}

.notice-btn:hover{
    background:#0284c7;
}
/* Button Color */ 
nav a {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;

    background-color: #0f3460; /* Dark Blue */
    color: white;              /* White Text */

    border: 2px solid #0a2342;
    border-radius: 8px;

    text-decoration: none;
    font-weight: bold;

    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #081b33; /* Darker on hover */
    color: white;
}
/* =========================
   ADMISSION SECTION
========================= */

#admission{
    max-width:1200px;
    margin:50px auto;
    padding:60px 30px;
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    color:white;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

#admission h1,
#admission h2{
    text-align:center;
    font-size:38px;
    margin-bottom:15px;
    color:#ffffff;
}

.admission-text{
    max-width:800px;
    margin:20px auto 40px;
    text-align:center;
    font-size:18px;
    line-height:1.8;
}

/* Seat Cards */

.seat-container{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    margin-top:40px;
}

.seat-card{
    width:300px;
    background:white;
    color:#333;
    padding:25px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
    transition:.3s;
}

.seat-card:hover{
    transform:translateY(-8px);
}

.seat-card h3{
    color:#1e40af;
    margin-bottom:10px;
}

/* Direct Second Year */

.direct-second-year{
    margin-top:50px;
    background:rgba(255,255,255,.12);
    padding:30px;
    border-radius:15px;
}

.direct-second-year h2{
    color:#ffd700;
    margin-bottom:20px;
}

.direct-second-year p{
    text-align:center;
    line-height:1.8;
}

.direct-second-year ul{
    max-width:500px;
    margin:20px auto;
    text-align:left;
    line-height:2;
}

/* Buttons */

.admission-buttons{
    text-align:center;
    margin-top:30px;
}

.btn-admission{
    display:inline-block;
    margin:10px;
    padding:14px 30px;
    background:#fbbf24;
    color:#001F3F;
    text-decoration:none;
    border-radius:30px;
    font-weight:bold;
    transition:.3s;
}

.btn-admission:hover{
    transform:scale(1.05);
}

/* Mobile */

@media(max-width:768px){

    #admission{
        padding:40px 20px;
    }

    #admission h1,
    #admission h2{
        font-size:28px;
    }

    .seat-card{
        width:100%;
    }

}
/* GALLERY */

.gallery{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.gallery img{
    width:300px;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    transition:0.3s;
}

.gallery img:hover{
    transform:scale(1.05);
}

/* PRINCIPAL */

.principal{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.principal img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #001F3F;
}
/* =========================
   MANAGEMENT SECTION
========================= */

.management-container{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:40px;
    flex-wrap:wrap;
    margin-top:30px;
}

/* Card */
.management-card{
    width:350px;
    background:linear-gradient(135deg,#ffffff,#f0f7ff);
    padding:25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    transition:0.3s ease;
}

.management-card:hover{
    transform:translateY(-8px);
}

/* Image */
.management-card img{
    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #001F3F;
    margin-bottom:15px;
}

/* Title */
.management-card h3{
    color:#001F3F;
    margin-bottom:10px;
    font-size:22px;
}

/* Text */
.management-card p{
    line-height:1.7;
    color:#333;
}

/* MOBILE FIX */
@media(max-width:768px){
    .management-card{
        width:100%;
    }

    .management-card img{
        width:180px;
        height:180px;
    }
}
/* FOOTER */

footer{
    background:#001f54;
    color:white;
    text-align:center;
    padding:20px;
}

/* MOBILE */

@media(max-width:768px){

.hero-text h1{
    font-size:30px;
}

.college-name{
    font-size:22px;
}

.gallery img{
    width:90%;
}
footer{
    background:#001f54;
    color:white;
    text-align:center;
    padding:20px;
}

/* MOBILE */

@media(max-width:768px){

.hero-text h1{
    font-size:30px;
}

.college-name{
    font-size:22px;
}

.gallery img{
    width:90%;
}

}
}