@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;1,300&display=swap');

@media (max-width: 788px) {

    /* === CRITICAL: Prevent Horizontal Overflow === */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* General Mobile Page Title Improvements */
    .page-title h3,
    .page-title h1,
    .news-title h3 {
        font-size: 1.1rem !important;
        padding: 1.2rem 0.2rem !important;
        line-height: 1.3 !important;
    }

    /* General Section Headers */
    .section-header h6,
    .locattion h6 {
        font-size: 0.98rem !important;
        padding: 0.5rem 0.2rem !important;
        text-align: center !important;
    }

    /* === SERVICES PAGE SPECIFIC FIXES === */

    /* Services: Prevent overflow on all containers */
    #service .new_body,
    #service .container,
    section.new_body {
        padding-left: 5% !important;
        padding-right: 5% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    /* Services: Filter section container */
    #projects.filter,
    .filter {
        margin: 0 !important;
        max-width: 100vw !important;
        padding: 2rem 5% !important;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Services: Filter buttons - improved wrapping and touch targets */
    .filter .button-group {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 0 0 2rem 0 !important;
        padding: 1rem !important;
        text-align: center !important;
        width: 100% !important;
        background: #ffffff !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
    }

    .filter .button-group .button {
        font-size: 0.75rem !important;
        padding: 8px 12px !important;
        margin: 0 !important;
        white-space: nowrap !important;
        background: #f1f4f7 !important;
        /* Match desktop */
        color: #7b7e85 !important;
        /* Match desktop */
        border: none !important;
        /* Match desktop */
        border-radius: 2px !important;
        /* Match desktop */
        cursor: pointer !important;
        font-weight: 700 !important;
        /* Match desktop */
        transition: all 0.3s ease !important;
        min-height: 44px !important;
        /* Touch-friendly */
    }

    .filter .button-group .button:hover,
    .filter .button-group .button.is-checked {
        background: #147cc4 !important;
        color: #ffffff !important;
    }

    /* Services: Grid layout - let Isotope handle positioning */
    .filter .grid {
        /* display: block !important; REMOVED - breaks Isotope container */
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        /* column-count: 1 !important; REMOVED */
        /* position: relative !important; Isotope manages this */
    }

    /* Services: Element items - full width cards */
    .filter .element-item,
    .filter .element-item.row {
        /* display: block !important; REMOVED - breaks filtering */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1rem 0 !important;
        padding: 0 !important;
        float: none !important;
        /* clear: both !important; */
        /* position: relative !important; REMOVED - breaks Isotope layout */
        box-sizing: border-box !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        overflow: hidden !important;
    }

    /* Services: All columns inside element-items should be full width */
    .filter .element-item>[class*="col-"],
    .filter .element-item.row>[class*="col-"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        flex: 0 0 100% !important;
    }

    /* Services: Images in cards */
    .filter .element-item img.img-fluid {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    /* Services: Content area */
    .filter .element-item .cont {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        margin: 0 !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }

    .filter .element-item .cont h2 {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        margin: 0 0 1rem 0 !important;
        color: #147cc4 !important;
        line-height: 1.3 !important;
    }

    .filter .element-item .cont p {
        font-size: 0.95rem !important;
        text-align: left !important;
        line-height: 1.7 !important;
        color: #333333 !important;
        margin: 0 0 1rem 0 !important;
    }

    /* === PROJECTS PAGE SPECIFIC FIXES === */

    /* Projects: Main container */
    section.new_body {
        padding-left: 5% !important;
        padding-right: 5% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* Projects: Dropdown button centering */
    .dropdown {
        text-align: center !important;
        width: 100% !important;
        margin: 1rem 0 !important;
        padding: 0 !important;
    }

    .dropdown .btn {
        margin: 0 auto !important;
        display: inline-block !important;
        min-height: 44px !important;
        /* Touch-friendly */
    }

    /* Projects: Card grid - force vertical stacking */
    .row.row-cols-1,
    .row.row-cols-sm-2,
    .row.row-cols-lg-4 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Projects: Card columns - full width */
    .row.row-cols-1>.col,
    .row.row-cols-sm-2>.col,
    .row.row-cols-lg-4>.col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 1rem 0 !important;
        flex: 0 0 100% !important;
    }

    /* Projects: Cards */
    .card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .card-img-top {
        width: 100% !important;
        height: auto !important;
    }

    .card p {
        font-size: 1rem !important;
        padding: 0.5rem !important;
    }

    /* Projects: Container car class */
    .car {
        margin: 0 auto !important;
        padding: 0 0 2rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* === GENERAL BOOTSTRAP GRID OVERRIDES === */

    /* General Layout: Flex Columns - BUT NOT SDG rows */
    .container .row:not(.sdg),
    .main-content .row,
    .news .row {
        flex-direction: column !important;
        gap: 1.2rem !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* General Columns: Full Width - BUT NOT SDG columns */
    .container .row:not(.sdg) .col,
    .main-content .row .col,
    .news .row .col,
    .footer .row>div {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 1.2rem auto !important;
        text-align: center !important;
    }

    /* Ensure all columns stack on mobile - BUT NOT SDG columns */
    .container .row:not(.sdg)>[class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Reset Bootstrap row negative margins */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Images - BUT NOT SDG images */
    .container .row:not(.sdg) img,
    .main-content .row img,
    .news .row img,
    .img-fluid {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 0.5rem auto !important;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    }

    /* === SDG ICONS HORIZONTAL LAYOUT === */

    /* Fix SDG Icons on mobile - MUST come after general rules */
    .container .row.sdg,
    .filter .element-item .row.sdg,
    .row.sdg {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        flex-direction: row !important;
        /* Force horizontal */
        margin-top: 1rem !important;
        padding-top: 1rem !important;
        border-top: 2px solid #e0e0e0 !important;
        width: 100% !important;
    }

    .container .row.sdg .col-md-2,
    .container .row.sdg .col-md-3,
    .container .row.sdg>[class*="col-"],
    .filter .element-item .row.sdg>[class*="col-"],
    .row.sdg>[class*="col-"] {
        width: auto !important;
        max-width: 60px !important;
        flex: 0 0 auto !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
    }

    /* Force SDG images to be small */
    .container .row.sdg img,
    .filter .element-item .row.sdg img,
    .row.sdg img {
        width: 60px !important;
        height: 60px !important;
        max-width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
        border-radius: 4px !important;
    }

    /* === TYPOGRAPHY === */

    .jst,
    .main-content p {
        text-align: justify !important;
        font-size: 1rem !important;
        padding: 0 0.5rem !important;
        line-height: 1.6 !important;
    }

    /* Headings */
    h1 {
        font-size: 1.8rem !important;
        padding: 1rem 0 !important;
    }

    /* Navigation/Pagination */
    .previ,
    .next {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }

    /* === FOOTER === */

    .footer .logo {
        width: 70vw !important;
        max-width: 250px !important;
        height: auto !important;
        margin: 0 auto 1rem auto !important;
        display: block;
    }

    .footer a.fs-3 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .footer p,
    .footer h5,
    .footer h3,
    .footer h4 {
        font-size: 1rem !important;
        text-align: center !important;
        padding: 0 0.5rem !important;
    }

    /* === ACCORDION === */

    .accordion {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .accordion li {
        width: 100% !important;
        margin: 10px 0 !important;
        padding: 10px !important;
    }

    /* === EXTRA SMALL DEVICES === */
}

/* start of general styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Rubik';


}

/* Footer logo - Desktop/All Pages */
.footer .logo {
    width: 280px !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 auto 1rem auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Footer logo link alignment */
.footer a.fs-3 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none !important;
}

* h4 {
    color: #147cc4;
}

* h1 {
    color: #147cc4;
}

* h5 {
    color: #147cc4;
}

.new_body {

    padding-left: 9%;
    padding-right: 9%;
}

.home {
    min-height: 0vh;
    background-size: cover;
    background-position: center;
    padding-top: 0px;
    padding-bottom: 0px;
}

.carousel-caption {
    bottom: 130px;
    z-index: 2;
}

.carousel-caption a {
    text-transform: uppercase;
    text-decoration: none;
    background: #147cc4;
    padding: 5px 20px;
    display: inline-block;
    color: #fff;
    margin-top: 15px;
    border-radius: 5px;
    bottom: 2000px;
}

.carousel-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;

}

/* navbar*/
.nas a {
    position: relative;
    color: #147ec3;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
}

.nas a::before {
    content: "";
    position: absolute;
    top: 70%;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #61bc52;
    transition: 1s;
}

.nas a:hover:before {
    width: 100%;
}

.navbar {
    padding: 0px 10px;
    background-color: aliceblue;
    width: 100%;
}

.navbar-toggler:focus {
    box-shadow: none;

}

.containercar {
    position: absolute;
    color: aliceblue;
    bottom: 0;
    right: 0;
    left: 0;
    padding-bottom: 100px;
}

.containercars {
    position: absolute;
    color: #147cc4;
    font-weight: 900;
    font-size: 500%;
    bottom: 0;
    right: 0;
    left: 30%;
    padding-bottom: 40%;
}

.span {
    display: inline-block;
    color: #61bc52;
}



.bg {
    background-color: dimgrey;

}

/*footer */
.footer p {
    font-size: 20px;

}

.foot {
    margin-left: 9%;

}

.foots {
    height: 10px;
    width: 100%;

}

/* projects background */
.backgrd {
    background-image: url("../img/projects/damstructure.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding-top: 15%;
    padding-bottom: 20%;
    color: #fff;
    z-index: 1;

}

.pronav {
    padding-left: 5%;
    padding-right: 5%;
}

.pro h2 {
    color: #fff;
    position: absolute;
    top: 90%;
    left: 15%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin: auto;

}

.card {
    box-shadow: none;
    border: none;
}

.car {
    padding-bottom: 80px;



}

.car p {
    color: #147cc4;
    text-transform: uppercase;
}

.deco {
    text-decoration: none;
    text-align: center;
    color: black;


}

.pol {
    text-align: justify;
}

.dropdown .btn {
    background-color: #147ec3;
    color: #fff;
    padding: 5px 20px;
    align-content: center;
    margin-left: 10%;
    border-radius: 5%;
    display: block;
    text-decoration: none;
    font-weight: 200;
}

/* highway background*/
.highwaybg {
    background-image: url("../img/projects/Kampalaflyover.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;

}

.jst {
    text-align: justify;

}

.highbg h1 {
    color: #000;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin: auto;
}

.aside {
    margin-right: 20%;
    width: auto;
    height: auto;
    float: right;
    list-style-type: none;
    list-style: none;
    font-weight: 300;
    font-size: small;
    line-height: 26px;
    border-radius: 8px;
    box-shadow: -6px -6px 10px -1px rgba(0, 0, 0, 0.15), -6px -6px 10px -1px rgba(255, 255, 255, 0.7);


}

/* public Transport background image */
.publicTransportBg {
    background-image: url("../img/projects/PublicTransport.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Railway background image*/
.railwayBg {
    background-image: url("../img/projects/Railways.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Road safety background image*/
.roadSafetyBg {
    background-image: url("../img/Head/RoadSafety.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Ports and Horbour background images */
.portsAndHbg {
    background-image: url("../img/Projects/Ports&Harbours.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

.publicTransportBig {
    background-image: url("../img/projects/Ports&Harbours.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Urban Development background image*/
.urbanDevelopmentBg {
    background-image: url("../img/projects/UrbanPlanningandDevelopment3.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Policy planning background image*/
.urbanDevelopmentBig {
    background-image: url("../img/projects/PolicyPlanning.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Water and Sanitation background image*/
.waterSanitizationBig {
    background-image: url("../img/projects/WaterSupply_Sanitation.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Agriculture and Rural development background image*/
.agricultureRD {
    background-image: url("../img/projects/Agric&RuralDevt4.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Socio Environmental manaement background image */
.socioEnvironmentManaementBig {
    background-image: url("../img/projects/SocialEnvtMngt2.JPG.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;

}

/* Climate change and disaster background image */
.climateChangeDisasterBg {
    background-image: url("../img/projects/Floods2.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* Power generation background image */
.powerGenerationBg {
    background-image: url("../img/projects/PowerGeneration&Transmission.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;
}

/* accordion */
.accordion {
    margin-left: -50px;
    width: 100%;
}

.accordion li {
    list-style: none;
    width: auto;
    margin: 20px;
    padding: 10px;
    border-radius: 8px;
    background: #e3edf7;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15), -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
}

.accordion li label {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
}

label::after {
    content: "+";
    margin-left: 200px;
    font-size: 30px;
    font-weight: 200;

}

input[type="radio"] {
    display: none;
}

.accordion .content {
    color: #555;
    padding: 0 10px;
    line-height: 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.accordion input[type="radio"]:checked+label+.content {
    max-height: 900px;
    padding: 10px 10px 20px;
}

.accordion input[type="radio"]:checked+label::after {
    content: "-";
}



.main_container {
    height: auto !important;
    position: relative;
    width: 45%;
}

.gallery img {
    display: block;
    width: 100%;
    height: auto;

}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.75);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;

}

.main_container:hover .overlay {
    height: 100%;
}

.ov {
    width: 100%;
    font-weight: 900;
    margin-top: 1%;
    font-size: 1em;
    position: absolute;
    text-transform: uppercase;
    text-align: center;
}

.ovp {
    margin: auto;
    text-align: justify;
    margin-top: 3%;
    color: white;
    width: 100%;

}

.gallery {
    display: flex;
    justify-content: space-around;
    padding-bottom: 50px;
    box-sizing: border-box;

}

img {
    max-width: 100%;
}

/* services 2 */
.filter {
    padding-top: 2.5rem;
    padding-bottom: 9rem;
    text-align: center;
    margin-left: 6vw;
    margin-right: 6vw;
    max-width: 88vw;
    box-sizing: border-box;
}

.filter .section-title {
    margin-bottom: 0.5rem;
}

.filter h2 {
    margin-bottom: 0.75rem;
}

.filter .p-heading {
    margin-bottom: 3rem;
}

.filter .button-group {
    margin-bottom: 1.5rem;
    text-align: left;
    margin-left: 5%;
}

.filter .button-group .button {
    display: inline-flex;
    margin-right: 0.1875rem;
    margin-bottom: 0.5rem;
    margin-left: 0.1875rem;
    padding: 0.3125rem 0.375rem 0.25rem 0.375rem;
    border-radius: 2px;
    border: none;
    background-color: #f1f4f7;
    color: #7b7e85;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.25rem;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter .button-group .button:hover {
    background-color: #147cc4;
    color: #ffffff;
}

.filter .button-group .button.is-checked {
    background-color: #147cc4;
    color: #ffffff;
}

.filter .grid {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.filter .element-item a {
    cursor: pointer;
}

/* Hover Animation */
.filter .element-item {
    position: relative;
    float: none;
    overflow: hidden;
    width: 100%;
    margin-bottom: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(20, 124, 196, 0.07);
}

.filter .element-item img {
    max-width: 100%;
    vertical-align: top;
    height: 85%;
    margin: 0;
    transition: all 0.3s;
}


.filter .element-item .cont p {
    color: black;
    padding-left: 32px;
    padding-right: 32px;
    line-height: 28px;
    padding-top: 24px;
    padding-bottom: 18px;
    text-align: justify;


}

.filter .element-item .cont h2 {
    font-size: 20px !important;
    font-weight: bold;
    color: #147cc4;

}

.sdgs {
    display: flex;
    flex-wrap: wrap;
    padding-left: 90px;


}

.sdgs-icon {
    display: flex;
    flex-wrap: wrap;
    padding-left: 10%;
    padding-top: 20px;

}

/* end of services 2*/
/*start of media section*/
/*media backgound image*/
.media_bg {
    background-image: url('../img/NewsandEvents/mediaBg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 20%;
    color: #fff;

}

.blog-section {
    width: 100%;
}

.blog-section .section-content {
    width: 88%;
    margin: 20px auto;
    margin-left: 5%;
}

.blog-section .section-content .title {
    margin: 60%;
    text-align: center;
    margin: auto;

}

.blog-section .section-content .title h4 {
    font-size: 30px;

}

.blog-section .section-content .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 50px;
    margin: 25px auto;
}

.blog-section .section-content .cards .cads {
    width: 100%;
    background-color: #f7f7f7;
    position: relative;
}

.blog-section .section-content .cards .cads img {
    width: 100%;
    height: auto;
}

.blog-section .section-content .cards .cads .article {
    padding: 15px 20px;
}

.blog-section .section-content .cards .cads .article h4 {
    font-size: 24px;
}

.blog-section .section-content .cards .cads .article p {
    font-size: 16px;
    margin: 10px 0px;
    color: #6a6a6a;
}

.blog-section .section-content .cards .cads .read {
    text-decoration: none;
    display: inline-block;
    background-color: #147cc4;
    padding: 8px 15px;
    margin-left: 20px;
    color: #fff;
    margin-bottom: 20px;

}

.blog-section .section-content .cards .cads a {
    text-decoration: none;

}

.blog-section .section-content .cards .cads .posted {
    font-weight: 200;
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    background-color: #61bc52;
    padding: -10px 9px;

}

.next a {
    margin-left: 85%;
    text-decoration: none;
    background-color: none;
    align-items: center;
    display: inline-block;
    padding-bottom: 2%;
    color: #147cc4;
    font-weight: 500;
}

.previ a {
    margin-right: 92%;
    text-decoration: none;
    background-color: none;
    align-items: center;
    display: inline-block;
    padding-bottom: 2%;
    color: #147cc4;
    font-weight: 500;

}

/*end of media section*/
/*start of contact page*/
.contactBG {
    background-image: url('../img/Career/Contact-Us-1.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 20%;
    padding-bottom: 20%;
    opacity: 1;


}

.contact-info {
    display: inline-block;
    background-color: #147cc4;
    margin-left: 9%;
    width: 80%;
    max-width: 1000px;
    align-items: center;
    color: #fff;
    padding: 0 20px;
}

.contact-info p {
    margin-left: 20%;


}

.map {
    width: 95%;
    margin-left: 1%;
}

.card-icon {
    font-size: 28px;
    background-color: black;
    margin-left: 30%;
    margin-bottom: 1%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px !important;
    border-radius: 50%;
    transition: 0.3s linear;
}

.cardo:hover .card-icon {
    background: none;
    color: black;
    transform: scale(1.6);
}

.contact-form {
    width: 100%;
    min-height: 400px;
    background-color: #f9fafb;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    position: relative;
    z-index: 1;
    overflow: hidden;

}

.btn-con {
    background-color: #147ec3;
    color: #fff;
    padding: 5px 400px;
    align-content: center;
    padding-left: 300px;
    border-radius: 0px;
    display: block;
    text-decoration: none;
    font-weight: 200;

}

.btn:hover {
    background-color: #0d6aad;
    cursor: pointer;
    color: #fff;

}

.contactf {
    display: inline-flex;
    width: 98%;
    max-width: 1300px;
    justify-content: space-around;
    padding: 0 20px;
}

/*end of contact page*/
/*Career page*/
.careerBG {
    background-image: url("../img/Career/Staff.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 15%;
    padding-bottom: 20%;
    z-index: 5;

}

.pro-contact {
    color: #147cc4;
    font-weight: bolder;
    text-align: center;
}

.btn {
    background-color: #147cc4;
}

.careers .title h1 {

    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.careers .title {
    align-content: center;
    padding-bottom: 10px;
}

.career-job {

    margin: auto;
    padding-bottom: 30px;
    justify-content: space-evenly;


}

.careers img {
    height: auto;
    width: 80%;
    margin-left: 10%;
    margin-top: 5%;
    margin-bottom: 5%;


}

.mod {
    height: 0.05px;
}

.mod2 {
    font-size: 18px;
}

.job:hover {
    background-color: lightgray;

}

.intern:hover {
    background-color: lightgray;
}

.card-body {
    list-style-type: none;
    list-style: none;
    font-weight: 200;
    font-size: small;
    line-height: 26px;
    border-radius: 8px;
    box-shadow: -6px -6px 10px -1px rgba(0, 0, 0, 0.15), -6px -6px 10px -1px rgba(255, 255, 255, 0.7);


}

.app {
    background-color: #147cc4;
    color: #fff;
}

/*end career page*/


/*Mobile view section*/

@media (max-width:788px) {
    .career-job {
        flex-direction: column;
    }

    .job {
        width: 90%;
        margin: auto;
        text-align: center;
        padding: 10px;
    }

    .intern {
        width: 90% !important;
        align-self: center;
        margin: auto;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .news {
        width: 100%;
        margin: auto;
        display: inline-block;

    }

    .contact-info {

        width: 100%;
        display: inline-block;
        justify-content: center;
        margin-left: auto;
        align-self: center;
    }

    .contf {
        width: 90%;
    }

    .contr {
        width: 100%;
    }

    .cardo {
        width: 100%;
        max-width: 300px;
        margin: 20px 0;
    }

    .contactf {
        flex-direction: column;



    }

    .contact-form {
        display: inline-block;
        width: 120%;


    }

    .btn-con {
        background-color: #147ec3;
        color: #fff;
        padding: 5px 400px;
        align-content: center;
        padding-left: 100px;
        border-radius: 0px;
        display: block;
        text-decoration: none;
        font-weight: 200;
    }

    .pmobile {
        width: 100%;
        margin: auto;
        margin-left: 0;
        padding: 0 10px;
    }

    .mob {
        text-align: center;
        margin: auto;
        margin-left: 5;


    }

    .blog-section .section-content .cards {

        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));


    }

    .home {
        min-height: 0vh;
        background-size: cover;
        background-position: center;
        padding-top: 40px;
        padding-bottom: 0px;
    }

    .containercar {
        position: absolute;
        color: aliceblue;
        font-weight: 300;
        font-size: small;
        bottom: 0;
        right: 0;
        left: 0;
        padding-bottom: 10px;

    }

    .containercars {
        position: absolute;
        color: #147cc4;
        font-weight: 900;
        font-size: 120%;
        bottom: 0;
        right: 0;
        left: 0;
        padding-bottom: 35%;
    }

    .carousel-caption {
        bottom: 50px;
        z-index: 2;
    }

    .carousel-caption a {
        position: relative;
        text-transform: uppercase;
        text-align: center;
        top: 50px;
        text-decoration: none;
        background: #147cc4;
        padding: 5px 20px;
        display: inline-block;
        color: #fff;
        bottom: 0px;
        border-radius: 5px;
    }

    .main_container {
        height: auto !important;
        position: relative;
        width: 50%;
    }

    .ovp {
        text-align: justify;
        margin-top: 3%;
        color: white;
        width: auto;

    }

    .nas a {
        position: relative;
        color: #147cc4;
        text-decoration: none;
        font-weight: 500;
        margin-left: 20px;
    }

    .nas a::before {
        content: "";
        position: absolute;
        top: 70%;
        left: 0;
        width: 0%;
        height: 2px;
        background-color: #61bc52;
        transition: 1s;
    }

    .nas a:hover:before {
        width: 15%;
    }

    .navbar {
        padding: 0px;


    }

    .span {
        display: inline-block;
        color: #61bc52;
        width: 100%;
        font-size: 24px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .togg {
        box-shadow: none;
        border: none;



    }

    label::after {
        content: "+";
        margin-left: 20px;
        font-size: 30px;
        font-weight: 200;

    }

    input[type="radio"] {
        display: none;
    }

    .accordion .content {
        color: #555;
        width: 100%;


        padding: 0 10px;
        line-height: 26px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s, padding 0.3s;
    }

    .accordion input[type="radio"]:checked+label+.content {
        max-height: 5000px;
        padding: 10px 10px 20px;
    }

    .accordion input[type="radio"]:checked+label::after {
        content: "-";
    }



    .main_container {
        height: auto !important;
        position: relative;
        width: 45%;
    }

    .gallery img {
        display: block;
        width: 100%;
        height: auto;

    }

    .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.75);
        overflow: hidden;
        width: 100%;
        height: 0;
        transition: .5s ease;

    }

    .main_container:hover .overlay {
        height: 100%;
    }

    .ov {
        width: 100%;
        font-weight: 900;
        margin-top: 1%;
        font-size: 1em;
        position: absolute;
        text-transform: uppercase;
        text-align: center;
    }

    .ovp {
        margin: auto;
        text-align: justify;
        margin-top: 3%;
        color: white;
        width: 100%;

    }

    .gallery {
        display: flex;
        justify-content: space-around;
        padding-bottom: 50px;
        box-sizing: border-box;

    }

    img {
        max-width: 100%;
    }

    .aside {
        display: none;


    }

    .filter {
        max-width: 100%;
        padding-top: 2.5rem;
        padding-bottom: 9rem;

        text-align: center;
    }

    .filter .section-title {
        margin-bottom: 0.5rem;
    }

    .filter h2 {
        margin-bottom: 0.75rem;
    }

    .filter .p-heading {
        margin-bottom: 3rem;
    }

    .filter .button-group {
        margin-bottom: 1.5rem;
        text-align: left;
        margin-left: 2%;
    }

    .filter .button-group .button {
        display: inline-flex;
        margin-right: 0.1875rem;
        margin-bottom: 0.5rem;
        margin-left: 0.1875rem;
        padding: 0.3125rem 0.375rem 0.25rem 0.375rem;
        border-radius: 2px;
        border: none;
        background-color: #f1f4f7;
        color: #7b7e85;
        font-weight: 700;
        font-size: 0.75rem;
        line-height: 1.25rem;
        font-family: "Montserrat", sans-serif;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .filter .button-group .button:hover {
        background-color: #147cc4;
        color: #ffffff;
    }

    .filter .button-group .button.is-checked {
        background-color: #147cc4;
        color: #ffffff;
    }

    .filter .grid {

        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding-bottom: 20px;


    }

    .public {
        flex-direction: column;
        align-content: center;
        display: flex;

    }

    .railway {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .highway {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .safety {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .port {
        flex-direction: column;
        align-content: center;
        display: flex;

    }

    .urban {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .policy {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .water {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .agriculture {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .socio {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .climate {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .power {
        flex-direction: column;
        align-content: center;
        display: flex;
    }

    .filter .element-item a {
        cursor: pointer;
    }

    /* Hover Animation */
    .filter .element-item {
        position: relative;
        float: top;
        overflow: hidden;
        width: 100%;
        /* to hide 1px white margin in IE */
    }

    .filter .element-item .cont p {
        color: black;

        line-height: auto;
        padding-top: 20px;
        text-align: justify;

    }

    .filter .element-item .cont h2 {
        font-size: 20px !important;
        font-weight: bold;
        color: #147cc4;

    }

}