/*
Theme Name:Magnolia Theme
Author: Syed Abdul Rehman
Description: A minimalist starter theme.
Version: 1.0
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-size: 2.0rem;
    line-height: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #212122;
}

h2 {
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #212122;
}

h3 {
    font-size: 1.65rem;
    line-height: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #212122;
}

h4 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #212122;
}

p, ul, ol {
    color: #3d3d3b;
    font-size: 1rem;
    line-height: 1.5rem;
}

a {
    color: #d72b1f;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #000;
}

.spacer-20{
    width: 100px; height: 20px;
}

.main-header-container {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 20px 0;
    z-index: 99;
    position: sticky;
    top: 0;
    background-color: #000000;
}


.main-header {
    width: 100%;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-direction: row;
}

.main-header .logo {
    width: 250px;
    height: auto;
    margin: 5px 0 0 0;
}

.main-header .logo  a img,
.main-header .logo  img{
    width: 250px;
    height: auto;
}


.main-header .main-menu-container{
    width: calc(100% - 340px); height: auto;
    display: flex; flex-direction: row; gap: 0;
}

.main-header .main-menu-container .main-menu {
    width: 100%;
    height: auto;
}

.header-menu {
    display: flex;
    flex-direction: row;
    justify-content:flex-end;
    list-style: none;
    font-size: 18px;
    padding:  0;
    margin: 0;   
}

.header-menu .menu-item {
    position: relative;
    padding:20px;
    font-size: 14px;
}

.header-menu .menu-item a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #fff;
}

.header-menu .menu-item a:hover {
    color: #d72b1f;
}

.header-menu .menu-item .sub-menu {
    position: absolute;
    top: 25px;
    left: -90px;
    margin: 40px 0;
    width: 320px;
    height: auto;
    display: none;
    padding: 20px 0;
    background-color: #d72b1f;
    border: 1px solid #d72b1f;
    z-index: 10;
}

.header-menu .menu-item>.sub-menu::before {
    content: "";
    position: absolute;
    bottom: 100%;
    /* Place it on top of the sub-menu */
    left: 50%;
    /* Center it horizontally */
    transform: translateX(-50%);

    /* Triangle Shape Logic */
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #d72b1f;
    /* Same color as sub-menu background */
}

.header-menu .menu-item:hover .sub-menu {
    display: block;
}

.header-menu .menu-item .sub-menu .menu-item {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
}

.header-menu .menu-item .sub-menu .menu-item:hover{
    background-color: #fff;
}

.header-menu .menu-item .sub-menu .menu-item:hover a{
    color: #d72b1f;
    font-weight: 700;
}

.header-menu .menu-item .sub-menu .menu-item a {
    color: #fff;
}


.header-menu .mega-menu .sub-menu {
    position: absolute;
    top: 45px;
    left: -340px;
    margin: 40px 0;
    width: auto;
    height: auto;
    display: none;
    padding: 20px;
    background-color: #002858;
    z-index: 10;
}

.header-menu .mega-menu:hover .sub-menu {
    display: grid;
    grid-template-columns: 200px 200px 200px 200px;
}

.header-menu .mega-menu .sub-menu .mega-menu-head .sub-menu::before {
    content: none;
}

.header-menu .menu-item .sub-menu .mega-menu-head {
    display: inline-block;
    position: relative;
    padding: 0;
}

.header-menu .menu-item .sub-menu .mega-menu-head a {
    border-bottom: 3px solid #fff;
    font-weight: 700;
}

.header-menu .menu-item .sub-menu .mega-menu-head .sub-menu {
    width: auto;
    display: block;
    position: relative;
    top: -30px;
    left: 0;
    margin-bottom: -10px;
    padding: 0 20px;
}

.header-menu .menu-item .sub-menu .mega-menu-head .sub-menu .mega-menu-button,
.header-menu .menu-item .sub-menu .mega-menu-head .sub-menu .menu-item {
    padding: 5px 0;
    font-size: 16px;
}

.header-menu .menu-item .sub-menu .mega-menu-head .sub-menu .mega-menu-button a,
.header-menu .menu-item .sub-menu .mega-menu-head .sub-menu .menu-item a {
    border-bottom: none;
    font-weight: 400;
}

@media screen and (max-width:1200px) {
    .main-header {
        flex-direction: column;
        gap: 10px;
    }

    .main-header .logo {
        width: 100%;
        text-align: center;
    }

    .main-header .main-menu-container{
        width:100%; height: auto;
        display: flex; flex-direction: row; gap: 40px;
        justify-content: center;
    }

    .main-header .main-menu-container .main-menu {
        width: 100%;
        text-align: left;
    }

    .main-header .main-menu-container .main-menu .header-menu{
       justify-content: center;
    }

    .header-menu .main-menu-container .mega-menu .sub-menu {
        left: -200px;
    }

    .main-header-container .search-form-container{      
        padding: 0 20px;       
    }
}

@media screen and (max-width: 767px) {
    .main-header-container {
        display: none;
    }
}

.main-container {
    width: 100%; 
    height: auto;
    margin: 0 ;
    padding:  0 ;
    box-sizing: border-box;

}

.main-container .content {
    width: 100%; 
    height: auto;
    margin: 0; padding: 0 ;
    overflow-wrap: break-word;
}

.main-container .template-content {
    width: 100%; max-width: 1140px;
    height: auto;
    margin: 0 auto; padding: 40px 20px;
}

.main-container .content .elementor-section-boxed {
    width: 100%; 
    height: auto;
    margin: 0; padding: 0 20px !important ;
}

.main-container .content  .page-title{
   margin: 20px 0 0 0;
}

.service-box {
    text-align: center;
}


.button {
    width: 150px;
    height: auto;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    background-color: #00AFF0;
    text-align: center;
}

.button:hover {
    background-color: #002858;
    color: #fff;
}


.blog-container {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.blog-container .col-1 {
    width: 70%;
    height: auto;
    margin: 0;
}

.blog-container .col-2 {
    width: 30%;
    height: auto;
    margin: 0;
}

.blog-container .col-1 .post-item {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    border-bottom: 1px solid black;
}

.blog-container .col-1 .post-item:first-child {
    width: 100%;
    height: auto;
    padding: 0 00 20px 0;
    border-bottom: 1px solid black;
}

.blog-container .col-1 .post-thumbnail img {
    width: 100%;
    height: auto;
    margin: 0;
}

.blog-container .col-1 .post-excerpt {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

.blog-container .col-1 .button-container {
    margin: 20px 0;
}

.blog-container .col-1 .button-container a:hover {
    color: #fff;
}

.blog-container .col-2 .recent-posts ul,
.blog-container .col-2 .categories ul {
    list-style: none;
    padding: 0;
}

.blog-container .col-2 .recent-posts ul li,
.blog-container .col-2 .categories ul li {
    margin: 10px 0;
    padding: 5px 0;
    border-bottom: 1px solid black;
}

.blog-container .col-2 .recent-posts ul li::before,
.blog-container .col-2 .categories ul li::before {
    content: "►";
    color: #000;
}

@media screen and (max-width:767px) {
    .blog-container {
        display: flex;
        flex-direction: column;
    }

    .blog-container .col-1 {
        width: 100%;
        height: auto;
    }

    .blog-container .col-2 {
        width: 100%;
        height: auto;
    }
}

.main-container .content .post-thumbnail img {
    width: 100%;
    height: auto;
    margin: 0;
    border: 1px solid gray;
    box-shadow: 5px 5px 5px gray;
}

.main-footer {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 40px 0;
    background-color: #222223;
    color: #fff;
}

.main-footer p {
    color: #fff;
}

.main-footer h3 {
    color: #fff;
}

.main-footer a:hover {
    color: #fff;
}

.main-footer ul {
    list-style: none;
    padding: 0;
}

.main-footer ul li {
    margin-bottom: 10px;
}

.main-footer .row {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-around;
}

.main-footer .row .footer-1-container {
    width: 34%;
    height: auto;
    margin: 0;
    padding: 0;
}

.main-footer .row .footer-1-container .footer-1 {
    width: 100%; max-width: 350px;
    height: auto;
    margin: 0;
    padding: 0;
}

.main-footer .row .footer-1-container .footer-1 figure  {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.main-footer .row .footer-1-container .footer-1 figure a img {
    width: 80%;
    height: auto;
    margin: 0;
    padding: 0;
}

.main-footer h3 {
    margin-top: 0;
}

.main-footer .row .footer-2-container,
.main-footer .row .footer-3-container,
.main-footer .row .footer-4-container {
    width: 22%;
    height: auto;
    margin: 0;
    padding: 0;
}

.main-footer .row .footer-2-container .footer-2,
.main-footer .row .footer-3-container .footer-3,
.main-footer .row .footer-4-container .footer-4 {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.main-footer .row .footer-2-container .footer-2 .wp-block-heading,
.main-footer .row .footer-3-container .footer-3 .wp-block-heading,
.main-footer .row .footer-4-container .footer-4 .wp-block-heading{
    color: #fff;
    font-weight: 500;
    margin:0; padding-bottom: 5px;
    border-bottom: 1px solid #fff;
}

.main-footer .row .footer-2-container .footer-2  a,
.main-footer .row .footer-3-container .footer-3  a,
.main-footer .row .footer-4-container .footer-4  a{
    color: #c9ae5f;
}

.main-footer .row .footer-2-container .footer-2  a:hover,
.main-footer .row .footer-3-container .footer-3  a:hover,
.main-footer .row .footer-4-container .footer-4  a:hover{
    color: #d72b1f;
}


.main-footer .copyright {
    width: 100%; max-width: 80%;
    height: auto;
    margin: 0  auto;  margin-top:20px; padding: 0;
    text-align: left;
    color: #bcbcbc;
}

.main-footer .copyright .fa{
    margin-bottom: 10px;
}

.main-footer .copyright a, .main-footer .copyright hr {
    color: #c9ae5f;
}

.main-footer .copyright a:hover {
    text-decoration: underline;
}

.main-footer .copyright .email a {
    color: #fff;
}

.main-footer .follow-us {
    margin-top: 40px;
}

.main-footer .follow-us h3 {
    font-weight: 600;
}

.main-footer .fa {
    font-size: 22px;
    margin-right: 20px;
    color:#fff;
}

.main-footer .fa:hover,
.main-footer svg {
    color: #fff;
}

.main-footer .marketing {
    margin: 30px 0;
}


@media screen and (max-width:767px) {
    .main-footer {
        padding: 40px 0;
    }
    .main-footer .row {
        flex-direction: column; gap:20px;
    }

    .main-footer .row .footer-1-container,
    .main-footer .row .footer-2-container,
    .main-footer .row .footer-3-container,
    .main-footer .row .footer-4-container {
        width: 100%;
        height: auto;
    }


}

/*---------------------------Pagination----------------------------*/

.pagination{
    width: 100%; height: auto;
    margin:20px 0;
}

.pagination span, .pagination a{
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

.pagination span, .pagination a{
   margin-right: 30px;
}


.wp-block-search{
    width: 100%; height: auto;
    margin-top: 30px;
}

.wp-block-search .wp-block-search__button{
    width: 120px; height: auto;
    background-color: #00AFF0;
    font-size: 16px;
    color:#fff;
    border-radius: 8px;
  
}

.wp-block-search .wp-block-search__button:hover{
    color: #fff; 
    background-color: #002858;

}


.footer-1-widget .wp-block-search{
    width: 100%; max-width: 300px; height: auto;
}

.wp-block-search .wp-block-search__label{
    display: none;
}

/*-----------------------------Slider-------------------------------*/

.slider-container{
    width: 100%; height: 500px;
    margin: 0; padding: 0;
    position: relative;
}

.slider-container .slide{
    width: 100%; height: 100%;
    margin: 0; padding: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    position: absolute; left: 0; top:0;
    display:none;
}

.slider-container .slide:first-child{
    display:block;
}

.slider-container .slide .title{
    display:none;
}

.slider-container .slide .text{
    width: 100%; max-width: 800px;
    position:absolute; left:10%; top: 20%;
}

.slider-container .slide .text h2{
    font-size: 48px; line-height: 60px;  font-weight: 700;
    color:#fff;
    margin-bottom: 0;
}

.slider-container .slide .text h3{
    font-size: 28px; line-height: 36px;  font-weight: 700;
    color:#fff;
    margin-top: 0;
}

@media screen and (max-width:820px) {
    .slider-container .slide .text{
        width: calc(100% - 20px); max-width: 800px;
        position:absolute; left:20px; top: 20%;
    }

    .slider-container .slide .text h2{
        font-size: 46px; line-height: 56px;  font-weight: 700;
        margin: 10px 0;
    }

    .slider-container .slide .text h3{
        font-size: 28px; line-height: 38px;  font-weight: 700;
    }
}


.dots-container{
    width: 100%; height: auto;
    display: flex; flex-direction: row; gap: 40px;
    justify-content: center;
    position: absolute; left:0; bottom: 20px;
}

.dots-container .dot{
    width: 15px; height: 15px;
    border: 2px solid #000;
    border-radius: 15px;
    background-color: #fff;
    cursor: pointer;
}


.breadcrumbs{
    width: 100%; height: auto;
    margin: 0; 
    background-color: #232324;
}

.breadcrumbs .breadcrumbs-container{
    width: 100%; max-width: 80%; height: auto;
    margin: 0 auto; padding: 20px 0;
}

.breadcrumbs .breadcrumbs-container .breadcrumb-list{
    width: 100%; height: auto;
    margin: 0; padding: 0;
    list-style: none;
}

.breadcrumbs .breadcrumbs-container .breadcrumb-list .list-item{
   display: inline;
   font-size: 16px;
   color:#fff;
}

.breadcrumbs .breadcrumbs-container .breadcrumb-list .list-item::after{
    content : " > ";
    font-size: 18px;
    vertical-align: middle;
    color:#fff;
}

.breadcrumbs .breadcrumbs-container .breadcrumb-list .list-item:last-child:after{
    content: unset;
}

@media screen and (max-width:767px) {
    .breadcrumbs .breadcrumbs-container{
        width: 100%; max-width: 90%; height: auto;
        margin: 0 auto; padding: 20px 0;
    }

}

.sk-button{
    width:auto;
    display:inline-block;
    padding: 5px 10px;
    color:#fff; background-color: #d72b1f;
    border: 2px solid #d72b1f;
    border-radius: 8px;
    font-weight:700;
}

.sk-button:hover{
    color:#d72b1f; background-color: #fff;
}

