/*=========================================== General Styles */
.aboutUs {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

/* Content Columns - Side by Side */
.aboutCol {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Image Slider Container - Below content */
.slider-container-wrapper {
    width: 90%;
    max-width: 1500px;
    margin: 100px auto;
    text-align: center;

    h2 {
        font-size: 36px;
        font-weight: 600;
    }

    p {
        font-size: 14px;
        font-weight: 300;
        color: #777;
        line-height: 22px;
        padding: 20px;
    }
}

/* ======================================inside slider */
.recent-work {
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-top: 50px;
}

.recent-work h4 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.highlight {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.work-slider-container {
    position: relative;
    margin: 0 auto 2rem;
    max-width: 1000px;
    overflow: hidden;
    border-radius: 12px;
}

.work-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1.5rem;
    text-align: left;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.slide-caption h3 {
    margin: 0 0 0.3rem;
    font-size: 1.4rem;
}

.slide-caption p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #2c3e50;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-prev:hover,
.slider-next:hover {
    background: white;
    color: #e74c3c;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #e74c3c;
}

/* ======================================inside slider end */


.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Text Content Styles */
.aboutCol h2 {
    font-size: 36px;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.aboutCol h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
}

.aboutCol p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Services List */
.aboutCol ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.aboutCol li {
    font-size: 14px;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border-left: 3px solid #3498db;

    &:hover{
        background-color: #d7e6f5;
        transform: translateX(-3px);
    }
}

.aboutCol li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Buttons */
.heroBtn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.heroBtn:hover {
    background: #e74c3c;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

.conbut{
    margin-top: 60px;
}

/* Slider Styles */
.slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

buttonA {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #2c3e50;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    font-size: 1.3rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

buttonA:hover {
    background: white;
    color: #e74c3c;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}


/* ourWork */

.ourWork {
    width: 80%;
    margin: auto;
    text-align: center;

    h2 {
        font-size: 36px;
        font-weight: 600;
    }

    p {
        font-size: 14px;
        font-weight: 300;
        color: #777;
        line-height: 22px;
        padding: 10px;
    }
}

/* explore */

.explore {
    display: flex;
    padding: 0 35px;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-bottom: 5px solid #f44336;
}

.sliderCon {
    max-width: 1350px;
    position: relative;

    i {
        color: #f44336;
        top: 50%;
        height: 46px;
        width: 46px;
        cursor: pointer;
        position: absolute;
        font-size: 30px;
        text-align: center;
        line-height: 46px;
        background: #fff;
        border-radius: 50%;
        transform: translateY(-50%);
    }

    i:hover {
        background: #f44336;
        color: white;
    }

    i:first-child {
        left: -23px;
        display: none;
    }

    i:last-child {
        right: -23px;
    }
}

.sliderCon .slider1 {
    font-size: 0px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.slider1.dragging {
    cursor: grab;
    scroll-behavior: auto;
}

.slider1.dragging img {
    pointer-events: none;
}

.slider1 img {
    object-fit: cover;
    margin-left: 14px;
    border-radius: 10px;
    width: calc(100% / 3);
}

.slider1 img:first-child {
    margin-left: 0px;
}

/* aboutContract */

.aboutContract {
    display: flex;
    justify-content: space-evenly;
    padding-top: 40px;
    background-color: #f4f4f4;

    p {
        font-size: 15px;
    }

    i:hover {
        color: #f44336;
        transform: scale(1.1);
    }

    i {
        color: green;
        margin: 0 13px;
        cursor: pointer;
        padding: 6px;
        position: relative;
    }

    div {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
    }

    .fa-solid {
        font-size: 28px;
        color: green;
        margin: 10px;
        margin-right: 30px;
    }

    p {
        color: #777;
        padding: 0;
    }

    h5 {
        font-size: 20px;
        margin-bottom: 5px;
        color: #000;
        font-weight: 400;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .recent-work {
        padding: 1.5rem;
    }

    .slide img {
        height: 300px;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .slide-caption {
        padding: 1rem;
    }

    .slide-caption h3 {
        font-size: 1.2rem;
    }
}