/* ===== HERO CAROUSEL ===== */
.carousel-container {
    position: relative;
    /* width: 100vw; */
    height: calc(100vh - 60px);
    /* margin-top: 60px; */
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.carousel-items {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-items:hover {
    /* transform: translateY(-4px); */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    color: var(--color-primary);
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.carousel-btn.left {
    left: 20px;
}

.carousel-btn.right {
    right: 20px;
}
@media (max-width: 1024px) {
    .carousel-container {
        height: 52vh;
    }
    .carousel-items {
        height: 100%;
        background-size: cover;
    }
}
@media (max-width: 760px) {
    .carousel-container {
        height: 25vh;
    }

    .carousel-items {
        background-size: cover;
    }

    .carousel-btn.left {
        left: 10px;
    }

    .carousel-btn.right {
        right: 10px;
    }
}
/* ============================================ end of hero carousel ================================================= */
/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--color-white);
    padding: 80px 30px;
}

.services h2 {
    text-align: center;
    color: var(--color-text-dark);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.services h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.items {
    background: linear-gradient(to right, #fff1eb 0%, #21d4fd8c 100%);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 82, 204, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.items:hover {
    transform: translateY(-8px ease);
    box-shadow: 0 12px 32px rgba(0, 82, 204, 0.15);
    border-color: rgba(0, 82, 204, 0.2);
}

.item-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.item-heading h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.4;
}

.item-description p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    flex-grow: 1;
}

.item-learn a {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.item-learn a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 82, 204, 0.4);
}
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 12px;
    }

    .services {
        padding: 60px 16px;
    }

    .services h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
}
/* ============================================ end of services section ================================================= */

/* ===== WORK SECTION ===== */
.work {
    background: var(--color-bg-darker);
    padding: 60px 30px;
    color: var(--color-white);
}

.heading h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.4;
}

.work-body {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: justify;
}

.work-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.work-body p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== CLIENTS CAROUSEL ===== */
.carousel-container2 {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 40px 30px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container2 h2 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

.carousel2 {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    justify-content: center;
    transition: transform 0.3s ease;
}

.carousel-item2 {
    flex: 0 0 auto;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-item2:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-item2 img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
}

/* ===== CTA SECTION ===== */
.end {
    background: linear-gradient(
            135deg,
            rgba(0, 82, 204, 0.9) 0%,
            rgba(0, 153, 255, 0.9) 100%
        ),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="none" width="1200" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding: 60px 30px;
    border: 2px solid red;
}

.end h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 700px;
}

.end a {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.end a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    .heading h1 {
        font-size: 26px;
    }

    .work-body h2 {
        font-size: 22px;
    }

    .work-body p {
        font-size: 15px;
    }

    .end h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .work {
        padding: 40px 16px;
    }

    .heading h1 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .work-body h2 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #8f8fff;
        font-weight: 600;
    }

    .work-body p {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }

    .end {
        padding: 40px 16px;
        min-height: auto;
    }

    .end h1 {
        font-size: 18px;
        margin-bottom: 20px;
    }
}
