/* Service Hero Section */
.service-hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.12) 100%),
    url('http://krishnamotors.local/wp-content/uploads/2026/05/image-68.png') no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 50px 5%;
  overflow: hidden;
}

.service-hero-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.service-hero-content {
  flex: 1.2;
  color: white;
}

.top-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 15px;
  display: block;
}

.service-hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.24;
  margin-bottom: 12px;
  letter-spacing: 5%;
}

.service-hero-content h1 span {
  color: #008cc9;
}

.service-hero-content p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 500px;
  opacity: 0.9;
}

.service-stats-card {
  flex: 0.8;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  max-width: 300px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon-box {
  width: 50px;
  height: 50px;
  background-color: #f1f8fc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003b53;
  font-size: 22px;
}

.stat-info strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #003b53;
  line-height: 1;
}

.stat-info p {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}
@media screen and (max-width: 992px) {
  .service-hero-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .service-hero-content h1 {
    font-size: 40px;
  }

  .service-hero-content p {
    margin: 0 auto;
  }

  .service-stats-card {
    max-width: 100%;
    width: 100%;
    text-align: left;
  }
}

/* section 2 */
.our-services-section {
  padding: 80px 5%;
  background-color: #ffffff;
}

.services-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: start;
}

.services-left {
  flex: 1;
}

.label-box {
  color: #008cc9;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 10px;
}

.blue-sq {
  width: 8px;
  height: 8px;
  background-color: #008cc9;
  display: block;
}

.section-title-line {
  font-size: 32px;
  font-weight: 800;
  border-bottom: 3px solid #008cc9;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 25px;
}

.section-desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 450px;
}

.learn-more-btn {
  background-color: #008cc9;
  color: white;
  padding: 15px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: 0.3s;
}

.learn-more-btn:hover {
  background-color: #006da0;
}

.services-cards-wrapper {
  flex: 2;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  /* Keeps them aligned to top */
  height: 550px;
}

.service-hover-card {
  flex: 1;
  position: relative;
  background: #004261;
  border-radius: 15px;
  overflow: hidden;
  color: white;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  height: 420px;
  display: flex;
  flex-direction: column;
}

.service-hover-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 230px;
  background: linear-gradient(180deg, rgba(0, 66, 97, 0) 0%, rgba(0, 66, 97, 0.75) 65%, #004261 100%);
  z-index: 1;
}

.service-hover-card:hover {
  height: 480px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-image-top {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.card-image-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0.4px);
}

.card-content-bottom {
  position: relative;
  z-index: 2;
  background-color: transparent;
  padding: 20px 20px;
  margin-top: 0;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hover-icon {
  width: 65px;
  height: 65px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 0;

  opacity: 0;
  max-height: 0;
  transform: scale(0.5);
  overflow: hidden;
  transition: all 0.4s ease;
}

.service-hover-card:hover .hover-icon {
  opacity: 1;
  max-height: 65px;
  margin-bottom: 20px;
  transform: scale(1);
}

.card-content-bottom h3 {
  font-size: 17px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.card-content-bottom p {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
}

@media screen and (max-width: 1024px) {
  .services-container {
    flex-direction: column;
    text-align: center;
  }

  .services-cards-wrapper {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .service-hover-card {
    width: 100%;
    height: auto;
    min-height: 350px;
  }

  .service-hover-card:hover {
    height: auto;
  }

  .hover-icon {
    opacity: 1;
    transform: scale(1);
  }
}


/* section 3 */
.service-process-section {
  background-color: #003b53;
  padding: 100px 5%;
  color: white;
  text-align: center;
}

.process-header {
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.process-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #008cc9;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blue-square {
  width: 8px;
  height: 8px;
  background-color: #008cc9;
}

.process-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.process-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background-color: #008cc9;
}

.process-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #d1d1d1;
  margin-top: 20px;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  flex: 1;
  position: relative;
  padding: 0 15px;
}

.step-circle {
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  color: #003b53;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 30px auto;
  position: relative;
  z-index: 2;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 60%;
  width: 80%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.step-info h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  height: 50px;
}

.step-info p {
  font-size: 14px;
  line-height: 1.6;
  color: #d1d1d1;
}

@media screen and (max-width: 992px) {
  .steps-container {
    flex-direction: column;
    gap: 50px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .step-info h3 {
    height: auto;
  }
}

/* section 4 */
.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header .label-box {
  justify-content: center;
}

.gallery-header .section-title-line {

  font-size: 36px;
  border-bottom-width: 4px;
}

.section-desc.centered-desc {
  max-width: 600px;
  margin: 20px auto 0 auto;
  color: #666;
  line-height: 1.6;
}


.workshop-gallery-section {
  padding: 80px 2%;
  background-color: #fff;
}

.gallery-slider-wrap {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  height: 550px;
  transition: transform 0.5s ease-in-out;
}

[data-slot] {
  position: relative;
  background-color: #eee;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease-out;
}

.gallery-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease-in-out, transform 0.6s ease-out;
}

.col-tall {
  width: 200px;
  height: 400px;
  flex-shrink: 0;
}

.col-wide {
  width: 290px;
  height: 320px;
  flex-shrink: 0;
}

.col-stacked {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 180px;
  height: 380px;
  flex-shrink: 0;
}

.col-stacked .sub-slot {
  flex: 1;
  width: 100%;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  z-index: 10;
}

.gallery-nav-btn.prev {
  left: 10px;
}

.gallery-nav-btn.next {
  right: 10px;
}

@media screen and (max-width: 1024px) {
  .gallery-container {
    justify-content: flex-start;
    /* Left se start hoga */
    padding: 0 20px;
    height: 400px;
  }

  .gallery-header .section-title-line {
    font-size: 28px;
  }

  .section-desc .centered-desc {
    max-width: 90%;
  }

  .gallery-nav-btn {
    display: block;
  }


  .col-tall,
  .col-wide,
  .col-stacked {
    width: calc(100vw - 80px) !important;
    height: 350px !important;
  }

  .col-stacked {
    flex-direction: row;
    width: calc((100vw - 80px) * 2 + 15px) !important;
  }

  .col-stacked .sub-slot {
    width: calc(100vw - 80px);
    flex: 0 0 calc(100vw - 80px);
  }

}


/* section 5 */



/* section 6 */
.faq-section {
  padding: 80px 5%;
}

.faq-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.faq-left {
  flex: 1;
}

.faq-right {
  flex: 1.2;
}

.label-box {
  color: #008cc9;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
}

.blue-sq {
  width: 8px;
  height: 8px;
  background-color: #008cc9;
  display: block;
}

.section-title-line {
  font-size: 32px;
  font-weight: 800;
  border-bottom: 3px solid #008cc9;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 25px;
}

.section-desc {
  color: #666;
  line-height: 1.6;
  max-width: 450px;
}
.faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #333;
}

.faq-icon {
  width: 35px;
  height: 35px;
  background-color: #f1f8fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008cc9;
  font-size: 14px;
  transition: 0.4s;
}

.faq-answer {
  max-height: 0;
  padding: 0 30px;
  transition: all 0.4s ease;
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active {
  background-color: #003b53;
}

.faq-item.active .faq-question {
  color: #ffffff;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 25px;
}

.faq-item.active .faq-icon {
  transform: rotate(0deg);
}

@media screen and (max-width: 992px) {
  .faq-container {
    flex-direction: column;
  }

  .faq-left {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
  }

  .label-box {
    justify-content: center;
  }
}

@media screen and (max-width: 1200px) {
  .service-hero-content h1 {
    font-size: 48px;
  }

  .services-container,
  .faq-container {
    gap: 35px;
  }

  .services-cards-wrapper {
    gap: 16px;
  }

  .gallery-container {
    transform: none;
  }
}

@media screen and (max-width: 768px) {
  .service-hero {
    min-height: auto;
    padding: 130px 6% 70px;
  }

  .service-hero-container {
    gap: 35px;
  }

  .service-hero-content h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  .service-hero-content p {
    font-size: 15px;
  }

  .service-stats-card {
    padding: 28px;
    gap: 22px;
  }

  .stat-info strong {
    font-size: 22px;
  }

  .our-services-section,
  .service-process-section,
  .workshop-gallery-section,
  .faq-section {
    padding: 60px 5%;
  }

  .services-container {
    gap: 35px;
  }

  .services-left,
  .faq-left {
    text-align: center;
  }

  .services-left .label-box,
  .faq-left .label-box {
    justify-content: center;
  }

  .section-title-line,
  .gallery-header .section-title-line,
  .process-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .section-desc,
  .process-desc {
    max-width: 100%;
    font-size: 15px;
  }

  .learn-more-btn {
    padding: 13px 28px;
  }

  .services-cards-wrapper {
    gap: 22px;
  }

  .service-hover-card {
    min-height: 390px;
  }

  .service-hover-card::before {
    height: 230px;
  }

  .card-image-top {
    height: 210px;
  }

  .card-content-bottom {
    justify-content: flex-start;
    padding: 22px;
  }

  .hover-icon {
    opacity: 1;
    max-height: 65px;
    margin-bottom: 18px;
    transform: scale(1);
  }

  .card-content-bottom h3 {
    font-size: 18px;
  }

  .card-content-bottom p {
    font-size: 13px;
  }

  .process-header {
    margin-bottom: 50px;
  }

  .steps-container {
    gap: 38px;
  }

  .process-step {
    padding: 0;
  }

  .step-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .gallery-header {
    margin-bottom: 45px;
  }

  .gallery-slider-wrap {
    max-width: 100%;
  }

  .gallery-container {
    height: 390px;
    padding: 0 10px;
  }

  .col-tall,
  .col-wide,
  .col-stacked {
    width: calc(100vw - 70px) !important;
    height: 350px !important;
  }

  .col-stacked {
    width: calc((100vw - 70px) * 2 + 15px) !important;
  }

  .col-stacked .sub-slot {
    width: calc(100vw - 70px);
    flex-basis: calc(100vw - 70px);
  }

  .gallery-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .gallery-nav-btn.prev {
    left: 8px;
  }

  .gallery-nav-btn.next {
    right: 8px;
  }

  .faq-question {
    padding: 22px 20px;
    gap: 18px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .service-hero {
    padding: 115px 5% 55px;
  }

  .top-tag,
  .label-box,
  .process-label {
    font-size: 12px;
  }

  .service-hero-content h1 {
    font-size: 29px;
  }

  .service-hero-content p,
  .section-desc,
  .process-desc {
    font-size: 14px;
  }

  .service-stats-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .stat-row {
    gap: 15px;
  }

  .stat-icon-box {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }

  .our-services-section,
  .service-process-section,
  .workshop-gallery-section,
  .faq-section {
    padding: 50px 4%;
  }

  .section-title-line,
  .gallery-header .section-title-line,
  .process-title {
    font-size: 25px;
  }

  .services-cards-wrapper {
    gap: 18px;
  }

  .service-hover-card {
    min-height: 370px;
    border-radius: 12px;
  }

  .card-image-top {
    height: 190px;
  }

  .service-hover-card::before {
    height: 215px;
  }

  .card-content-bottom {
    padding: 20px 18px;
  }

  .hover-icon {
    width: 58px;
    height: 58px;
    max-height: 58px;
    font-size: 22px;
  }

  .process-header {
    margin-bottom: 42px;
  }

  .step-circle {
    width: 46px;
    height: 46px;
    font-size: 18px;
    margin-bottom: 22px;
  }

  .gallery-header {
    margin-bottom: 35px;
  }

  .gallery-container {
    height: 360px;
    padding: 0 8px;
  }

  .col-tall,
  .col-wide,
  .col-stacked {
    width: calc(100vw - 58px) !important;
    height: 325px !important;
  }

  .col-stacked {
    width: calc((100vw - 58px) * 2 + 15px) !important;
  }

  .col-stacked .sub-slot {
    width: calc(100vw - 58px);
    flex-basis: calc(100vw - 58px);
  }

  .gallery-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .faq-question {
    padding: 20px 16px;
    font-size: 15px;
  }

  .faq-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 20px;
  }
}
