﻿.split-layout-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    background-color: #404c5c;
}

/* Replaces .split-left for images */
.split-image-col {
    flex: 1 1 50%;
    padding: 0;
    display: flex;
    position: relative; /* Required for the absolute ::after overlay */
}

/* Replaces .split-right for text */
.split-text-col {
    flex: 1 1 50%;
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Dark overlay over the image */
.split-image-col::after {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: "";
    position: absolute;
    background: rgba(1, 1, 3, 0.3);
}

.h2title {
    font-size: 30px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 25px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .split-image-col, .split-text-col {
        flex: 1 1 100%;
    }

    .split-image-col {
        min-height: 250px;
    }

    .split-text-col {
        padding: 40px 5%;
    }
}
.tp-footer-9-top-wrap {
    margin-top: 0 !important;
}
@media (min-width: 1900px) {
    .split-layout-wrapper {
        zoom: 1.25;
    }
}

@media only screen and (min-width: 1100px) and (max-width: 1400px) {
    p{
        font-size:14px!important;
    }
    .h2title{
        font-size:25px!important;
    }
}

/* Mobile Responsive Adjustments */
/* Tablet & Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .split-image-col, .split-text-col {
        flex: 1 1 100%;
    }

    .split-image-col {
        min-height: 250px;
        order: 1; /* Forces the image to always appear first on mobile */
    }

    .split-text-col {
        padding: 40px 5%;
        order: 2; /* Forces the text to always appear second on mobile */
    }

    /* Tablet Font Sizes */
    .h2title {
        font-size: 28px !important;
        margin-bottom: 15px; /* Reduces the gap slightly */
        line-height: 1.3;
    }

    .tp-paragraph-animation {
        font-size: 16px !important;
    }
}

/* Small Mobile Phones (iPhones, Androids) */
@media (max-width: 575px) {
    .split-text-col {
        padding: 30px 5%; /* Less padding on small screens */
    }

    /* Phone Font Sizes */
    .h2title {
        font-size: 22px !important;
    }

    .tp-paragraph-animation {
        font-size: 14px !important;
        line-height: 1.5;
    }
}