
/* 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-city {
    position: relative;
    text-align: left;
    background-image: url(../images/banner/city.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff; 
    min-height: 78vh;
    padding: 180px 20px 10px 20px;
    font-size: 2rem;
}

/* Overlay */
.back-city::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.489);
    z-index: 1;
}

/* Text Styling */
.back-city h1, 
.back-city h2,
.back-city p {
    position: relative;
    z-index: 2; /* Content above overlay */
}

.back-city h1 {
    font-size: 8rem;
    margin-top: 16rem;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: hsl(0, 0%, 100%);
}

.back-city h2 {
    margin-top: 1rem;
    font-size: 3.2rem;
    font-family: Arial;
    color: #ffffff;
    /* margin-right: 550px; */
    /* padding: 0.2em 0.5em; */
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .back-city {
        padding: 30px 15px;
        min-height: 78vh;
    }
    
    .back-city h1 {
        margin-top: 15rem;
    }

    .back-city h2 {
        margin-right: 400px;
    }

    .back-city h3 {
        margin-right: 500px;
    }
}

@media (max-width: 768px) {
    .back-city {
        padding: 20px 10px;
        min-height: 78vh;
        background-attachment: scroll; /* Better performance on smaller devices */
    }

    .back-city h1 {
        margin-top: 10rem;
        font-size: 8rem;
    }

    .back-city h2 {
        margin-right: 0;
        font-size: 3rem;
    }

    .back-city h3 {
        margin-right: 0;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    
    .back-city {
        font-size: 6rem;
        margin-top: 5rem;
        min-height: 50vh;
        /* background-attachment: scroll; */
        position: relative;
    text-align: left;
    /* background-image: url(../images/software/carl/Hospital.png); */
    /* background-repeat: no-repeat; */
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff; 
    /* min-height: 78vh; */
    /* padding: 40px 20px; */
    /* font-size: 2rem; */
    }


    .back-city h1 {
        font-size: 6rem;
        margin-top: 5rem;
    }

    .back-city h2,
    .back-city h3 {
        font-size: 2.5rem;
        margin-right: 0;
        padding: 0.1em;
    }
}

/* Additional CSS for creating two-column layout */
.city-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

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

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

@media (max-width: 480px) {
    .city-column1,
    .city-column2 {
        min-width: 100%;
    
    
    }
    .city-column1 h2{
        font-size: 2.6rem;
        text-align: left;
    }
}

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


/* Common Styles for both columns */
.city-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;
}

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

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

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

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

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

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

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

    .city-section-title2 {
        font-size: 2rem;
    }

    .city-section-content2 ul li {
        font-size: 1rem;
    }
}

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

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

    .city-section-content2 ul li {
        font-size: 1.6rem;
       /* margin-top: -10px */
    }
}


.city-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);
}

@media (max-width: 768px) {
    .city-mid-highlight-banner {
        font-size: 1.6rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .city-mid-highlight-banner {
        font-size: 1.6rem;
        padding: 10px;
    }
    .city-title1 {
        font-size: 2rem;
        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;
    }
}


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

.city-column1 {
    flex: 1;

    box-sizing: border-box;
}

.city-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;
}

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

.city-column2 {
    flex: 1;
    min-width: px;
    box-sizing: border-box;
}

.city-title2 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(44, 0, 96);
}

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

.city-image-container {
    margin-top: 30px;
    text-align: center;
  }
  
  .city-image {
    max-width: 100%;
    height: auto;
  }

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


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

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

/* Health Box Styling */
.city-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;
}

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

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

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

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

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

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