/*
|--------------------------------------------------------------------------
| RJA DELIVERY
| Customer Web — Dashboard
|--------------------------------------------------------------------------
*/

/* ==========================================================
   RESET
========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    background: #ffffff;
    color: #1f2937;
}

img {
    display: block;
    max-width: 100%;
}

#logo-header {
    width: 80px;
    height: 1%;
}

button,
a,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

.is-hidden {
    display: none !important;
}


/* ==========================================================
   GLOBAL
========================================================== */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

.section-light {
    background: #ffffff;
}

.section-soft {
    background: #f5f8fc;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-label {
    margin: 0 0 10px;
    color: #1261b5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 12px;
    color: #123d79;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.section-heading p:not(.section-label) {
    margin: 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   HEADER
========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5eaf1;
}

.header-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    width: 145px;
    height: auto;
    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    min-height: 76px;
    flex: 1;
}

.main-navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #475467;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    background: #1261b5;
    opacity: 0;
    transform: scaleX(0);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.main-navigation a:hover {
    color: #1261b5;
}

.main-navigation a.active {
    color: #1261b5;
}

.main-navigation a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-action {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #1261b5;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1261b5;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.header-action:hover {
    color: #ffffff;
    background: #1261b5;
}

.header-action.primary {
    color: #ffffff;
    background: #1261b5;
}

.header-action.primary:hover {
    background: #0d4f96;
    border-color: #0d4f96;
}

.header-action.logout {
    color: #ffffff;
    background: #d92d20;
    border-color: #d92d20;
}

.header-action.logout:hover {
    background: #b42318;
    border-color: #b42318;
}


/* ==========================================================
   HERO / BANNER
========================================================== */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1261b5;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: initial;
    object-position: center;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.08),
            transparent 55%
        );
}

.hero-controls {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
}

.hero-control {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.38);
    font-size: 26px;
    line-height: 1;
    pointer-events: auto;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.62);
    transform: scale(1.05);
}

.hero-indicators {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-indicator {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    transition:
        width 0.2s ease,
        background 0.2s ease;
}

.hero-indicator.active {
    width: 28px;
    border-radius: 10px;
    background: #ffffff;
}


/* ==========================================================
   QUICK ACTION
========================================================== */

.quick-action-section {
    position: relative;
    z-index: 10;
    margin-top: -35px;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.quick-action-card {
    min-height: 155px;
    padding: 25px 20px;
    border: 1px solid #e4eaf2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow:
        0 8px 24px rgba(16, 24, 40, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.quick-action-card:hover {
    border-color: #1261b5;
    transform: translateY(-4px);
    box-shadow:
        0 12px 28px rgba(16, 24, 40, 0.12);
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1261b5;
    background: #edf5ff;
    font-size: 19px;
    font-weight: 800;
}

.quick-action-card h3 {
    margin: 0 0 7px;
    color: #123d79;
    font-size: 16px;
    line-height: 1.3;
}

.quick-action-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================================
   SERVICES
========================================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    padding: 30px 26px;
    border: 1px solid #e4eaf2;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.service-card:hover {
    border-color: #d4e3f4;
    transform: translateY(-4px);
    box-shadow:
        0 10px 28px rgba(16, 24, 40, 0.08);
}

.service-card-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #1261b5;
    font-size: 22px;
    font-weight: 700;
}

.service-card h3 {
    margin: 0 0 10px;
    color: #123d79;
    font-size: 19px;
}

.service-card p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   INFORMATION
========================================================== */

.information-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.information-card {
    padding: 26px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e4eaf2;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.information-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(16, 24, 40, 0.07);
}

.information-card h3 {
    margin: 0 0 10px;
    color: #123d79;
    font-size: 18px;
}

.information-card p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   CTA
========================================================== */

.cta-section {
    padding: 68px 0;
    background: #1261b5;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta-text {
    max-width: 700px;
}

.cta-text h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.25;
}

.cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.7;
}

.cta-button {
    min-width: 170px;
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1261b5;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.16);
}


/* ==========================================================
   CONTACT
========================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.contact-card {
    padding: 32px;
    border: 1px solid #e4eaf2;
    border-radius: 8px;
    background: #ffffff;
}

.contact-card h3 {
    margin: 0 0 18px;
    color: #123d79;
    font-size: 21px;
}

.contact-card > p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f5;
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-item-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1261b5;
    background: #edf5ff;
    font-weight: 700;
}

.contact-item-content strong {
    display: block;
    margin-bottom: 4px;
    color: #344054;
    font-size: 14px;
}

.contact-item-content span {
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}


/* ==========================================================
   ABOUT
========================================================== */

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    padding: 42px 0 24px;
    background: #0c2f5d;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand img {
    width: 145px;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.7;
}

.footer-column h3 {
    margin: 0 0 14px;
    font-size: 15px;
}

.footer-column a {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .container {
        width: min(100% - 32px, 1000px);
    }

    .header-container {
        gap: 15px;
    }

    .main-navigation {
        gap: 0;
    }

    .main-navigation a {
        padding: 0 9px;
        font-size: 12px;
    }

    .main-navigation a::after {
        left: 9px;
        right: 9px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-action {
        padding: 0 11px;
    }

    .quick-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==========================================================
   TABLET / SMALL LAPTOP
========================================================== */

@media (max-width: 850px) {

    .section {
        padding: 56px 0;
    }

    .main-navigation {
        display: none;
    }

    .header-container {
        min-height: 68px;
    }

    .brand img {
        width: 130px;
    }

    .service-grid,
    .information-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 560px) {

    .container {
        width: calc(100% - 24px);
    }

    .section {
        padding: 46px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .section-heading p:not(.section-label) {
        font-size: 14px;
    }

    .hero-controls {
        padding: 0 10px;
    }

    .hero-control {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .hero-indicators {
        bottom: 10px;
        gap: 6px;
    }

    .hero-indicator {
        width: 7px;
        height: 7px;
    }

    .hero-indicator.active {
        width: 22px;
    }

    .quick-action-section {
        margin-top: -20px;
    }

    .quick-action-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .quick-action-card {
        min-height: 130px;
        padding: 18px 12px;
    }

    .quick-action-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
        font-size: 17px;
    }

    .quick-action-card h3 {
        font-size: 14px;
    }

    .quick-action-card p {
        font-size: 11px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .information-card {
        padding: 22px 20px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-text h2 {
        font-size: 25px;
    }

    .contact-card {
        padding: 24px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-action {
        min-height: 36px;
        padding: 0 9px;
        font-size: 10px;
    }

    .brand img {
        width: 118px;
    }
}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .quick-action-card {
        min-height: 110px;
    }

    .header-action {
        padding: 0 8px;
        font-size: 10px;
    }

    .brand img {
        width: 105px;
    }
}