/* Reset default body and html padding/margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent sideways scroll */
}
 
/* Apply box-sizing border-box globally */
*, *::before, *::after {
    box-sizing: border-box;
}
/* Reset default body and html padding/margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent sideways scroll */
}

/* Apply box-sizing border-box globally */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Container for the hero section */

.xgs-hero-banner {
    position: relative;
    width: 100%;
    height: auto;
    top: 70px;
    margin-bottom: 70px;
    aspect-ratio: 16 / 9;
    background-image: url(../images/banner/big-screen/iot-services.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #042a4a;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.xgs-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0);
}

.xgs-hero-banner h1 {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.5vw 2vw;
    z-index: 2;
    color: white;
    font-size: 5vw;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Laptop screens */
/* @media (max-width: 1600px) {
    .back-generators {
        background-image: url(../images/banner/generator2.png);
    }
} */

/* Tablet screens */
@media (max-width: 1280px) {
    .xgs-hero-banner {
        background-image: url(../images/banner/big-screen/iot-services.png);
    }
}

/* Mobile screens */
@media (max-width: 720px) {
    .xgs-hero-banner {
        background-image: url(../images/banner/big-screen/iot-services.png);
    }
    .xgs-hero-banner h1 {
        font-size: 5.5vw;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .xgs-hero-banner {
        background-image: url(../images/banner/mobile2/iot-services.png);
    }
    .xgs-hero-banner h1 {
        font-size: 5.5vw;
    }
}

/* Container section */
.iot-device-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    /* margin: 20px; */
    background-color: #ffffff; /* light background */
    box-sizing: border-box;
}

/* Inner column wrapper */
.iot-device-column2 {
    width: 100%;
    /* max-width: 1200px; */
    padding-left: 10px;
    margin-left: 20px;
    padding-right: 10px;
    margin-right: 20px;
 
    box-sizing: border-box;
}

/* Text styling */
.iot-device-text3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem; /* consistent size across all devices */
    line-height: 1.8;
    text-align: justify;
    color: #2b2b2b;
    font-weight: 400;

}

/* 🟢 Small Devices (Mobile - up to 576px) */
@media (max-width: 576px) {
   

    .iot-device-text3 {
        font-size: 1.8rem;
        text-align: left;
    }
}

/* 🟡 Medium Devices (Tablets & Laptops - 577px to 1024px) */
@media (min-width: 577px) and (max-width: 1024px) {
  

    .iot-device-text3 {
        font-size: 1.8rem;
        text-align: left;
    }
}

/* 🔵 Large Devices (Desktops - 1025px and above) */
@media (min-width: 1025px) {
  

    .iot-device-text3 {
        font-size: 1.8rem;
        
    }

}

/* Base container styling */
.iot-device-container2 {
    width: 100%;
    background-color: #ffffff;
    padding-right: 20px;
    padding-left:20px ;
    /* margin: 20px; */
    box-sizing: border-box;
    border-radius: 8px;
}

/* Title styling */
.iot-device-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: #1c1c1c;
    display: inline-block; /* Makes border bottom match text width */
    border-bottom: 2px solid #2979ff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    padding-left: 10px;
    margin-left: 20px;
    padding-right: 10px;
    margin-right: 20px;
 
}

/* Content wrapper */
.iot-device-content {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    line-height: 1.8;
    color: #2b2b2b;
    padding-left: 10px;
    margin-left: 20px;
    padding-right: 10px;
    margin-right: 20px;
  
}

/* Bullet points */
.iot-device-content ul {
    padding-left: 20px;
    margin: 0;
}

.iot-device-content li {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.iot-device-content strong {
    color: #1a73e8;
}

/* ---------------- MEDIA QUERIES ---------------- */

/* Small Devices (Mobile) */
@media (max-width: 576px) {
    .iot-device-container2 {
        padding: 20px;
        /* margin: 20px; */
    }

    .iot-device-title {
        font-size: 2.6rem;
    }

    .iot-device-content li {
        font-size: 1.8rem;
    }
}

/* Medium Devices (Tablets and Laptops) */
@media (min-width: 577px) and (max-width: 1024px) {
    .iot-device-container2 {
        padding: 20px;
        /* margin: 20px; */
    }

    .iot-device-title {
        font-size: 2.6rem;
    }

    .iot-device-content li {
        font-size: 1.8rem;
    }
}

/* Large Devices (Desktops and Big Screens) */
@media (min-width: 1025px) {
    .iot-device-container2 {
        padding: 20px;
        /* margin: 20px; */
    }

    .iot-device-title {
        font-size: 2.6rem;
    }

    .iot-device-content li {
        font-size: 1.8rem;
    }
}

/* Section Heading / Banner */
.iot-device-mid-highlight-banner1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #1c3f91;
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: inline-block;
    padding-left: 10px;
    margin-left: 20px;
    padding-right: 10px;
    margin-right: 20px;
 
    /* border-bottom: 3px solid #1a73e8; */
}

/* Bullet points content */
.iot-device-section-content2 ul {
    list-style-type: none;
    padding-left: 10px;
    margin-left: 20px;
    padding-right: 10px;
    margin-right: 20px;
 
}

.iot-device-section-content2 li {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #2b2b2b;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

/* Blue triangle icon before each bullet */
.iot-device-section-content2 li::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 0;
    color: #1a73e8;
    font-size: 1.2rem;
}

/* Bottom paragraph */
.iot-device-text2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #2b2b2b;
    line-height: 1.8;
    margin-top: 20px;
    padding-left: 10px;
    margin-left: 20px;
    padding-right: 10px;
    margin-right: 20px;
}

/* ---------------- MEDIA QUERIES ---------------- */

/* Mobile (up to 576px) */
@media (max-width: 576px) {
    .iot-device-container2 {
        padding: 20px;
        margin: 20px;
    }

    .iot-device-mid-highlight-banner1 {
        font-size: 3.2rem;
    }

    .iot-device-section-content2 li,
    .iot-device-text2 {
        font-size: 1.8rem;
    }
}

/* Tablet/Laptop (577px - 1024px) */
@media (min-width: 577px) and (max-width: 1024px) {
    .iot-device-container2 {
        padding: 20px;
        margin: 20px;
    }

    .iot-device-mid-highlight-banner1 {
        font-size: 3.2rem;
    }

    .iot-device-section-content2 li,
    .iot-device-text2 {
        font-size: 1.8rem;
    }
}

/* Desktop (1025px and above) */
@media (min-width: 1025px) {
    .iot-device-container2 {
        padding: 20px;
        margin: 20px;
    }

    .iot-device-mid-highlight-banner1 {
        font-size: 3.2rem;
    }

    .iot-device-section-content2 li,
    .iot-device-text2 {
        font-size: 1.8rem;
    }
}