
/* background */
/* 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;
}
.flyer{
    padding: 20px;
    font-size:1.8rem;
  }

  .flyer :hover{
    color: red;
  }


  .back-smart-water-manage {
    position: relative;
    width: 100%;
    height: auto;
    top: -180px;
    margin-bottom: -180px;
    aspect-ratio: 16 / 9; /* Maintain landscape shape */
    background-image: url(../images/banner/cable-gland.avif); /* Use your image path */
    background-size: contain; /* Show full image without cropping */
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #042a4a; /* Fallback background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Optional overlay for text readability */
.back-smart-water-manage::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.185); /* Adjust transparency if needed */
}
/* Headline text styling */
.back-smart-water-manage h1 {
    position: relative;
    z-index: 2;
    color: white;
    margin: 0;
    margin-top: 90px;
    font-size: 8rem; /* Responsive font size */
    font-weight: bold;
    text-align: left; /* Left-align the text */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure the h1 takes up full width for alignment */
    padding-left: 20px; /* Optional: Adds some left padding to avoid sticking to the edge */
}



/* Tablet screens */
@media (max-width: 1024px) {
    .back-smart-water-manage {
        aspect-ratio: 16 / 10;
        top: -160px; /* Adjust the top spacing for smaller screens */
        margin-bottom: -160px; /* Adjust the bottom margin for smaller screens */
    }

    .back-smart-water-manage h1 {
        font-size: 5vw;
    }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
    .back-smart-water-manage {
        aspect-ratio: 16 / 10;
        top: -80px; /* Adjust the top spacing for smaller screens */
        margin-bottom: -80px; /* Adjust the bottom margin for smaller screens */
    }

    .back-smart-water-manage h1 {
        font-size: 6vw;
    }
}
/* For Small Screens like Surface Duo (540px x 720px) */
@media (max-width: 540px) {
    .back-smart-water-manage {
        aspect-ratio: 16 / 12; /* Maintain appropriate aspect ratio for small screens */
        top: -100px; /* Adjust top spacing for very small screens */
        margin-bottom: -100px; /* Adjust bottom margin for small screens */
        background-size: contain; /* Make sure the image is fully visible */
    }

    .back-smart-water-manage h1 {
        margin-top: 180px;
        font-size: 8vw; /* Make the text responsive for small screens */
    }
}

/* Small phones */
@media (max-width: 480px) {
    .back-smart-water-manage {
        aspect-ratio: 16 / 12;
        background-size: contain;
        top: -50px; /* Adjust the top spacing for smaller screens */
        margin-bottom: -50px; /* Adjust the bottom margin for smaller screens */
    }

    .back-smart-water-manage h1 {
        font-size: 7vw;
    }
}

/* Small phones */
@media (max-width: 300px) {
    .back-smart-water-manage {
        aspect-ratio: 16 / 12;
        background-size: contain;
        top: -10px; /* Adjust the top spacing for smaller screens */
        margin-bottom: -10px; /* Adjust the bottom margin for smaller screens */
    }

    .back-smart-water-manage h1 {
        font-size: 7vw;
    }
}
  .cable-glands-container {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.cable-glands-text2 {
    font-size: 1.8rem;
    text-align: left;
    line-height: 1.6;
    color: #222; /* Optional: adjust color as needed */
    margin-bottom: 1.2rem;
}

/* Optional: ensure .reveal animations don’t interfere with layout */
.cable-glands-text2.reveal {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
}
.cable-glands-container2 {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 1.8rem;
}

.cable-glands-section-title2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2b4f93; /* Deep blue - adjust if needed */
    margin-bottom: 10px;
}

.cable-glands-text2 {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #222;
    text-align: left;
    margin-bottom: 1.2rem;
}

.cable-glands-column2,
.cable-glands-column1 {
    flex: 1 1 45%;
    margin-top: 30px;
    padding: 20px;
    margin: 20px;
}

.cable-glands-column2 ul,
.cable-glands-column1 ul {
    padding-left: 1.8rem;
}

.cable-glands-column2 ul li,
.cable-glands-column1 ul li {
    font-size: 1.8rem;
    margin-bottom: 10px;
    list-style: none;
    position: relative;
}

.cable-glands-column2 ul li::before,
.cable-glands-column1 ul li::before {
    content: "▶";
    color: #2b4f93;
    margin-right: 10px;
    font-size: 1.6rem;
    position: absolute;
    left: -1.8rem;
}

/* Subheading for 'Product Range' and 'Application' */
.cable-glands-column2 .cable-glands-section-title2,
.cable-glands-column1 .cable-glands-section-title2 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cable-glands-column2,
    .cable-glands-column1 {
        flex: 1 1 100%;
        margin-top: 20px;
    }

    .cable-glands-section-title2 {
        font-size: 2.5rem;
    }

    .cable-glands-column2 .cable-glands-section-title2,
    .cable-glands-column1 .cable-glands-section-title2 {
        font-size: 2.2rem;
    }

    .cable-glands-text2,
    .cable-glands-column2 ul li,
    .cable-glands-column1 ul li {
        font-size: 1.6rem;
    }
}
.cable-glands-section-container2 {
    width: 100%;
    /* max-width: 1200px; */
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    font-size: 1.8rem;
}

.cable-glands-section-title2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #2b4f93;
    margin-bottom: 20px;
    text-align: left;
}

.cable-glands-section-content2 {
    font-size: 1.8rem;
    color: #222;
    line-height: 1.6;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.cable-glands-section-content2 ul {
    list-style: none;
    padding-left: 1.8rem;
    margin: 0;
    left: -1.8rem;

}

.cable-glands-section-content2 ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 1.8rem;
    left: -1.8rem;
}

.cable-glands-section-content2 ul li::before {
    content: "▶";
    position: absolute;
    left: -1.8rem;
    color: #2b4f93;
    font-size: 1.8rem;
    top: 0.1rem;
    
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cable-glands-section-title2 {
        font-size: 3.2rem;
    }

    .cable-glands-section-content2 {
        font-size: 2.2rem;
    }

    .cable-glands-section-content2 ul li::before {
        font-size: 1.8rem;
    }
}
/* Section Title Styling */
.cable-glands-section-title3 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #2b4f93;
    margin-bottom: 20px;
    padding-left: 20px;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    text-align: left;
}

/* Container for Image Grid */
.cable-glands-split3-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Image Grid Layout */
.cable-glands-split3-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Each Image Box */
.cable-glands-split3-item {
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image Styling */
.cable-glands-split3-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .cable-glands-split3-item {
        flex: 1 1 calc(50% - 20px);
    }

    .cable-glands-section-title3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .cable-glands-split3-item {
        flex: 1 1 100%;
    }

    .cable-glands-section-title3 {
        font-size: 2.2rem;
    }
}
