
body {
    background: #f5f7fb;
    color: #202938;
    font-family: Arial, sans-serif;
}

.main-navbar {
    background: #12345a;
}

.navbar-brand {
    letter-spacing: 0.3px;
}

.hero-section {
    background: linear-gradient(125deg, #12345a, #2475ad);
    color: white;
    padding: 55px 30px;
    border-radius: 18px;
}

.search-panel {
    background: white;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, .08);
}

.institute-card {
    height: 100%;
    overflow: hidden;
    background: white;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
}

.institute-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.institute-card .card-body {
    padding: 20px;
}

.price {
    color: #087443;
    font-weight: 700;
    font-size: 1.2rem;
}

.site-footer {
    background: #12345a;
    color: white;
}

.btn-primary {
    background: #175fa7;
    border-color: #175fa7;
}

.form-control, .form-select {
    min-height: 44px;
}

@media (max-width: 576px) {
    .hero-section {
        padding: 32px 20px;
    }

    .institute-card img {
        height: 190px;
    }
}
.institute-photo-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.institute-photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.institute-card:hover .institute-photo-link img {
    transform: scale(1.04);
}

/* ===== CLICKABLE INSTITUTE PHOTO ===== */
.institute-photo-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.institute-photo-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.institute-card:hover .institute-photo-link img {
    transform: scale(1.04);
}

/* ===== SAME-PAGE DETAILS ===== */
.institute-details-section {
    max-width: 1150px;
    margin: 35px auto 45px;
    padding: 0 15px;
    scroll-margin-top: 25px;
}

.institute-details-banner {
    padding: 28px;
    margin-bottom: 25px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(120deg, #071d49, #147eaa);
}

.institute-details-banner h2 {
    font-weight: 800;
    overflow-wrap: anywhere;
}

.institute-details-photo {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    margin-bottom: 25px;
    background: #eaf2ff;
}

.institute-details-panel {
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 22px;
    box-shadow: 0 7px 25px rgba(25,45,80,.05);
}

.institute-details-panel h3 {
    color: #123d65;
    font-weight: 800;
    margin-bottom: 18px;
}

.institute-details-panel .facility-box {
    margin-bottom: 20px;
}

.institute-details-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.institute-details-actions .btn {
    border-radius: 9px;
    font-weight: 700;
    padding: 11px 18px;
}

@media (max-width: 576px) {
    .institute-details-banner {
        padding: 21px;
    }

    .institute-details-photo {
        height: 230px;
    }

    .institute-details-panel {
        padding: 17px;
    }
}
