:root {
    --color: rgba(0,43,70);
    --enquire-now: rgba(245,168,74,255);
} 

* {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

body {
    font-family: 'Book Antiqua', sans-serif;
}
/* "Bookman Old Style",,'Century Gothic' */

/* ===========================<HEADER>========================== */

/* ----------header contact and social-------- */
.contact-and-social {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0.1rem 5% 0.1rem 25%;
    background-color: rgb(32, 32, 32);
}

.contact-list, .social-list {
    list-style: none;
    display: flex;
    align-items: flex-end;
}
.mobile_no {
    display: flex;
}
.contact-list {
    font-weight: bold;
}
.contact-list li a, .social-list li a { 
    color: #fff;  
    padding: 0 7px;
    text-decoration: none;
    text-transform: lowercase;
}
.contact-list li a{
    align-items: center;  
    color: #fff;  
}
.icon {
    font-size: large;
    margin: 0 2px 0 0;
}
.contact-list li a:hover, .social-list li a:hover {
    color: red;
}
/* ----------header contact and social-------- */
.header {
    display: contents;
}

/* ----------navbar----------- */
.navbar {
    position: sticky;
    top: 0px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color);
}
#blog {
    display: none;
}


.logo_img {
    height: 100%;
    width: 100%;
    border-radius: 0.1rem;
    padding: 0.1rem 0;
    background-color: #fff;
}
.logo {
    width: 22rem;
    height: 4rem;
    text-align: center;
}


.toggler, .hamburger {
    /* visibility: hidden; */
    display: none;
}

/* list-styling */
.list {
    display: flex;
    align-items: center;
    justify-content: center;
}
.list .first {
    text-transform: none;
}
.list> li {
    position: relative;
    list-style: none;
    text-transform: capitalize;
}
.list > li > label, .list > li > a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.2rem;
    padding: 0.3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: left;
}
.list >li> label:hover, .list > li > a:hover, .sublist> li> a:hover {
    background-color: #fff;
    color: black;
    border-radius: 4px;
    font-weight: bold;
}
.list> li> input {
    position: absolute;
    top: 0;
    visibility: hidden;
    /* display: none; */
}
.sublist {
    display:none;
    /* box-sizing: border-box; */
    top: 0rem;
    left: 0;
    width: max-content;
    margin: 3rem 0;
    border-radius: 4px;
    background-color: var(--color);
}
.sublist::before {
    position: absolute;
    content: "";
    top: -2rem;
    left: 0;
    width: 100%;
    height: 2.1rem;

} 
.sublist>li {
    box-sizing: inherit;
    list-style: none;
    width: 100%;
    padding: 0.5rem;
    /* border: 1px solid #fff; */
    /* border-radius: 4px; */
}
.sublist>li> a {
    text-decoration: none;
    color: #fff;
    width: 100%;
    padding: 0.1rem;
}


.btn:hover {
    background-color: rgb(215, 215, 215);
}
/* -----hover effect--------- */

.btn {
    width: 6.5rem;
    margin: auto 0.2rem;
    text-align: center;
    border: 2px solid var(--color);
    border-radius: 10px;
    padding: 3px;
    background-color: #fff;
}
.navbar>.btn> a {
    text-transform: capitalize;
    text-decoration: none;
    font-weight: bold;
    color: black;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* ----------navbar----------- */

/* ===========================</HEADER>========================== */

/* =======================FOOTER============================ */

footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: var(--color);
    text-transform: capitalize;
    margin-top: 5rem;
}
footer hr {
    width: 98%;
    margin: auto;
}



.footer {
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    padding: 0 0 2rem 0;
}
.left-footer {
    width: 25%;
}
.left-footer hr {
    display: none;
}
.logo-footer {
    width: 100%;
    height: 35%;
    border-radius: 0.1rem;
}
.text-footer {
    color: #fff;
    text-align: justify;
    margin: 1rem;
    text-transform: initial;
}
.social-footer-list {
    margin: 10px 0 0 10px;
    text-align: left;
}
.social-footer-list li {
    color: #fff;
    list-style: none;
    display: inline;
    padding: 0.2rem;
}
.footer-icon {
    color: #fff;
    font-size: 1.5rem;
}


.mid-footer {
    width: 40%;
    display: flex;
    gap: 2rem;
}
.mid-footer h3, .cta h3 {
    font-size: 24px;
    margin: 0 5px 10px;
    color: #fff;
}
.mid-footer p, .mid-footer li, .mid-footer li a {
    text-decoration: none;
    list-style: none;
    color: #fff;
    padding: 4px 0;
}
.contact-footer p {
    text-align: left;
    padding: 0.2rem 0 0.2rem 8px;
    text-transform: none;
}
.mid-footer  .contact-footer  p  a {
    text-align: center;
    /* text-decoration: none !important; */
    color: #fff;
}
.contact-footer hr {
    width: 70%;
    margin-left: 0;
    background-color: transparent; 
}
.nav-footer {
    width: 40%;
}
.contact-footer h3 {
    text-align: left;
}

.nav-list {
    padding: 1px 10px;
} 
.nav-list li a {
    border-bottom: 1px solid transparent;
    transition: 0.5s
}
.nav-list li a:hover {
    border-bottom: 1px solid #fff;
}


.cta {
    width: 25%;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.btn-lrg, .cta input {
    width: 90%;
    font-size: 14px;
    padding: 7px;
    border-radius: 5px;
}
.btn-lrg {
    width: 95%;
    color: black;
    border: 2px solid black;
}
.btn-lrg:hover, .cta input:hover {
    transform: scale(1.01);
    box-shadow: 3px 2px 10px 3px #a8d9f5ad;
    border: 2px solid black;
}



.copyright {
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.copyright a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}
.copyright p {
    text-align: center;
    text-transform: none;
}
.copyright a:hover {
    text-shadow: 0 0 1px var(--color);
}
.copyright .poweredBy {
    color: orange
}

/* =======================FOOTER============================ */
@media screen and (max-width : 767px) {
    
 /* =======================<HEADER>============================ */

    .contact-and-social {
        padding: 0.2rem 0;
        text-align: center;
    }
    .contact-list {
        margin: auto;
        display: block;
    }

    .navbar {
        align-items: flex-start;
        justify-content: space-between;
    }


    .social-list,.social-footer-list {
        display: none;
    }
    
    
.logo {
    width: 18rem;
    height: 4rem;
    text-align: center;
}
 /* =======================</HEADER>============================ */

 /* =======================<FOOTER>============================ */

    .footer {
        flex-direction: column;
    }
    .text-footer {
        text-align: center;
        margin-bottom: 1rem;
    }
    .left-footer, .mid-footer, .cta {
        width: 90%;
        margin:auto;
    }
    .mid-footer {
        padding-bottom: 1rem;
        border-bottom: 0.1rem solid #fff;
        gap: 1rem;
    }
    .mid-footer h3 {
        font-size: 1.2rem;
        padding-bottom: 0.2rem;
        border-bottom: 0.1rem solid #fff;
    }
    .nav-footer {
        width: 40%;
    }
    .contact-footer {
        width: 60%;
    }

    .cta {
        margin: 0rem auto 1rem auto;
        text-align: center;
    }

 /* =======================</FOOTER>============================ */
}

@media screen and (max-width: 1024px) {
    .navbar .btn, .list {
        display: none;
    }
    .toggler, .hamburger {
        /* visibility: hidden; */
        display: unset;
    }    

    /* Hamburger-menu */
    .toggler {
        position: absolute;
        top: 0.5rem;
        right: -0.5rem;
        width: 2rem;
        height: 2rem;
        z-index: 3;
        opacity: 0;
        margin: 1rem;
        cursor: pointer;
    }
    .hamburger {
        position: absolute;
        top: 0.5rem;
        right: -0.5rem;
        z-index: 2;
        width: 1.4rem;
        height: 1rem;
        padding: 0.5rem 0.3rem;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        margin: 0.5rem 1rem;
    }
    .hamburger> div {
        position: relative;
        width: 100%;
        height: 0.2rem;
        background-color: var(--color);
        flex: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.4s ease;
    }
    .hamburger> div::before,
    .hamburger> div::after {
        content: '';
        position: absolute;
        top:-8px;
        width: 100%;
        height: 0.2rem;
        background-color: inherit;

    }
    .hamburger> div::after {
        top: 8px;
    }

    /* Toggler animation */

    .toggler:checked + .hamburger> div {
        transform: rotate(135deg);
    }
    .toggler:checked + .hamburger> div::before,
    .toggler:checked + .hamburger> div::after {
        top: 0;
        transform: rotate(90deg);
    }

    /* Show menu  */
    .toggler:checked ~ .list {
        display: block;
    }

    .list {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 4.02rem 0rem;
        border-radius: 4px;
        background-color: var(--color);
    }
    .list::before {
        position: inherit;
        content: "";
        width:1.5rem;
        height: 1.5rem;
        top:-0.5rem;
        right: 1.2rem;
        transform: rotate(45deg);
        background-color: var(--color);
    }
    .list> li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #fff;
    }
    .list > li > label, .list > li > a {
        font-size: 1.15rem;
        justify-content: start;
    }
    .list >li> input:checked ~ label {
        background-color: #fff;
        color: var(--color);
    }
    /* .list> li:hover > .sublist {
        display: block;
    } */
    .list> li> input:checked ~ .sublist {
        display: block;
    }
    .sublist {
        position: relative;
        margin: 0;
    }
    .sublist >li> a {
        margin-left: 0.5rem;
        font-size: 1.05rem;
    }
    
    .contact-and-social {
        padding: 0.1rem 5%;
    }

    .footer {
        margin-bottom: 4rem;
    }
    .contact-footer>p>a {
        font-size: 0.8rem;
    }


}

/* bigger that 1024px */


@media screen and (min-width: 1024px) {
    /* .list> li> label:hover +.sublist, 
    .list> li> label:active +.sublist, 
    .list> li> label:focus +.sublist {
        display: unset;
        position: absolute;
    } */
    .list li:hover .sublist {
        display: block;
        position: absolute;
    }
}