/* Services Tabs Section */
.services-tabs-section {
  padding: 70px 0;
  background-color: #f5f5f5;
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tabs-header {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  border-bottom: 2px solid #e0e0e0;
  justify-content: center;
}

.tab-button {
  background: #f5f5f5;
  border: none;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px 8px 0 0;
}

.tab-icon {
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.tab-icon.material-icons {
  font-size: 20px;
  vertical-align: middle;
}

.tab-button:hover {
  background: #e8e8e8;
  color: #0e5551;
}

.tab-button.active {
  color: #fff !important;
  background: linear-gradient(135deg, #0e5551 0%, #0e5551 100%);
  border-bottom-color: #bea47b;
  box-shadow: 0 4px 8px rgba(14, 85, 81, 0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.service-item {
  margin-bottom: 60px;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item-title {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
}

.service-item-subtitle {
  font-size: 20px;
  color: #daaa7f;
  font-weight: 500;
  margin-bottom: 20px;
  font-style: italic;
}

.service-item p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-features {
  margin-top: 30px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.service-features p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}

.service-features ul {
  list-style: none;
  padding: 0;
}

.service-features ul li {
  font-size: 16px;
  line-height: 1.8;
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  color: #fff;
}

.service-features ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #daaa7f;
  font-size: 24px;
}

/* Manufacturer Content */
.manufacturer-content {
  margin-top: 50px;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.manufacturer-title {
  color: #0e5551;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.manufacturer-description {
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.manufacturer-services-list {
  margin-bottom: 30px;
}

.manufacturer-services-title {
  color: #0e5551;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.manufacturer-services-list ul {
  list-style: none;
  padding: 0;
}

.manufacturer-services-list ul li {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
}

.manufacturer-services-list ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #bea47b;
  font-size: 24px;
  font-weight: bold;
}

.manufacturer-contact {
  padding-top: 25px;
  border-top: 1px solid #e0e0e0;
}

.manufacturer-contact p {
  color: #555;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.manufacturer-contact p:last-child {
  margin-bottom: 0;
}

.manufacturer-contact a {
  color: #0e5551;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.manufacturer-contact a:hover {
  color: #bea47b;
  text-decoration: underline;
}

/* Intro Services Section */
.intro-services-section {
  padding: 70px 0;
}

.intro-services-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.intro-services-content .section-title {
  color: #0e5551;
  margin-bottom: 25px;
}

.intro-services-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

/* Hero Section */
.services-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 550px;
  background: linear-gradient(90deg, rgb(14 85 81) 0%, rgb(14 85 81 / 85%) 15%, rgb(14 85 81 / 0%) 35%, rgba(14, 85, 81, 0) 55%),
    url("../assets/images/Fairservice_11.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Service Cards Grid */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: #0e5551;
  line-height: 1;
  display: block;
}

.service-card-icon .material-icons {
  font-size: 48px;
  color: #0e5551;
}

.service-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #0e5551;
  margin-bottom: 15px;
}

.service-card-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Detailed Services Wrapper */
.detailed-services-wrapper {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 2px solid #e0e0e0;
}

.detailed-section-title {
  color: #0e5551;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.service-detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #bea47b;
}

.service-detail-card:last-child {
  margin-bottom: 0;
}

.service-detail-title {
  color: #0e5551;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-detail-subtitle {
  color: #bea47b;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  font-style: italic;
}

.service-detail-text {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.service-detail-features {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.features-title {
  color: #0e5551;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #bea47b;
  font-size: 18px;
  font-weight: bold;
  top: 8px;
  width: 20px;
  display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .tabs-header {
    flex-direction: column;
    gap: 10px;
    border-bottom: none;
    align-items: center;
  }

  .tab-button {
    width: auto;
    min-width: 200px;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    border-left: 3px solid transparent;
    margin-bottom: 0;
    border-radius: 8px;
  }

  .tab-button.active {
    border-bottom-color: #bea47b;
    border-left-color: #0e5551;
  }

  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card-item {
    padding: 25px;
  }

  .service-card-title {
    font-size: 20px;
  }

  .manufacturer-content {
    margin-top: 40px;
    padding: 30px;
  }

  .manufacturer-title {
    font-size: 24px;
  }

  .detailed-services-wrapper {
    margin-top: 50px;
    padding-top: 40px;
  }

  .detailed-section-title {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .service-detail-card {
    padding: 30px;
    margin-bottom: 25px;
  }

  .service-detail-title {
    font-size: 22px;
  }

  .service-detail-subtitle {
    font-size: 15px;
  }

  .service-detail-text {
    font-size: 14px;
  }

  .service-detail-features {
    padding: 18px;
  }

  .features-title {
    font-size: 15px;
  }

  .features-list li {
    font-size: 14px;
    padding-left: 26px;
  }

  .features-list li::before {
    font-size: 16px;
    top: 7px;
    width: 18px;
  }
}

@media (max-width: 768px) {
  .services-tabs-section {
    padding: 50px 0;
  }

  .tabs-container {
    padding: 0 15px;
  }

  .tabs-header {
    flex-direction: column;
    align-items: center;
  }

  .tab-button {
    padding: 12px 30px;
    font-size: 18px;
    width: auto;
    min-width: 180px;
  }

  .service-item {
    margin-bottom: 40px;
  }

  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card-item {
    padding: 20px;
  }

  .service-card-icon {
    font-size: 40px;
  }

  .service-card-title {
    font-size: 18px;
  }

  .service-card-desc {
    font-size: 14px;
  }

  .manufacturer-content {
    margin-top: 30px;
    padding: 25px;
  }

  .manufacturer-title {
    font-size: 22px;
  }

  .manufacturer-description {
    font-size: 15px;
  }

  .manufacturer-services-list ul li {
    font-size: 14px;
  }

  .manufacturer-contact p {
    font-size: 15px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .services-hero {
    height: 420px;
    background: url("../assets/images/Fairservice_11.webp");
    background-size: cover;
    background-position: center;
  }

  .detailed-services-wrapper {
    margin-top: 40px;
    padding-top: 35px;
  }

  .detailed-section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .service-detail-card {
    padding: 25px;
    margin-bottom: 25px;
  }

  .service-detail-title {
    font-size: 20px;
  }

  .service-detail-subtitle {
    font-size: 14px;
  }

  .service-detail-text {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .service-detail-features {
    padding: 18px;
  }

  .features-title {
    font-size: 14px;
  }

  .features-list li {
    font-size: 13px;
    padding: 6px 0;
    padding-left: 24px;
    line-height: 1.6;
  }

  .features-list li::before {
    font-size: 15px;
    top: 5px;
    width: 16px;
  }

  .detailed-services-section .service-item p {
    font-size: 15px;
  }

  .detailed-services-section .service-features {
    padding: 20px;
  }

  .detailed-services-section .service-features p {
    font-size: 16px;
  }

  .detailed-services-section .service-features ul li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .services-tabs-section {
    padding: 40px 0;
  }

  .tab-button {
    padding: 10px 20px;
    font-size: 16px;
    min-width: 160px;
  }

  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card-item {
    padding: 20px;
  }

  .service-card-icon {
    font-size: 36px;
  }

  .service-card-title {
    font-size: 16px;
  }

  .service-card-desc {
    font-size: 13px;
  }

  .manufacturer-content {
    margin-top: 30px;
    padding: 20px;
  }

  .manufacturer-title {
    font-size: 20px;
  }

  .manufacturer-description {
    font-size: 14px;
  }

  .manufacturer-services-title {
    font-size: 16px;
  }

  .manufacturer-services-list ul li {
    font-size: 13px;
  }

  .manufacturer-contact p {
    font-size: 14px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .detailed-services-wrapper {
    margin-top: 35px;
    padding-top: 30px;
  }

  .detailed-section-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .service-detail-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .service-detail-title {
    font-size: 18px;
  }

  .service-detail-subtitle {
    font-size: 13px;
  }

  .service-detail-text {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .service-detail-features {
    padding: 15px;
  }

  .features-title {
    font-size: 13px;
  }

  .features-list li {
    font-size: 12px;
    padding: 5px 0;
    padding-left: 22px;
    line-height: 1.5;
  }

  .features-list li::before {
    font-size: 14px;
    top: 4px;
    width: 14px;
  }

  .detailed-services-section .service-features {
    padding: 15px;
  }

  .detailed-services-section .service-features p {
    font-size: 15px;
  }

  .detailed-services-section .service-features ul li {
    font-size: 13px;
  }
}
