/* banner section */

.services-banner {
    background-image: url('https://storage.googleapis.com/giffycms-adirondack/images/services/Asset%2078%20(3).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content: center;
    height: 100vh;
    margin-top: 6rem;
}

.services-banner-content {
    padding: 0 0 0 8rem;
    align-items: center;
    text-align: left;
}

.services-banner-content h1 {
    font-size: 4.6rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4rem;
}

.services-banner-content p {
    font-size: 2.3rem;
    line-height: 1.25;
}

/* tab section */

.service-tab-section {
    padding: 2rem 0 0;
    position: relative;
}

.service-tab-div {
    display: grid;
    grid-template-columns: 30% 70%;
}

.sidebar {
    background-color: #fff;
    border-right: 1.5px solid #3333338f;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-tab-section h2 {
    font-size: 5rem;
    margin: 0 0 30px 0;
    color: #111;
    font-weight: 300;
}

.hamburger {
    display: none;
    font-size: 4rem;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 4%;
    right: 10%;
}

.scroll-down-arrow {
    padding-top: 2rem;
    width: 3%;
}

.tab-buttons {
    display: block;
}

.tab-button {
    display: block;
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 2.2rem;
    text-align: left;
    width: 100%;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.tab-button.active {
    color: #1C5739;
}

.tab-button:hover {
    color: #1C5739;
}

.content {
    padding-left: 4rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #1C5739;
    margin-bottom: 5rem;
    margin-top: 0;
}

.tab-pane h4 {
    font-size: 2rem;
    font-weight: 600;
    color: #1C5739;
    text-transform: uppercase;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.tab-pane p {
    font-size: 2rem;
    line-height: 1.3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-image-section {
    background-image: url('https://storage.googleapis.com/giffycms-adirondack/5739988624867328');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 85vh;
}

.divider-arrow img {
    margin-top: 2rem;
    width: 25%;
}

.section-title {
    margin: 0px 20px 20px;
}

.section-title h3 {
    font-size: 4.2rem;
    font-weight: 400;
}

.section-title p {
    font-size: 2rem;
    color: #333;
    margin: 15px 0 0;
}

.carousel-container {
    margin: 40px auto;
    position: relative;
}

.carousel-inner {
    border: 1px solid #1C5739;
    border-radius: 8px;
    padding: 20px 25px;
}

.carousel-content {
    display: grid;
    grid-template-columns: 20% 80%;
    justify-content: space-between;
}

.carousel-content .icon {
    flex: 0 0 120px;
    text-align: center;
    margin-bottom: 20px;
}

.carousel-content .icon img {
    width: 100%;
    margin: 0 auto;
}

.carousel-content .icon h4 {
    color: #1C5739;
    font-weight: bold;
    margin-top: 10px;
}

.carousel-content .text {
    flex: 1;
    padding-left: 20px;
}

.carousel-content .text h5 {
    color: #1C5739;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 10px 0 5px;
}

.carousel-content .text p {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

/* Carousel Controls */

.carousel-control {
    text-shadow: none;
    color: #1C5739;
    opacity: 1;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none;
    color: #1C5739;
    font-size: 36px;
    top: 65%;
    transform: translateY(-50%);
}

.carousel-control.left {
    left: -5%;
}

.carousel-control.right {
    right: -5%;
}

.carousel-indicators {
    bottom: -60px;
}

.carousel-indicators li {
    border: 1px solid #1C5739;
}

.carousel-indicators .active {
    background-color: #1C5739;
}

.image-section img {
    display: none;
    width: 100%;
    height: auto;
}

@media (min-width: 2561px) {
    .services-banner-content h1 {
        font-size: 6.6rem;
        line-height: 1.2;
    }

    .services-banner-content p {
        font-size: 4.3rem;
        line-height: 1.5;
    }

    .service-tab-section h2 {
        font-size: 7rem;
    }

    .tab-button {
        font-size: 4.2rem;
    }

    .tab-pane h3 {
        font-size: 6.5rem;
    }

    .tab-pane h4 {
        font-size: 4rem;
    }

    .tab-pane p {
        font-size: 4rem;
        line-height: 1.3;
    }

    .section-title h3 {
        font-size: 6.2rem;
    }

    .section-title p {
        font-size: 4rem;
    }

    .carousel-content .text h5 {
        font-size: 4.2rem;
    }

    .carousel-content .text p {
        font-size: 4rem;
    }

    .carousel-content .icon h4 {
        font-size: 3.5rem;
    }

     .carousel-content {
        grid-template-columns: 30% 70%;
    }
}

@media (min-width: 1920px) and (max-width: 2560px) {

    .services-banner-content h1 {
        font-size: 5.6rem;
        line-height: 1.2;
    }

    .services-banner-content p {
        font-size: 3.3rem;
        line-height: 1.5;
    }

    .service-tab-section h2 {
        font-size: 6rem;
    }

    .tab-button {
        font-size: 3.2rem;
    }

    .tab-pane h3 {
        font-size: 5.5rem;
    }

    .tab-pane h4 {
        font-size: 3rem;
    }

    .tab-pane p {
        font-size: 3rem;
        line-height: 1.3;
    }

    .section-title h3 {
        font-size: 5.2rem;
    }

    .section-title p {
        font-size: 3rem;
    }

    .carousel-content .text h5 {
        font-size: 3.2rem;
    }

    .carousel-content .text p {
        font-size: 3rem;
    }

    .carousel-content .icon h4 {
        font-size: 2.5rem;
    }

    /* .carousel-inner {
        height: 670px;
    } */

    .carousel-content {
        grid-template-columns: 30% 70%;
    }

}

/* For tablet & mobile (up to 1024px) */
@media (max-width: 1024px) {
    .service-tab-div {
        flex-direction: column;
    }

    .services-banner {
        background-image: url('https://storage.googleapis.com/giffycms-adirondack/images/services/image_cropped.png');
        background-attachment: scroll;
        grid-template-columns: 1fr;
        gap: 5rem;
        height: auto;
        padding: 5rem 0 0;
        ;
    }

    .image-section {
        background: none;
        height: auto;
    }

    .image-section img {
        display: block;
    }


    .sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 20px;
    }

    .hamburger {
        display: inline;
    }

    .tab-buttons {
        display: none;
        margin-top: 20px;
    }

    .tab-buttons.show {
        display: block;
    }

    .content {
        padding: 30px 0px;
    }

    .service-tab-div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .services-image-section {
        background-attachment: scroll;
        height: 50vh;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .carousel-content {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .carousel-content .text {
        padding-left: 0;
    }

    .services-banner-content {
        width: 100%;
        padding: 0 2rem 0 2rem;
    }

    .services-banner {
        background-image: url('https://storage.googleapis.com/giffycms-adirondack/images/services/image_cropped.png');
        background-attachment: scroll;
        grid-template-columns: 1fr;
        gap: 5rem;
        height: auto;
        padding: 5rem 0 0;
        ;
    }

    .services-image-section {
        background-attachment: unset;
        height: 30vh;
    }

    .image-section {
        background: none;
        height: auto;
    }

    .image-section img {
        display: block;
    }

    .divider-arrow img {
        margin-top: 0rem;
        width: 65%;
    }

    .service-tab-section {
        padding: 7rem 0 0;
        position: relative;
    }

    .section-title {
        margin: 40px 0px 20px;
    }
}

@media (max-width: 480px) {

    .services-image-section {
        height: 20vh;
        background-attachment: unset;
    }
}