/* Section 4th (Unchanged) */
.section-4th {
    width: 90%;
    max-width: 1400px;
    margin: 5rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 0;
}

.Services-providing {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid grey;
    box-shadow: 0px 12px 30px rgba(0, 0, 255, 0.3);
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.Services-providing:nth-child(1) {
    animation-delay: 0.1s;
}

.Services-providing:nth-child(2) {
    animation-delay: 0.2s;
}

.Services-providing:nth-child(3) {
    animation-delay: 0.3s;
}

.Services-providing:nth-child(4) {
    animation-delay: 0.4s;
}

.Services-providing:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.Services-providing:hover {
    transform: translateY(-8px);
    box-shadow: 0px 0px 12px blue;
    border-color: #007bff;
}

.service-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.Services-providing:hover .service-image {
    transform: scale(1.1);
}

.h-four {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #333;
    margin-bottom: 1rem;
}

.fourth-para {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: grey;
    line-height: 1.5;
}

/* Section 5 with Proper Carousel */
.section-five {
    width: 100%;
    margin-top: 5rem;
    padding: clamp(1rem, 3vw, 2rem) 1rem;
    background-color: rgb(237, 239, 248);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.section-five-left {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: clamp(1rem, 3vw, 2rem);
}

.section-five-right {
    flex: 2;
    min-width: 300px;
    max-width: 800px;
    padding: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 24px;
    /* Consistent spacing between images */
    transition: transform 0.5s ease;
}

.section-five-img {
    width: 100%;
    max-width: 15rem;
    height: auto;
    border-radius: 2rem;
    object-fit: cover;
    /* Ensures images maintain aspect ratio */
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-five-img:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 10px gray;
}

.achievers {
    letter-spacing: 0.5rem;
    color: #ffaa16;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: bold;
}

.h-font {
    font-family: "Roboto Condensed", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.showcase {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #333;
    margin: 1rem 0;
}

.celebrate {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: grey;
    line-height: 1.5;
}

.carousel-controls {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Section 6 (Unchanged) */
.container1 {
    width: 90%;
    max-width: 1400px;
    margin: 5rem auto; 
    padding: clamp(1rem, 3vw, 2rem) 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
}

.container1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.section-left-section {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    /* background: rgba(255, 255, 255,  */
    position: relative;
    z-index: 1;
}

.consult {
    color: #1E73FA;
    font-size: clamp(0.8rem, 2vw, 1rem);
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    background: #ffaa16;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.best-way {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #222;
    margin: 1rem 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.best-way::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, #1E73FA, transparent);
    transition: width 0.3s ease;
}

.best-way:hover::after {
    width: 100%;
}

.our-consult {
    color: #555;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 1rem 0;
    line-height: 1.6;
}

.checklist {
    padding: 0;
    margin: 1rem 0;
}

.checklist li {
    list-style: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #333;
    margin: 1.2rem 0;
    position: relative;
    padding-left: 2rem;
    transition: color 0.3s ease;
}

.checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #1E73FA;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.checklist li:hover {
    color: #1E73FA;
}

.checklist li:hover::before {
    transform: scale(1.2);
}

.vl {
    border-left: 2px dashed #1E73FA;
    height: auto;
    min-height: 20rem;
    margin: 2rem 0;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.container1:hover .vl {
    opacity: 0.6;
}

.six-right-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.right-block {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

/* .right-block:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        } */

.step-circle {
    background: linear-gradient(135deg, #1E73FA, #00c6ff);
    border: none;
    color: white;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: bold;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(30, 115, 250, 0.3);
    transition: transform 0.3s ease;
}

.right-block:hover .step-circle {
    transform: scale(1.1);
}

.step-content {
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
    /*max-width: 300px;*/
    /* Increased for better readability */
    background: #F0F4FF;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.step-content:hover {
    background: linear-gradient(to bottom, #1E73FA, #00c6ff);
    color: white;
    box-shadow: 0 5px 15px rgba(30, 115, 250, 0.3);
    border-color: transparent;
}

    .step-content h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.5rem;
}

.section-six-right-para {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #555;
    line-height: 1.5;
}

.step-content:hover .section-six-right-para {
    color: white;
}

/* Media Queries */
/* Media Queries */
@media (max-width: 1024px) {
    .section-five-right {
        flex: 1;
    }

    .section-five-img {
        max-width: 12rem;
    }
}

@media (max-width: 768px) {
    
    .vl{
        display: none;
    }
    .Services-providing {
        flex-basis: 45%;
        max-width: 45%;
        padding: 1.5rem;
        box-shadow: 0px 6px 15px rgba(0, 0, 255, 0.2);
    }

    .section-five-left,
    .section-five-right {
        flex-basis: 100%;
        max-width: 100%;
    }

    .section-five-img {
        max-width: 10rem;
    }

    .carousel-controls {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .vl{
        display: none;
    }
    .section-4th {
        padding: 1rem 0;
    }

    .Services-providing {
        flex-basis: 100%;
        max-width: 100%;
        padding: 1rem;
        box-shadow: 0px 4px 12px rgba(0, 0, 255, 0.2);
    }

    .section-five {
        padding: 1rem 0.5rem;
    }

    .section-five-left,
    .section-five-right {
        padding: 1rem;
    }

    .section-five-img {
        max-width: 26rem;
    }

    .carousel-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.9rem;
    }
}