/* --- HEADER SECTION --- */
.university-header-card {
    background-color: var(--color-bg-cream);
    border-radius: 24px;
    margin-bottom: 2rem;
    padding-bottom: 4rem !important;
}

.badge-pill {
    background-color: var(--color-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.university-header-card h1 {
    color: var(--color-primary);
}

/* --- SEARCH BAR (Clean Floating Style) --- */
.search-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-input {
    background-color: #ffffff !important;
    border: 1px solid transparent;
    border-radius: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
    padding-left: 60px !important; /* Fixed padding for icon */
    font-size: 1.1rem;
    color: var(--text-main);
    box-shadow: 0 4px 20px rgba(0, 53, 43, 0.08);
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 8px 25px rgba(0, 53, 43, 0.12);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 5;
}

/* --- CARDS --- */
.university-card {
    background: #fff;
    border: 1px solid var(--color-border) !important;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 53, 43, 0.08);
}

.card-title {
    color: var(--color-primary);
    font-weight: 700;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- TAGS --- */
.tag-soft {
    background-color: #f3f4f6;
    color: var(--color-primary);
    font-weight: 500;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 6px 12px;
}

/* --- BUTTONS --- */
.btn-primary-custom {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* --- BOTTOM IMAGE --- */
.card-img-bottom-wrapper {
    height: 180px;
    overflow: hidden;
}

.card-img-bottom-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.university-card:hover .card-img-bottom-wrapper img {
    transform: scale(1.05);
}

/* WRAPPER */
.consulting-card-wrapper {
    border-radius: 24px;
    overflow: hidden;
    background-color: #fff;
}

/* LEFT VISUAL COLUMN */
/* --- VISUAL COLUMN STYLING --- */
.consulting-visual {
    position: relative;
    min-height: 550px; /* Increased slightly for better mobile height */
    overflow: hidden;  /* Ensures image doesn't spill out */
    background-color: var(--color-primary); /* Fallback color */
}

/* 1. The Image Layer */
.consulting-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('https://images.unsplash.com/photo-1501504905252-473c47e087f8?w=900&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8Y291cnNlc3xlbnwwfHwwfHx8MA%3D%3D');  */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* 2. The Green Overlay Layer */
.consulting-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Design Logic: Dark Green with 90% Opacity to make text pop */
    background: var(--color-primary);
    opacity: 0.90; 
    z-index: 1;
}

/* 3. Content Logic */
.consulting-visual .content-wrapper {
    z-index: 2; /* Ensures text is above image and overlay */
}

.kpi-count{
    color: var(--color-accent);
}

/* RIGHT FORM COLUMN */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: var(--text-muted);
}

.form-control, .form-select {
    border-left: none;
    background-color: #fff;
    padding-left: 0;
}

/* Focus states to match brand */
.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--color-border);
}

.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control,
.input-group:focus-within .form-select {
    border-color: var(--color-primary);
    background-color: #fff;
}

.input-group:focus-within .input-group-text {
    color: var(--color-primary);
}

/* BUTTONS */
.btn-accent-custom {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-accent-custom:hover {
    background-color: #e62e00; /* Slightly darker orange */
    color: #fff;
    transform: translateY(-1px);
}   
