:root {
    --primary: #283F8B;
    --secondary: #007182;
    --font-family-roboto: 'Roboto', sans-serif;
    --font-size-large: 2.5rem;
    --font-size-medium: 2rem;
    --font-size-small: 1rem;
    --font-size-basic: 1.5rem;
}

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: var(--font-family-roboto);
    font-weight: 400;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

img {
    max-width: 100%;
}

.title {
    font-size: var(--font-size-medium);
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.normal-title {
    font-size: var(--font-size-medium);
    /* font-weight: 900; */
    color: var(--primary);
    /* text-transform: uppercase; */
    letter-spacing: 0.05em;
}

.sub-title {
    font-size: var(--font-size-small);
    font-weight: 400;
    color: #999;
    text-transform: uppercase;
}

.divider {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 300px;
    border-top: 2px solid #ccc;
    margin: 1rem auto;
}

.divider::after {
    content: "\FD8B";
    font: normal normal normal 24px/1 "Material Design Icons";
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    margin-bottom: -10px;
}

.btn-outline-readmore {
    border-radius: 50px;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
}

.btn-outline-readmore:hover {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--light);
}

.btn-redmore {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    padding: 0 1rem;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.custom-modal.show {
    visibility: visible;
    transform: translateY(0%);
}

.custom-modal-body {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 700px;
}


/*===================*/


/*======header=======*/


/*===================*/

.header {
    height: 70px;
    background: linear-gradient(rgba(64, 84, 147, 0.3), transparent);
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.header.bg-black {
    height: 65px;
    background: linear-gradient(rgba(64, 84, 147, 1.0), rgba(64, 84, 147, 1.0));
    box-shadow: 0 0.125rem 0.225rem 0.125rem rgba(0, 0, 0, 0.2);
    transition: height 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.header .navbar-brand {
    display: flex;
    align-items: center;
}

.header .navbar-brand img {
    max-width: 90px;
    margin-right: 10px;
    transition: max-width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.header.bg-black .navbar-brand img {
    max-width: 60px;
    margin-right: 10px;
}

.header .navbar-brand .logo-title {
    word-spacing: normal;
}

.header .navbar-brand .logo-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--light);
    text-transform: uppercase;
    transition: font-size 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.header.bg-black .navbar-brand .logo-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--light);
    text-transform: uppercase;
}

.header .navbar-brand .logo-title h3 {
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 0;
    color: var(--light);
    letter-spacing: 0.09em;
    transition: font-size 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.header.bg-black .navbar-brand .logo-title h3 {
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 0;
    color: var(--light);
    letter-spacing: 0.09em;
}

.active-1 {
    /* border-bottom: 1px solid #fff !important; */
}

.active {
    background-color: #007182;
}

.header .nav-item {
    transition: all .1s ease-in-out;
    height: 70px;
    /* border: 1px solid red; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
}

.header .nav-item:hover {
    /* border-bottom: 1px solid #fff !important; */
    /*  */
}

.header .nav-item .nav-link {
    /* font-size: var(--font-size-small); */
    font-size: .8rem;
    font-weight: 400;
    padding: 0.5em 1em;
    color: var(--light);
    height: 100%;
    margin: 0px;
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    transition: all .2s ease-in-out;
}

.header .nav-item .nav-link:hover {
    /* color: #000000; */
    background-color: #007182;
}

.header.bg-black .nav-item .nav-link {
    font-size: 0.8rem;
}


/*===================*/


/*======banner=======*/


/*===================*/

.carousel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.4);
}

.banner .carousel-item img {
    height: 100vh;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.banner-caption .caption-content {
    max-width: 550px;
    padding-top: 3.5rem;
}

.banner-caption h1 {
    font-size: 7.5em;
    font-weight: 900;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .banner-caption h1 {
        font-size: 3.5em;
        font-weight: 900;
        color: var(--light);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .resp-nav-bg {
        /* background-image: linear-gradient(to right top, #283f8b, #004f91, #005d90, #00688a, #007182);
         */
        background: #007182;
        padding: 5px;
    }
    .header .nav-item {
        height: 34px;
        border-bottom: 0px;
    }
}

.banner-caption h3 {
    font-size: 1.2em;
    font-weight: 400;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.banner .social {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .social a {
    padding: 0.5rem;
    margin: 0.225em;
    color: var(--light);
    width: 40px;
    height: 40px;
    border: 1px solid var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.banner .updown {
    margin: auto;
    width: 50px;
}

.banner .scroll-down {
    padding: 15px;
    border-radius: 50px;
    height: 120px;
    display: flex;
    align-items: start;
    justify-content: center;
    border: 3px solid #fff;
    position: relative;
    color: #fff;
}

.banner .scroll-down:hover {
    color: #fff;
}

.banner .scroll-down i {
    animation: updown 3s infinite;
}

@keyframes updown {
    from {
        transform: translateY(-23px);
    }
    to {
        transform: translateY(50px);
    }
}


/*image zoom*/

.zoom {
    -webkit-animation: scale 25s linear infinite;
    animation: scale 25s linear infinite;
}

@-webkit-keyframes scale {
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}

@keyframes scale {
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}


/*===================*/


/*======about========*/


/*===================*/

.about blockquote {
    font-size: var(--font-size-small);
    text-transform: capitalize;
    line-height: 1.5;
    letter-spacing: 0.0225em;
}


/*=====================*/


/*======Services=======*/


/*=====================*/

.services .box {
    background: #fff;
    border-top: .5rem solid var(--secondary);
    border-bottom: .0125rem solid #ccc;
    padding: 0 0 1rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0.0125rem 0.225rem 0.0125rem rgba(0, 0, 0, 0.2);
}

.box {
    background: #fff;
    border-top: .5rem solid var(--secondary);
    border-bottom: .0125rem solid #ccc;
    padding: 0 0 1rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0.0125rem 0.225rem 0.0125rem rgba(0, 0, 0, 0.2);
}

.services .box h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 0 1rem;
}


/*======================*/


/*======facilities=======*/


/*======================*/

.facilities {
    position: relative;
    background: var(--secondary);
    padding-top: 95px;
    padding-bottom: 85px;
}

.facilities span.cubebox::before {
    border-color: var(--light) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    border-style: solid;
    border-width: 50px;
    margin-left: -20px;
}

.facilities span.cubebox::before {
    content: "";
    height: 0;
    left: 47%;
    position: absolute;
    top: 0;
    width: 0;
}

.facilities .box {
    display: flex;
}

.facilities .box i {
    font-size: 64px;
    color: var(--light);
    padding-right: 10px;
}

.facilities .box a {
    color: var(--light);
}

.facilities .box:hover a {
    color: #ccc;
    text-decoration: underline;
}

.facilities .box h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.facilities .box p {
    font-size: 14px;
    color: var(--light);
    line-height: 1.5;
    height: 65px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*======================*/


/*======eventNews=======*/


/*======================*/

.eventNews .card-body {
    position: relative;
}

.eventNews .card-body date {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    margin-top: -2rem;
    margin-right: 1rem;
    width: 70px;
    height: 70px;
    background: #405493;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    line-height: 20px;
    font-weight: bold;
}


/*======================*/


/*========footer=========*/


/*======================*/

.footer {
    background: var(--secondary);
}

.footer h4 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.footer li a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.footer li a:hover {
    color: #ccc;
}

.footer li a i {
    font-size: 20px;
    color: #fff;
    border: 1px solid #fff;
    margin-right: 0.5rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


/*=====aboutus=======*/

.bgcolor {
    /* background-color: #b0bec5; */
    /* background-image: linear-gradient(to left bottom, #051937, #004d7a, #008793, #00bf72, #a8eb12); */
    background-image: url('../img/s1.jpg');
    background-position: center;
    /* height: 400px; */
}

.bgcolor-prod {
    background-image: url('../img/s2.jpg');
    background-position: center;
}

.underline {
    border-bottom: 2px solid currentColor;
    display: inline-block;
    line-height: 0.85;
    text-shadow: 2px 2px white, 2px -2px white, -2px 2px white, -2px -2px white;
}

.founder .founder-container {
    width: 100%;
    height: auto;
    padding: 5px;
    border-radius: 5px;
    background-color: var(--primary);
}

.founder .founder-container .founder-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.borderleft {
    border-left: 3px solid #283F8B;
    border-radius: 5px;
}

.bg-trans {
    background-color: transparent;
}


/*============board of director============*/

.bod {
    box-shadow: 0 8px 6px -6px black;
    background-color: rgb(224, 229, 232);
    border-radius: 5px;
}

.bod .bod-1 {
    height: 120px;
    /* background-color: #405493; */
    /* background-image: linear-gradient(to right, #405493, #1f5e95, #006692, #006c8b, #007182); */
    background: #007182;
    border-radius: 5px 5px 0px 0px;
}

.bod .bod-2 {
    height: 160px;
    background-color: #fff;
    border-radius: 3px, 3px, 0px, 0px;
    border-radius: 0px 0px 5px 5px;
}

.bod-photo {
    height: 140px;
    width: 140px;
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 6px -6px black;
}

.bod-photo .bod-img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: all .3s ease-in-out;
}

.bod-photo .bod-img:hover {
    transform: scale(1.1);
}

.fontsmall {
    font-size: var(--font-size-small);
}

.bg-secondary {
    background: var(--secondary);
}


/*Product*/

.product {
    text-decoration: none;
    background-color: rgb(240, 238, 238);
    border-radius: 5px;
}

.product .product-container .product-container-1,
.product .product-container .product-container-2 {
    /* border: 1px solid red; */
    width: 200px;
}

.product .product-container .product-container-2 {
    /* background: #fff; */
    height: 160px;
}

.product .product-container .product-container-1 img {
    /* width: 300px; */
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 5px 5px 0px 0px;
    /* border: 1px solid red; */
}

.effect1 {
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}

.font-justify {
    text-align: justify;
    text-justify: inter-word;
}

.btn-view {
    /* padding: 1px 50px; */
    margin: auto;
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    /* position: relative; */
    text-decoration: none;
    display: inline-block;
    transition: .4s all ease-in;
    /* border: 1px solid red; */
}

.btn-view:hover {
    text-decoration: none;
    color: var(--secondary);
}

.btn-view::before {
    content: '';
    position: absolute;
    bottom: 0%;
    left: 0px;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    display: block;
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
    transition: transform 0.4s cubic-bezier(1, 0, 0, 1)
}

.btn-view:hover::before {
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1)
}


/* .effect3 {
    position: relative;
}

.effect3:before {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width: 300px;
    background: #777;
    -webkit-box-shadow: 0 15px 10px #777;
    -moz-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px #777;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
} */

.effect7 {
    position: relative;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.effect7:before,
.effect7:after {
    content: "";
    position: absolute;
    z-index: -1;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    top: 0;
    bottom: 0;
    left: 10px;
    right: 10px;
    -moz-border-radius: 100px / 10px;
    border-radius: 100px / 10px;
}

.effect7:after {
    right: 10px;
    left: auto;
    -webkit-transform: skew(8deg) rotate(3deg);
    -moz-transform: skew(8deg) rotate(3deg);
    -ms-transform: skew(8deg) rotate(3deg);
    -o-transform: skew(8deg) rotate(3deg);
    transform: skew(8deg) rotate(3deg);
}

.desc {
    /* border: 1px solid red; */
    overflow-y: hidden;
    height: 80px;
}

.prod-img {
    width: 100%;
    height: 164px;
    object-fit: cover;
    object-position: center;
}

.modal-img {
    /* height: 100%; */
    width: 300px;
    object-fit: cover;
    margin: 0;
}

.font-ss {
    font-size: 12px;
}

.card-image {
    object-fit: cover;
}

.product-img-bg {
    /* background: #FBEAFF; */
}

.product-img-bg img {
    width: 300px;
    border-radius: 5px;
}

.prod-name {
    /* background: #268CAA; */
    border-radius: 3px;
    color: #ffffff;
    background-image: linear-gradient(to right, #268caa, #75a5c4, #acc0da, #dadeec, #ffffff);
}

.desc-bg {
    background-image: linear-gradient(to right bottom, #d9f2fd, #e6f4ff, #f1f7ff, #f9fbff, #ffffff);
}

.desc-head {
    position: absolute;
    color: #ffffff;
    top: -30px;
    background-image: linear-gradient(to right, #268caa, #75a5c4, #acc0da, #dadeec, #ffffff);
}


/* form control */

.cus-form {
    border-radius: 20px;
}

.cus-form[type="text"]:focus,
.cus-form[type="password"]:focus,
.cus-form[type="datetime"]:focus,
.cus-form[type="datetime-local"]:focus,
.cus-form[type="date"]:focus,
.cus-form[type="month"]:focus,
.cus-form[type="time"]:focus,
.cus-form[type="week"]:focus,
.cus-form[type="number"]:focus,
.cus-form[type="email"]:focus,
.cus-form[type="url"]:focus,
.cus-form[type="search"]:focus,
.cus-form[type="tel"]:focus,
.cus-form[type="color"]:focus,
.uneditable-input:focus {
    border-color: #007182;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #007182;
    outline: 0 none;
}

.cus-form:focus {
    border-color: #007182 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #007182 !important;
    outline: 0 none !important;
}

.g-map {
    background: #ADC5CF !important;
}

.career-img {
    background-image: url('../img/s3.jpg');
    background-position: top;
    background-size: cover;
}

.facility-img {
    background-image: url('../img/s4.jpg');
    background-position: top;
    background-size: cover;
}

.facility-img .facility-img-head {
    background-color: rgba(40, 63, 139, 0.377);
}

.career-link {
    color: #007182;
    text-decoration: none;
}

.career-link:hover {
    color: #007182;
    text-decoration: none;
}

.faq .faq-content .collapsible {
    background-color: #007182;
    color: white;
    cursor: pointer;
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active-2,
.faq .faq-content .collapsible:hover {
    background-color: #50A5B7;
}

.faq .faq-content .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.mf-dropbtn {
    /* background-color: #4CAF50; */
    background-color: inherit;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.mf-dropdown {
    position: relative;
    display: inline-block;
}

.mf-dropdown-content {
    /* display: none;
    position: absolute; */
    /* background-color: #f9f9f9; */
    /* background-color: var(--primary); */
    background: linear-gradient(rgba(64, 84, 147, 1.0), rgba(64, 84, 147, 1.0));
    /* background-color: inherit; */
    /* border: 1px solid var(--primary); */
    min-width: 210px;
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); */
    /* z-index: 1; */
    /* top: 68px; */
    /* left: 0px; */
    visibility: hidden;
    /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(-2em);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.mf-dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.mf-dropdown-content a:hover {
    background-color: #f1f1f1;
    /* color: black !important; */
}

.mf-dropdown:hover .mf-dropdown-content {
    /* display: block; */
    visibility: visible;
    /* shows sub-menu */
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
    padding: 5px;
    /* this removes the transition delay so the menu will be visible while the other styles transition */
}

.mf-dropdown:hover .mf-dropbtn {
    /* background-color: #3e8e41; */
}

.mf-dropdown-content li {
    list-style: none;
}

.mf-dropdown .mf-dropdown-content .nav-item {
    height: 40px !important;
    padding-bottom: 0px !important;
}

.mf-dropdown .mf-dropdown-content .nav-item .nav-link:hover {
    /* transform: scaleX(1.01); */
    transform: rotateY(10deg);
}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
    height: 150px;
    object-fit: cover;
}


/* image-gallery */

.gallery-container {
    max-width: 100rem;
    /* margin: 0 auto; */
    margin: 23px;
    /* padding: 0 2rem 2rem; */
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    /* Compensate for excess margin on outer gallery flex items */
    margin: -1rem -1rem;
}

.gallery-item {
    /* Minimum width of 24rem and grow to fit available space */
    flex: 1 0 24rem;
    /* Margin value should be half of grid-gap value as margins on flex items don't collapse */
    margin: 1rem;
    box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease-out;
}

.gallery-image:hover {
    transform: scale(1.15);
}


/*

The following rule will only run if your browser supports CSS grid.

Remove or comment-out the code block below to see how the browser will fall-back to flexbox styling. 

*/

@supports (display: grid) {
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
        grid-gap: 2rem;
    }
    .gallery,
    .gallery-item {
        margin: 0;
    }
}


/* .general-bg {
    background-image: url('../../img/bg/bg.svg');
} */