/* =========================================================
   Morocco Route Page
   Rahban Tir
   ========================================================= */

.morocco-page {
    width: 100%;
    overflow: hidden;
}

/* =========================================================
   Hero
   ========================================================= */

.morocco-page .rt-route-hero {
    position: relative;
    min-height: 620px;

    display: flex;
    align-items: center;

    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            rgba(23, 59, 109, 0.96) 0%,
            rgba(36, 79, 131, 0.94) 45%,
            rgba(139, 53, 69, 0.94) 75%,
            rgba(227, 30, 36, 0.96) 100%
        );
}

.morocco-page .rt-route-hero-inner {
    width: min(1400px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 70px;
}

.morocco-page .rt-route-hero-content {
    color: #fff;
    text-align: right;
}

.morocco-page .rt-route-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #fff;

    font-size: 15px;
    font-weight: 600;

    opacity: 0.9;
}

.morocco-page .rt-route-hero h1 {
    margin: 0 0 24px;

    color: #fff;

    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.35;
    font-weight: 800;
}

.morocco-page .rt-route-hero p {
    max-width: 650px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.94);

    font-size: 18px;
    line-height: 2.1;
}

.morocco-page .rt-route-hero-image {
    position: relative;

    overflow: hidden;

    border-radius: 24px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25);
}

.morocco-page .rt-route-hero-image img {
    display: block;

    width: 100%;
    height: 470px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.morocco-page .rt-route-hero-image:hover img {
    transform: scale(1.04);
}

/* =========================================================
   Button
   ========================================================= */

.morocco-page .rt-route-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 30px;

    border-radius: 10px;

    background: #fff;
    color: #173B6D;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.morocco-page .rt-route-btn:hover {
    transform: translateY(-3px);

    background: #f7f7f7;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   Common
   ========================================================= */

.morocco-page .rt-container {
    width: min(1400px, 92%);
    margin: 0 auto;
}

.morocco-page .rt-route-intro,
.morocco-page .rt-route-services,
.morocco-page .rt-route-goods,
.morocco-page .rt-route-advantages {
    padding: 90px 0;
}

.morocco-page .rt-route-intro,
.morocco-page .rt-route-goods {
    background: #fff;
}

.morocco-page .rt-route-services,
.morocco-page .rt-route-advantages {
    background: #f7f9fc;
}

.morocco-page .rt-section-heading {
    margin-bottom: 42px;

    text-align: right;
}

.morocco-page .rt-section-heading span {
    display: block;

    margin-bottom: 10px;

    color: #E31E24;

    font-size: 14px;
    font-weight: 700;
}

.morocco-page .rt-section-heading h2 {
    margin: 0;

    color: #173B6D;

    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.5;
    font-weight: 800;
}

.morocco-page .rt-route-intro > .rt-container > p {
    max-width: 1000px;

    margin: 0 0 45px auto;

    color: #4d5b6b;

    font-size: 17px;
    line-height: 2.15;

    text-align: right;
}

/* =========================================================
   Route Cards
   ========================================================= */

.morocco-page .rt-route-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.morocco-page .rt-route-card {
    position: relative;

    min-height: 220px;

    padding: 32px;

    overflow: hidden;

    border-radius: 20px;

    color: #fff;

    background:
        linear-gradient(
            180deg,
            #173B6D 0%,
            #244f83 40%,
            #5d405e 63%,
            #a52831 82%,
            #E31E24 100%
        );

    box-shadow:
        0 15px 40px rgba(23, 59, 109, 0.12);
}

.morocco-page .rt-route-card span {
    display: block;

    margin-bottom: 22px;

    color: #fff;

    font-size: 14px;
    font-weight: 800;

    opacity: 0.75;
}

.morocco-page .rt-route-card h3 {
    margin: 0 0 14px;

    color: #fff;

    font-size: 21px;
    line-height: 1.6;
}

.morocco-page .rt-route-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 15px;
    line-height: 2;
}

/* =========================================================
   Services
   ========================================================= */

.morocco-page .rt-service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.morocco-page .rt-service-card {
    min-height: 240px;

    padding: 32px 26px;

    border-radius: 20px;

    background: #fff;

    text-align: right;

    box-shadow:
        0 10px 35px rgba(23, 59, 109, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.morocco-page .rt-service-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 42px rgba(23, 59, 109, 0.14);
}

.morocco-page .rt-service-card i {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    border-radius: 14px;

    background: rgba(227, 30, 36, 0.08);
    color: #E31E24;

    font-size: 23px;
}

.morocco-page .rt-service-card h3 {
    margin: 0 0 12px;

    color: #173B6D;

    font-size: 19px;
    line-height: 1.6;
}

.morocco-page .rt-service-card p {
    margin: 0;

    color: #657384;

    font-size: 14px;
    line-height: 2;
}

/* =========================================================
   Goods
   ========================================================= */

.morocco-page .rt-goods-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 18px;
}

.morocco-page .rt-good-item {
    min-height: 150px;

    padding: 25px 20px;

    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 15px;

    border: 1px solid #e6ebf2;
    border-radius: 18px;

    background: #fff;

    text-align: center;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.morocco-page .rt-good-item:hover {
    transform: translateY(-5px);

    border-color: rgba(227, 30, 36, 0.25);

    box-shadow:
        0 12px 30px rgba(23, 59, 109, 0.08);
}

.morocco-page .rt-good-item i {
    color: #173B6D;

    font-size: 27px;
}

.morocco-page .rt-good-item span {
    color: #344254;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

/* =========================================================
   Advantages
   ========================================================= */

.morocco-page .rt-advantages-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.morocco-page .rt-advantage-card {
    min-height: 235px;

    padding: 30px 25px;

    border-radius: 20px;

    color: #fff;

    background:
        linear-gradient(
            180deg,
            #173B6D 0%,
            #244f83 40%,
            #5d405e 63%,
            #a52831 82%,
            #E31E24 100%
        );

    text-align: right;

    box-shadow:
        0 15px 40px rgba(23, 59, 109, 0.12);
}

.morocco-page .rt-advantage-card i {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    margin-bottom: 22px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.12);

    color: #fff;

    font-size: 22px;
}

.morocco-page .rt-advantage-card h3 {
    margin: 0 0 12px;

    color: #fff;

    font-size: 19px;
    line-height: 1.6;
}

.morocco-page .rt-advantage-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 14px;
    line-height: 2;
}

/* =========================================================
   CTA
   ========================================================= */

.morocco-page .rt-route-cta {
    padding: 80px 0;
}

.morocco-page .rt-route-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px 60px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #173B6D 0%,
            #244f83 45%,
            #8b3545 75%,
            #E31E24 100%
        );

    box-shadow:
        0 20px 55px rgba(23, 59, 109, 0.18);
}

.morocco-page .rt-route-cta-inner > div {
    text-align: right;
}

.morocco-page .rt-route-cta-inner span {
    display: block;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.morocco-page .rt-route-cta h2 {
    margin: 0 0 14px;

    color: #fff;

    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.6;
}

.morocco-page .rt-route-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 15px;
    line-height: 2;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {

    .morocco-page .rt-route-hero-inner {
        gap: 45px;
    }

    .morocco-page .rt-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .morocco-page .rt-goods-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .morocco-page .rt-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {

    .morocco-page .rt-route-hero {
        min-height: auto;

        padding: 60px 0;
    }

    .morocco-page .rt-route-hero-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .morocco-page .rt-route-hero-content {
        text-align: center;
    }

    .morocco-page .rt-route-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .morocco-page .rt-route-hero-image {
        order: 2;
    }

    .morocco-page .rt-route-hero-image img {
        height: 360px;
    }

    .morocco-page .rt-route-cards {
        grid-template-columns: 1fr;
    }

    .morocco-page .rt-goods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .morocco-page .rt-route-cta-inner {
        flex-direction: column;

        align-items: stretch;

        padding: 40px 30px;

        text-align: center;
    }

    .morocco-page .rt-route-cta-inner > div {
        text-align: center;
    }

    .morocco-page .rt-route-cta .rt-route-btn {
        width: 100%;
    }
}

@media (max-width: 560px) {

    .morocco-page .rt-route-intro,
    .morocco-page .rt-route-services,
    .morocco-page .rt-route-goods,
    .morocco-page .rt-route-advantages {
        padding: 65px 0;
    }

    .morocco-page .rt-route-hero {
        padding: 45px 0;
    }

    .morocco-page .rt-route-hero h1 {
        font-size: 31px;
    }

    .morocco-page .rt-route-hero p {
        font-size: 15px;

        line-height: 2;
    }

    .morocco-page .rt-route-hero-image img {
        height: 270px;
    }

    .morocco-page .rt-section-heading {
        margin-bottom: 30px;
    }

    .morocco-page .rt-section-heading h2 {
        font-size: 26px;
    }

    .morocco-page .rt-route-intro > .rt-container > p {
        font-size: 15px;
    }

    .morocco-page .rt-service-grid,
    .morocco-page .rt-advantages-grid,
    .morocco-page .rt-goods-grid {
        grid-template-columns: 1fr;
    }

    .morocco-page .rt-service-card,
    .morocco-page .rt-advantage-card {
        min-height: auto;
    }

    .morocco-page .rt-good-item {
        min-height: 125px;
    }

    .morocco-page .rt-route-cta {
        padding: 55px 0;
    }

    .morocco-page .rt-route-cta-inner {
        padding: 35px 22px;

        border-radius: 20px;
    }
}