/* =========================================================
   DEVELOPMENT SECTION
========================================================= */

.development-section {
    width: 100%;
}


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

.development-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 265px;

    padding: 24px;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    background: #ffffff;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.development-card:hover {
    transform: translateY(-5px);

    border-color: #86efac;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.09);
}


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

.development-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin-bottom: 16px;

    border-radius: 14px;

    background: #f0fdf4;

    font-size: 25px;

    transition: transform 0.25s ease;
}

.development-card:hover .development-card-icon {
    transform: scale(1.08);
}


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

.development-card-title {
    margin: 0;

    color: #111827;

    font-size: 19px;
    font-weight: 700;

    line-height: 1.4;
}


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

.development-card-text {
    margin-top: 9px;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   VIEW DETAILS BUTTON
========================================================= */

.development-view-btn {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    width: fit-content;

    margin-top: auto;
    padding-top: 18px;

    border: 0;

    background: transparent;

    color: #15803d;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.development-view-btn:hover {
    color: #166534;

    gap: 11px;
}


/* =========================================================
   MODAL
========================================================= */

.development-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 16px;

    background: rgba(15, 23, 42, 0.62);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.development-modal.active {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   MODAL BOX
========================================================= */

.development-modal-box {
    position: relative;

    width: 100%;

    max-width: 440px;

    max-height: 90vh;

    overflow-y: auto;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    transform:
        translateY(25px)
        scale(0.96);

    transition:
        transform 0.3s ease;
}

.development-modal.active .development-modal-box {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   MODAL HEADER
========================================================= */

.development-modal-header {
    position: relative;

    overflow: hidden;

    padding: 26px 25px 23px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #15803d,
            #16a34a
        );

    color: #ffffff;
}


/* Decorative Circles */

.development-modal-header::before {
    content: "";

    position: absolute;

    top: -55px;
    right: -45px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
}

.development-modal-header::after {
    content: "";

    position: absolute;

    bottom: -45px;
    left: -30px;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);
}


/* =========================================================
   MODAL ICON
========================================================= */

.development-modal-icon {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin: 0 auto 10px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.22);

    font-size: 24px;
}


/* =========================================================
   MODAL TITLE
========================================================= */

.development-modal-header h3 {
    position: relative;

    margin: 0;

    font-size: 21px;

    font-weight: 700;
}

.development-modal-header p {
    position: relative;

    margin: 5px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 13px;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.development-modal-close {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 5;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-size: 23px;

    line-height: 1;

    cursor: pointer;

    transition: all 0.2s ease;
}

.development-modal-close:hover {
    background: #ffffff;

    color: #15803d;

    transform: rotate(90deg);
}


/* =========================================================
   MODAL CONTENT
========================================================= */

.development-modal-content {
    padding: 23px 25px 25px;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.7;
}

.development-modal-content p {
    margin: 0;
}


/* =========================================================
   MODAL LIST
========================================================= */

.development-modal-list {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 18px;
}

.development-modal-list div {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 12px;

    border-radius: 9px;

    background: #f0fdf4;

    color: #374151;

    font-size: 13px;

    font-weight: 500;
}

.development-modal-list span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 21px;
    height: 21px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #16a34a;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.development-modal-box::-webkit-scrollbar {
    width: 5px;
}

.development-modal-box::-webkit-scrollbar-track {
    background: transparent;
}

.development-modal-box::-webkit-scrollbar-thumb {
    border-radius: 20px;

    background: #d1d5db;
}


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

@media (max-width: 768px) {

    .development-card {
        min-height: 250px;

        padding: 21px;
    }

    .development-card-title {
        font-size: 18px;
    }

    .development-modal-box {
        max-width: 420px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .development-card {
        min-height: 235px;

        padding: 20px;
    }

    .development-card-icon {
        width: 50px;
        height: 50px;

        font-size: 23px;
    }

    .development-card-title {
        font-size: 17px;
    }

    .development-card-text {
        font-size: 13px;
    }

    .development-modal {
        padding: 12px;
    }

    .development-modal-box {
        max-width: 100%;

        border-radius: 17px;
    }

    .development-modal-header {
        padding: 23px 20px 21px;
    }

    .development-modal-content {
        padding: 20px 18px 22px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .development-card {
        min-height: 220px;

        padding: 18px;
    }

    .development-modal-header h3 {
        font-size: 19px;
    }

    .development-modal-content {
        font-size: 13px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .development-card,
    .development-modal,
    .development-modal-box,
    .development-card-icon,
    .development-view-btn {
        transition: none;
    }
}