/*
Theme Name: Rexallsoft
Author: Syed Abdul Rehman
Author URI: https://syedabdulrehman.com/
Description: Rexallsoft Theme
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rexallsoft
*/
body{
    padding: 0; margin: 0;
}

*{
     box-sizing:border-box
}

.main-container{
    width: 100%; max-width: 1280px;  height: auto;
    margin: 0 auto;
    padding: 40px 20px;
}

.wide-container{
    width: 100%;  height: auto;
    margin: 0 auto; padding: 0;
}

h1, h2, h3, h4, h5, h6, p, ol, ul{
    font-family: 'poppins', sans-serif;
    font-weight: 600;
}

h1{
    font-size: 48px; line-height: 60px;
    color:#2a2e30;
}

h2{
    font-size: 38px; line-height: 50px;
    color:#2a2e30;
}

h3{
    font-size: 28px; line-height: 36px;
    color:#2a2e30;
}

h4{
    font-size: 24px; line-height: 32px;
    color:#2a2e30;
}

p, ul, ol{
    font-size: 16px; line-height: 24px;
    color:#585959;
    font-weight: 400;
}

@media screen and (max-width:600px){
    h1{
        font-size: 38px; line-height: 50px;
    }
    
    h2{
        font-size: 32px; line-height: 38px;
    }
    
    h3{
        font-size: 20px; line-height: 28px;
    }
    
    h4{
        font-size: 18px; line-height: 36px;
    }
}



.main-header{
    width: 100%; height: auto;
    margin: 0; padding: 20px; padding-bottom: 40px;
    background-image: url('http://localhost/wordpress-projects/Rexallsoft/wp-content/uploads/2026/08/Untitled-design-3.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    background-color: #750C31;
}

.top-header{
    width: 100%; height: auto;
    margin: 0; padding: 0;
    display: flex; flex-direction: row; gap: 20px;
}

.page-header{
    width: 100%; height: auto;
    margin: 0;  padding: 20px;
    display: flex; flex-direction: row; gap: 20px;
    background-color: #750C31;
    z-index: 1000;
}

.sticky-header{
    width: 100%; height: auto;
    position: fixed;
    top:0; left:0;
    margin: 0; padding: 20px;
    display: flex; flex-direction: row; gap: 20px;
    background-color: #750C31;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    transform: translateY(-100%);
}

 .menu-container .button-row{
    margin-top: 40px ;
    text-align: right;
}

 .menu-container .button-row .call-button{
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #750C31; color:#fff;
    border: 2px solid #fff; border-radius: 8px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-container .button-row .call-button:hover{
  background-color: #fff; color:#000;
}

.scroll-down{
    transform: translateY(0);
}

.scroll-up{
    transform: translateY(-100%);
}

.logo-container{
    width: 120px; height: auto;
}

.menu-container{
    width: calc(100% - 120px);
    padding: 0;
}

.main-menu-container{
    width: 100%;
}

@media screen and (max-width: 767px) {
    
.top-header{
   display: none; 
}
}

.custom-logo{
    width: 100%; height: auto;
}

.main-menu{
    list-style: none;
    padding: 0; margin: 0;
    text-align: right;
}

.main-menu .menu-item{
    display: inline-block;
    margin: 10px;
    padding:0;
}

.main-menu .menu-item a{
    text-decoration: none;
    font-family: 'Roboto', sans-serif; font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.menu-item a:hover{
    color: #cc7606;
}

.bottom-header{
    width: 100%; height: auto;
    margin: 0; margin-top: 50px;
    padding: 0 ;
    text-align: center;
    color:#fff;

}

.bottom-header .title{
    font-family: 'Roboto', sans-serif;
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 10px;
    color:#fff;
}

.bottom-header .description{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:#fff;
}

.bottom-header .button-row{
    width: 100%; height: auto;
    margin: 40px auto; 
}

.bottom-header .button-row .call-button{
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #750C31; color:#fff;
    border: 2px solid #fff; border-radius: 8px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bottom-header .button-row .call-button:hover{
    background-color: #fff; color:#000;
}

.bottom-header .trust-line{
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    color:#fff;
}

.page-top-margin{
   width: 100% ; height: 80px;
}

@media screen and (max-width: 767px){
    .page-top-margin{
       width: 100% ; height: 0;
    }

    .bottom-header .title{
        font-size: 48px;
        line-height: 58px;
    }

    .bottom-header .description{
        font-size: 16px; line-height: 22px;

    }

    .bottom-header .trust-line{
        font-family: 'Roboto', sans-serif;
        font-size: 16px;
        font-weight: 300;
        letter-spacing: 1px;
        color:#fff;
    }

    .bottom-header .button-row{
       display: flex; flex-direction: column; gap: 20px;
    }
}

.mobile-header{
    width: 100%; height: auto;
    margin: 0; padding: 20px;
    background-color: #750C31;
    display: none;
}

.mobile-header .mobile-top-header{
    width: 100%; height: auto;
    margin: 0; padding: 0;
    display: flex; flex-direction: row; gap: 0;
}

.mobile-top-header .menu-icon-container{
    width: 30px; height: auto;
    margin: 0; 
    text-align: right;
}

.mobile-top-header .logo-container{
    width: calc(100% - 30px); height: auto;
    margin: 0; 
}

.mobile-top-header .logo-container a img{
    width: 120px; height: auto;
    margin: 0; 
}

.mobile-header .mobile-menu-container{
    width: 100%; height: auto;
    margin: 0; 
    display: none;
}

.mobile-menu-container .mobile-menu{
    width: 100%; height:auto;
    list-style:none;
    padding:20px;
}


.mobile-menu-container .mobile-menu .menu-item{
    margin: 20px 0;

}

.mobile-menu-container .mobile-menu .menu-item a{
    color:#fff;
    text-decoration: none;
    font-family: 'Roboto', sans-seriff;
    font-size: 16px;
}

@media screen and (max-width: 767px) {
    .sticky-header, .page-header{
        display:none
    }

    .mobile-header{
        display: block;
    }
}

/*--------------------------------Menu Icon------------------------------*/

.menu-icon-container{
    width: 30px; height: 30px;
    cursor: pointer;
    display: none;
    -webkit-tap-highlight-color: transparent;
}

.topBar, .middleBar, .bottomBar{
    width: 100%;
    height: 3px;
    margin:  5px 0px ;
    background-color: white;
}

.change .topBar{
    transform: rotate(-45deg) translate(-6px, 3px);
 }
 
 .change .middleBar{
     opacity: 0;
 }
 
 .change .bottomBar{
    transform: rotate(45deg) translate(-8px, -5px);;
 }
 
 @media only screen and (max-width:767px){
     .menu-icon-container{
         display: block;
     }
 }


/*---------------------------------Footr------------------------------------------*/

.main-footer{
    width: 100%; height: auto;
    background-color: #750C31; color:#fff;
    margin:0; padding: 20px;
    border-top: 1px solid #fff;
}

.main-footer .flex-row{
    display: flex; flex-direction: row; gap: 20px;
}

.main-footer .footer-heading{
    color:#fff;
    font-weight: 400;
}


.flex-row .footer-col{
    width: 25%; height: auto;
    padding: 0 ;
}

.flex-row .footer-col p{
   color: #fff;
}



.footer-menu-container{
    width: 100%; height: auto;
    margin: 0;
}


.footer-menu{
    list-style: none;
    padding: 0; margin: 0;
}

.footer-menu .menu-item{
    display: block;
    margin: 20px 0;
    padding:0;
}


.footer-menu .menu-item a{
    text-decoration: none;
    font-family: 'Roboto', sans-serif; font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-menu .menu-item a:hover{
  color: #cc7606;
}
    

.main-footer .copyright{
    width: 100%; height: auto;
    margin: 20px 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.main-footer .locations-container{
   width: 100%; height: auto;
   margin: 0;
}

.locations-container .row{
   width: 100%; height: auto;
   margin: 25px 0;
}


.locations-container .row .fa-solid, .locations-container .row .fa-brands{
  font-size: 24px;
  margin-right: 10px;
}

.locations-container .row span, .locations-container .row a{
    font-family: 'Roboto', sans-serif;
    font-size: 17px; line-height: 20px;
    font-weight: 400;
    text-decoration: none;
    color:#fff;
}


.locations-container .row a:hover{
  color: #cc7606;
}
    

@media screen and (max-width: 767px)  {
    .main-footer .flex-row{
        display: flex; flex-direction: column; gap: 20px;
    }

    .flex-row .footer-col{
        width: 100%; height: auto;
        padding: 0 10px;
    }

    .footer-menu .menu-item{
        display: block;
        margin: 30px 0;
        padding:0;
    }


}


/*----------------------------Portfolio---------------------------------*/

.portfolio-container{
    width: 100%; max-width: 1280px; height: auto;
    margin: 40px auto; padding: 20px;
}

.portfolio-container h2{
    margin-top: 0 ;
    text-align: center;
}

.portfolios{
    width: 100%; height: auto;
    margin: 40px 0; padding: 0;
    display: grid;
    grid-template-columns: calc(25% - 15px) calc(25% - 15px) calc(25% - 15px) calc(25% - 15px);
    gap: 30px;
}

@media (max-width: 992px) {
    .portfolios {
        grid-template-columns: calc(50% - 10px) calc(50% - 10px);
        gap: 20px;
    }
}

.portfolios .portfolio-item{
    display: flex;
    flex-direction: column;
    color: #333333;
    background: #1A0902;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 0;
    transition: transform 0.2s ease;
    box-shadow: 5px 5px 15px gray;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolios .portfolio-item a{
    text-decoration: none;
}

.portfolios .portfolio-item h3{
   font-weight: 500;
   padding: 0 20px;
   color:#fff;
   text-align: center;
}

.portfolios .portfolio-item .portfolio-thumbnail img{
    width: 100%; height: 300px;
    object-fit: cover;
    border-radius: 0 0 8px 8px;
}

@media screen and (max-width: 767px){
    .portfolios .portfolio-item .portfolio-thumbnail img{
        width: 100%; height: 150px;
        object-fit: cover;
        border-radius: 0 0 8px 8px;
    }
}

.portfolio-container .button-container{
    width: 100%; height: auto;
    margin:40px 0;
    text-align: center;
}

.portfolio-container .button{
    width:200px;
    display: inline-block;
    margin: 0; padding: 10px 20px;
    border: 2px solid #1A0902;
    color: #fff; background-color: #1A0902;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
}

.portfolio-container .button:hover{
    color: #1A0902; background-color: #fff;
}

.portfolio-pagination{
    width: 100%; height: auto;
    text-align: center;
    margin: 40px 0;
}

.portfolio-pagination .page-numbers{
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px; padding: 10px 20px;
  border-radius: 8px;
  color: #1A0902; background-color: #fff;
  border: 1px solid #1A0902;
}

.portfolio-pagination .current{
  color: #fff; background-color: #1A0902;
}

.portfolio-item-title{
    text-align: center;
}

.portfolio-single-item .flex-row{
    width: 100%; height: auto;
    display: flex; flex-direction: row; gap:40px;
}



.portfolio-single-item .flex-row .col1,
.portfolio-single-item .flex-row .col2{
    width: 50%; height: auto;
}

.portfolio-single-item .flex-row .col1{
   margin-top: 20px;
}

.portfolio-single-item .flex-row .col2{
   padding: 20px;
   border: 1px solid grey; border-radius: 15px
}

@media screen and (max-width:767px) {
    .portfolio-single-item .flex-row{
        width: 100%; height: auto;
        display: flex; flex-direction: column; gap:40px;
    }
    .portfolio-single-item .flex-row .col1,
    .portfolio-single-item .flex-row .col2{
        width: 100%; height: auto;
    }
}

.portfolio-single-item .button-row {
    width: 100%; height: auto;
}

.portfolio-single-item .button-row .button{
    color:#fff; background-color:#1A0902 ;
    padding: 10px 20px; border-radius: 8px;
    border: 2px solid #1A0902;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.portfolio-single-item .button-row .button:hover{
    color:#1A0902; background-color:#fff ;
}

.portfolio-single-item .flex-row .col2 img{
    width: 100%; height: auto;
}
.sk-button a{
    font-family: 'Roboto', sans-seriff;
    color: #fff ;
    background-color: #1A0902 ;
    border: 2px solid #1A0902;
    border-radius: 8px;
}

.sk-button a:hover{
    color: #1A0902 ;
    background-color: #fff ;
}

.locations-container{
    width:100%; height:auto;
    margin:40px 0;
}

.locations-container .locations{
    width:100%; height:auto;
    list-style: none;
    margin: 0;
    padding:0;
    text-align: center;
}

.locations .location{
    display: inline-block;
    padding: 10px 20px;
}

@media screen and (max-width: 767px) {
    .locations .location{
        display: block;
        padding: 20px;

    }

    
}

.location a{
    color:#fff;
    text-decoration: none;
}

/*--------------------------------------Single Post----------------------*/

/* Banner Container */
.single-post-banner {
    width: 100%;
    min-height: 450px;
    margin-top: -10px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (min-width: 767px) {
    .single-post-banner {
        margin-top: -25px;
    }
}

/* Semi-transparent Dark Overlay for Readability */
.single-post-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Text Content Styling */
.single-post-banner .banner-content {
    max-width: 900px;
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.single-post-banner .entry-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 15px 0;
    line-height: 1.2;
}

.single-post-banner .post-meta,
.single-post-banner .post-meta a {
    color: #e0e0e0;
    font-size: 0.95rem;
    text-decoration: none;
}

.single-post-banner .post-meta a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.single-post-banner .meta-sep {
    margin: 0 8px;
}


/*-----------------------------------Recent Posts---------------------------*/

.recent-posts-container{
    width: 100%; max-width: 1280px; height: auto;
    margin: 40px auto;
    padding: 20px;
}

.recent-posts-grid{
    width:100%; height: auto;
    margin: 0;
    display: grid;  grid-template-columns: auto auto auto auto; gap:20px;
}

@media screen and (max-width: 820px) {
    .recent-posts-grid{
        width:100%; height: auto;
        margin: 0;
        display: grid;  grid-template-columns: auto  auto; gap:20px;
    }
}

@media screen and (max-width: 500px) {
    .recent-posts-grid{
        width:100%; height: auto;
        margin: 0;
        display: grid;  grid-template-columns: auto ; gap:20px;
    }
}

.recent-post-card-item{
   padding: 20px;
   border: 1px solid grey; border-radius: 15px;
}

.recent-post-card-item a{
   text-decoration: none;
}

.recent-post-card-item .recent-post-thumbnail img{
  width: 100%; height: 200px;
  object-fit: cover;
}

.recent-post-card-item .recent-post-title{
  font-size: 1.5rem;
  line-height: 1.8rem;
}


/*-------------------------------------------Blog Pgae----------------------*/

.posts-grid-container{
    width: 100%; max-width: 1280px; height: auto;
    margin:0 auto;
    padding: 0 20px 40px 20px;
}

.page-title{
    text-align: center;
}

.posts-grid{
    width: 100%; height: auto;
    display: grid;  grid-template-columns: auto auto auto ; gap:20px;

}

@media screen and (max-width: 820px) {
    .posts-grid{
        width: 100%; height: auto;
        display: grid;  grid-template-columns: auto auto ; gap:20px;

    }
}

@media screen and (max-width: 500px) {
    .posts-grid{
        width: 100%; height: auto;
        display: grid;  grid-template-columns: auto  ; gap:20px;

    }
}

.post-card-item{
    padding: 20px;
    border: 3px solid grey;
    border-radius: 15px;
}

.post-card-item .post-thumbnail img{
    width: 100%;  height: 400px;
    object-fit: cover;
    margin: 0;
    border-radius : 15px 15px 0 0;
}

.post-card-content{
    width: 100%; height: auto;
    margin: 0;
}

.post-card-item a{
    text-decoration: none;
}
.post-card-content .post-title{
   font-size: 1.6rem;
   line-height: 2.2rem;
}

.ea-expand-icon{
    color:#fff !important;
}