/* ==================================================
   Commercial Name Search Service
   Ministry of Economy, Industry & Investment
   ================================================== */


/* ==================================================
   Page Wrapper
   ================================================== */

.moit-commercial-search {

    background: #f8fafc;

    padding-bottom: 80px;

}


/* ==================================================
   Shared Container
   ================================================== */

.moit-commercial-search .moit-container {

    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    padding-right: 24px;
    padding-left: 24px;

    box-sizing: border-box;

}


/* ==================================================
   Sections
   ================================================== */

.moit-service-intro,
.moit-service-action,
.moit-service-steps,
.moit-digital-development,
.moit-related-services {

    padding-top: 70px;

}


/* ==================================================
   Information Box
   ================================================== */

.moit-info-box {

    display: flex;
    align-items: center;
    gap: 28px;

    background: #ffffff;

    padding: 38px;

    border-radius: 22px;

    border: 1px solid rgba(12,59,109,.08);

    box-shadow:
        0 10px 30px rgba(0,0,0,.04);

}


/* ==================================================
   Information Icon
   ================================================== */

.moit-info-box__icon {

    flex: 0 0 82px;

    width: 82px;
    height: 82px;

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

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #0c3b6d,
            #21c7a8
        );

}


.moit-info-box__icon svg {

    width: 38px;
    height: 38px;

    stroke: #ffffff;

    stroke-width: 1.8;

    fill: none;

    stroke-linecap: round;
    stroke-linejoin: round;

}


/* ==================================================
   Information Content
   ================================================== */

.moit-info-box__content {

    flex: 1;

}


.moit-info-box__content h2 {

    margin: 0 0 12px;

    color: #0c3b6d;

    font-size: 1.8rem;

    line-height: 1.4;

}


.moit-info-box__content p {

    margin: 0;

    color: #4b5563;

    line-height: 2.1;

}


/* ==================================================
   Service Action Section
   ================================================== */

.moit-action-card {

    max-width: 780px;

    margin: 0 auto;

    text-align: center;

    background: #ffffff;

    padding: 55px 45px;

    border-radius: 24px;

    border: 1px solid rgba(12,59,109,.08);

    box-shadow:
        0 20px 50px rgba(0,0,0,.06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.moit-action-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 28px 65px rgba(0,0,0,.08);

}


/* ==================================================
   Service Icon
   ================================================== */

.moit-action-icon {

    width: 95px;
    height: 95px;

    margin: 0 auto 25px;

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

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #21c7a8,
            #0c3b6d
        );

}


.moit-action-icon svg {

    width: 42px;
    height: 42px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

}


.moit-action-card h2 {

    margin: 0 0 14px;

    color: #0c3b6d;

    font-size: 2rem;

    line-height: 1.4;

}


.moit-action-card p {

    max-width: 620px;

    margin: 0 auto 30px;

    color: #6b7280;

    line-height: 2.1;

}


/* ==================================================
   Primary Button
   ================================================== */

.moit-btn-primary {

    appearance: none;

    border: 0;

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 240px;

    padding: 16px 32px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #0c3b6d,
            #21c7a8
        );

    color: #ffffff;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.moit-btn-primary:hover {

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(12,59,109,.20);

}

/* ==================================================
   Service Steps
   ================================================== */

.moit-service-steps h2 {

    text-align: center;

    margin: 0 0 40px;

    color: #0c3b6d;

    font-size: 2rem;

}


.moit-steps-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

}


.moit-step {

    background: #ffffff;

    padding: 32px 24px;

    text-align: center;

    border-radius: 20px;

    border: 1px solid rgba(12,59,109,.08);

    box-shadow:
        0 10px 25px rgba(0,0,0,.04);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.moit-step:hover {

    transform: translateY(-4px);

    box-shadow:
        0 18px 35px rgba(0,0,0,.06);

}


.moit-step-icon {

    width: 72px;
    height: 72px;

    margin: 0 auto 18px;

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

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(12,59,109,.08),
            rgba(33,199,168,.12)
        );

}


.moit-step-icon svg {

    width: 34px;
    height: 34px;

    fill: none;

    stroke: #0c3b6d;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

}


.moit-step h3 {

    margin: 0;

    color: #374151;

    font-size: 1rem;

    line-height: 1.8;

}


/* ==================================================
   Digital Development
   ================================================== */

.moit-development-box {

    background:
        linear-gradient(
            135deg,
            rgba(33,199,168,.08),
            rgba(12,59,109,.05)
        );

    border-right: 5px solid #21c7a8;

    border-radius: 22px;

    padding: 40px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.03);

}


.moit-development-box h2 {

    margin: 0 0 14px;

    color: #0c3b6d;

    font-size: 1.8rem;

}


.moit-development-box p {

    margin: 0;

    color: #4b5563;

    line-height: 2.1;

}


/* ==================================================
   Related Services
   ================================================== */

.moit-related-services h2 {

    text-align: center;

    margin: 0 0 40px;

    color: #0c3b6d;

    font-size: 2rem;

}


.moit-related-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}


.moit-related-grid a {

    background: #ffffff;

    min-height: 110px;

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

    text-align: center;

    padding: 24px;

    border-radius: 18px;

    text-decoration: none;

    color: #0c3b6d;

    font-weight: 600;

    border: 1px solid rgba(12,59,109,.08);

    box-shadow:
        0 8px 20px rgba(0,0,0,.04);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        color .25s ease;

}


.moit-related-grid a:hover {

    transform: translateY(-4px);

    color: #21c7a8;

    box-shadow:
        0 18px 35px rgba(0,0,0,.06);

}


.moit-related-grid span {

    line-height: 1.8;

}


/* ==================================================
   Footer Notice
   ================================================== */

.moit-service-footer {

    padding-top: 70px;

}


.moit-service-footer p {

    max-width: 900px;

    margin: 0 auto;

    text-align: center;

    color: #6b7280;

    line-height: 2.1;

    font-size: .95rem;

}


/* ==================================================
   Search Modal
   ================================================== */

.moit-search-modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

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

    padding: 20px;

}


.moit-search-modal.is-active {

    display: flex;

}


/* ==================================================
   Modal Overlay
   ================================================== */

.moit-search-modal-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.55);

    backdrop-filter: blur(3px);

}


/* ==================================================
   Modal Dialog
   ================================================== */

.moit-search-modal-dialog {

    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 620px;

    background: #ffffff;

    border-radius: 24px;

    padding: 45px;

    text-align: center;

    box-shadow:
        0 30px 80px rgba(0,0,0,.20);

    animation:
        moitModalIn .25s ease;

}


@keyframes moitModalIn {

    from {

        opacity: 0;

        transform:
            translateY(10px)
            scale(.98);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* ==================================================
   Modal Icon
   ================================================== */

.moit-search-modal-icon {

    width: 82px;
    height: 82px;

    margin: 0 auto 20px;

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

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #0c3b6d,
            #21c7a8
        );

}


.moit-search-modal-icon svg {

    width: 34px;
    height: 34px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

}


/* ==================================================
   Modal Content
   ================================================== */

.moit-search-modal-dialog h2 {

    margin: 0 0 14px;

    color: #0c3b6d;

    font-size: 1.9rem;

}


.moit-search-modal-dialog p {

    margin: 0;

    color: #4b5563;

    line-height: 2;

}


.moit-modal-note {

    margin-top: 20px;

    padding: 18px;

    border-radius: 14px;

    background:
        rgba(33,199,168,.08);

    color: #0c3b6d;

    line-height: 2;

}


/* ==================================================
   Modal Actions
   ================================================== */

.moit-modal-actions {

    display: flex;

    justify-content: center;

    gap: 14px;

    margin-top: 28px;

    flex-wrap: wrap;

}


.moit-modal-continue {

    min-width: 190px;

    padding: 14px 24px;

    border-radius: 12px;

    text-decoration: none;

    text-align: center;

    font-weight: 700;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0c3b6d,
            #21c7a8
        );

    transition: .25s;

}


.moit-modal-continue:hover {

    color: #ffffff;

    transform: translateY(-2px);

}


.moit-modal-cancel {

    min-width: 190px;

    padding: 14px 24px;

    border: 1px solid #d1d5db;

    border-radius: 12px;

    background: #ffffff;

    color: #374151;

    cursor: pointer;

    transition: .25s;

}


.moit-modal-cancel:hover {

    background: #f3f4f6;

}


/* ==================================================
   Tablet
   ================================================== */

@media (max-width: 1024px) {

    .moit-steps-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .moit-related-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* ==================================================
   Mobile
   ================================================== */

@media (max-width: 768px) {

    .moit-commercial-search {

        padding-bottom: 60px;

    }

    .moit-commercial-search .moit-container {

        padding-right: 20px;
        padding-left: 20px;

    }

    .moit-info-box {

        flex-direction: column;

        text-align: center;

        padding: 28px;

    }

    .moit-action-card {

        padding: 35px 25px;

    }

    .moit-action-card h2 {

        font-size: 1.6rem;

    }

    .moit-btn-primary {

        width: 100%;

    }

    .moit-steps-grid {

        grid-template-columns: 1fr;

    }

    .moit-related-grid {

        grid-template-columns: 1fr;

    }

    .moit-development-box {

        padding: 28px;

    }

    .moit-search-modal-dialog {

        padding: 30px 22px;

    }

    .moit-modal-actions {

        flex-direction: column;

    }

    .moit-modal-continue,
    .moit-modal-cancel {

        width: 100%;

    }

}


/* ==================================================
   Small Mobile
   ================================================== */

@media (max-width: 480px) {

    .moit-info-box__content h2,
    .moit-development-box h2,
    .moit-service-steps h2,
    .moit-related-services h2 {

        font-size: 1.5rem;

    }

    .moit-action-card h2 {

        font-size: 1.4rem;

    }

    .moit-search-modal-dialog h2 {

        font-size: 1.5rem;

    }

}