/* Weldera Landing Page Styles */

:root {
  --navy: #171649;
  --navy-dark: #10373B;
  --purple: #B5A8E3;
  --purple-light: #DCD7F9;
  --white: #ffffff;
  --text-dark: #2d2d2d;
  --text-gray: #666666;

  /* Breakpoint references (for documentation/JS) */
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

section h2 {
  color: var(--navy);
}

.page-wrapper {
  max-width: 100%;
}

.weldera-page #page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Header */
/* .weldera-header {
  background: var(--navy);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
} */

.weldera-header {
  background: rgba(30, 31, 62, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.weldera-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .weldera-logo {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
} */

.weldera-logo {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 10px;
}

.weldera-logo img {
  min-width: 125px;
  width: auto;
  display: block;
}

/* Footer Logo - with protection zone */
.weldera-footer-about {
  padding: 10px 0;
}

/* Footer logo */
.weldera-logo-footer {
  min-width: 125px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  padding: 10px;
}

/* Ensure no elements interfere with logo protection zone */
.weldera-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.weldera-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.weldera-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}

.weldera-nav a:hover {
  color: var(--purple);
}

.weldera-cta-button {
  background: var(--purple);
  color: var(--navy);
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.weldera-cta-button:hover {
  background: var(--white);
}

/* Hero Section */
/* .weldera-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.weldera-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path d="M0,400 Q300,300 600,400 T1200,400 L1200,800 L0,800 Z" fill="rgba(166,163,216,0.05)"/></svg>') no-repeat center bottom;
  background-size: cover;
  opacity: 0.3;
} */

.weldera-hero {
  background-image: url('../images/DSC_4650.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.weldera-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 31, 62, 0.85) 0%, rgba(22, 23, 41, 0.9) 100%);
  z-index: 0;
}

.weldera-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.weldera-hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.weldera-hero h1 .highlight {
  color: var(--purple);
}

.weldera-hero p {
  font-size: 20px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.weldera-hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.weldera-button {
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.weldera-button-primary {
  background: var(--purple);
  color: var(--navy);
}

.weldera-button-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.weldera-button-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.weldera-button-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

/* Services Grid - FIXED FOR VIEW OUTPUT */
.weldera-services-grid.weldera-hero-services {
  width: 100%;
  margin-top: 40px;
}

.weldera-hero-services .views-element-container {
  width: 100%;
  display: block;
}

.weldera-hero-services .views-element-container > div {
  display: grid;
  /* gap: 20px; */
}

/* Desktop - All in one row */
@media (min-width: 768px) {
  .weldera-hero-services .views-element-container > div {
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--purple);
    border-radius: 12px;
  }
}

/* Tablet and Mobile - Stack vertically */
@media (max-width: 767px) {
  .weldera-hero-services .views-element-container > div {
    grid-template-columns: 1fr;
  }
}

.weldera-service-item,
.weldera-hero-services .views-row {
  /* background: rgba(255, 255, 255, 0.1); */
  padding: 30px 20px;
  text-align: center;
  /* border-radius: 12px; */
  transition: all 0.3s;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  min-height: 100px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--purple);
}

/* Remove border from last item */
.weldera-service-item:last-child,
.weldera-hero-services .views-row:last-child {
  border-right: none;
}

/* Restore border on last item at 768px and below */
@media (max-width: 768px) {
  .weldera-service-item:last-child,
  .weldera-hero-services .views-row:last-child {
    border-right: 1px solid var(--purple);
  }
}

/* Bottom-to-top fill effect - ONLY for weldera-service-item */
.weldera-service-item {
  position: relative;
  overflow: hidden;
}

.weldera-service-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(166, 163, 216, 0.2);
  transition: height 0.3s ease-in-out;
  z-index: 0;
}

.weldera-service-item:hover::before {
  height: 100%;
}

/* Simple hover for views-row */
.weldera-hero-services .views-row:hover {
  background: rgba(166, 163, 216, 0.2);
}

/* Make sure text stays above the background */
.weldera-service-item h3,
.weldera-service-item a,
.weldera-hero-services .views-row a {
  position: relative;
  z-index: 1;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  margin: 0;
}

.weldera-service-item h3,
.weldera-service-item a,
.weldera-hero-services .views-row a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  margin: 0;
}

/* Services Section */
.weldera-services {
  background: var(--purple-light);
  padding: 80px 20px;
}

.weldera-services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.weldera-services h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.weldera-services .subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 18px;
  margin-bottom: 60px;
}

.weldera-services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.weldera-service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.weldera-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.weldera-service-icon {
  width: 60px;
  height: 60px;
  background: var(--purple-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--purple);
  font-size: 28px;
}

.weldera-service-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--navy);
}

.weldera-service-card p {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.weldera-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.weldera-tag {
  background: var(--purple-light);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* Stats Section */
.weldera-stats {
  background: var(--white);
  padding: 80px 20px;
}

.weldera-stats .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.weldera-stats-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.weldera-stats-content h2 .highlight {
  color: var(--purple);
}

.weldera-stats-content p {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.weldera-certifications {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.weldera-cert-badge {
  background: var(--purple-light);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}

.weldera-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.weldera-stat-card {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}

.weldera-stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(166, 163, 216, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--purple);
  font-size: 24px;
}

.weldera-stat-card h3 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.weldera-stat-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

/* References Section */
.weldera-references {
  background: var(--white);
  padding: 80px 20px;
}

.weldera-references .container {
  max-width: 1200px;
  margin: 0 auto;
}

.weldera-references h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.weldera-references .subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 60px;
}

.weldera-references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.weldera-reference-card {
  background: var(--white);
  border: 2px solid var(--purple-light);
  padding: 40px;
  border-radius: 16px;
  position: relative;
}

.weldera-quote-icon {
  width: 50px;
  height: 50px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 20px;
}

.weldera-reference-card blockquote {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 25px;
  line-height: 1.8;
}

.weldera-reference-author h4 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.weldera-reference-author p {
  color: var(--text-gray);
  font-size: 14px;
}

.weldera-reference-company {
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
}

/* Contact Section */
.weldera-contact {
  background: var(--purple-light);
  padding: 80px 20px;
  position: relative;
  padding-bottom: 140px;
}

.weldera-contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 100px;
  background-image: url('../images/wave-footer.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  pointer-events: none;
  z-index: 1;
}

.weldera-contact .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.weldera-contact h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.weldera-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.weldera-form-group {
  display: flex;
  flex-direction: column;
}

.weldera-form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

.weldera-form-group input,
.weldera-form-group textarea {
  padding: 15px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: var(--white);
  transition: all 0.3s;
}

.weldera-form-group input:focus,
.weldera-form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
}

.weldera-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.weldera-submit-button {
  background: var(--purple);
  color: var(--navy);
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}

.weldera-submit-button:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.weldera-contact-info {
  background: var(--navy);
  padding: 50px;
  border-radius: 16px;
  color: var(--white);
}

.weldera-contact-info h3 {
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--purple-light);
}

.weldera-contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
}

.weldera-contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(166, 163, 216, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
  font-size: 20px;
}

.weldera-contact-details h4 {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--purple);
}

.weldera-contact-details p {
  /* color: rgba(255, 255, 255, 0.8); */
  line-height: 1.6;
}

/* Footer */
.weldera-footer {
  background: var(--white);
  color: var(--navy);
  padding: 60px 20px 30px;
  margin-top: -50px;
  position: relative;
  z-index: 0;
}

.weldera-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.weldera-footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.weldera-footer-about p {
  /* color: rgba(255, 255, 255, 0.7); */
  line-height: 1.8;
  margin-top: 20px;
}

.weldera-footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.weldera-footer-links ul {
  list-style: none;
}

.weldera-footer-links li {
  margin-bottom: 12px;
}

.weldera-footer-links a {
  color: var(--navy-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.weldera-footer-links a:hover {
  color: var(--navy);
}

.weldera-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.weldera-footer-bottom p {
  font-size: 14px;
}

.weldera-footer-bottom a {
  color: var(--text-dark);
}

/* Responsive - Large (below 992px) */
@media (max-width: 991px) {
  .weldera-header .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .weldera-nav {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }

  .weldera-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .weldera-hero h1 {
    font-size: 38px;
  }

  .weldera-stats .container,
  .weldera-contact .container,
  .weldera-footer-content {
    grid-template-columns: 1fr;
  }

  .weldera-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive - Medium (below 768px) */
@media (max-width: 767px) {
  /* Button Responsive Styles */
  .weldera-button {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  .weldera-hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .weldera-cta-button {
    padding: 8px 20px;
    font-size: 14px;
  }

  /* Form Elements Responsive Styles */
  .weldera-form-group input,
  .weldera-form-group textarea {
    padding: 12px;
    font-size: 16px; /* Prevents iOS zoom */
  }

  .weldera-contact-form {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Hero Services Mobile - add border, radius, remove fixed height */
  .weldera-service-item,
  .weldera-hero-services .views-row {
    border: 1px solid var(--purple);
    border-radius: 12px;
    height: auto;
    min-height: auto;
  }
}

/* ================================
   TAXONOMY TERM PAGES - SERVICES
   ================================ */

.taxonomy-term--services {
  width: 100%;
}

/* Hero Section with Image Background */
.term-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
}

.term-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 31, 62, 0.85) 0%, rgba(22, 23, 41, 0.9) 100%);
  z-index: 0;
}

.term-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.term-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

/* Description Section */
.term-description-section {
  background: var(--white);
  padding: 80px 20px;
}

.term-description-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.term-description-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
}

.term-description-content p {
  margin-bottom: 20px;
}

.term-description-content strong {
  color: var(--navy);
  font-weight: 600;
}

/* Contact Form Section */
.term-contact-section {
  background: var(--purple);
  padding: 80px 20px;
}

.term-contact-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.term-contact-wrapper {
  text-align: center;
}

.term-contact-wrapper h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.term-contact-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 50px;
}

.term-contact-section .weldera-contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.term-contact-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.term-contact-section .weldera-form-group {
  display: flex;
  flex-direction: column;
}

.term-contact-section .weldera-form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 14px;
}

.term-contact-section .weldera-form-group input,
.term-contact-section .weldera-form-group textarea {
  padding: 15px;
  border: 2px solid #e8e4f5;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: var(--white);
  transition: all 0.3s;
}

.term-contact-section .weldera-form-group input:focus,
.term-contact-section .weldera-form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(166, 163, 216, 0.1);
}

.term-contact-section .weldera-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.term-contact-section .weldera-submit-button {
  background: var(--purple);
  color: var(--white);
  padding: 15px 50px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
  width: 100%;
}

.term-contact-section .weldera-submit-button:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(30, 31, 62, 0.3);
}

/* Responsive Design - Tablet */
@media (max-width: 767px) {
  .term-hero {
    min-height: 300px;
    padding: 80px 20px;
  }

  .term-title {
    font-size: 38px;
  }

  .term-description-section {
    padding: 60px 20px;
  }

  .term-description-content {
    font-size: 16px;
  }

  .term-contact-section {
    padding: 60px 20px;
  }

  .term-contact-wrapper h2 {
    font-size: 32px;
  }

  .term-contact-section .weldera-contact-form {
    padding: 40px 30px;
  }

  .term-contact-section .form-row {
    grid-template-columns: 1fr;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 479px) {
  .term-hero {
    min-height: 250px;
    padding: 60px 15px;
  }

  .term-title {
    font-size: 28px;
  }

  .term-description-section {
    padding: 40px 15px;
  }

  .term-contact-section {
    padding: 40px 15px;
  }

  .term-contact-wrapper h2 {
    font-size: 26px;
  }

  .term-contact-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .term-contact-section .weldera-contact-form {
    padding: 30px 20px;
  }

  .term-contact-section .weldera-submit-button {
    padding: 12px 30px;
    font-size: 15px;
  }
}

/* Hide field label "Image" */
.term-hero + * .field--name-field-image .field__label {
  display: none;
}

/* Updated Hero Background */
.term-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  background: var(--navy);
}

.term-hero.has-image {
  background: transparent;
}

.term-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Hide the image field display */
.taxonomy-term--services .field--name-field-service-image {
  display: none;
}

/* ================================
   HAMBURGER MENU TOGGLE BUTTON
   ================================ */
.weldera-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

/* Hamburger animation when active */
.weldera-nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.weldera-nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.weldera-nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation (500px and below) */
@media (max-width: 500px) {
  .weldera-nav-toggle {
    display: block;
    order: 1;  /* Move hamburger to left */
  }

  .weldera-logo {
    order: 2;  /* Move logo to right */
  }

  .weldera-cta-button {
    display: none;
  }

  .weldera-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(30, 31, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .weldera-nav.active {
    display: block;
  }

  .weldera-nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .weldera-header .container {
    position: relative;
    justify-content: space-between;
  }

  /* Remove container padding on narrow screens */
  .container {
    padding-inline: 0;
  }

  .weldera-contact-icon {
    display: none;
  }
}

/* Narrow Mobile (480px and below) - Fix card overflow */
@media (max-width: 480px) {
  .weldera-services-cards {
    grid-template-columns: 1fr;
  }

  .weldera-references-grid {
    grid-template-columns: 1fr;
  }
}

/* Narrow Mobile (330px and below) - Stats section padding */
@media (max-width: 330px) {
  .weldera-stats {
    padding: 80px 0;
  }

  .weldera-stats > .container {
    padding: 0 10px;
  }

  .weldera-certifications {
    flex-direction: column;
  }
}

/* Very Narrow Mobile (320px and below) */
@media (max-width: 320px) {
  .weldera-contact-icon {
    display: none;
  }

  .weldera-contact-info {
    padding: 30px 20px;
  }

  .weldera-contact-item {
    gap: 10px;
  }
}

/* Extra Narrow Mobile (250px and below) */
@media (max-width: 250px) {
  .weldera-header > .container {
    flex-wrap: nowrap;
  }
}
