@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary: #52504e;
  /* Safety Industrial Orange */
  --primary-dark: #252525;
  --bg-color: #f8f9fa;
  /* Clean light gray */
  --bg-color-alt: #ffffff;
  --text-dark: #444547;
  /* Grey from user request */
  --text-muted: #6c757d;
  --navy: #0c2b64;
  /* Blue from user request */
  --border-radius: 20px;
  /* Professional sharp-subtle edges */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px rgba(12, 43, 100, 0.06);
  --shadow-hover: 0 15px 45px rgba(12, 43, 100, 0.12);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

a {
  text-decoration: none;
  color: var(--navy);
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(12, 43, 100, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.03);
}

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

nav a {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

nav a.active::after,
nav a:hover::after {
  width: 100%;
}

nav a.active,
nav a:hover {
  color: var(--primary);
}

/* Hero Section Slider */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(12, 43, 100, 0.95) 0%, rgba(12, 43, 100, 0.6) 60%, rgba(12, 43, 100, 0.2) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons .btn-secondary {
  color: #fff;
  border-color: #fff;
}

.hero-buttons .btn-secondary:hover {
  background: #fff;
  color: var(--navy);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background: var(--primary);
  transform: scale(1.2);
}

/* Glassmorphism containers */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.hero-content.glass {
  background: rgba(12, 43, 100, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Page Headers (About/Contact/Admin) */
.page-header {
  padding: 160px 5% 90px;
  background: var(--navy);
  text-align: center;
  color: #fff;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
}

.page-header h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.page-header h1 span {
  color: var(--primary);
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* Sections */
section {
  padding: 90px 5%;
}

.bg-alt {
  background-color: var(--bg-color-alt);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title span {
  color: var(--primary);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 25px;
}

.about-text h2::after {
  left: 0;
  transform: none;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-img {
  width: 100%;
  border-left: 6px solid var(--primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Services / Divisions Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(12, 43, 100, 0.95) 0%, rgba(12, 43, 100, 0.6) 50%, rgba(12, 43, 100, 0.2) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(12, 43, 100, 0.98) 0%, rgba(12, 43, 100, 0.8) 60%, rgba(12, 43, 100, 0.5) 100%);
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #fff;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.service-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.5;
}

.sub-services {
  display: none;
}

/* Value Cards (About Us) */
.value-card {
  background: var(--bg-color-alt);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-top: 4px solid var(--primary);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 102, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.value-card:hover .icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--navy);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(12, 43, 100, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.modal-content {
  background: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  color: var(--text-muted);
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.close-modal:hover {
  color: var(--primary);
}

.modal-list ul {
  list-style: none;
  padding-left: 0;
}

.modal-list li {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  position: relative;
  padding-left: 25px;
}

.modal-list li::before {
  content: '\2192'; /* Right arrow */
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.btn-view-more {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-view-more:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Industries Section */
.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.industry-pill {
  padding: 12px 22px;
  background: #fff;
  border-left: 3px solid var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(12, 43, 100, 0.03);
  transition: var(--transition);
}

.industry-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(12, 43, 100, 0.08);
  border-left-color: var(--navy);
}

/* Glassmorphism utility */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
  border-radius: var(--border-radius);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 14px;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: var(--navy);
  color: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  border-top: 4px solid var(--primary);
}

.contact-info h3,
.contact-info h4 {
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item .icon {
  font-size: 1.3rem;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 4px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Industries Section */
.industries {
  padding: 80px 5%;
  background: #fdfdfd;
}

.industries-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-pill {
  background: rgba(12, 43, 100, 0.04);
  border: 1px solid rgba(12, 43, 100, 0.1);
  color: var(--navy);
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.05rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.industry-pill:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(12, 43, 100, 0.15);
  border-color: var(--navy);
}

/* Footer */
footer {
  background: #091e46;
  /* Slightly darker variant of var(--navy) */
  padding: 50px 5% 30px;
  text-align: center;
  color: #fff;
  border-top: 4px solid var(--primary);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
  margin-bottom: 25px;
}

.footer-logo {
  height: 28px;
  /* Reduced & sleek */
  width: auto;
  opacity: 0.95;
  transition: var(--transition);
}

.footer-logo:hover {
  transform: scale(1.03);
}

.footer-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
}

/* Animations */
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero::before {
    background: rgba(12, 43, 100, 0.85);
  }

  .hero-bg {
    width: 100%;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & HAMBURGER MENU SYSTEM
   ========================================================================== */

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: rgba(12, 43, 100, 0.06);
  border: 1px solid rgba(12, 43, 100, 0.12);
  color: var(--navy);
  font-size: 1.35rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2002;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: center;
  justify-content: center;
}

.hamburger:hover {
  background: rgba(12, 43, 100, 0.12);
}

.hamburger.active {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
}

/* Tablet & Mobile Screens (<= 992px) */
@media (max-width: 992px) {
  header {
    padding: 12px 5%;
    height: 72px;
  }

  .hero::before {
    background: rgba(12, 43, 100, 0.88);
  }

  .hero-bg {
    width: 100%;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
    max-width: 90%;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-grid {
    gap: 35px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  /* Prevent accidental horizontal page overflow */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    height: 68px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .logo-img {
    height: 32px;
    max-width: 165px;
  }

  .hamburger {
    display: flex;
  }

  /* Slide-Out Mobile Navigation Drawer */
  #nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #07193b 0%, #0c2b64 100%);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 85px 24px 35px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
  }

  #nav-menu.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    padding: 13px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
  }

  nav a:hover,
  nav a.active {
    background: rgba(255, 102, 0, 0.16);
    color: var(--primary);
    border-color: rgba(255, 102, 0, 0.3);
    padding-left: 22px;
  }

  /* Main & Sections Spacing */
  section {
    padding: 55px 5%;
  }

  .section-title {
    font-size: 1.85rem;
    margin-bottom: 35px;
  }

  .page-header {
    padding: 115px 5% 45px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem !important;
  }

  /* Hero Section */
  .hero-slide {
    padding: 100px 5% 50px;
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
    display: flex;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.3rem);
    line-height: 1.25;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.92rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-text h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-text p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .about-img {
    max-height: 300px;
    object-fit: cover;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .service-content {
    padding: 24px 20px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.9rem;
  }

  /* Value Cards */
  .value-card {
    padding: 30px 20px;
  }

  /* Industries List */
  .industries-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Contact Page Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-info {
    padding: 26px 20px !important;
  }

  .contact-info h3 {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
  }

  /* Mobile Safari Form Fix */
  .form-control, input, textarea, select {
    font-size: 16px !important;
    padding: 12px 14px;
  }

  /* Footer */
  footer {
    padding: 45px 5% 25px;
  }

  .footer-content {
    flex-direction: column;
    gap: 28px;
    text-align: left;
  }

  .footer-logo {
    height: 30px;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  header {
    padding: 8px 4%;
    height: 64px;
  }

  .logo-img {
    height: 28px;
    max-width: 145px;
  }

  .hero-slide {
    padding: 85px 4% 40px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 16px;
    font-size: 0.88rem;
  }
}