/* 
Theme Name:		 generatepress child
Theme URI:		 http://childtheme-generator.com/
Description:	 generatepress child is a child theme of GeneratePress, created by ChildTheme-Generator.com
Author:			   Umair Yaqoob
Author URI:		 http://childtheme-generator.com/
Template:		   generatepress
Version:		   1.0.0
Text Domain:	 generatepress-child
*/

/*
    Add your custom styles here
*/

/******************************
    VARIABLES
******************************/
:root{
  --primary: #2D2F31;
  --secondary: #0065CA;
  --body-text: #626A6F;
  --accent: #131F46;
  --mid-gray: #98A2AD;
}

/******************************
    GLOBAL STYLING
******************************/
body {
  font-family: "Inter Tight", sans-serif !important;
  font-size: 16px;
}
body,
button,
.elementor-button,
input,
select,
textarea {
  font-family: "Inter Tight", sans-serif !important;
}
select{
  cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}
ul {
  padding-left: 0;
}
b,
strong {
  font-weight: 700;
}

/******************************
    UTILITIES
******************************/

/* font weights */
.font-regular{
  font-weight: 400 !important;
}
.font-medium{
  font-weight: 500 !important;
}
.font-semibold{
  font-weight: 600 !important;
}
.font-bold{
  font-weight: 700 !important;
}


/* text colors */
.text-primary{
  color: var(--primary) !important;
}
.text-secondary{
  color: var(--secondary) !important;
}
.text-body-text{
  color: var(--body-text) !important;
}
.text-accent{
  color: var(--accent) !important;
}
.text-mid-gray{
  color: var(--mid-gray) !important;
}
.text-white{
  color: #fff !important;
}
.text-black{
  color: #000 !important;
}


/* background colors */
.bg-primary{
  background-color: var(--primary);
}
.bg-secondary{
  background-color: var(--secondary);
}
.bg-body-text{
  background-color: var(--body-text);
}
.bg-accent{
  background-color: var(--accent);
}
.bg-mid-gray{
  background-color: var(--mid-gray);
}

/* Others */
.h-100{
  height: 100% !important;
}

/******************************
    WP OVERRIGES
******************************/
.site-header .grid-container,
.site-footer .grid-container {
    padding-left: 10px;
    padding-right: 10px;
}
.button, .wp-block-button .wp-block-button__link{
  padding: 12px 24px;
  border: 1px solid var(--secondary);
  transition: .3s;
  font-weight: 600;
}
.button:hover,
.wp-block-button__link:hover {
    border: 1px solid var(--accent);
}

.elementor-button,
.wp-block-button .wp-block-button__link{
  min-width: 120px;
  text-align: center;
}


/******************************
    HEADER
******************************/
header.site-header{
  position: fixed;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(0px);
  color: #fff;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  transition: .3s;
}
header.site-header.scrolled{
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}
header.site-header .site-logo,
header.site-header .header-widget{
  max-width: 200px;
  width: 100%;
}
header.site-header .site-logo{
  margin-right: 16px;
}
header.site-header .header-widget{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}
header.site-header .main-navigation{
  background-color: transparent;
  margin-left: auto;
  margin-right: auto;
}
header.site-header .main-navigation ul li a:hover{
  color: var(--secondary) !important;
}

/******************************
    UI ELEMENTS
******************************/

/* Cards */
.portfolio-card{
  border: 1px solid #DDE3E6;
  border-radius: 16px;
  overflow: hidden;
}
.portfolio-card .portfolio-card-content{
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.portfolio-card .logo-box img {
  height: 50px;
  margin-bottom: 36px;
}
.portfolio-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.portfolio-card .tags > span{
  font-size: 12px;
  padding: 2px 8px;
  color: #7C8EA1;
  border: 1px solid #D2D9DC;
  border-radius: 2px;
}
.portfolio-card .portfolio-card-body {
    padding-bottom: 36px;
}
.arrow-link{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  text-underline-offset: 4px;
  transition: .3s;
}
.arrow-link > img{
  transition: .3s;
}
.arrow-link:hover,
.service-card:hover .arrow-link{
  text-decoration: underline;
  color: var(--secondary) !important;
}
.arrow-link:hover > img,
.service-card:hover .arrow-link > img{
  transform: translateX(5px);
}

.portfolio-card.with-banner{
  display: flex;
  flex-wrap: wrap;
}
.portfolio-card.with-banner .portfolio-card-banner{
  width: 40%;
}
.portfolio-card.with-banner .portfolio-card-content{
  width: 60%;
}
.portfolio-card.with-banner .portfolio-card-banner .banner-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Form fields */
.form-control {
  display: block;
  width: 100%;
  padding: 0 0 18px !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: transparent !important;
  background-clip: padding-box;
  border: 0 !important;
  border-bottom: 1px solid #DDE3E6 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0 !important;
  height: 40px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus {
  border-color: var(--secondary) !important;
  outline: 0;
}
.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}
textarea.form-control{
  height: 80px;
}


.form-select {
  display: block;
  width: 100%;
  padding: 0 0 18px !important;
  /* -moz-padding-start: calc(0.75rem - 3px); */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px top 8px;
  background-size: 16px 12px;
  border: 0 !important;
  border-bottom: 1px solid #DDE3E6 !important;
  border-radius: 0 !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-select:focus {
  border-color: var(--secondary) !important;
  outline: 0;
}
.form-select:disabled {
  background-color: #e9ecef;
}


/* Badges */
.badges-box{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.badges-box .tc-badge{
  font-size: 14px;
  border-radius: 30px;
  border: 1px solid var(--secondary) !important;
  padding: 6px 16px;
}


/**********************************************
    MAIN CSS
**********************************************/
.portfolio-slider .swiper-pagination {
    outline: 8px solid #0065ca42;
    width: 90px !important;
    height: 90px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #0065ca;
    color: white !important;
}
.portfolio-slider .swiper-pagination .swiper-pagination-current{
  font-weight: 600;
}

.wpcf7-form .form-group > p{
  margin-bottom: 30px;
}
.wpcf7-form .form-group:has(.wpcf7-submit) > p{
  margin-bottom: 0;
  text-align: right;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 16px;
}
.wpcf7-form .form-group .for-form-check .wpcf7-list-item {
    margin-left: 0;
}
.wpcf7-form .form-group .for-form-check .wpcf7-list-item:not(:last-child){
  margin-bottom: 8px;
}
.wpcf7-form .form-group .for-form-check .wpcf7-list-item input[type="checkbox"]{
  border-radius: 0;
  margin-right: 8px;
}
.wpcf7-not-valid-tip{
  font-size: 12px;
  margin-top: 2px;
}

/* Portfolio filter */
.portfolio-items-filter-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 16px 0;
}
.portfolio-items-filter-container > div{
  padding: 0 16px;
}
.portfolio-items-filter-container > div:last-child{
  padding-right: 0;
}
.portfolio-items-filter-container > div:not(:last-child){
  border-right: 1px solid #D2D9DC;
}
.portfolio-items-filter-container > div select{
  padding: 0;
  padding-right: 20px;
  border: 0;
  background-color: transparent;
}

.portfolio-cards-container .cards-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
    margin-top: -32px;
}
.portfolio-cards-container .cards-row > div{
  padding-left: 12px;
  padding-right: 12px;
  margin-top: 32px;
}
.portfolio-cards-container .cards-row .single-col{
  width: 33.33%;
}
.portfolio-cards-container .cards-row .single-col.large{
  width: 66.66%;
}

/******************************
    SITE FOOTER
******************************/
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6{
  color: #fff;
  font-weight: 600 !important;
}
.site-footer .footer-widgets-container{
  padding-top: 80px;
}
.site-footer .footer-widget-1 .widget_media_image{
  margin-bottom: 16px;
}
.site-footer .footer-widget-1 h4{
  font-weight: 300 !important;
}
.site-footer .widget_nav_menu ul > li:not(:last-child) {
  margin-bottom: 20px;
}
.site-footer .widget_nav_menu ul > li > a{
  text-decoration: none;
}

.site-footer .inside-footer-widgets{
  flex-wrap: wrap;
}
.site-footer .inside-footer-widgets [class*="footer-widget-"]{
  flex: unset;
}
.site-footer .inside-footer-widgets .footer-widget-1{
  width: 20%;
}
.site-footer .inside-footer-widgets .footer-widget-2{
  margin-left: auto;
}
.site-footer .inside-footer-widgets .footer-widget-2,
.site-footer .inside-footer-widgets .footer-widget-3{
  width: 20%;
}
.site-footer .inside-footer-widgets .footer-widget-4{
  width: 33.33%;
}

footer.site-info{
  text-align: left;
}
footer.site-info .inside-site-info{
  padding-top: 0;
  padding-bottom: 60px;
}
footer.site-info .inside-site-info .copyright-bar{
  width: 33.33%;
}
footer.site-info .inside-site-info .footer-bar{
  width: 66.66%;
  display: flex;
  flex-wrap: wrap;
}
footer.site-info .inside-site-info .footer-bar > .widget_block{
  width: 50%;
}
footer.site-info .inside-site-info .footer-bar > .widget_block ul.social-links{
  justify-content: center;
}
footer.site-info .inside-site-info .footer-bar > .widget_block:last-child{
  padding-left: 26px;
}

ul.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
ul.social-links > li > a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border: 1px solid #fff;
  font-size: 20px;
  text-decoration: none;
  border-radius: 50%;
  transition: .3s;
}
ul.social-links > li > a:hover{
  background-color: var(--secondary);
  border-color: var(--secondary);
  font-size: 20px;
  color: #fff;
}