/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff; /* Light grey background, adjust if needed */
    color: #333;
    line-height: 1.6;
}
.about-body{
    margin: 2%;
}
.container {
    width: 95%; /* Keeps some padding from the edges */
    margin: 0 auto;
    /* padding: 0 15px; */
}

/* Typography & Common Section Styles */
.section-header {
    font-size: 55px;
    font-weight: 700;
    color: #008acf;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.bitsware-difference-section {
    padding-top: 50px;
    padding-bottom: 0px;
}

.bitsware-difference-section .section-header-container {
    margin-bottom: 40px;
}

.hero-background-container {
    position: sticky;
    clip-path: ellipse(150% 100% at top);
    background-color: #038cd0;
    padding: 20px 0px 90px 0px;
    color: #ffffff;
    overflow: hidden;
}

/* --- UPDATED FOR NEW HTML STRUCTURE --- */
.content-within-hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap */
    align-items: center;
    gap: 0 40px; /* Gap for columns only */
}

/* NEW classes for separated title and content */
.section-title-holder, .section-content-holder {
    flex-basis: 55%; /* Takes up left side */
    min-width: 300px;
}
.section-title-holder {
    order: 1; /* First item on the left */
}
.section-content-holder {
    order: 2;
    text-align: center; /* Second item on the left */
}
.image-holder-right {
    flex-basis: 40%; /* Takes up the right side */
    min-width: 300px;
    order: 3; /* Third item, appears as second column */
    align-self: center /* Vertically centers the image with the text */
}

.section-title-holder h3 {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.section-title-holder h3 span {
    font-weight: bold;
    font-size: 55px;
    background: #fff;
    color: #008acf;
    padding: 2px 6px;
    border-radius: 0px;
}

.section-content-holder p {
    font-size: 25px;
    margin-bottom: 0;
    text-align: justify;
    width: 100%;
}

.bitsware-difference-section .image-holder-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}


/* === Section: Why We Do What We Do? (No changes here) === */
.why-we-do-section {
    padding: 70px 0;
    background-color: #ffffff;
    text-transform: lowercase;
    text-align: justify;
}
/* ... all .why-we-do-section styles remain the same ... */
.icon-text-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
}
.icon-text-item .icon-placeholder {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
}
.icon-text-item .icon-placeholder iframe {
    max-width: 140%;
    max-height: 140%;
    object-fit: contain;
    border: 0px solid;
}
.icon-text-item p {
    font-size: 20px;
    color: #333;
    margin: 0;
    line-height: 1.7;
}

/* ======================================= */
/* Responsive Adjustments         */
/* ======================================= */
@media (max-width: 992px) {
    .section-header {
        font-size: 36px;
        margin-bottom: 30px;
    }
    .bitsware-difference-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .hero-background-container {
        padding: 60px 0;
        
    }

    /* --- KEY CHANGE FOR MOBILE LAYOUT --- */
    .content-within-hero {
        flex-direction: column; /* Stack all items vertically */
    }

    /* Reset order and width for all items */
    .section-title-holder,
    .section-content-holder,
    .image-holder-right {
        order: 0 !important; /* Reset order to follow HTML flow */
        flex-basis: 100% !important; /* Each item takes full width */
        max-width: 90%;
        /* margin: 0 auto; */
    }

    /* Center image and add space */
    .image-holder-right {
        max-width: 80%;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .section-title-holder h3 {
        font-size: 32px;
        margin-bottom: 0; /* Remove bottom margin as image is now below */
        text-align: center;
    }
    .section-content-holder p {
        font-size: 18px;
    }
    .section-title-holder h3 span {
        font-size: 28px;
        padding: 1px 4px;
    }

    /* --- Styles for 2nd section --- */
    .why-we-do-section {
        padding: 0px 0;
    }
    .icon-text-item {
        gap: 18px;
        margin-bottom: 25px;
        align-items: center;
    }
    .icon-text-item .icon-placeholder {
        width: 35px;
        height: 35px;
    }
    .icon-text-item p {
        font-size: 16px;
    }
}


@media (max-width: 768px) { /* Mobile */
    .section-header {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .hero-background-container {
        padding: 40px 0;
    }
    .section-title-holder h3 {
        font-size: 24px;
        line-height: 1.4;
    }
    .section-title-holder h3 span {
        font-size: 20px;
        padding: 1px 3px;
    }
    .section-content-holder p {
        font-size: 16px;
        width: 100%;
        padding-bottom: 10px;
    }
    .icon-text-item {
        align-items: center;
    }
    .icon-text-item .icon-placeholder {
        width: 60px;
        height: 60px;
    }
     .icon-text-item p {
        font-size: 15px;
    }
}