body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
}

/* Section */
.cohorts-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Heading */
.title {
    font-family: 'Roboto', sans-serif;
    font-size: 42px;
    font-weight: 700;
}

.subtitle {
    font-size: 20px;
    color: #9D9C9C;
    margin-top: 10px;
}

/* Grid */
.cohorts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Card */
.cohort-card {
    background: #0F172A;
    color: white;
    border-radius: 12px;
    padding: 18px 16px;

    min-height: 380px;

    display: flex;
    flex-direction: column;
    align-items: center;
    /* ✅ horizontal center */
    justify-content: flex-start;

    gap: 18px;
    text-align: center;
    /* ✅ text center */
}

.cohort-header {
    height: 90px;
    /* 🔥 KEY: same height for all */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}



.cohort-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ✅ center icon */
    justify-content: center;
    text-align: center;
    gap: 10px;
    width: 100%;
}

.cohort-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.cohort-item p {
    font-size: 14px;
    line-height: 1.4;
    max-width: 160px;
    /* ✅ keeps text nicely centered like design */
}

.cohort-card:hover {
    transform: translateY(-6px);
}

/* Title */
.cohort-card h3 {
    font-size: 20px;
    font-weight: 600;
}

/* List */
.cohort-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cohort-card li {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.cohort-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    /* margin-bottom: 6px; */
    /* min-height: 56px; */
    /* line-height: 1.3; */
    /* 🔥 KEY FIX */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: flex-start; */
    /* margin-bottom: 20px; */
    /* spacing below line */
    /* border-radius: 2px; */
}

.cohort-line {
    width: 40px;
    height: 3px;
    background: #FE9927;
    /* margin: 8px; */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.heading-wrapper {
    position: relative;
    display: inline-block;
}

.heading-wrapper::before,
.heading-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background: #FE9927;
}

.heading-wrapper::before {
    right: 100%;
    margin-right: 12px;
}

.heading-wrapper::after {
    left: 100%;
    margin-left: 12px;
}

.heading-container {
    text-align: center;
    margin-bottom: 50px;
}

/* BACK TO HOME */
.back-header {
    padding: 28px 32px 10px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FE9927;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.back-link i {
    font-size: 13px;
}

.back-link:hover {
    opacity: 0.85;
    transform: translateX(-2px);
}

/* Mobile */
@media (max-width: 767px) {
    .back-header {
        padding: 22px 18px 8px;
    }

    .back-link {
        font-size: 14px;
        gap: 6px;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cohorts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .cohorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cohorts-grid {
        grid-template-columns: 1fr;
    }
}