/*
Theme Name: Recycled Tire Theme
Theme URI: https://datapulsesoft.com
Author: DPS
Author URI: https://datapulsesoft.com
Description: Custom theme for Recycled Tire, showcasing the company's services and products related to recycled Tires.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: recycled-tire
*/

:root {
  --green-color: #4bb83f;
  --white-color: #ffffff;
  --black-color: #000000;
  --light-bg-color: #ececec;
}

p {
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

/* Hero Section -> Start */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: url('assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 100%;
  overflow: visible;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  row-gap: 2rem;
  padding: 4rem;
  max-width: 90%;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo {
  width: 100%;
  max-width: 300px;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  position: relative;
}

.hr-left {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  row-gap: 2rem;
}

.hr-illustration {
  position: absolute;
  width: 550px;
  object-fit: contain;
  right: 0;
  bottom: -150px;
  z-index: 10;
}

.hr-subtitle {
  font-size: 1.3rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--white-color);
  font-weight: 500;
  text-transform: uppercase;
}

.hr-subtitle-two {
  margin-top: -1rem;
}

.hr-title {
  font-size: 5rem;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--green-color);
  font-weight: bold;
  line-height: 0.8;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

.hr-text {
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
  color: var(--white-color);
  font-weight: 400;
  max-width: 70%;
}

.hr-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 3rem;
  border: 3px solid var(--green-color);
  color: var(--white-color);
  font-family: 'Poppins Bold', sans-serif;
  transition: all 0.3s ease;
}

.hr-button:hover {
  background-color: var(--green-color);
  color: var(--white-color);
}

@media (max-width: 1200px) {
  .hero-content {
    padding: 2.5rem;
  }
  .hr-title {
    font-size: 5rem;
  }
  .hr-illustration {
    width: 400px;
    bottom: -100px;
  }
}

@media (max-width: 900px) {
  .hero-content {
    padding: 1.5rem;
    max-width: 100%;
  }
  .hero-row {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }
  .hr-illustration {
    position: static;
    width: 320px;
    margin-top: 2rem;
    align-self: flex-start;
  }
  .hr-title {
    font-size: 3.5rem;
  }
  .hr-text {
    max-width: 100%;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 450px;
    height: auto;
    padding-bottom: 2rem;
  }
  .hero-content {
    padding: 1rem;
    row-gap: 1.2rem;
  }
  .logo {
    max-width: 180px;
  }
  .hr-title {
    font-size: 2.2rem;
  }
  .hr-subtitle {
    font-size: 1rem;
  }
  .hr-text {
    font-size: 0.95rem;
  }
  .hr-illustration {
    width: 180px;
    margin-top: 1.5rem;
  }
  .hr-button {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Hero Section -> End */

/* Who Section -> Start */

.who-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--light-bg-color);
  padding-top: 10%;
  padding-bottom: 4rem;
}

.who-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  row-gap: 2rem;
  padding: 0 4rem;
  max-width: 90%;
  width: 100%;
}

.who-left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 50%;
}

.page-subtitle {
  color: var(--green-color);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
}

.black-text {
  color: var(--black-color);
  font-family: 'Poppins Regular', sans-serif;
  font-size: 1rem;
  margin-top: 1rem;
}

.who-illustration {
  width: 400px;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .who-content {
    padding: 0 2rem;
  }
  .who-illustration {
    width: 300px;
  }
  .page-subtitle {
    font-size: 2.2rem;
  }
}

@media (max-width: 900px) {
  .who-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem;
    row-gap: 1.5rem;
  }
  .who-left {
    width: 100%;
  }
  .who-illustration {
    width: 220px;
    margin-top: 2rem;
    align-self: flex-start;
  }
  .page-subtitle {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .who-section {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
  .who-content {
    padding: 0 0.5rem;
    row-gap: 1rem;
  }
  .who-illustration {
    width: 120px;
    margin-top: 1rem;
  }
  .page-subtitle {
    font-size: 1.2rem;
  }
  .black-text {
    font-size: 0.95rem;
  }
}

/* Who Section -> End */

/* How Section -> Start */

.how-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--white-color);
  padding: 4rem 2rem;
}

.how-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  row-gap: 4rem;
  max-width: 90%;
  width: 100%;
}

.how-boxes {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.how-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  text-align: center;
  width: 260px;
}

.hb-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1.4rem;
}

.shredding-icon {
  width: 250px;
  margin-right: -40px;
}

.hb-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--green-color);
  margin-bottom: 1rem;
}

.how-box p {
  margin: 0 !important;
}

@media (max-width: 1200px) {
  .how-section {
    padding: 3rem 1.5rem;
  }
  .how-content {
    row-gap: 3rem;
  }
  .how-boxes {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .how-boxes {
    flex-direction: column;
    align-items: center;
  }
  .how-box {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .how-section {
    padding: 2rem 1rem;
  }
  .how-content {
    row-gap: 2rem;
  }
  .hb-icon {
    width: 120px;
    height: 80px;
    margin-bottom: 1rem;
  }
  .shredding-icon {
    width: 200px;
    margin-right: 0;
  }
  .hb-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
}

/* How Section -> End */

/* Banner Section -> Start */

.banner-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--green-color);
  padding: 4rem 2rem;
  background-image: -moz-linear-gradient(-44deg, rgb(63, 63, 62) 0%, rgb(30, 31, 29) 100%);
  background-image: -webkit-linear-gradient(-44deg, rgb(63, 63, 62) 0%, rgb(30, 31, 29) 100%);
  background-image: -ms-linear-gradient(-44deg, rgb(63, 63, 62) 0%, rgb(30, 31, 29) 100%);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 90%;
  width: 100%;
}

.bc-left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 50%;
}

.white-text {
  color: var(--white-color);
  font-family: 'Poppins Regular', sans-serif;
  font-size: 1rem;
  margin-top: 1rem;
}

.features {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  row-gap: 0.8rem;
  margin-top: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.check-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.banner-illustration {
  width: 700px;
  object-fit: contain;
}

.feature p {
  margin: 0;
}

@media (max-width: 1200px) {
  .banner-illustration {
    width: 550px;
  }
  .banner-content {
    padding: 0 2rem;
  }
}

@media (max-width: 900px) {
  .banner-content {
    flex-direction: column;
    align-items: center;
  }
  .bc-left {
    width: 100%;
    text-align: left;
    align-items: flex-start;
  }
  .banner-illustration {
    width: 450px;
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .banner-section {
    padding: 2rem 1rem;
  }
  .banner-content {
    max-width: 100%;
    padding: 0;
  }
  .bc-left {
    width: 100%;
  }
  .white-text {
    font-size: 0.9rem;
  }
  .features {
    row-gap: 0.6rem;
  }
  .check-icon {
    width: 16px;
    height: 16px;
  }
  .banner-illustration {
    width: 320px;
  }
}

/* Banner Section -> End */

/* Reviews Section -> Start */

.reviews-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  background-color: var(--light-bg-color);
  overflow: hidden;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  padding-top: 10px;
}

.swiper-slide {
  width: 350px !important; /* same as your design */
  flex-shrink: 0; /* don’t let slides shrink below this */
}

.gallery-image {
  width: 350px;
  height: 250px;
  object-fit: cover;
  border: 1.5px solid black;
  border-top: none;
  border-bottom: none;
  display: block;
  user-select: none;
}

.reviews-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 2rem;
  padding: 4rem 2rem;
  max-width: 90%;
  width: 100%;
}

.reviews-slider-container {
  width: 60%; /* same width you had on .review-box */
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: transform 0.5s ease;
}

.review-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  column-gap: 1rem;
  background-color: var(--white-color);
  border-radius: 50px;
  border: 1px solid var(--green-color);
  flex: 0 0 100%;
}

.review-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.review-comma {
  font-size: 8rem;
  font-family: 'Poppins Bold', sans-serif;
  color: var(--green-color);
}

.opening-quote {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  margin-top: -80px;
}

.closing-quote {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  margin-bottom: -100px;
}

.review-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}

.review-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--green-color);
  background-color: #d1d1d1;
}

.review-dot.active {
  background-color: var(--green-color);
}

@media (max-width: 1200px) {
  .swiper-slide,
  .gallery-image {
    width: 300px !important;
    height: 215px;
  }
  .reviews-content {
    padding: 3rem 1.5rem;
  }
  .reviews-slider-container {
    width: 70%;
  }
  .review-box {
    padding: 2.5rem 1.5rem;
  }
  .review-comma {
    font-size: 6rem;
  }
  .opening-quote {
    margin-top: -60px;
  }
  .closing-quote {
    margin-bottom: -80px;
  }
  .review-dot {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 900px) {
  .swiper-slide,
  .gallery-image {
    width: 250px !important;
    height: 180px;
  }
  .reviews-content {
    padding: 2rem 1rem;
  }
  .reviews-slider-container {
    width: 80%;
  }
  .review-box {
    padding: 2rem 1rem;
    border-radius: 40px;
  }
  .review-comma {
    font-size: 5rem;
  }
  .opening-quote {
    margin-top: -50px;
  }
  .closing-quote {
    margin-bottom: -70px;
  }
  .review-dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 600px) {
  .swiper-slide,
  .gallery-image {
    width: 200px !important;
    height: 150px;
  }
  .reviews-content {
    padding: 1.5rem 0.5rem;
  }
  .reviews-slider-container {
    width: 90%;
  }
  .review-box {
    padding: 1.5rem 0.8rem;
    border-radius: 30px;
    flex-direction: column;
  }
  .review-comma {
    font-size: 4rem;
  }
  .opening-quote {
    margin-top: -40px;
  }
  .closing-quote {
    margin-bottom: -60px;
  }
  .review-dot {
    width: 10px;
    height: 10px;
  }
}

/* Reviews Section -> End */

/* Contact Section -> Start */

.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--white-color);
  padding: 4rem 2rem;
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 90%;
  width: 100%;
}

.cc-left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 45%;
}

.contact-form {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  row-gap: 1rem;
  margin-top: 1rem;
}

.form-group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  column-gap: 1rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-family: 'Poppins Regular', sans-serif;
  border-radius: 7px;
  font-size: 0.9rem;
  background-color: rgb(244, 244, 244);
  box-shadow: 2.427px 1.763px 1px 0px rgba(0, 0, 0, 0.25);
  resize: none;
}

.form-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 3rem;
  border: none;
  color: var(--white-color);
  font-family: 'Poppins Bold', sans-serif;
  background-color: var(--green-color);
  border-radius: 7px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.contact-illustration {
  display: flex;
  flex-direction: column;
  justify-self: flex-start;
  align-items: flex-start;
  width: 500px;
  object-fit: contain;
}

.contact-section p {
  margin: 0 !important;
}
@media (max-width: 1200px) {
  .contact-content {
    gap: 1.5rem;
  }
  .contact-illustration {
    width: 400px;
  }
}

@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cc-left {
    width: 100%;
  }
  .contact-illustration {
    width: 300px;
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 2rem 1rem;
  }
  .contact-content {
    gap: 1rem;
  }
  .contact-illustration {
    width: 220px;
  }
  .form-button {
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
  }
  .form-input {
    font-size: 0.85rem;
  }
}

/* Contact Section -> End */

/* Footer Section -> Start */

.footer {
  width: 100%;
  background: linear-gradient(-44deg, rgb(63, 63, 62) 0%, rgb(30, 31, 29) 100%);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  row-gap: 2rem;
  margin-top: 5%;
}

.footer-logo {
  width: 100%;
  max-width: 300px;
  margin-top: 2rem;
}

.fs-form {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: -100px;
  z-index: 2;
}

.fsf-row {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1.5rem;
  width: 100%;
}

.fs-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.fsf-row .page-subtitle span {
  color: #222;
}

.fsf-input-div {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
  border: 1px solid var(--green-color);
  height: 50px;
  margin-top: 1rem;
  border-radius: 8px;
}

.fsf-input {
  padding: 1rem 1.2rem;
  border: none;
  font-size: 1rem;
  font-family: 'Poppins Regular', sans-serif;
  background: #fff;
  outline: none;
  height: 100%;
  border-radius: 8px 0 0 8px;
}

.fsf-input::placeholder {
  color: #888;
  opacity: 1;
}

.fsf-button {
  height: 100%;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--green-color);
  color: var(--white-color);
  font-family: 'Poppins Bold', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0 8px 8px 0;
}

.fsf-button:hover {
  background: var(--black-color);
}

.footer-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 3rem 2rem 3rem;
  position: relative;
  z-index: 1;
  margin-top: -80px;
}

.footer-content .logo {
  max-width: 220px;
  width: 100%;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  margin-right: -100px;
  gap: 0.7rem;
  min-width: 240px;
}

.fi-title {
  color: var(--green-color);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.fi-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.fi-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-info a.white-text,
.footer-info p.white-text {
  color: var(--white-color);
  font-size: 1.1rem;
  font-family: 'Poppins Regular', sans-serif;
  transition: color 0.2s;
}

.footer-info a.white-text:hover {
  color: var(--green-color);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: flex-end;
  min-width: 160px;
  margin-bottom: -50px;
}

.footer-socials h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: 'Poppins Bold', sans-serif;
  color: var(--white-color);
}

.fi-row .white-text {
  margin: 0 !important;
}

.fs-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fs-row .fs-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
  transition: transform 0.2s;
}

.fs-row .fs-icon:hover {
  transform: scale(1.1) rotate(-5deg);
}

.footer-bottom {
  width: 100%;
  background: var(--green-color);
  padding: 1.2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-bottom .white-text {
  color: var(--white-color);
  font-size: 1rem;
  font-family: 'Poppins Regular', sans-serif;
  margin: 0;
  letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .footer-socials {
    margin: 0;
    align-self: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 1rem;
  }

  .footer {
    margin-top: 10%;
  }

  .fsf-input-div {
    flex-direction: column;
    align-items: flex-start;
    border: none;
    margin-bottom: 1rem;
  }

  .fs-form {
    margin-top: 10%;
  }

  .fsf-input {
    width: 100%;
    border-radius: 0;
  }

  .fsf-button {
    width: 100%;
    border-radius: 0;
    margin-top: -1px; /* to avoid double border */
    padding: 0.5em;
  }
}

@media (max-width: 900px) {
  .fs-form {
    top: -70px;
    max-width: 80%;
  }
  .footer-content {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 0;
    row-gap: 1rem;
  }
  .fs-icon {
    width: 30px;
    height: 30px;
  }
  .footer-info {
    margin-right: 0;
    align-items: flex-start;
    padding: 1rem;
  }
}

/* Footer Section -> End */
