/* 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;
}
/* background */

.back-generators {
    position: relative;
    width: 100%;
    height: auto;
    top: -180px;
    margin-bottom: -180px;
    aspect-ratio: 16 / 9; /* Maintain landscape shape */
    background-image: url(../images/banner/generator.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-generators::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0); /* Adjust transparency if needed */
}

/* Headline text styling */
.back-generators h1 {
    position: relative;
    z-index: 2;
    color: white;
    margin: 0;
    font-size: 4vw; /* Responsive font size */
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

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

    .back-generators h1 {
        font-size: 5vw;
    }
}

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

    .back-generators h1 {
        font-size: 6vw;
    }
}
/* For Small Screens like Surface Duo (540px x 720px) */
@media (max-width: 540px) {
    .back-generators {
        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-generators h1 {
        font-size: 8vw; /* Make the text responsive for small screens */
    }
}

/* Small phones */
@media (max-width: 480px) {
    .back-generators {
        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-generators h1 {
        font-size: 7vw;
    }
}

/* Small phones */
@media (max-width: 300px) {
    .back-generators {
        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-generators h1 {
        font-size: 7vw;
    }
}
/* Additional CSS for creating two-column layout */
.generators-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.generators-column1,
.generators-column2 {
    flex: 1;
    min-width: calc(50% - 35px); /* Adjust width to ensure sections are side by side with spacing */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .generators-column1,
    .generators-column2 {
        min-width: 100%;
    }
}

/* Additional CSS for creating two-column layout */
.generators-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: -50px;
}


/* Common Styles for both columns */
.generators-section-container2 {
    font-family: Arial, sans-serif;
    margin: 30px;
    transition: all 0.3s ease-in-out;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.generators-section-container2.visible {
    opacity: 1;
}

.generators-section-title2 {
    font-size: 2.5rem;
    color: #2b5797;
    margin-bottom: 20px;
    /* border-bottom: 3px solid #2b972d; */
    padding-bottom: 10px;
    display: inline-block;
}

.generators-section-content2 {
    line-height: 1.6;
}

.generators-section-content2 ul {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-left: 20px;
}

.generators-section-content2 ul li {
    margin-bottom: 10px;
    font-size: 1.6rem;
    text-align: justify;
    position: relative;
    padding-left: 25px;
}

.generators-section-content2 ul li:before {
    content: '\25B6'; /* Triangle bullet */
    color: #2b5797;
    font-size: 1.6rem;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .generators-section-container2 {
        padding: 20px;
    }

    .generators-section-title2 {
        font-size: 2.2rem;
    }

    .generators-section-content2 ul li {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .generators-section-container2 {
        padding: 15px;
    }

    .generators-section-title2 {
        font-size: 1.6rem;
    }

    .generators-section-content2 ul li {
        font-size: 1.6rem;
        text-align: left;
    }
}
.generators-mid-highlight-banner {
    /* background: linear-gradient(90deg, #FDC830, #F37335);  */
    background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237));
    color: #000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 2px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.image-row {
    display: flex;
    justify-content: space-between; /* Adjust spacing between images */
    align-items: center;
    /* gap: 2px; Space between images */
    padding: 20px;
}

.generators-image4 {
    max-width: 100%;
    height: auto;
    width: 30%; /* Adjust this to control the size of the images */
    object-fit: cover; /* Ensures images fit nicely */
}
.generators-mid-highlight-banner1 {
    /* background: linear-gradient(90deg, #FDC830, #F37335);  */
    /* background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237)); */
    color : #2b5797;
    margin-left: 20px;
    /* margin-bottom: 20px; */
    /* border-radius: 2px; */
    /* margin-top: -50px; */
    text-align: left;
    font-size: 3.6rem;
    font-weight: bold;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

@media (max-width: 768px) {
    .generators-mid-highlight-banner {
        font-size: 1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .generators-mid-highlight-banner {
        font-size: 0.9em;
        padding: 10px;
    }
}


/* Heallthcare */
.generators-container {
    display: flex;
    text-align: left;
    flex-direction: row;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.generators-column1 {
    flex: 1;

    box-sizing: border-box;
}

.generators-title1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(44, 0, 96);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.generators-text1 {
    font-size: 16px;
    line-height: 1.5;
    
}

.generators-column2 {
    flex: 1;
    min-width: px;
    box-sizing: border-box;
}
.flyer{
    padding: 20px;
    font-size:2rem;
  }

  .flyer :hover{
    color: red;
  }

.generators-title2 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color : #2b5797;
}

.generators-text2{
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

.generators-paragraph{
   padding: 20PX;
}

.generators-image-container {
    /* margin-top: 10px; */
    text-align: center;
  }
  
  .generators-image {
    max-width: 100%;
    height: auto;
  }
  .generators-image2 {
    max-width: 60%;
    height: auto;
    margin-top: 20px;
  }

  .generators-image3 {
    max-width: 60%;
    height: auto;
    margin-top: 50px;
  }

  .generators-text-highlight{
    font-size: 2.3rem;
    color: rgb(140, 73, 223);
  }
  .generators-text-highlight:hover{
    
    color: #f39c12;
  }



  .generators-text-highlight-flyer{
    font-size: 2.3rem;
    color: rgb(140, 73, 223);
    padding: 20px;
    font-weight: bold;
  
  }
  .generators-text-highlight-flyer:hover{
    
    color: #f39c12;
    padding: 20px;
  }
/* Responsive Design */
@media (max-width: 768px) {
    .generators-container {
        flex-direction: column;
    }
}


/* General Styling for Health Boxes Section */
.generators-box-block {
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}

/* Container Styling */
.generators-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Health Box Styling */
.generators-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 200px;
    height: auto;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.generators-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.generators-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

/* Title Styling */
.generators-box-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .generators-box-container {
        flex-direction: column;
        align-items: center;
    }
    .generators-box {
        width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .generators-box {
        width: 45%;
    }
}

@media (min-width: 1025px) {
    .generators-box {
        width: 30%;
    }
}
