/*
Theme Name: mwsfab
Theme URI: https://github.com/codesdeal/mwsfab.git
Description: MWSFAB is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Mobile Welding Solutions. The theme is designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs for Mobile Welding Solutions. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Author: Abu Bakkar Siddique
Author URI: https://devabu.com
Version: 1.0.0
Text Domain: mwsfab
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/

/* Self-hosted fonts loaded via assets/css/fonts.css — Inter (body), Oswald (headings), Bebas Neue (display) */

/* Font size variables */
:root {
  --wp--preset--size--text--block--65: 4rem;
  --wp--preset--size--text--block--52: 3.25rem;
  --wp--preset--size--text--block--48: 3rem;
  --wp--preset--size--text--block--45: 2.813rem;
  --wp--preset--size--text--block--26: 1.625rem;
  --wp--preset--size--text--block--21: 1.313rem;
  --wp--preset--size--text--block--18: 1.125rem;
  --wp--preset--size--text--block--16: 1rem;
  --wp--preset--size--text--block--14: 0.875rem;
}

body {
  font-family: "Inter", sans-serif;
  font-size: var(--wp--preset--size--text--block--16);
  font-weight: 400;
}

a {
  outline: none;
  text-decoration: none;
  border-bottom: none;
}

a:focus,
a:active,
a:visited {
  outline: none;
  text-decoration: none;
}
/* Homepage Section Start */

.cp-items a,
.button a {
  position: relative;
  display: block;
  padding: 10px 35px;
  overflow: hidden;
  border-radius: 30px;
  font-size: var(--wp--preset--size--text--block--21);
  font-weight: 600;
  color: #fff;
  background: var(--wp--preset--color--secondary);
  transition: 0.3s;
  text-decoration: none;
  text-transform: uppercase;
}

.cp-items a::after,
.button a::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: -100%;
  -webkit-clip-path: polygon(10% 0, 70% 0, 90% 100%, 30% 100%);
  clip-path: polygon(10% 0, 70% 0, 90% 100%, 30% 100%);
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 500ms ease;
  top: 0;
}

.cp-items a:hover::after,
.button a:hover::after {
  left: 100%;
}

.cp-items a:hover,
.button a:hover {
  color: var(--wp--preset--color--primary);
  transform: translateY(-0.15rem);
}


.section-gap-map {
  margin: 100px 0;
}

.top-section-gap {
  margin: 150px 0;
}

.button {
  float: left;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.nav-link {
  color: var(--wp--preset--color--primary) !important;
  text-transform: uppercase;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 600 !important;
  padding: 0 10px;
  letter-spacing: 0.075em;
}
.navbar-nav 
.nav-link:focus,
.nav-link:hover,
.nav-link.active {
  color: var(--wp--preset--color--accent) !important;
  text-decoration: none;
}

.bg-body-tertiary {
  padding: 20px 0;
}

/* An Operator section section */
.img-sec {
  display: flex;
  gap: 80px;
  justify-content: center;
  flex-wrap: wrap;
}

.img-sec img {
  width: 350px;
  object-fit: contain;
}

.top-title-sec {
  margin-top: 0;
  margin-bottom: 2rem;
}

.top-title-sec h3 {
  font-weight: 700;
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--preset--size--text--block--48);
  letter-spacing: 0.025em;
  text-align: center;
}

.top-title-sec p {
  text-align: center;
  font-size: var(--wp--preset--size--text--block--21);
  color: var(--wp--preset--color--primary);
  font-weight: 400;
  text-transform: uppercase;
}

.counter-card {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  text-align: center;
}
.counter-card.card {
    height: 100%;
}

.counter-card-wrapper:nth-child(even) .counter-card {
  background: var(--wp--preset--color--secondary);
}

.counter-card-wrapper:nth-child(even) .counter-card i,
.counter-card-wrapper:nth-child(even) .counter-card .title {
  color: var(--wp--preset--color--primary);
}

.counter-card-wrapper:nth-child(odd) .counter-card {
  background: var(--wp--preset--color--primary);
}

.counter-card-wrapper:nth-child(odd) .counter-card i,
.counter-card-wrapper:nth-child(odd) .counter-card .title {
  color: var(--wp--preset--color--secondary);
}

.counter-card .icon svg,
.counter-card .icon i {
  font-size: var(--wp--preset--size--text--block--45);
  color: var(--wp--preset--color--white);
}

.counter-card .number {
  font-weight: 700;
  font-size: var(--wp--preset--size--text--block--52);
  color: var(--wp--preset--color--white);
}

.counter-card .title {
  font-size: var(--wp--preset--size--text--block--21);
  font-weight: 400;
}

.counter-card .description {
  font-size: var(--wp--preset--size--text--block--16);
  color: var(--wp--preset--color--white);
  word-break: auto-phrase;
}

.counter-card .card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ###An Operator section section */

/* blog post section */
.card.img-card {
  height: 100%;
}
.img-card {
  box-shadow: 0 0.3125rem 0.625rem rgba(0, 0, 0, 0.16);
}

.img-card h3 {
  font-size: var(--wp--preset--size--text--block--26);
  font-weight: 600;
  color: var(--wp--preset--color--secondary);
}

.img-card h5 {
  font-size: var(--wp--preset--size--text--block--21);
  font-weight: 400;
  color: var(--wp--preset--color--primary);
}

.img-card p {
  font-family: "Inter", sans-serif;
  font-size: var(--wp--preset--size--text--block--16);
  font-weight: 300;
  color: var(--wp--preset--color--black);
  margin: 15px 0;
}
.link {
  font-size: var(--wp--preset--size--text--block--21);
  font-weight: 600;
  text-transform: uppercase;
}

.img-card a {
  color: var(--wp--preset--color--primary);
  font-weight: 500;
}

/* ###blog post section */

/* Footer Section Start */

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: var(--wp--preset--color--secondary);
  background: var(--wp--preset--color--white);
  width: 25px;
  height: 25px;
  text-align: center;
  border-radius: 5px;
}

.social-icons i {
  font-size: 13px;
}

.footer-icon-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.footer-icon-item:last-child {
  margin-bottom: 0;
}

.contact-info,
.footer-icon,
.address {
  line-height: 1.5;
}

.footer-icon-item {
  color: var(--wp--preset--color--button--text);
}

.contact-info a {
  text-decoration: none;
  color: var(--wp--preset--color--white);
}

.address {
  color: var(--wp--preset--color--white);
}

.custom-logo-link {
  text-decoration: none;
  border-bottom: 0;
  margin-bottom: 1.5rem;
}

.custom-logo-link img {
  width: 100px;
}

.footer-bottom-items p {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.c-footer--light,
.footer-bottom-style {
  position: relative;
}

.c-footer--light::after,
.footer-bottom-style::after {
  content: "";
  background: rgba(44, 45, 50, 0.5);
  background: linear-gradient(
    80deg,
    rgba(44, 45, 50, 0.5) 0%,
    rgba(44, 45, 50, 0.75) 25%,
    rgb(44, 45, 50) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.off-address-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
}

ul.c-footer-copyright-links {
  list-style: none;
  display: flex;
  justify-content: center;
  font-size: 0.75rem;
  margin-bottom: 0;
  font-family: "Inter", sans-serif;
  flex-wrap: wrap;
}

li.copyright-info-item a {
  text-decoration: none;
  color: #20DDAE;
  border: 0;
  margin-bottom: 0;
}

li.copyright-info-item {
  border-right: 1px solid;
  padding: 0 1.5rem;
}

li.copyright-info-item:last-child {
  border: 0;
}

/* FAQ */
.accordion-custom h1 {
  font-size: var(--wp--preset--size--text--block--48);
}

.accordion-custom .accordion-header,
.accordion-custom .accordion-button {
  border-radius: 8px;
  border: 0;
  outline: 1px solid var(--wp--preset--color--primary);
}

.accordion-custom .accordion-button:focus {
  box-shadow: none;
}

.accordion-custom .accordion-item {
  border: 0;
}

.accordion-custom .accordion-body {
  margin-top: 20px;
  background: rgb(231, 231, 231);
  border-radius: 8px;
}

.accordion-custom button.accordion-button.collapsed {
  background: #fff;
  color: var(--wp--preset--color--primary);
}

.accordion-custom button.accordion-button {
  background: var(--wp--preset--color--primary);
  color: #fff;
  box-shadow: none;
}
/* End FAQ */

/* contact page */
.contact-txt h1 {
  font-size: var(--wp--preset--size--text--block--45);
}

.contact-txt h3 {
  font-size: var(--wp--preset--size--text--block--26);
  color: var(--wp--preset--color--primary);
  font-weight: normal;
}

.contact-frm .form-label {
  font-size: var(--wp--preset--size--text--block--18);
  text-transform: uppercase;
}

.contact-frm .req-style {
  font-size: var(--wp--preset--size--text--block--14);
  color: var(--wp--preset--color--secondary);
}

.contact-frm input {
  height: 45px;
  border: 0;
  background: #f5f5f5;
  box-shadow: none;
  font-size: var(--wp--preset--size--text--block--16);
}

.contact-frm .form-control:focus {
  color: var(--bs-body-color);
  background: #f5f5f5;
  outline: 2px solid var(--wp--preset--color--black);
  box-shadow: none;
}

 textarea.form-control {
  min-height: 60px;
  height: 60px;
  resize: vertical;
}

/* ###contact page */

@media (max-width: 639px) {
  #footer .mobile-spacing {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767px) {
  ul.c-footer-copyright-links {
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
  }
  li.copyright-info-item {
    border: 0;
  }
  .hero-txt {
    font-size: var(--wp--preset--size--text--block--48);
  }
}

/* About us Start */

.about-section {
  position: relative;
  padding: 120px 0px;
}

.about-section .content-column {
  position: relative;
  margin-bottom: 40px;
}

.about-section .content-column .inner-column {
  position: relative;
  padding-top: 50px;
  padding-right: 100px;
}

.about-section .content-column .text {
  position: relative;
  color: #777777;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 2em;
  margin-bottom: 40px;
}

.about-section .content-column .email {
  position: relative;
  color: #252525;
  font-weight: 700;
  margin-bottom: 50px;
}

.about-section .image-column {
  position: relative;
  margin-bottom: 50px;
}

.about-section .image-column .inner-column {
  position: relative;
  padding: 40px 40px 0px 0px;
  margin-left: 50px;
}

.about-section .image-column .inner-column:after {
  position: absolute;
  content: "";
  right: 0px;
  top: 0px;
  left: 40px;
  bottom: 100px;
  z-index: -1;
  border: 2px solid var(--wp--preset--color--secondary);
}

.about-section .image-column .inner-column .image {
  position: relative;
}

.about-section .image-column .inner-column .image:before {
  position: absolute;
  content: "";
  left: -50px;
  bottom: -50px;
  width: 299px;
  height: 299px;
  background: url(img/pattern-2.png) no-repeat;
}

.about-section .image-column .inner-column .image img {
  position: relative;
  width: 100%;
  display: block;
}

.about-section .image-column .inner-column .image .overlay-box {
  position: absolute;
  left: 40px;
  bottom: 48px;
}

.about-section .image-column .inner-column .image .overlay-box .year-box {
  position: relative;
  color: #252525;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4em;
  padding-left: 125px;
}

.about-section
  .image-column
  .inner-column
  .image
  .overlay-box
  .year-box
  .number {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 110px;
  height: 110px;
  color: var(--wp--preset--color--secondary);
  font-size: 68px;
  font-weight: 700;
  line-height: 105px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #000000;
}
.about-section .btn-style-three:before {
  position: absolute;
  content: "";
  left: 10px;
  top: 10px;
  z-index: -1;
  right: -10px;
  bottom: -10px;
  background: url(https://i.ibb.co/DKn55Qz/pattern-1.jpg) repeat;
}
.about-section .btn-style-three:hover {
  color: #ffffff;
  background: var(--wp--preset--color--secondary);
}
.about-section .btn-style-three {
  position: relative;
  line-height: 24px;
  color: #252525;
  font-size: 15px;
  font-weight: 700;
  background: none;
  display: inline-block;
  padding: 11px 40px;
  background-color: #ffffff;
  text-transform: capitalize;
  border: 2px solid var(--wp--preset--color--secondary);
  font-family: "Arimo", sans-serif;
}
.sec-title2 {
  color: #fff;
}
.sec-title {
  position: relative;
  padding-bottom: 40px;
}
.sec-title .title {
  position: relative;
  color: var(--wp--preset--color--secondary);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase !important;
  padding-right: 50px;
  margin-bottom: 15px;
  display: inline-block;
  text-transform: capitalize;
}
.sec-title .title:before {
  position: absolute;
  content: "";
  right: 0px;
  bottom: 7px;
  width: 40px;
  height: 1px;
  background-color: #bbbbbb;
}
.title h2 {
  text-transform: uppercase !important;
}

/* Mobile first - stack vertically with alternating order
Pattern: content(1) -> image(2) -> content(3) -> image(4) -> content(5) -> image(6) */
        

.content-column:nth-child(1) {
    order: 1;
}

.image-column:nth-child(2) {
    order: 2;
}

.image-column:nth-child(3) {
    order: 4;
}

.content-column:nth-child(4) {
    order: 3;
}

.content-column:nth-child(5) {
    order: 5;
}

.image-column:nth-child(6) {
    order: 6;
}

.image-column:nth-child(7) {
    order: 8;
}

.content-column:nth-child(8) {
    order: 7;
}

/* Desktop - show in pairs (content + image in same row) */
@media (min-width: 768px) {
    .content-column,
    .image-column {
        order: unset !important;
    }
}
@media (max-width: 639px) {
    .about-section{
      padding: 0 !important;
    }
}
/* About us End */

.contact-us-button input[type="submit"] {
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--white);
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: var(--wp--preset--size--text--block--18);
    font-weight: 500;
    cursor: pointer;
}

a.navbar-brand {
    outline: none;
    border: none;
}

