/* ===== Global ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  scroll-margin-top: 80px;
}

.page-wrapper {
  padding-top: 40px;
}

/* ===== Left Floating Section Navigation ===== */
.side-nav {
  position: fixed;
  top: 140px;
  left: 24px;
  z-index: 1000;
  background: rgba(46, 139, 87, 0.96);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

body.show-side-nav .side-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.side-nav-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  padding: 4px 8px 8px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
  white-space: nowrap;
}

.side-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav-menu a {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #f5f5f5;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}

.side-nav-menu a:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .side-nav {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://industrie.rstheme.com/metallurgy/wp-content/uploads/2024/03/Slider-Image09.jpg')
    center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.92), rgba(74, 168, 117, 0.78));
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.92;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 2px solid #f5f5f5;
  color: #fff;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 14px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    font-size: 16px;
  }
}

/* ===== Shared Section Titles ===== */
.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #27774d;
}

.section-subtitle {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
  font-size: 18px;
  color: #444;
}

/* ===== Pain Points & Solutions ===== */
.pain-solutions-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pain-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(39, 119, 77, 0.15);
}

.pain-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #27774d;
}

.pain-card ul {
  margin: 0;
  padding-left: 20px;
  color: #333;
}

.pain-card ul li {
  margin-bottom: 10px;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(39, 119, 77, 0.25);
}

.pain-cta-box {
  margin-top: 60px;
  text-align: center;
  padding: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pain-cta-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 18px;
  background: #ffffff;
  color: #27774d;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  transition: 0.3s ease;
}

.pain-cta-btn:hover {
  background: #e6f5ec;
}

@media (max-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Core Products ===== */
.core-products {
  padding: 80px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(39, 119, 77, 0.25);
}

.product-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.product-content {
  padding: 25px;
}

.product-title {
  font-size: 22px;
  font-weight: 700;
  color: #27774d;
  margin-bottom: 12px;
}

.product-desc {
  color: #444;
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-btn {
  display: inline-block;
  padding: 12px 22px;
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s ease;
}

.product-btn:hover {
  opacity: 0.88;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: rgba(39, 119, 77, 0.75);
  color: #fff;
  overflow: hidden;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.product-card:hover .overlay {
  height: 100%;
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Applications ===== */
.applications-section {
  padding: 80px 20px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.app-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  background: #eee;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(39, 119, 77, 0.25);
}

.app-card:hover img {
  transform: scale(1.12);
  filter: brightness(0.7);
}

.app-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.9), rgba(74, 168, 117, 0.9));
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s ease;
}

.app-card:hover .app-overlay {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Customer Success Cases ===== */
.case-section {
  padding: 80px 20px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  transition: 0.35s ease;
  background: #eee;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.case-card:hover img {
  transform: scale(1.15);
  filter: brightness(0.7);
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.95), rgba(74, 168, 117, 0.95));
  text-align: left;
  transform: translateY(100%);
  transition: 0.35s ease;
  color: #fff;
}

.case-card:hover .case-overlay {
  transform: translateY(0);
}

.case-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-info {
  font-size: 15px;
  opacity: 0.95;
  line-height: 1.6;
}

.case-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #fff;
  color: #27774d;
  font-weight: 600;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.25s ease;
}

.case-btn:hover {
  background: #f1f1f1;
}

@media (max-width: 992px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Process & Technology ===== */
.process-section {
  padding: 80px 20px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-card {
  position: relative;
  padding: 30px 20px;
  border-radius: 16px;
  background: #f5f5f5;
  transition: 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(39, 119, 77, 0.25);
}

.process-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.process-title {
  font-size: 20px;
  font-weight: 700;
  color: #27774d;
  margin-bottom: 12px;
}

.process-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Why Choose Us ===== */
.trust-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}

.trust-card {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(46, 139, 87, 0.25);
}

.trust-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.trust-title {
  font-size: 18px;
  font-weight: 700;
  color: #27774d;
  margin-bottom: 10px;
}

.trust-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Resources & Support ===== */
.resources-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-items: center;
}

.resource-card {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  width: 100%;
  max-width: 500px;
  text-align: left;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(46, 139, 87, 0.25);
}

.resource-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  margin-right: 15px;
  font-size: 20px;
}

.resource-title {
  font-size: 18px;
  font-weight: 700;
  color: #27774d;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.resource-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.download-btn {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s ease;
}

.download-btn:hover {
  background: linear-gradient(135deg, #4aa875, #2e8b57);
}

.cta-form {
  margin-top: 50px;
  text-align: center;
}

.cta-form input,
.cta-form button {
  padding: 12px 18px;
  margin: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.cta-form button {
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-form button:hover {
  background: linear-gradient(135deg, #4aa875, #2e8b57);
}

@media (max-width: 992px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA Conversion Booster ===== */
.cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  color: #fff;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  min-width: 180px;
}

.cta-proposal {
  background: #fff;
  color: #2e8b57;
}

.cta-proposal:hover {
  background: #f0f0f0;
}

.cta-consult {
  background: #2e8b57;
  color: #fff;
}

.cta-consult:hover {
  background: #246644;
}

.cta-note {
  margin-top: 25px;
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* ===== Landing Footer (independent of WP footer) ===== */
footer#footer {
  background: #2e8b57;
  color: #f5f5f5;
  padding: 60px 20px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.certificates {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.certificates img {
  width: 50px;
  height: auto;
}

.contact-info p {
  margin: 6px 0;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 13px;
  color: #ddd;
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .certificates {
    justify-content: flex-start;
  }
}

/* ===== Go Top Button (bottom-right near footer) ===== */
.go-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, #2e8b57, #4aa875);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.go-top-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 16px;
  line-height: 1;
}

.go-top-btn:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: linear-gradient(135deg, #4aa875, #2e8b57);
}

.go-top-btn:active {
  transform: translateY(2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.go-top-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

body.show-go-top .go-top-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .go-top-btn {
    right: 16px;
    bottom: 16px;
  }
}


