

/* ===== Application Steps Styles ===== */
.apply-steps-container {
    text-align: center;
    margin: 25px auto;
    padding: 25px 15px;
    max-width: 900px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border-radius: 12px;
}

.apply-steps-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-family: "Poppins", sans-serif;
    color: #1c232b;
    position: relative;
    padding-bottom: 12px;
}

.apply-steps-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #c62828 0%, #d32f2f 100%);
    border-radius: 2px;
}

.apply-steps-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
}

.apply-step-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    max-width: 160px;
    position: relative;
    transition: transform 0.3s ease;
}

.apply-step-box:hover {
    transform: translateY(-5px);
}

.apply-step-box:hover .apply-step-circle {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.25);
}

.apply-step-box::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -25px;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, #c62828 0%, rgba(198, 40, 40, 0.3) 100%);
    z-index: 1;
}

.apply-step-box:last-child::after {
    display: none;
}

.apply-step-circle {
    width: 42px;
    height: 42px;
    border: 3px solid #c62828;
    color: #c62828;
    font-weight: 800;
    font-size: 1.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fef5f5 100%);
    font-family: "Poppins", sans-serif;
    box-shadow: 0 3px 12px rgba(198, 40, 40, 0.12);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.apply-step-content {
    font-size: 0.9rem;
    color: #222;
    text-align: center;
    font-family: "Poppins", sans-serif;
    padding: 0 8px;
    line-height: 1.3;
}

.apply-step-bold {
    font-weight: 600;
    color: #1c232b;
    display: block;
}

/* ===== Universities Section Styles ===== */
.universities-section {
    margin: 5px auto;
    padding: 0 0px;
    max-width: 1400px;
}

.universities-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ===== Sidebar Styles ===== */
.province-sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 0;
    min-width: 320px;
    max-width: 360px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(198, 40, 40, 0.1);
    border: 1px solid rgba(198, 40, 40, 0.08);
    transition: all 0.3s ease;
}

.province-sidebar:hover {
    box-shadow: 0 6px 30px rgba(198, 40, 40, 0.15);
    transform: translateY(-2px);
}

.sidebar-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #c62828 0%, #d32f2f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 28px 24px 20px;
    margin: 0;
    letter-spacing: -0.5px;
}

.province-filter {
    background: #fff;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.province-header {
    background: linear-gradient(135deg, #c62828 0%, #d32f2f 100%);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 16px 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.2);
}

/* Two-Column Grid for Provinces */
.province-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 12px 0;
}

.province-item {
    font-family: "Poppins", sans-serif;
    font-size: 0.92rem;
    color: #333;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    background: #fff;
}

.province-item::before {
    content: "◆";
    position: absolute;
    left: 8px;
    opacity: 0;
    color: #c62828;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.province-item:hover {
    background: linear-gradient(90deg, #fef5f5 0%, #ffffff 100%);
    color: #c62828;
    border-left-color: #c62828;
    padding-left: 24px;
    font-weight: 500;
}

.province-item:hover::before {
    opacity: 1;
    left: 12px;
}

.province-item.active {
    background: linear-gradient(90deg, #fef5f5 0%, #ffe8e8 100%);
    color: #c62828;
    font-weight: 600;
    border-left-color: #c62828;
    padding-left: 24px;
    box-shadow: inset 0 0 10px rgba(198, 40, 40, 0.08);
}

.province-item.active::before {
    opacity: 1;
    left: 12px;
}

/* ===== Table Styles ===== */
.university-table-container {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.university-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Poppins", sans-serif;
}

.university-table thead {
    background: linear-gradient(135deg, #c62828 0%, #d32f2f 100%);
    box-shadow: 0 2px 10px rgba(198, 40, 40, 0.3);
}

.university-table th {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.02rem;
    text-align: left;
    padding: 20px 22px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.university-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.university-table tbody tr:hover {
    background: linear-gradient(90deg, #fef5f5 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.1);
    transform: scale(1.01);
}

.university-table tbody tr:last-child {
    border-bottom: none;
}

.university-table td {
    padding: 18px 22px;
    color: #333;
    font-size: 0.94rem;
    transition: all 0.3s ease;
}

.university-table td:first-child {
    font-weight: 600;
    color: #1c232b;
}

.university-table td:last-child {
    font-weight: 700;
    color: #c62828;
    font-size: 1.05rem;
}

/* ===== Application Steps Styles ===== */
.apply-steps-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 10px 10px;
    margin: 40px auto;
    max-width: 1400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.apply-steps-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1c232b;
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 15px;
    position: relative;
}

.apply-steps-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #c62828 0%, #d32f2f 100%);
    border-radius: 2px;
}

.apply-steps-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.apply-step-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    min-width: 160px;
    max-width: 200px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.apply-step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(198, 40, 40, 0.15);
    border-color: #c62828;
}

.apply-step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c62828 0%, #d32f2f 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
    transition: all 0.3s ease;
}

.apply-step-box:hover .apply-step-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(198, 40, 40, 0.4);
}

.apply-step-content {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

.apply-step-bold {
    font-weight: 600;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .universities-container {
        flex-direction: column;
    }

    .province-sidebar {
        max-width: 100%;
        width: 100%;
    }

    .province-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .apply-steps-row {
        gap: 20px;
    }

    .apply-step-box {
        min-width: 140px;
        max-width: 180px;
    }

    .province-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Steps Responsive */
    .apply-steps-container {
        padding: 10px 10px;
        margin: 25px auto;
    }

    .apply-steps-title {
        font-size: 1.25rem;
        margin-bottom: 25px;
        padding-bottom: 12px;
    }

    .apply-steps-title::after {
        width: 45px;
        height: 3px;
    }

    .apply-steps-row {
        gap: 18px;
    }

    .apply-step-box {
        min-width: 130px;
        max-width: 150px;
        padding: 20px 15px;
    }

    .apply-step-circle {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .apply-step-content {
        font-size: 0.88rem;
    }

    /* Universities Responsive */
    .universities-section {
        padding: 0 15px;
        margin: 30px auto;
    }

    .sidebar-title {
        font-size: 1.5rem;
        padding: 22px 18px 16px;
    }

    .province-header {
        font-size: 1.05rem;
        padding: 14px 18px;
    }

    .province-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .province-item {
        font-size: 0.88rem;
        padding: 10px 16px;
    }

    .university-table th,
    .university-table td {
        padding: 14px 16px;
        font-size: 0.87rem;
    }

    .university-table th {
        font-size: 0.92rem;
    }

    .university-table td:last-child {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    /* Steps Responsive */
    .apply-steps-container {
        padding: 10px 10px;
    }

    .apply-steps-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .apply-steps-row {
        gap: 15px;
    }

    .apply-step-box {
        min-width: 115px;
        max-width: 130px;
        padding: 18px 12px;
    }

    .apply-step-circle {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .apply-step-content {
        font-size: 0.82rem;
    }

    /* Universities Responsive - Single Column */
    .sidebar-title {
        font-size: 1.3rem;
        padding: 20px 15px 14px;
    }

    .province-header {
        font-size: 0.98rem;
        padding: 12px 15px;
    }

    .province-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .province-item {
        font-size: 0.85rem;
        padding: 10px 15px;
    }

    .university-table {
        font-size: 0.8rem;
    }

    .university-table th,
    .university-table td {
        padding: 12px 12px;
        font-size: 0.82rem;
    }

    .university-table th {
        font-size: 0.85rem;
        letter-spacing: 0.3px;
    }

    .university-table td:last-child {
        font-size: 0.92rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .province-item {
        font-size: 0.82rem;
        padding: 9px 12px;
    }

    .university-table th,
    .university-table td {
        padding: 10px 8px;
        font-size: 0.78rem;
    }
}


