/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::after,
*::before {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
} */

html {
    scroll-behavior: smooth;
}

body {
    --cl--1--:#ffffff;
    --cl--2--:#14171f;
    --cl--3--:#2947a9;
    --cl--4--:#91a1d4;
    --cl--5--:#f6f8f7;
    --cl--6--:#cccccc;
    background: var(--cl--1--);
    margin: 0;
}

img {
    max-width: 100%;
    width: 100%;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    font-weight: 700;
    color: var(--cl--2--);
    text-transform: capitalize;
    margin: 0;
}

h1 {
    font-size: clamp(40px, 10vw, 70px);
}

h2 {
    font-size: clamp(25px, 5vw, 35px);
}

h3 {
    font-size: 20px;
}

p {
    font-size: 16px;
    color: var(--cl--4--);
    margin: 0;
}

a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.row {
    display: flex;
}

.flex {
    flex-wrap: wrap;
    gap: clamp(2em, 5vw, 5em);
}

.flex>* {
    flex: 1 1 25em;
}

.column {
    display: grid;
}

.container {
    max-width: 90%;
    margin: 0 auto;
}

/* Navigation */
header {
    align-items: center;
    justify-content: space-between;
    gap: 2em;
    padding: 1em 0;
}

header .nama-perusahaan {
    font-size: 18px;
    font-weight: 500;
}

.brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    align-items: center;
    gap: 2em;
}

nav a {
    font-weight: 500;
    font-size: 18px;
    color: var(--cl--2--);
    text-transform: capitalize;
}

nav a:hover {
    color: var(--cl--3--);
}

/* Hero */
.mySwiper {
    position: relative;
}

.hero {
    position: relative;
}

.hero .swiper-slide {
    /* background:  url('./image/Forklift Reach Truck.jpg'); */
    background-repeat: no-repeat;
    background-position: center 73%;
    background-size: cover;
}

/* Slide 1 */
.hero .slide-1 {
    background-image: url('./image/Hero Image.jpg');
}

/* Slide 2 */
.hero .slide-2 {
    background-image: url('./image/Forklift Reach Truck 3.jpg');
}

.hero .container {
    align-items: center;
    min-height: calc(100vh - 108px);
}

.hero h1 {
    max-width: 550px;
    color: var(--cl--1--);
}

.hero .container .row {
    position: absolute;
    right: 0;
    bottom: 51.2px;
    background-color: var(--cl--3--);
    padding: 2em 3em;
    text-align: center;
    width: 398px;
    height: 150px;
}

.hero h3,
.subscribe-content h2,
.slide-content h3,
.about-content h2 {
    color: var(--cl--1--)
}

.hero p,
.slide-content p {
    color: var(--cl--1--);
    padding-top: 1em;
}

.hero-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    width: 398px;
    align-items: center;
    justify-content: flex-end;
}

.hero-arrow .swiper-button-prev,
.hero-arrow .swiper-button-next {
    position: static;
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 51.2px;
}

.swiper-button-prev,
.swiper-button-next {
    position: relative;
    font-size: 16px;
    color: var(--cl--1--);  
    align-items: center;
    gap: 0.5em;
    background: var(--cl--2--);
    padding: 1em 4em;
    width: unset;
    height: unset;
    inset: unset;
    margin: unset;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    position: absolute;
    color: transparent;
}

/* Reputation */
.reputation {
    padding: 4em 0;
}

.reputation h2,
.reputation h3,
.service h2 {
    text-align: center;
}

.reputation p {
    text-align: center;
    padding-top: 1em;
    color: var(--cl--3--);
}

.reputation-cards,
.service-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2em, 5vw, 5em);
    padding-top: 4em;
}

.r-card {
    background: var(--cl--1--);
    padding: 2em;
    border: 1.5px solid var(--cl--4--);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

/* .r-card svg{
    fill: var(--cl--3--);
} */

.r-card h3 {
    padding: 1em 0;

}

/* About */
.about-section {
    background: var(--cl--6--);
}

.about {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    padding: 4em 0;
}

.about-img img,
.about-content {
    box-shadow: 0px 20px 24px -4px rgba(17, 24, 39, 0.1), 0px 8px 8px -4px rgba(17, 24, 39, 0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.about-content {
    background: var(--cl--3--);
    padding: 2em;
}

.about-content p {
    color: var(--cl--1--);
    padding: 1em 0;
}

.about-content a {
    margin-top: 1em;
}

/* Page Button 1 */
.page-btn,
.page-btn.active:hover {
    font-weight: 600;
    font-size: 18px;
    color: var(--cl--3--);
    text-transform: uppercase;
    border: 2px solid var(--cl--1--);
    background: var(--cl--1--);
    padding: 0.5em 1.5em;
    cursor: pointer;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.page-btn.active,
.page-btn:hover {
    background: transparent;
    color: var(--cl--1--);
}

/* Service */
.service p {
    text-align: center;
    padding: 1em 0;
    color: var(--cl--3--);
}

.service,
.contact {
    background: var(--cl--6--);
    padding: 4em 0;
    margin: 4em auto;
}

.s-card {
    padding: 4em 2em;
    text-align: center;
    box-shadow: 0px 0px 37px -2px rgba(17, 24, 39, 0.05);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.s-card:nth-of-type(odd),
.s-card:nth-of-type(even):hover {
    background: var(--cl--1--);
}

.s-card:nth-of-type(even),
.s-card:nth-of-type(odd):hover {
    background: var(--cl--3--);
}

.icon {
    position: relative;
    padding: 0.5em;
    max-width: max-content;
    margin: 0 auto;
}

.icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 1px;
}

.s-card h4 {
    font-weight: 600;
    font-size: 20px;
    padding-top: 0.5rem;
}

.s-card:nth-of-type(odd) h4,
.s-card:nth-of-type(even):hover h4 {
    color: var(--cl--3--);
}

.s-card:nth-of-type(even) h4,
.s-card:nth-of-type(odd):hover h4 {
    color: var(--cl--1--);
}

.s-card:nth-of-type(odd) p,
.s-card:nth-of-type(even):hover p {
    color: var(--cl--3--);
}

.s-card:nth-of-type(even) p,
.s-card:nth-of-type(odd):hover p {
    color: var(--cl--1--);
}

/* Page Button 2 */
.page-btn-2 {
    font-weight: 600;
    font-size: 18px;
    color: var(--cl--1--);
    text-transform: capitalize;
    border: 2px solid var(--cl--3--);
    background: var(--cl--3--);
    padding: 0.7em 4em;
    cursor: pointer;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

/* Subscribe */
.subscribe {
    background: linear-gradient(0deg, rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('./image/Subscribe Content.jpg');
    background-position: center 55%;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10em 0;
    margin: 0 auto;
}

.subscribe-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
    text-align: left;
}

.subscribe-content div {
    max-width: 60%;
    color: #fff;
}

.subscribe-content p {
    color: #fff;
}

.subscribe-content p a {
    color: var(--cl--3--);
    text-decoration: underline;
}

/* Project */
.project {
    padding: 4em 0;
}

.project h2,
.project h3 {
    text-align: center;
}

.project p {
    text-align: center;
    padding-top: 1em;
    color: var(--cl--3--);
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2em, 5vw, 5em);
    padding-top: 4em;
    align-items: start;
}

.p-card {
    background: var(--cl--1--);
    padding: 2em;
    border: 1.5px solid var(--cl--4--);
    height: auto;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.p-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* .p-card svg{
    fill: var(--cl--3--);
} */

.p-card h3 {
    padding: 1em 0;
}

/* Content */
.contact {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cl--4--);
}

.contact h2,
.contact p{
    color: var(--cl--6--);
}

/* Background blur */
.contact {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cl--4--);
}

/* background blur TANPA ubah ukuran */
.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./image/Forklift Reach Truck.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 100%; /* atur angka ini */
    filter: blur(5px);
    z-index: 0;
}

/* Overlay biar teks kebaca */
.contact::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Konten di atas */
.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    padding: 1em 0;
}

.form {
    flex-wrap: wrap;
    gap: 2em;
}

.form>* {
    flex: 1 1 15em;
}

form input,
form select,
form textarea {
    padding: 1em 0.5em;
    width: 100%;
    border: 1px solid var(--cl--4--);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

form select option:checked {
    background: var(--cl--3--);
    color: var(--cl--1--);
}

.form+div {
    padding-top: 2em;
}

form p {
    text-align: left;
    padding: 0 0 2em 0 !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--cl--2--) 0%, var(--cl--3--) 100%);
    color: var(--cl--1--);
    margin-top: 3em;
}

.footer {
    padding: 3em 0 2em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3em;
}

footer h5 {
    font-weight: 600;
    font-size: 18px;
    color: var(--cl--1--);
    text-transform: uppercase;
    margin-bottom: 1.5em;
    position: relative;
    padding-bottom: 0.5em;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--cl--1--);
}

/* Footer Company Info */
.footer-company {
    max-width: 350px;
}

.footer-company .logo {
    display: block;
    margin-bottom: 1.5em;
}

.footer-company .logo img {
    max-width: 150px;
    height: auto;
}

.footer-company p {
    color: var(--cl--6--);
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 1em;
}

.company-legacy {
    background: rgba(255, 255, 255, 0.05);
    padding: 1em;
    border-radius: 8px;
    margin-top: 1.5em;
    border-left: 3px solid var(--cl--4--);
}

.company-legacy h6 {
    color: var(--cl--1--);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.company-legacy p {
    font-size: 13px;
    margin: 0;
}

/* Footer Quick Links */
.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8em;
}

.footer-links ul li a {
    color: var(--cl--6--);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-links ul li a img {
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    object-fit: contain;
    flex-shrink: 0;
}

/* Footer Contact Info */
.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    margin-bottom: 1.2em;
    display: flex;
    align-items: flex-start;
    gap: 1em;
}

.footer-contact ul li div h6 {
    color: var(--cl--1--);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.3em;
}

.footer-contact ul li div p {
    color: var(--cl--6--);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.footer-contact ul li {
    margin-bottom: 1.2em;
    display: flex;
    align-items: center;
    gap: 1em;
}

.footer-contact ul li img {
    height: 1.8em;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}


/* Footer Social Media */
.footer-social p {
    color: var(--cl--6--);
    font-size: 14px;
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.media-links {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}

.media-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--cl--1--);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-links a:hover {
    background: var(--cl--4--);
    border-color: var(--cl--4--);
    transform: translateY(-3px);
}

/* Footer Copyright */
.copy-right {
    background: var(--cl--2--);
    padding: 1.5em 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-right .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

.copy-right p {
    font-size: 13px;
    color: var(--cl--1--);
    margin: 0;
}

/* Media */
@media screen and (min-width:1300px) {
    .container {
        max-width: 1215px;
    }

}

@media screen and (max-width:900px) {
    .toggleMenu {
        background-image: url('./icon/menu.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 30px;
        width: 30px;
        height: 30px;
        z-index: 1000;
        transition: background-size 0.3s ease-in-out;
        -webkit-transition: background-size 0.3s ease-in-out;
        -moz-transition: background-size 0.3s ease-in-out;
        -ms-transition: background-size 0.3s ease-in-out;
        -o-transition: background-size 0.3s ease-in-out;
    }

    .toggleMenu.active {
        position: fixed;
        right: 5%;
        background-image: url('./icon/close.png');
        background-size: 25px;
    }

    .navigation {
        position: absolute;
        inset: 0;
        min-height: 0;
        opacity: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: scale(0);
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
    }

    .navigation.active {
        position: fixed;
        min-height: 100%;
        opacity: 1;
        background: var(--cl--1--);
        z-index: 999;
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }

    nav ul {
        flex-direction: column;
    }

    .hero h1 {
        margin-bottom: 150px;
    }

    .hero .container .row {
        height: 160px;
        width: 100%;
        right: 0;
        left: 0;
        bottom: 50px;
    }

    .hero-arrow {
        width: 100%;
        height: 51.2px;
        display: flex;
        bottom: -12px;
    }

    .hero-arrow .swiper-button-prev,
    .hero-arrow .swiper-button-next {
        width: 50%;
        height: 100%;
        flex: 0 0 50%;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .subscribe-content {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .subscribe-content div {
        max-width: 100%;
    }

    .subscribe-content .page-btn {
        margin-top: 1.5em;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .footer-company {
        max-width: 100%;
    }

    .copy-right .container {
        flex-direction: column;
        text-align: center;
    }

}

@media screen and (min-width:900px) {
    .about {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .about-img,
    .about-content {
        grid-row: 1/2;
    }

    .about-img {
        grid-column: 1/4;
    }

    .about-content {
        grid-column: 3/-1;
    }

    .experience-cards {
        gap: unset;
    }

    .e-card+e.card {
        margin-top: -2em;
    }

    .e-card:nth-of-type(odd)::after {
        right: -30px;
    }

    .e-card:nth-of-type(even)::after {
        left: -30px;
    }

    .subscribe-content {
        justify-content: space-between;
        text-align: unset;
    }

    .filter {
        flex-direction: column;
    }

    .footer {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

}