/*
Template:       financepro
Theme Name:     FinancePro Child Theme
Theme URI:      http://radiustheme.com/demo/wordpress/finance
Author:         RadiusTheme
Author URI:     http://radiustheme.com
Description:    FinancePro is a clean and Modern WordPress Theme. It is best suited for corporate website like Financial Advisor, Accountant, Consulting Firms, insurance, loan, tax help, Investment firm etc
Version:        2.1
Text Domain:    financepro
Tags: left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, translation-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*Header*/
header.site-header .header-area{
    background:  url('img/head-bg.jpg') no-repeat;
    background-size: cover;
    background-position: top;
}
header.site-header .masthead-container{ width:100%; }
header.site-header .header-style-4 .menu-sep{}

.aboutus-sec .vc_row-has-fill{
    background:  url('img/about-bg.png') no-repeat;
    background-size: contain;
    background-position: center right;
}
.our-product-top{ max-width:900px; margin-left:auto !important; margin-right:auto !important;}

#our-product-category .wpb_singleimage_heading {
    font-size: 22px;
    color: #DF3B22;
}

/* .our-awards-sec .rt-text-with-image .col-sm-6:first-child{width: 35%;}
.our-awards-sec .rt-text-with-image .col-sm-6:last-child{width: 65%;} */

.our-awards-sec .rt-text-with-image .col-sm-6:first-child{width: 0;}
.our-awards-sec .rt-text-with-image .col-sm-6:last-child{width: 100%;} 

.our-awards-sec .rtin-text-part h2{font-size:18px; padding-bottom:0; margin-bottom:0;}
.our-awards-sec .rtin-text-part h2:after{ display:none; }
.our-awards-sec .ult-banner .ult-banner-content{background-color: transparent;}
.our-awards-sec .ult-banner:hover .ult-banner-content{ opacity:1; }
.our-awards-sec .ult-banner .ult-banner-image img{border-radius: 10px;}


/*footer*/
footer .footer-top-area{background: url('img/contact-bg.jpg');}
footer .footer-top-area #text-3{ padding: 20px; background: rgba(0,0,0,0.31); }
footer .footer-top-area #text-3 h2{ color:#fff;}
footer .footer-top-area #text-3 form input{ border-radius:50px; }
footer .footer-top-area #text-3 form textarea{ border-radius:10px; height:100px; background: rgba(0,0,0,0.24); color:#ffffff; padding: 15px;}
footer .footer-top-area #text-3 form input[type="text"],
footer .footer-top-area #text-3 form input[type="email"],footer .footer-top-area #text-3 form input[type="tel"]{ background: rgba(0,0,0,0.24); color:#ffffff; height:45px; padding: 15px;}
footer .footer-top-area #text-3 form input[type="submit"]{ padding:15px 40px; height:50px; }

@media(max-width:767px){
    .our-awards-sec .rt-text-with-image{ margin-top:15px;}
    .our-awards-sec .rt-text-with-image .col-sm-6:first-child{width:25%;}
    .our-awards-sec .rt-text-with-image .col-sm-6:last-child{width: 75%;}
    .our-awards-sec .rtin-text-part{ margin-top:15px;}
}
@media(max-width:480px){
    .our-awards-sec .rt-text-with-image .col-sm-6:first-child{width:100%; text-align: center;}
    .our-awards-sec .rt-text-with-image .col-sm-6:last-child{width: 100%; text-align: center;}
    .our-awards-sec .rtin-text-part{ margin-top:15px;}
    .our-awards-sec .rt-text-with-image img{margin-bottom:0;}
}

/**/
.fin-product-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
margin-top:40px;
}

.fin-product-card{
text-decoration:none;
color:#333;
display:block;
}

.fin-product-image{
position:relative;
overflow:hidden;
border-radius:10px;
}

.fin-product-image img{
width:100%;
height:250px;
object-fit:cover;
transition:transform .5s ease;
}

.fin-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:flex;
align-items:center;
justify-content:center;
opacity:0;
transition:.4s;
}

.fin-overlay span{
color:#fff;
font-size:16px;
font-weight:600;
background:#ff7a00;
padding:10px 18px;
border-radius:30px;
}

.fin-product-card:hover img{
transform:scale(1.1);
}

.fin-product-card:hover .fin-overlay{
opacity:1;
}

.fin-product-title{
margin-top:15px;
font-size:18px;
font-weight:600;
text-align:center;
}

@media(max-width:1024px){
  .fin-product-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:768px){
.fin-product-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:480px){
.fin-product-grid{
grid-template-columns:1fr;
}
}

.admin-bar .header-area{ margin-top:0;}
.entry-banner .entry-banner-content{ padding-top:110px; }


/*product grid*/
.product-grid .wpb_single_image img{ object-fit: contain; max-height: 250px; min-height:250px;}

.entry-banner {
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  height: auto !important;
  /* Set this to match your image's aspect ratio (2.jpg size) */
  /* e.g. if image is 1920x600px → ratio = 600/1920 = 31.25% */
  padding-bottom: 31.25% !important;
  position: relative;
}

.entry-banner .container {
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
/* Responsive h1 font size for inner banner */

/* Large desktop — 1200px+ */
.entry-banner .entry-banner-content h1 {
  font-size: 48px !important;
	color: #ffffff !important;
	 text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85) !important;
	padding-left:50px;
}
.entry-banner .entry-banner-content .redchili-pagination{padding-left:50px;    font-size: 20px;}
.entry-banner .entry-banner-content .redchili-pagination a{color: #fff !important; }

/* Laptop / small desktop — up to 1199px */
@media (max-width: 1199px) {
  .entry-banner .entry-banner-content h1 {
    font-size: 40px !important;
  }
.single-fin_service .content-area{ padding-top: 40px !important;}
.single-fin_service .content-area .product-wrap{ margin: 20px auto !important;}
.product-gallery .wdo-image-slider-container .item img{    height: auto !important;}
}

/* Tablet — up to 991px */
@media (max-width: 991px) {
  .entry-banner .entry-banner-content h1 {
    font-size: 32px !important;
			padding-left:20px;
  }
.entry-banner .entry-banner-content .redchili-pagination{padding-left:20px;    font-size: 15px;}
.content-area {
    padding-top: 30px !important;
    padding-bottom: 40px !important;
}
.home .aboutus-sec .cw-stack-wrapper{padding-top:0px !important;}
.home .aboutus-sec .cw-stack-wrapper{padding-bottom : 0px !important;}
.home .content-area{padding-top: 0px !important;}
}

/* Large mobile — up to 767px */
@media (max-width: 767px) {
  .entry-banner .entry-banner-content h1 {
    font-size: 26px !important;
		padding-left:20px;
  }
.entry-banner .entry-banner-content .redchili-pagination{padding-left:20px;    font-size: 13px;}
.content-area {
   padding-top: 30px !important;
    padding-bottom: 30px !important;
}

}

/* Small mobile — up to 480px */
@media (max-width: 480px) {
  .entry-banner .entry-banner-content h1 {
    font-size: 20px !important;
		padding-left:20px;
  }
 .entry-banner .entry-banner-content .redchili-pagination{padding-left:20px;    font-size: 12px;}
 .content-area {
   padding-top: 30px !important;
    padding-bottom: 30px !important;
 }
 .home .aboutus-sec{padding-bottom: 0px !important;}
 .home .content-area .our-awards-sec .our-product-top{    margin-bottom: 25px !important;}
 .single-fin_service .fin_service .product-wrap{padding:0 !important;}
 .tax-fin_service_category .fin-product-grid .fin-product-card img{height:auto !important;}
}

.page-id-2231 footer .footer-top-area{    display: none;}
.page-id-2231 footer .footer-bottom-area{       background-color: #FEECE8;}
