/* =========================================================
   DEVELOPER PAGE
   Bootstrap + Custom CSS
   ========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: #17345f;
}

/* Desktop: exactly 50px left/right */
.developer-section {
    width: 100%;
    padding: 10px 50px 0;
}

.developer-container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0;
}

/* Heading */
.developer-heading h1 {
    color: #173d70;
    font-weight: 700;
    font-size: 24px;
}

.developer-heading p {
    color: #7b8796;
    font-size: 14px;
}

/* =========================================================
   CARD
   ========================================================= */

.developer-card {
    border: 1px solid #e6edf5;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(20, 55, 90, 0.03);
    overflow: hidden;
    transition: 0.2s ease;
}

.developer-card:hover {
    border-color: #d7e6f7;
    box-shadow: 0 7px 20px rgba(20, 55, 90, 0.08);
    transform: translateY(-2px);
}

.developer-card .card-body {
    min-height: 155px;
    padding: 18px;
}

/* Logo */
.developer-logo-box {
    width: 100%;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.developer-logo {
    max-width: 100%;
    max-height: 78px;
    width: auto;
    object-fit: contain;
}

/* Developer information */
.developer-name {
    color: #173d70;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 7px;
}

.developer-type {
    color: #7a8797;
    font-size: 12px;
    line-height: 1.3;
    margin: 0 0 11px;
}

/* Profile button */
.developer-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
    height: 40px;
    padding: 0 13px;
    background: #ffffff;
    border: 2px solid #8cc7ff;
    border-radius: 7px;
    color: #1479e8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
}

.developer-profile-btn i {
    font-size: 16px;
}

.developer-profile-btn:hover {
    color: #ffffff;
    background: #1479e8;
    border-color: #1479e8;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.developer-pagination {
    margin-top: 10px;
    padding-bottom: 8px;
}

.developer-pagination .pagination {
    gap: 5px;
}

.developer-pagination .page-item {
    margin: 0;
}

.developer-pagination .page-link {
    width: 34px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #111111;
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 0 !important;

    font-size: 18px;
    box-shadow: none;
}

.developer-pagination .page-link:hover {
    color: #1479e8;
    background: #f5f9fd;
}

.developer-pagination .page-item.active .page-link {
    color: #111111;
    background: #ffffff;
    border-color: #111111;
    font-weight: 700;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

    .developer-section {
        padding-left: 50px;
        padding-right: 50px;
    }

    .developer-card .card-body {
        min-height: 150px;
        padding: 15px;
    }

    .developer-name {
        font-size: 17px;
    }
}

/* =========================================================
   MOBILE
   Exactly 5px left/right
   ========================================================= */

@media (max-width: 767.98px) {

    .developer-section {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 8px;
    }

    .developer-container {
        width: 100%;
    }

    .developer-heading {
        padding-left: 2px;
        padding-right: 2px;
    }

    .developer-heading h1 {
        font-size: 20px;
    }

    .developer-heading p {
        font-size: 12px;
    }

    .developer-list {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    .developer-card .card-body {
        min-height: 130px;
        padding: 12px;
    }

    .developer-logo-box {
        height: 85px;
    }

    .developer-logo {
        max-width: 105px;
        max-height: 60px;
    }

    .developer-name {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .developer-type {
        font-size: 10px;
        margin-bottom: 7px;
    }

    .developer-profile-btn {
        min-width: 120px;
        height: 34px;
        gap: 7px;
        padding: 0 9px;
        border-radius: 6px;
        font-size: 11px;
    }

    .developer-profile-btn i {
        font-size: 13px;
    }

    .developer-pagination {
        margin-top: 8px;
        padding-bottom: 4px;
    }

    .developer-pagination .page-link {
        width: 32px;
        height: 36px;
        font-size: 16px;
    }
}

/* Small phones */
@media (max-width: 390px) {

    .developer-card .card-body {
        padding: 10px;
    }

    .developer-name {
        font-size: 14px;
    }

    .developer-type {
        font-size: 9px;
    }

    .developer-profile-btn {
        min-width: 112px;
        font-size: 10px;
    }
}
