/* Imports & Base Modals */
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@300..900&display=swap");

.message {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    display: grid;
    place-content: center;
    z-index: 801;
    top: 0;
}

@keyframes showup {
    from {
        opacity: 0.2;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1.3);
    }
}

.message > img {
    animation: showup 2s 5 alternate;
}

/* Cover Section - Desktop Original */
.cover {
    position: relative;
}

.over {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgb(255 255 255) 0%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(
        180deg,
        rgb(255, 255, 255) 0%,
        rgba(255, 255, 255, 0.5) 25%,
        rgba(0, 0, 0, 0) 55%,
        rgb(0 0 0 / 32%) 80%,
        rgb(0, 0, 0) 100%
    );
    mix-blend-mode: soft-light;
}

.cover-slick {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.cover-slick.desktop {
    display: block;
}

.cover-slick.mobile {
    display: none;
}

.footer {
    background-color: #1d1d1b;
}

.footer a,
.footer p {
    color: var(--white);
}

.cover-slick div {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.cover .toggle-slick {
    position: absolute;
    top: 125px;
    right: 15px;
    background: none;
    border: 0;
}

.cover-content {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(images/cover-bg.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    overflow: visible; 
    box-sizing: border-box;
}
.cover-content::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 550px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(29, 29, 27, 0) 0%,       
    rgba(29, 29, 27, 0.03) 12.5%,
    rgba(29, 29, 27, 0.1) 25%,
    rgba(29, 29, 27, 0.22) 37.5%,
    rgba(29, 29, 27, 0.38) 50%,  
    rgba(29, 29, 27, 0.55) 62.5%,
    rgba(29, 29, 27, 0.65) 70%,
    rgba(29, 29, 27, 0.77) 75%,
    #1D1D1B 100%              
  );
}

.text-container {
    position: absolute;
    bottom: 25%;
    right: 8%;
    /* right: auto; */
    margin: auto;
    width: auto;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index: 3;
    display: none;
}

.text-container h1 {
    font-family: "Heebo", "IBM Plex Sans Hebrew", sans-serif;
    font-size: clamp(3.5rem, 8vw, 8rem);
    font-weight: 500;
    margin: 0 0 16px 0;
    line-height: 0.95;
    letter-spacing: -2px;
    display: flex;
    justify-content: flex-start;
    gap: 0.18em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.text-container h1 .text-white {
    color: #ffffff;
}

.text-container h1 .text-red {
    color: #ff0000;
}

.text-container .m-0 {
    font-family: "Heebo", "IBM Plex Sans Hebrew", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 400;
    color: #ffffff;
    opacity: 0.92;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.bg-logo-overlay {
    position: absolute;
    top: 26%;
    right: 12%;
    width: min(38vw, 400px);
    height: min(38vw, 400px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 70'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Cg id='Design'%3E%3Cpath class='cls-1' d='M35,66.28A31.28,31.28,0,1,1,66.28,35,31.31,31.31,0,0,1,35,66.28M35,0a35,35,0,0,0-.13,70h.26A35,35,0,0,0,35,0'/%3E%3Cpath class='cls-1' d='M39.25,31.07a14.83,14.83,0,0,0-13.46-8.6H15.52a4.3,4.3,0,0,0-4.29,4.59,4.37,4.37,0,0,0,4.41,4h11a4.92,4.92,0,0,1,4.45,2.85l9,19.46a4.3,4.3,0,0,0,8.1-2,3.25,3.25,0,0,0,0-.54,4,4,0,0,0-.35-1.16C46.57,47,39.25,31.07,39.25,31.07'/%3E%3Cpath class='cls-1' d='M54.48,22.47H31.93c6.51,1.87,9.15,8.6,9.15,8.6h13.4a4.3,4.3,0,1,0,0-8.6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    display: none;
}

/* Video & Controls */
video {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: 1s opacity;
    object-fit: cover;
    z-index: -1;
}

#toggle-video {
    position: absolute;
    top: 230px;
    left: 0;
    width: 220px;
    height: 55px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 9;
    font-family: "Heebo", sans-serif;
}

#toggle-video::before {
    content: "";
    position: absolute;
    left: 0;
    right: 38px;
    top: 19px;
    height: 2px;
    background-color: #ffffff;
}

#toggle-video .offset {
    position: absolute;
    right: 50px;
    top: 27px;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

#toggle-video em {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 12px;
    box-sizing: border-box;
    color: #ffffff;
}

#toggle-video:hover em {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Metro Lines Section */
.metro-lines-section {
    position: relative;
    z-index: 10;
    margin-top: -220px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100px,
        rgba(0, 0, 0, 0.85) 180px,
        #000000 280px,
        #000000 100%
    );
    font-family: "IBM Plex Sans Hebrew", sans-serif;
    overflow: hidden;
    padding-top: 40px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.metro-flex-layout {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.lines-timeline-container {
    width: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-row-item {
    position: relative;
}

.svg-line-wrapper {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.svg-line-wrapper:hover {
    transform: scale(1.02);
}

.svg-line-wrapper svg {
    width: 100%;
    height: auto;
    display: block;
}

.red-line-item .svg-line-wrapper svg .s2 { stroke: #e42621 !important; }
.red-line-item .svg-line-wrapper svg .s4 { fill: #e42621 !important; }

.green-line-item .svg-line-wrapper svg .s2 { stroke: #76ff03 !important; }
.green-line-item .svg-line-wrapper svg .s4 { fill: #76ff03 !important; }

.purple-line-item .svg-line-wrapper svg .s2 { stroke: #ba68c8 !important; }
.purple-line-item .svg-line-wrapper svg .s4 { fill: #ba68c8 !important; }

.stations-accordion-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.9);
    color: #fff;
    border-radius: 8px;
    transition: max-height 0.5s ease, padding 0.5s ease, margin 0.5s ease;
    position: relative;
    z-index: 3;
}

.stations-accordion-content.is-open {
    padding: 20px;
    margin-top: 15px;
    max-height: 600px;
}

.map-box {
    width: 65%;
    position: relative;
    z-index: 1;
    margin-right: -10%;
    margin-top: 20px;
}

.map-box svg {
    width: 100%;
    height: auto;
}

.map-box svg path {
    transition: opacity 0.3s ease;
}

.hover-red .map-box svg .s1941,   
.hover-red .map-box svg .s1942,   
.hover-red .map-box svg .s1943,   
.hover-red .map-box svg .s1944 {  
    opacity: 0.15 !important;
}

.hover-green .map-box svg .s1945, 
.hover-green .map-box svg .s1946, 
.hover-green .map-box svg .s1943, 
.hover-green .map-box svg .s1944 { 
    opacity: 0.15 !important;
}

.hover-purple .map-box svg .s1945, 
.hover-purple .map-box svg .s1946, 
.hover-purple .map-box svg .s1941, 
.hover-purple .map-box svg .s1942 { 
    opacity: 0.15 !important;
}
.footer {
    border-top: 1px solid rgb(255 255 255 / 71%)!important;
}
/* Articles Section */
.articles {
    color: #ffffff;
    direction: rtl;
    padding: 0;
    position: relative;
    margin-top: -300px;
    z-index: 20;
    overflow: hidden;
}

.articles .container-fluid {
    width: 85%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 200px;
}

.articles .section-title {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    margin: 0 0 3% 0;
    color: #ffffff;
    letter-spacing: -1px;
}

.articles .section-title .red-dot {
    color: #e42621;
}

.articles-slick {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.articles-slick .slick-list {
    overflow: visible;
}

.articles-slick .slick-track {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.articles-slick .slick-slide {
    display: flex;
    justify-content: center;
    float: none;
}

.articles-slick .slick-slide > div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.article {
    position: relative;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .article {
        aspect-ratio: 16 / 10;
        width: 100%;
    }

    .article .pic {
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
        width: 70%;
        height: 71%;
        z-index: 2;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .article .info {
        position: absolute;
        bottom: 0;
        left: 30px;
        right: auto;
        width: 84%;
        height: 44%;
        background-color: #e42621;
        padding: 2% 2%;
        box-sizing: border-box;
        z-index: 4;
        border-radius: 8px;
        box-shadow: 0 0px 30px rgb(0 0 0 / 68%);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

.article .pic a,
.article .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.article .info .wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.article .info .wrap > img {
    display: none;
}

.article .inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.article .inner h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.9rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 auto 2% auto;
    line-height: 1.25;
    text-align: center;
    width: 100%;
}

.article .inner p {
    font-size: clamp(1rem, 1.15vw, 1.25rem);
    color: #ffffff;
    line-height: 1.65;
    margin: 0 auto 3% auto;
    font-weight: 400;
    opacity: 0.95;
    max-width: 85%;
    text-align: center;
    width: 100%;
}

.article .more {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    transition: opacity 0.2s ease;
    text-align: center;
}

.article .more:hover {
    opacity: 0.85;
}

.article .more b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.article .more b::after {
    content: "\2190";
    font-size: 1.4rem;
    font-weight: 900;
    transition: transform 0.2s ease;
}

.article .more:hover b::after {
    transform: translateX(-5px);
}

.article .more b img {
    display: none;
}

.article::after {
    content: "";
    position: absolute;
    top: 110px;
    left: 0%;
    width: 44%;
    height: 56%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 70'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Cg id='Design'%3E%3Cpath class='cls-1' d='M35,66.28A31.28,31.28,0,1,1,66.28,35,31.31,31.31,0,0,1,35,66.28M35,0a35,35,0,0,0-.13,70h.26A35,35,0,0,0,35,0'/%3E%3Cpath class='cls-1' d='M39.25,31.07a14.83,14.83,0,0,0-13.46-8.6H15.52a4.3,4.3,0,0,0-4.29,4.59,4.37,4.37,0,0,0,4.41,4h11a4.92,4.92,0,0,1,4.45,2.85l9,19.46a4.3,4.3,0,0,0,8.1-2,3.25,3.25,0,0,0,0-.54,4,4,0,0,0-.35-1.16C46.57,47,39.25,31.07,39.25,31.07'/%3E%3Cpath class='cls-1' d='M54.48,22.47H31.93c6.51,1.87,9.15,8.6,9.15,8.6h13.4a4.3,4.3,0,1,0,0-8.6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 3;
}

.articles .slick-prev,
.articles .slick-next {
    position: absolute;
    width: 3%;
    aspect-ratio: 1 / 1;
    min-width: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.articles .slick-prev:before,
.articles .slick-next:before {
    display: none;
}

.articles .slick-prev::after {
    content: "";
    display: block;
    width: 40%;
    height: 40%;
    border-top: 3.5px solid #ffffff;
    border-left: 3.5px solid #ffffff;
    transform: rotate(135deg);
}

.articles .slick-next::after {
    content: "";
    display: block;
    width: 40%;
    height: 40%;
    border-top: 3.5px solid #ffffff;
    border-right: 3.5px solid #ffffff;
    transform: rotate(-135deg);
}

@media (min-width: 992px) {
    .articles .slick-prev,
    .articles .slick-next {
        top: auto;
        bottom: 7%;
        transform: none;
    }

    .articles .slick-prev {
        right: 10%;
    }

    .articles .slick-next {
        left: -5%;
        right: auto;
    }
}

.articles .slick-dots {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    z-index: 5;
}

@media (min-width: 992px) {
    .articles .slick-dots {
        bottom: 22%;
        right: 2%;
    }
}

.articles .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.articles .slick-dots li button {
    font-size: 0;
    width: 15px;
    height: 15px;
    padding: 0;
    background: transparent;
    border: 2px solid #e42621;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.articles .slick-dots li.slick-active button {
    background: #e42621;
}

.articles .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1500px) and (min-width: 1000px) {
    .articles {
        margin-top: 40px;
    }

    .articles .slick-dots {
        bottom: -40px;
        right: 0;
        left: 0;
        justify-content: center;
        z-index: 25;
    }
}

@media (max-width: 991px) {
    .cover-content {
        height: 600px;
    }

    .cover-content::after {
        height: 250px;
        background: linear-gradient(to bottom, rgba(29, 29, 27, 0) 0%, rgba(29, 29, 27, 0.2) 40%, rgba(29, 29, 27, 0.75) 80%, #1D1D1B 100%);
    }

    .bg-logo-overlay {
        top: 40%;
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        width: min(65vw, 280px);
        height: min(65vw, 280px);
        opacity: 0.18;
    }

    .text-container {
        max-width: 100%;
        text-align: center;
        top: 40%;
        left: 0;
        right: 0;
        padding: 0 20px;
    }

    .text-container h1 {
        justify-content: center;
        font-size: clamp(3rem, 6vw, 5.5rem);
    }

    .text-container .m-0 {
        font-size: clamp(1.2rem, 2vw, 1.7rem);
    }

    #toggle-video {
        top: 100px;
    }

    .metro-lines-section {
        margin-top: -100px;
    }

    .metro-flex-layout {
        flex-direction: column-reverse;
    }

    .lines-timeline-container {
        width: 100%;
    }

    .map-box {
        width: 100%;
        margin-right: 0;
    }

    .articles {
        margin-top: 0;
        /* transform: translate(0, -100px); */
    }

    .articles .container-fluid {
        width: 90%;
        padding: 0 0 10% 0;
    }

    .article {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .article .pic {
        position: relative;
        width: 100%;
        height: 320px;
        right: auto;
        top: auto;
    }

    .article .info {
        position: relative;
        width: 100%;
        left: auto;
        bottom: auto;
        margin-top: 0;
        padding: 35px 25px;
        background-color: #e42621;
    }

    .article::after {
        display: none;
    }

    .articles .slick-dots {
        position: static;
        margin-top: 35px;
        justify-content: center;
        width: 100%;
    }

    .articles .slick-prev,
    .articles .slick-next {
        top: 219px;
    }

    .articles .slick-prev {
        right: -25px;
        left: auto;
    }

    .articles .slick-next {
        left: -25px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .articles .container-fluid {
        padding: 0 25px;
        margin-bottom: 100px;
    }

    .article .pic {
        height: 220px;
    }

    .articles .slick-prev,
    .articles .slick-next {
        display: none !important;
    }
}

/* Utilities */
.s361, .s364 {
    visibility: hidden;
}