/* =====================================================
   College Profile Hero — "DBS Dehradun" style
   Scope: .college-hero (colleges/profile.php only)
   Dark navy gradient, white rounded logo card, serif title,
   badges, and a vertical CTA stack on the right.
   ===================================================== */

.college-hero {
    background: linear-gradient(120deg, #0b1c33 0%, #0a2342 48%, #0d3a3f 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* A soft teal glow on the right, like the reference image */
.college-hero::before {
    background: radial-gradient(520px 360px at 88% 18%, rgba(18, 148, 152, 0.22), transparent 62%) !important;
}

.college-hero .container {
    padding-top: 30px;
    padding-bottom: 42px;
}

/* Logo: white rounded square, consistent with the reference */
.college-hero .entity-logo-lg {
    width: 104px;
    height: 104px;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.college-hero .entity-logo-lg img,
.college-hero .entity-logo-lg .institution-logo-image {
    border-radius: 6px;
    object-fit: contain;
}

/* Serif display title */
.college-hero .hero-info h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 10px;
}

.college-hero .hero-subtitle {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.college-hero .hero-meta {
    gap: 10px 18px;
    margin-bottom: 16px;
}

.college-hero .meta-item {
    font-size: 0.88rem;
}

/* Badges: dark translucent pills */
.college-hero .hero-badges {
    gap: 8px;
    margin-bottom: 0;
}

.college-hero .badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Right-side vertical CTA stack */
.college-hero .hero-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 210px;
    width: 210px;
    margin-top: 0;
}

.college-hero .hero-actions .btn {
    width: 100%;
    min-width: 0;
    flex: none;
    text-align: center;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 0.92rem;
    font-weight: 600;
}

.college-hero .hero-actions .btn-primary {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.college-hero .hero-actions .btn-primary:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.college-hero .hero-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.college-hero .hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* Floating Enquire Now pill (bottom-right of hero area) */
.college-hero .hero-enquire {
    position: absolute;
    right: 24px;
    bottom: -22px;
    z-index: 6;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    cursor: pointer;
}

.college-hero .hero-enquire:hover {
    background: #1d4ed8;
}

/* Responsive */
@media (max-width: 900px) {
    .college-hero .hero-content {
        grid-template-columns: auto 1fr;
        gap: 1.2rem;
    }
    .college-hero .hero-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        min-width: 0;
    }
    .college-hero .hero-actions .btn {
        flex: 1 1 160px;
        width: auto;
    }
    .college-hero .hero-enquire {
        position: static;
        margin: 16px 24px 0;
        display: inline-block;
    }
}

@media (max-width: 640px) {
    .college-hero .entity-logo-lg {
        width: 76px;
        height: 76px;
        padding: 8px;
    }
    .college-hero .hero-info h1 {
        font-size: 1.9rem;
    }
}
