:root {
    --primary: #1B358F;
    --secondary: #555555
}

body {
    background-color: white;
}

section {
    background-color: white;
}

.container {
    max-width: 1340px;
}

.nav-logo {
    width: 220px;
}

.nav-link {
    display: flex;
    gap: 15px;
    cursor: pointer;
}

.nav-link a {
    font-size: 16px;
    text-decoration: none;
    color: var(--secondary);
    border-right: 1px solid #E6E6E6;
    padding-right: 15px;
}

.nav-link:hover {
    text-decoration: underline;
    transition: all 0.4s ease;
}

.nav-link a:last-child {
    border-right: 0;
}

.btn-primary {
    background-color: var(--primary);
    padding: 10px 25px;
    border-radius: 8px;
    color: white;
    outline: 0;
    border: 1px solid var(--primary);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary);
    transition: all 0.4s ease;
}

.section-home {
    padding-block: 70px;
    width: 100%;
    /* position: sticky; */
    /* top: 61px; */
    /* z-index: -1; */
}

.header {
    display: grid;
    grid-template-columns: 3fr 2fr;
}

h1 {
    font-size: 72px;
    font-weight: bold;
}

h2 {
    color: #191F1C;
    font-size: 52px;
    font-weight: 700;
}

h4 {
    font-size: 28px;
    font-weight: 500;
    color: var(--primary);
}

.section-content p {
    color: #555555;
}

.section-content p:last-child {
    font-size: 24px;
    color: #191F1C;
    font-weight: 500;
    padding-block: 10px;
}

.banner-content {
    background-image: url('../img/banner-bg.png');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 800px 210px;
    width: 100%;
    overflow: hidden;
    min-height: 480px;
}

.section-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-list div {
    display: flex;
    gap: 10px;
}

.section-gray {
    background-color: #F9F9F9;
}

.section-black {
    background-color: #111313;
}

.section-black h2,
.section-black h4 {
    color: white;
}

footer {
    background-color: #000000;
    padding-block: 70px;
}

footer .nav-link a {
    color: white;
}

.btn-social {
    background-color: white;
    padding: 11px;
    color: #000000;
    border-radius: 99px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-service {
    padding-block: 70px;
}

.servicesSwiper {
    position: relative;
    padding-block: 70px;
    padding-inline: 10px;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Cards */

.service-card {
    height: 570px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    transition: all 0.5s ease-in-out;
}

.service-card:hover {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    color: white;
}

.card-content h4 {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.card-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.card-content a {
    background: white;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    border: 1px solid white;
}

.card-content a:hover {
    background-color: #eee;
    border: 1px solid var(--primary);
    transition: all 0.4s ease;
}

/* Card Backgrounds */

.card1 {
    background: url("../img/card-1.png") center/cover;
}

.card2 {
    background: url("../img/card-2.png") center/cover;
}

.card3 {
    background: url("../img/card-3.png") center/cover;
}

/* Navigation Buttons */

.slider-navigation {
    position: absolute;
    bottom: 10px;
    right: 0;
    display: flex;
    gap: 20px;
}

.feature-navigation {
    bottom: 20%;
}

.custom-prev,
.custom-next,
.feature-prev,
.feature-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    right: 0;
}

.custom-prev {
    background: #e9e9e9;
    color: #444;
}

.custom-next {
    background: #243c96;
    color: white;
}

.feature-prev {
    background: #e9e9e9;
    color: #444;
    /* border: 1px solid #A4A4A4; */
}

.feature-next {
    background: var(--primary);
    color: white;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.section-grid {
    padding-block: 70px;
}

.section-features {
    padding-block: 70px;
}

.feature-card {
    padding-block: 140px;
}

#mainNavbar {
    transition: all 0.4s ease;
}

.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.4s ease;
}

.section-feature {
    background-image: url('../img/car-bg.png');
    background-repeat: repeat-x;
    background-position: bottom;
    width: 100%;
}

.footer-link {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-link a {
    color: white;
    text-decoration: none;
    border-right: 1px solid gray;
    padding-right: 10px;
    cursor: pointer;
}

.footer-link a:hover {
    text-decoration: underline;
    transition: all 0.4s ease;
}

.footer-link a:last-child {
    border-right: 0;
}

.section-1 {
    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.1s linear;
}

.section-2 {
    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.1s linear;
}

.scroll-text {
    color: white;
    transition: transform 0.1s linear;
    will-change: transform;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@media (max-width:768px) {

    .section-home,
    .section-grid,
    .section-service,
    .feature-card,
    footer {
        padding-block: 35px;
        gap: 35px;
    }

    .header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    h1 {
        font-size: 45px;
    }

    h2 {
        font-size: 32px;
    }

    h4 {
        font-size: 20px;
    }

    .container {
        max-width: 100%;
    }

    .nav-link a {
        font-size: 14px;
    }

    .section-content p:last-child {
        font-size: 18px;
    }

    .card-content h4 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 14px;
    }

    .card-content a {
        font-size: 12px;
    }

    .section-content,
    .banner-content {
        order: 2;
    }

    .banner-content {
        min-height: 420px;
    }

    .servicesSwiper {
        padding-block: 35px;
    }

    .section-home {
        top: 0;
    }
}

@media (max-width:525px) {

    .section-home,
    .section-grid,
    .section-service,
    footer {
        padding-block: 25px;
    }

    .header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 25px;
    }

    h4 {
        font-size: 15px;
    }

    .nav-link a {
        font-size: 12px;
    }

    .section-content p:last-child {
        font-size: 16px;
    }

    .card-content h4 {
        font-size: 15px;
    }

    .card-content p {
        font-size: 12px;
    }

    .card-content a {
        font-size: 10px;
    }

    .banner-content {
        min-height: 400px;
        background-size: contain;
    }

    .servicesSwiper {
        padding-block: 25px;
    }

    .feature-card {
        padding-bottom: 70px;
    }
}