:root {
    --navy-blue: #001f3f;
    --apply-green: #28a745;
    --hover-green: #90ee90; /* Light Green */
    --whatsapp-color: #25D366;
    --text-muted: #6c757d;
    --bg-light: #f0f2f5;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: #333;
    margin: 0;
    padding: 0;
}

/* --- Responsive Premium Header --- */
.state-header {
    position: relative;
    background: radial-gradient(at 0% 0%, rgba(144, 238, 144, 0.15) 0px, transparent 50%), 
                radial-gradient(at 100% 100%, rgba(0, 31, 63, 1) 0px, #001226 100%);
    color: white;
    padding: 60px 0 50px; /* Reduced padding for mobile */
    overflow: hidden;
    border-bottom: 5px solid var(--hover-green);
    text-align: center;
}

/* Desktop Header Padding */
@media (min-width: 992px) {
    .state-header { padding: 100px 0 80px; text-align: left; }
}

.state-title {
    font-size: 2.2rem; /* Mobile size */
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

@media (min-width: 768px) { .state-title { font-size: 3rem; } }
@media (min-width: 1200px) { .state-title { font-size: 3.5rem; } }

.state-highlight {
    color: var(--hover-green);
    display: inline-block;
}

.header-subtext {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1rem;
    opacity: 0.85;
    padding: 0 15px;
}

@media (min-width: 992px) { .header-subtext { margin: 0; padding: 0; } }

/* --- Fully Responsive College Cards --- */
.college-card {
    border: none;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin-bottom: 20px; /* Spacing for mobile stacked view */
}

.college-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.12);
}

.image-wrapper {
    position: relative;
    height: 180px; /* Fixed height for consistency */
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 31, 63, 0.85);
    backdrop-filter: blur(6px);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.college-body {
    padding: 15px; /* Compact padding for mobile */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) { .college-body { padding: 20px; } }

.college-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 45px;
}

/* --- Adaptive Buttons --- */
.btn-group-custom {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-apply {
    flex: 3;
    background-color: var(--apply-green);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 10px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
}

.btn-wa-icon {
    flex: 1;
    color: var(--whatsapp-color);
    border: 2px solid var(--whatsapp-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
}

/* Media Query for Grid Layouts */
/* Mobile: 1 Column (Default) */
/* Tablet: 2 Columns */
@media (min-width: 576px) and (max-width: 991px) {
    .col-custom-responsive {
        width: 50%;
        flex: 0 0 auto;
    }
}

/* Desktop: 4 Columns */
@media (min-width: 1200px) {
    .col-xl-3 {
        width: 25%;
        flex: 0 0 auto;
    }
}

/* banner text center */
.state-header {
    text-align: center; /* Sabhi inline elements ko center karega */
    display: flex;
    flex-direction: column;
    align-items: center; /* Flexbox ke zariye content center karega */
}

.header-subtext {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px; /* Paragraph ko center mein rakhne aur read karne mein asani ke liye */
    text-align: center;
}

.breadcrumb {
    justify-content: center !important; /* Bootstrap override */
}