.vision-wrp {
    padding-top: 70px;
}

.vision-container {
    width: 1280px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.vision-top-content {
    position: relative;
}

.vision-top-text {
    white-space: nowrap;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 55px;
    font-weight: 600;
    z-index: 2;
}

.vision-top-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.vision-top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    height: 850px;
    display: block;
}

.vision-top-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.vision-top-arrow {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.vision-top-arrow svg {
    width: 50px;
    height: 50px;
}

.vision-top-arrow svg path {
    fill: white;
}

.vision-bottom {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.vision-bottom-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.vision-item-title h2 {
    font-size: 38px;
    font-weight: 500;
}

.vision-item-text {
    margin-top: 20px;
    font-size: 16px;
    font-weight: normal;
    color: #05141f;
    opacity: 0.8;
}

.vision-item-img {
    width: 620px;
    height: 350px;
    overflow: hidden;
}

.vision-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease all;
}

.vision-item-img:hover img {
    transform: scale(1.04);
    transition: .4s ease all;
}

.vision-item-right,
.vision-item-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Services Section CSS */
.services-section {
    background-color: #ffffff;
}

.services-header {
    text-align: center;
    margin-bottom: 30px;
}

.services-header h2 {
    font-size: 38px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
}

.services-header span {
    font-size: 16px;
    font-weight: normal;
    color: #05141f;
    opacity: 0.8;
    display: inline-block;
    max-width: 900px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.services-grid > .service-card:nth-last-child(2) {
    grid-column: 2;
}

.services-grid > .service-card:last-child {
    grid-column: 3;
}

.service-card {
    border: 2px solid #000;
    padding: 25px;
    transition: all 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.service-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

.service-link::after {
    content: "↗";
    font-size: 16px;
}

@media (max-width: 1366px) {
    .vision-container {
        width: 100%;
        padding: 0 15px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-item-img {
        width: 100%;
    }

    .vision-wrp {
        padding: 0 !important;
    }

    .vision-bottom-item {
        display: flex;
        flex-direction: column;
    }

    .vision-bottom .vision-bottom-item:last-child .vision-item-left {
        display: none;
    }
    .vision-bottom > .vision-bottom-item:last-of-type .vision-item-left {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-header h1 {
        font-size: 32px;
    }

    .vision-bottom-item {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 15px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .service-title {
        margin-bottom: 10px;
    }

    .vision-top-text {
        white-space: pre-wrap;
        top: 45%;
        font-size: 30px;
        text-align: center;
        width: 250px;
    }

    .vision-top-img img {
        height: 500px;
    }

    .vision-item-title h2 {
        font-size: 25px;
        margin: 0 !important;
    }

    .vision-bottom-item {
        gap: 15px;
    }

    .vision-top-img {
        margin-bottom: 15px;
    }

    .vision-item-text {
        font-size: 14px;
        margin-top: 10px;
    }

    .vision-bottom {
        gap: 15px;
    }

    .vision-container {
        padding-bottom: 30px;
    }

    .vision-bottom .vision-bottom-item:last-child .vision-item-left {
        display: none;
    }
    .vision-bottom > .vision-bottom-item:last-of-type .vision-item-left {
        display: none !important;
    }

    .services-header h2 {
        font-size: 25px;
        font-weight: 500;
    }

    .services-header span {
        font-size: 14px;
    }

    .services-header {
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1366px) {

    .vision-container {
        padding: 0 30px;
        margin-bottom: 30px;
    }

    .vision-top-img {
        margin-bottom: 30px;
    }

    .vision-top-text {
        white-space: pre-wrap;
        top: 45%;
        font-size: 45px;
        text-align: center;
        max-width: 350px;
    }

    .services-header {
        margin-bottom: 10px;
    }

    .vision-item-title h2 {
        font-size: 30px;
    }

    .services-header h2 {
        font-size: 30px;
    }

    .vision-item-text {
        font-size: 15px;
    }

    .services-bottom-text {
        font-size: 15px;
    }

    .vision-bottom {
        gap: 30px;
    }

    .vision-bottom-item {
        gap: 30px;
    }

    .vision-item-text {
        margin-top: 15px;
    }
}

/* ============================
   SERVICES SLIDER - CSS
   ============================ */

.services-slider-wrap {
    position: relative;
}

@media (max-width: 1366px) {
    .services-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 15px;
        padding: 0px 30px 15px;
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 auto;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        width: 80%;
        max-width: 320px;
        height: auto;
    }

    @media (min-width: 601px) and (max-width: 1366px) {
        .service-card {
            width: 46%;
        }
    }
}

@media (min-width: 1366px) {
    .services-arrow,
    .services-dots {
        display: none !important;
    }
}

.services-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #333;
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.services-arrow:active {
    transform: translateY(-50%) scale(0.9);
}

.services-arrow.prev { left: 2px; }
.services-arrow.next { right: 2px; }

.services-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.services-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d6d6d6;
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
    -webkit-tap-highlight-color: transparent;
}

.services-dots button.active {
    background: #333;
    width: 20px;
    border-radius: 4px;
}