/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Child theme for Astra.
 Author:       Your Name
 Template:     astra
 Version:      1.0.0
*/
body {
  background-color: #565656 !important;
}

.e-con-inner {
  max-width: 100% !important;
}

.elementor-button {
  position: relative;
  background: transparent !important;
  cursor: pointer;
  width: 100%;
  min-height: 51.26px;
  display: flex;
  color: #000 !important;
  align-items: center;
  justify-content: center;
}

.elementor-button:before {
  content: '';
  position: absolute;
  inset: 0;
  background: #e3c226;
  transform: skewX(-6deg);
  transition: 0.2s;

}

.elementor-button span {
  position: relative;
}

.elementor-button:hover::before {
  background: #f4d74a;
}

.ast-container {
  padding-inline: 0;
  max-width: 100%;
}

.header-navigation {
  display: flex !important;
  justify-content: flex-end;
}

.hero-section .e-con-full {
  height: 794.2px;
}

.highlight-text {
  color: #e3c226;
}

.item-divider {
  max-width: none;
  flex: 0 0 auto;
  width: auto;
}

a {
  font-weight: 500 !important;
  text-decoration: none !important;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 59.4px;
  background: transparent;
  border-radius: 0px !important;
  background: #2c2a2a;
  box-shadow: none !important;
  border: 1px solid transparent !important;
  color: #fff !important;
  transition: 0.2s all;
  padding: 10px 16px;
}


/* on focus no background change */
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  background-color: #2c2a2a;
  border-color: #e3c226 !important;
}

.quote-form textarea {
  min-height: 134.15px !important;
}


.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg width='16' height='9' viewBox='0 0 16 9' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1.02881 1.87109L4.63992 6.04201C6.48603 8.48079 8.57158 8.48079 10.4177 6.04201L14.0288 1.87109' stroke='white' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  background-size: 14px;
  padding-right: calc(16px * 2);
}

.quote-form input::placeholder,
.quote-form select::placeholder,
.quote-form textarea::placeholder,
.quote-form select {
  color: #d3d3d3 !important;
}

.quote-form select option {
  /* yellow highlight color */
  cursor: pointer;
  color: #fff !important;
  /* text color on selected option */
}

.quote-form .row {
  display: flex;
  gap: 10px;
}

.upload-btn {
  display: inline-block;
  border: 1px dashed #e3c226;
  color: #e3c226;
  text-align: center;
  padding: 10px;
  cursor: pointer;
}

.quote-form button span {
  font-weight: 500;
}

.footer .hfe-menu-item {
  font-weight: 400 !important;
}

.service-card-footer {
  opacity: 0;
  margin-top: -30px;
  transition: 0.2s;
}

.service-card:hover .service-card-footer {
  opacity: 1;
  margin-top: 10px;
}

.swiper-testimonial {
  /* calc(Pagination height + remaining design gap) */
  padding-bottom: calc(29.69px + 24.82px) !important;
}


.swiper-pagination-bullet {
  width: 12px !important;
  border-radius: 12px !important;
  height: 12px !important;
  transition: all 0.2s;
  background-color: #aaaaaa !important;
}

.swiper-pagination-bullet-active {
  width: 33px !important;
  background-color: #e3c226 !important;
}

.swiper-slide:has(.testimonial-slide) {
  height: auto !important;
}

.swiper-pagination {
  bottom: 0 !important;
}

.testimonial-slide {
  background-color: #4f4f4e;
  padding: 22px 26px;
  border: 1px solid #626261;
  display: flex;
  height: 100%;
  flex-direction: column;
  grid-gap: 16px;
  justify-content: space-between;
}

/* Stars Styling */
.stars {
  margin-bottom: 15px;
  display: flex;
  gap: 5px;
  /* Stars ke beech thoda gap */
}

.stars svg {
  /* SVG size ko manage karne ke liye */
  width: 24px;
  height: 24px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Title/Name Styling */
.testimonial-title {
  color: #fff !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  margin-bottom: 0 !important;
}

/* Logo Image Styling (Xtreme PDR Logo) */
.logo-image {
  object-fit: contain !important;
  max-width: 74px !important;
  height: auto !important;
}

.review-text {
  font-weight: 300;
  color: #dcdcdc;
  font-size: 14px;
}

.posted-on {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.posted-on span {
  font-size: 14px;
  color: #FFFFFF80;
}

.platform-logo {
  max-height: 25px;
  width: auto;
}

.swiper-button-prev,
.swiper-button-next {
  color: #FFC107;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: #ffffff;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: #FFC107;
  opacity: 1;
}

.our-craft-slider .swiper-slide {
  margin-right: 20px;
  /* slides ke beech space */
}


.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* ---- General Layout ---- */
.wpforms-form .wpforms-field-container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0px 20px !important;
  max-width: 950px !important;
  margin: 0 auto !important;
}

/* ---- Make Message Field Full Width ---- */
.wpforms-field-textarea {
  grid-column: 1 / -1 !important;
}

.wpforms-field-label {
  margin-bottom: 2px !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  font-family: "Poppins", sans-serif !important;
  color: #fff !important;

}

/* ---- Input Styling ---- */
.wpforms-render-modern input,
.wpforms-render-modern textarea,
.wpforms-render-modern select {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
  max-width: 100% !important;
  border-radius: 4px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ---- Placeholder Styling ---- */
.wpforms-render-modern input::placeholder,
.wpforms-render-modern textarea::placeholder {
  color: #bfbfbf !important;
}

.wpforms-error {
  margin-top: 4px !important;
  color: #ff7d7d !important;
}

/* ---- Submit Button ---- */
.wpforms-required-label {
  display: none !important;
}

.wpforms-submit {
  min-width: 167px !important;
  margin-inline: auto !important;
}

.wpforms-submit:after {
  content: "Submit";
  z-index: 1;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .wpforms-submit:hover {
  background-color: #c9aa1d !important;
} */

/* ---- Responsive: Stack fields on mobile ---- */
@media (max-width: 768px) {
  .wpforms-form .wpforms-field-container {
    grid-template-columns: 1fr !important;
  }
}



/* Responsive */

@media (max-width: 1024px) {
  .quote-section {
    background-image: none !important;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    height: 50px;
  }

}

@media (max-width: 768px) {
  .quote-form .row {
    flex-direction: column;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    min-height: 45px;
    height: 45px;
  }
}

@media (max-width: 500px) {
  .about-car {
    background-size: 80% !important;
    padding-bottom: 0px !important;
  }
}