/* ==========================================================================
   College Placements Custom Styles
   Isolated using 'cp-' prefix to avoid affecting any existing styles/sections.
   ========================================================================== */

/* Main Section Wrapper */
.cp-placements-section {
    padding: 50px 0 70px 0;
    background-color: #f7f9fc;
    font-family: inherit;
}

.cp-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Section Titles */
.cp-main-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.cp-section-subtitle {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    color: #111827;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

/* Hero Section Card - Laptop & Mobile Responsive Layout */
.cp-hero-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.cp-hero-card:hover {
    box-shadow: 0 10px 30px rgba(43, 49, 134, 0.08);
}

@media (min-width: 992px) {
    .cp-hero-card {
        flex-direction: row;
        align-items: center;
        padding: 24px;
        gap: 30px;
    }
}

.cp-hero-img-box {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

@media (min-width: 992px) {
    .cp-hero-img-box {
        width: 46%;
        flex-shrink: 0;
        min-height: 280px;
    }
}

.cp-hero-img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.cp-hero-content-box {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (min-width: 992px) {
    .cp-hero-content-box {
        width: 54%;
        padding: 10px 15px;
    }
}

.cp-hero-text-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    width: 100%;
}

.cp-hero-text {
    color: #2b3186;
    font-size: 15px;
    line-height: 1.75;
    text-align: center;
    margin: 0;
    font-weight: 400;
}

/* Featured Institutions Responsive Grid */
.cp-institutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .cp-institutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (min-width: 992px) {
    .cp-institutions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Institution Card */
.cp-institution-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-institution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 49, 134, 0.12);
    border-color: #2b3186;
}

/* Icon / Badge Circle Button - Color set to #2b3186 */
.cp-badge-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background-color: #2b3186; /* Requested icon button color */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(43, 49, 134, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cp-institution-card:hover .cp-badge-icon {
    transform: scale(1.08);
}

/* Institution Name */
.cp-institution-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.45;
    margin: 0;
}

/* Mobile Bottom Navigation Bar (Matching design) */
.cp-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 10px 0 8px 0;
    justify-content: space-around;
    align-items: center;
}

@media (max-width: 767.98px) {
    .cp-mobile-bottom-nav {
        display: flex;
    }
    .cp-placements-section {
        padding-bottom: 90px;
    }
}

.cp-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6b7280;
    font-size: 11px;
    gap: 4px;
    transition: color 0.2s ease;
}

.cp-nav-item i {
    font-size: 18px;
}

.cp-nav-item.active,
.cp-nav-item:hover {
    color: #2b3186; /* Icon active color #2b3186 */
    font-weight: 600;
}
