* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #252545;
}

/* NAVIGATION & LOGO */
header {
    background: #25256f;
    color: white;
    padding: 15px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.college-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 4px;
    border: 2px solid #ffda3d;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
}

.logo span {
    color: #ffda3d;
}

.logo small {
    font-size: 14px;
    letter-spacing: 2px;
    color: #e0e0e0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffda3d;
}

/* HERO SECTION */
.hero {
    min-height: 500px;
    background: linear-gradient(90deg, rgba(23, 23, 77, 0.9), rgba(23, 23, 77, 0.65)),
                url("assets/college-building.jpg") center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
    padding: 60px 8%;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: 46px;
    margin: 20px 0;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
}

.admission-label {
    background: #ffda3d;
    color: #25256f;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}

.btn {
    display: inline-block;
    background: #ffda3d;
    color: #25256f;
    padding: 14px 26px;
    margin-top: 25px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #ffe46b;
    transform: translateY(-2px);
}

/* GENERAL SECTION */
section {
    padding: 65px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 34px;
    color: #25256f;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    line-height: 1.6;
}

/* COLLEGE BUILDING IMAGE SECTION */
.college-building {
    background: #ffffff;
    text-align: center;
}

.building-image {
    max-width: 950px;
    margin: 0 auto;
}

.building-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid #f3f4fa;
}

/* ABOUT SECTION */
.about {
    background: #fffdf2;
    text-align: center;
}

.about p {
    max-width: 850px;
    margin: auto;
    line-height: 1.9;
    font-size: 17px;
}

/* COURSES SECTION */
.courses {
    background: #f3f4fa;
}

.course-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.course-card {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    border-bottom: 5px solid #25256f;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card h3 {
    color: #25256f;
    font-size: 26px;
    margin: 15px 0;
}

.course-card p {
    line-height: 1.8;
    color: #555;
}

.course-icon {
    font-size: 40px;
}

/* FACILITIES SECTION */
.facility-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.facility-card {
    padding: 23px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.facility-card h3 {
    color: #25256f;
    margin-bottom: 12px;
    font-size: 18px;
}

.facility-card p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* ADMISSION BANNER */
.admission {
    background: #25256f;
    color: white;
    text-align: center;
}

.admission h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

.admission p {
    line-height: 1.8;
    font-size: 18px;
}

/* GALLERY SECTION */
.gallery {
    background: #f5f5f5;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gallery-container img:hover {
    transform: scale(1.02);
}

/* CONTACT SECTION */
.contact {
    background: #fffdf2;
}

.contact-box {
    max-width: 750px;
    margin: auto;
    background: white;
    padding: 35px;
    border-radius: 12px;
    line-height: 1.9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #25256f;
}

.contact-box h3 {
    color: #25256f;
    margin-bottom: 15px;
    font-size: 24px;
}

.contact-box p {
    margin-bottom: 12px;
}

.contact-box a {
    color: #25256f;
    font-weight: bold;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background: #171747;
    color: white;
    padding: 35px 20px;
    text-align: center;
    line-height: 1.8;
}

footer strong {
    color: #ffda3d;
    font-size: 18px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .course-container,
    .facility-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 5px 8px;
        font-size: 14px;
    }

    .course-container,
    .facility-container,
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 30px;
    }

    section {
        padding: 45px 5%;
    }
}