/* ================= GENERAL ================= */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

/* ================= NAVBAR ================= */
.navbar {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ================= HERO (BACKGROUND IMAGE) ================= */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://raw.githubusercontent.com/ashutomani/habit2026/main/MNNIT.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

/* ================= TEXT IMPROVEMENT ================= */
.hero h1, .hero h2, .hero h3, .hero h4, .hero p {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* ================= SECTION TITLES ================= */
.section-title {
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

/* ================= CARDS ================= */
.card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
}

/* ================= BUTTONS ================= */
.btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
}

/* ================= LIST ================= */
ul {
    font-size: 16px;
}

/* ================= FOOTER ================= */
footer {
    margin-top: 50px;
    font-size: 14px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        background-attachment: scroll; /* fix for mobile */
    }

    .hero h1 {
        font-size: 24px;
    }
    .title-box {
    display: inline-block;
    background-color: rgba(0, 102, 204, 0.85); /* blue */
    padding: 15px 25px;
    border-radius: 10px;
    margin-top: 10px;
}

.title-box h2,
.title-box h4 {
    color: white;
    margin: 0;
}

    .hero h2 {
        font-size: 20px;
    }
}
.title-box {
    display: inline-block;
    background-color: blue;
    padding: 15px 25px;
    border-radius: 10px;
}
.brochure-link {
    background-color: #fff3b0; /* fluorescent cream */
    color: black !important;
    font-weight: bold;
    border-radius: 6px;
    padding: 5px 10px;
    margin-left: 10px;
}

.brochure-link:hover {
    background-color: #ffe066;
    color: black !important;
}
.register-box {
    display: inline-block;
    background-color: #007bff;  /* solid blue */
    padding: 14px 28px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
}

.register-box a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.register-box:hover {
    background-color: #0056b3;  /* darker blue on hover */
}

.register-box:hover {
    transform: scale(1.05);
    transition: 0.3s;
}
.register-box {
    display: block;
    width: fit-content;
    margin: 20px auto;          /* centers it */
    background-color: #007bff;  /* solid blue */
    padding: 14px 30px;
    border-radius: 6px;
    text-align: center;
}

.register-box a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.register-box:hover {
    background-color: #0056b3;  /* darker on hover */
}
ul li {
    margin-bottom: 8px;
}
.visitor-map {
    margin-top: 40px;
}
