.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Overlay semi-transparent pentru contrast mai bun cu textul */
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-section .display-4 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.centrala-card {
  border: none;
  transition: all 0.3s ease;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.centrala-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.centrala-image {
  position: relative;
  overflow: visible;
  min-height: 280px;
  background-color: #f8f9fa;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.centrala-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  background-color: #e9ecef;
  padding: 1rem;
}

.centrala-card:hover .centrala-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.centrala-card:hover .image-overlay {
  opacity: 1;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #6c757d;
  font-size: 3rem;
}

.centrala-content {
  padding: 2rem;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.centrala-main-content {
  flex-grow: 1;
}

.centrala-buttons {
  margin-top: auto;
  padding: 0 2rem 2rem 2rem;
}

.centrala-content .h4 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.centrala-content .text-primary {
  margin-bottom: 1rem;
}

.centrala-content .text-info {
  margin-bottom: 1.5rem;
}

.centrala-description {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.centrala-description li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.centrala-card .d-flex.flex-column {
  display: flex !important;
  flex-direction: column !important;
}

.centrala-buttons .d-flex.flex-column .btn {
  display: inline-block !important;
  margin-bottom: 0.5rem !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.centrala-buttons .d-flex.flex-column .btn:last-child {
  margin-bottom: 0 !important;
}

.whatsapp-btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
  background-color: #25d366;
  border-color: #25d366;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  border-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.rounded-lg {
  border-radius: 20px !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-shadow:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.contact-link {
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.contact-link:hover {
  text-decoration: none;
  opacity: 0.8;
  transform: translateX(5px);
}

.contact-link i {
  transition: transform 0.3s ease;
}

.contact-link:hover i {
  transform: scale(1.1);
}

.text-primary {
  color: #007bff !important;
}

.text-info {
  color: #17a2b8 !important;
}

.btn-outline-primary {
  border: 2px solid #007bff;
  color: #007bff;
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Product sections spacing */
.centrale-section,
.boilere-section {
  padding: 4rem 0;
}

/* Mobile responsiveness for product cards only */
@media (max-width: 768px) {
  .centrala-card {
    margin-bottom: 1.5rem;
    border-radius: 15px;
  }

  .centrala-image {
    min-height: 240px;
    border-radius: 15px 15px 0 0;
  }

  .centrala-image img {
    padding: 0.5rem;
  }

  .centrala-content {
    padding: 1.5rem;
  }

  .centrala-content .h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .centrala-buttons .d-flex.flex-column .btn {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .centrala-buttons {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .centrala-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .centrala-description li {
    margin-bottom: 0.5rem;
  }

  .centrale-section,
  .boilere-section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .centrala-card {
    margin-bottom: 1.25rem;
  }

  .centrala-content {
    padding: 1.25rem;
    padding-bottom: 4px;
  }

  .centrala-buttons .d-flex.flex-column .btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .centrala-buttons {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  .centrale-section,
  .boilere-section {
    padding: 2rem 0;
  }
}

/* Large screens - more breathing room for product cards */
@media (min-width: 1200px) {
  .centrala-card {
    margin-bottom: 2.5rem;
  }

  .centrala-content .h4 {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
  }

  .centrala-description {
    margin-bottom: 2.5rem;
  }

  .centrala-buttons .d-flex.flex-column .btn {
    padding: 1rem 2rem;
  }
}

/* ===================== */
/* Services Section      */
/* ===================== */
.svc-section {
  padding: 5rem 0;
  background: #fff;
}

.svc-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.svc-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bs-secondary, #214462);
  margin-bottom: 0.75rem;
}

.svc-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--bs-primary, #ffaa17);
  margin: 12px auto 0;
  border-radius: 2px;
}

.svc-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin: 0.75rem 0 0;
}

/* Rows */
.svc-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.svc-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.svc-row-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 66.666%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .svc-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-row-2 {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .svc-section {
    padding: 3rem 0;
  }

  .svc-title {
    font-size: 1.75rem;
  }

  .svc-row-3,
  .svc-row-2 {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .svc-row {
    gap: 1rem;
    margin-bottom: 1rem;
  }
}

/* ===================== */
/* Product Sections      */
/* ===================== */
.prod-section {
  padding: 5rem 0;
}

.prod-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.prod-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--bs-secondary, #214462);
  margin: 0;
}

.prod-section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--bs-primary, #ffaa17);
  margin: 12px auto 0;
  border-radius: 2px;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.prod-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eef1f4;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.prod-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.prod-card-img {
  aspect-ratio: 4/3;
  background: #f8f9fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.4s ease;
  background: #fff;
}

.prod-card:hover .prod-card-img img {
  transform: scale(1.04);
}

.prod-card-placeholder {
  color: #ccc;
  font-size: 3rem;
}

.prod-card-body {
  padding: 1.5rem 1.5rem 0.75rem;
  flex: 1;
}

.prod-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bs-secondary, #214462);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.prod-card-code {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bs-primary, #ffaa17);
  background: rgba(255, 170, 23, 0.08);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.prod-card-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prod-card-specs li {
  font-size: 0.85rem;
  color: #6c757d;
  padding: 3px 0;
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.prod-card-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bs-primary, #ffaa17);
}

.prod-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
}

.prod-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.prod-btn-details {
  background: var(--bs-secondary, #214462);
  color: #fff;
}

.prod-btn-details:hover {
  background: #1a3750;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.prod-btn-wa {
  background: #25d366;
  color: #fff;
}

.prod-btn-wa:hover {
  background: #1fb855;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.prod-section-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.prod-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bs-secondary, #214462);
  text-decoration: none;
  padding: 0.75rem 2rem;
  border: 2px solid var(--bs-secondary, #214462);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.prod-view-all:hover {
  background: var(--bs-secondary, #214462);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 68, 98, 0.25);
}

.prod-view-all i {
  transition: transform 0.3s ease;
}

.prod-view-all:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .prod-section {
    padding: 3rem 0;
  }

  .prod-section-title {
    font-size: 1.75rem;
  }

  .prod-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .prod-card-actions {
    flex-direction: column;
  }
}

.product-img {
  background-color: white !important;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: #f8f9fa !important;
  padding: 5rem 0 !important;
}

.why-choose-us h2 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 4rem;
  font-size: 2.5rem;
}

.why-feature-card {
  padding: 3rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid rgba(0, 123, 255, 0.1);
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.why-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: #007bff;
}

.why-feature-card i {
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  display: block;
}

.why-feature-card:hover i {
  transform: scale(1.15);
  color: #0056b3 !important;
}

.why-feature-card h4 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  white-space: nowrap;
  line-height: 1.2;
}

.why-feature-card p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 200px;
  text-align: center;
}

/* Certifications Strip */
.certifications-strip {
  background: var(--bs-secondary, #214462);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.certifications-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 170, 23, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(255, 170, 23, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.certifications-strip-title {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.certifications-strip-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--bs-primary, #ffaa17);
  margin: 14px auto 0;
  border-radius: 2px;
}

.certifications-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.cert-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

.cert-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 170, 23, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.cert-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--bs-primary, #ffaa17);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.35s ease;
  background: rgba(255, 170, 23, 0.08);
}

.cert-card:hover .cert-icon-ring {
  background: var(--bs-primary, #ffaa17);
  box-shadow: 0 0 24px rgba(255, 170, 23, 0.3);
}

.cert-icon-ring i {
  font-size: 1.6rem;
  color: var(--bs-primary, #ffaa17);
  transition: color 0.35s ease;
}

.cert-card:hover .cert-icon-ring i {
  color: var(--bs-secondary, #214462);
}

.cert-name {
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.cert-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .certifications-strip {
    padding: 3.5rem 0;
  }

  .certifications-strip-title {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .certifications-strip-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .cert-card {
    padding: 2rem 1.5rem;
  }
}

/* Testimonials Section */
.testimonials-section {
  background: white;
}

.testimonials-section h2 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 3rem;
}

#trustindex-widget {
  background: transparent;
  border-radius: 15px;
  padding: 1rem;
}

/* Responsive adjustments for Why Choose Us */
@media (max-width: 768px) {
  .why-choose-us {
    padding: 3rem 0 !important;
  }

  .why-choose-us h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

  .why-feature-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    min-height: 250px;
  }

  .why-feature-card h4 {
    font-size: 1.3rem;
    white-space: normal;
    line-height: 1.3;
  }

  .why-feature-card i {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem;
  }

  .why-feature-card p {
    font-size: 0.95rem;
    max-width: 250px;
  }
}

@media (max-width: 576px) {
  .why-choose-us {
    padding: 2rem 0 !important;
  }

  .why-choose-us h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .why-feature-card {
    padding: 1.5rem 1rem;
    min-height: 220px;
  }

  .why-feature-card h4 {
    font-size: 1.2rem;
  }

  .why-feature-card i {
    font-size: 2rem !important;
    margin-bottom: 1rem;
  }

  .why-feature-card p {
    font-size: 0.9rem;
    max-width: none;
  }
}


.contact-btn {
  background-color: transparent;
  color: white !important;
  border: none;
}

.contact-btn:hover {
  background-color: transparent;
  color: white !important;
  border: none;
}

.color-yellow {
  color: #ffc107 !important;
}

.color-orange {
  color: #ffa500 !important;
}

.color-red {
  color: #ff0000 !important;
}

.color-grey {
  color: #6c757d !important;
}

.color-blue {
  color: #007bff !important;
}
