/* Completely revised split section with proper positioning */

body {  
    font-family: 'Open Sans', sans-serif;  
    background-color: white;  
    color: #04173b;  
    line-height: 1.7; /* Improved readability */  
    overflow-x: hidden; /* Prevent horizontal scroll on small screens */  
}  

.section-image-bg-split {
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 60px;
    z-index: 0;
}

/* Top section - dark blue */
.top-section {
    background-color: #04173b;
    padding: 50px 0;
    width: 100%;
}

/* Bottom section - white */
.bottom-section {
    background-color: white;
    padding: 50px 0;
    width: 100%;
}

/* Common row styling for both sections */
.content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Image container */
.image-container {
    flex: 0 0 40%; /* Takes 40% of the row width as requested */
}

/* Text container */
.text-container {
    flex: 0 0 55%; /* Takes 55% of the row width */
}

/* Image styling */
.section-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Add borders to images */
.top-section .section-image {
    border: 5px solid white;
}

.bottom-section .section-image {
    border: 5px solid #04173b;
}

.color-light{
    color: white;
}

/* Text styling */
.text-container h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.text-container p {
    line-height: 1.6;
}

.text-bottom {
    margin-top: 20px;
}

.color-dark-b{
    color:#04173b;
    font-weight: bold;
}

.color-dark{
    color: #04173b;
}

.color-light-b{
    color: white;
        font-weight: bold; /* Adds boldness to the text */
}

.color-red {
    color:#eb0a29
}

.checkbox-list {  
    list-style-type: none; /* Remove default list styling */  
    padding: 0; /* Remove padding */  
    margin: 10px 0; /* Space above and below the list */  
}  

.checkbox-list li {  
    font-size: 15px; /* Font size for list items */  
    line-height: 1.5; /* Line height for readability */  
    margin: 5px 0; /* Space between list items */ 
}  

.checkbox-list i {  
    margin-right: 10px; /* Space between icon and text */  
    font-size: 20px; /* Icon size */  
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .bottom-section .content-row {
        flex-direction: column; /* Stack on mobile */
    }
    .bottom-section .image-container {
        order: -1; /* This makes the image appear first */
    }
    
    .image-container, .text-container {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .top-section, .bottom-section {
        padding: 30px 0;
    }
}

.bottom-section .content-row {
    flex-direction: row; /* Default row direction */
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 32px; /* space between cards */
    background: #04173b; /* match dark blue background */
    padding: 40px 0;
    flex-wrap: wrap;
}

.custom-card {
    background: #071f3f; /* slightly lighter/darker for effect */
    border-radius: 18px;
    width: 320px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.23);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 0;
    transition: transform 0.2s;
}

.custom-card:hover {
    transform: translateY(-6px) scale(1.02);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
}

.card-title {
    margin-top: 18px;
    font-weight: bold;
    color: #fff;
    font-size: 1.22rem;
    letter-spacing: 1px;
    text-align: center;
}

.contact-div{
     display: flex;
    flex-direction: column;
    align-items: center;
}

.card-desc {
    margin-top: 12px;
    color: #fff;
    font-size: 1rem;
    padding: 0 20px;
    text-align: center;
    min-height: 90px; /* Keeps heights visually similar */
}

.cta-button {  
    display: inline-block;  
    background-color: #eb0a29; /* Red button */  
    color: white;  
    padding: 15px 30px; /* More padding */  
    border: none;  
    border-radius: 30px; /* Pill shape for modern look */  
    font-size: 1.1em;  
    font-weight: 600;  
    cursor: pointer;  
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Smooth transitions for hover */  
    margin-top: 20px;  
    text-transform: uppercase; /* Uppercase text */  
    letter-spacing: 1px; /* Add some letter spacing */  
    box-shadow: 0 5px 15px rgba(235, 10, 41, 0.2); /* Subtle red shadow */  
}  

.cta-button:hover {  
    background-color: #d00724; /* Darker red */  
    transform: translateY(-3px); /* Lift effect */  
    box-shadow: 0 8px 20px rgba(235, 10, 41, 0.3); /* More prominent shadow */  
}  

@media (max-width: 1100px) {
  .card-container {
    gap: 20px;
  }
  .custom-card {
    width: 280px;
  }
}
@media (max-width: 900px) {
  .card-container {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .custom-card {
    width: 85vw;
    max-width: 360px;
  }
}


.why-mesa-section {
  background: #04173b;
  color: #fff;
  padding: 48px 0;
  display: flex;
  justify-content: center;
}

.why-mesa-wrapper {
  background: #071f3f;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  padding: 36px 32px 32px 32px;
  max-width: 500px;
  width: 90%;
  text-align: left;
}

.why-mesa-title {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-align: center;
  font-weight: 700;
}

.why-mesa-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.why-mesa-features li {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 13px;
  padding: 10px 14px;
  transition: background 0.3s;
}

.why-mesa-features li i {
  color: #eb0a29;
  margin-right: 14px;
  font-size: 1.2em;
  min-width: 22px;
}

.why-mesa-features li:hover {
  background: rgba(235,10,41,0.09);
}

.why-mesa-desc {
  color: #e2e7ef;
  font-size: 1.02rem;
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.surface-prep-section {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Background containers */
.prep-bg {
  width: 100%;
  padding: 80px 0;
}

.dark-section {
  background-color: #04173b;
  color: #fff;
  position: relative;
}

.dark-section::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, rgba(4, 23, 59, 0.1), transparent);
  z-index: 1;
}

.light-section {
  background-color: #fff;
  color: #04173b;
}

/* Wide container to use more screen space */
.wide-container {
  width: 90%;
  max-width: 1400px; /* Increased from 1000px */
  margin: 0 auto;
  padding: 0;
}

/* Section title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #eb0a29;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #eb0a29;
  border-radius: 1.5px;
}

/* Flex row layout */
.content-row {
  display: flex;
  align-items: stretch;
  gap: 40px;
  justify-content: space-between;
}

.content-row.reverse {
  flex-direction: row-reverse;
}

/* Column sizing */
.image-column {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-column {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Image styling */
.image-card {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid #eb0a29;
  border-radius: 12px;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

/* Process cards */
.process-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-section .process-card {
  background-color: rgba(4, 23, 59, 0.02);
  border-left: 3px solid #eb0a29;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Process headers with icons */
.process-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background-color: #eb0a29;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle.light {
  background-color: rgba(235, 10, 41, 0.1);
  color: #eb0a29;
}

.icon-circle i {
  font-size: 20px;
  color: #fff;
}

.icon-circle.light i {
  color: #eb0a29;
}

/* Headings */
.process-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: #fff;
}

.light-section .process-card h3 {
  color: #04173b;
}

.highlight-title {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #eb0a29 !important;
  margin-bottom: 20px !important;
  line-height: 1.3;
}

.process-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 15px 0 12px 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Paragraphs */
.process-card p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.light-section .process-card p {
  color: #333;
}

/* Steps grid layout */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Benefit list */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Check icons */
.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-color: #eb0a29;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon.light {
  background-color: rgba(235, 10, 41, 0.15);
}

.check-icon i {
  font-size: 12px;
  color: #fff;
}

.check-icon.light i {
  color: #eb0a29;
}

/* Strong text highlighting */
strong {
  font-weight: 600;
  color: #eb0a29;
}

.light-section strong {
  color: #eb0a29;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .wide-container {
    width: 95%;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 991px) {
  .content-row, 
  .content-row.reverse {
    flex-direction: column;
  }
  
  .image-column,
  .content-column {
    flex: 0 0 100%;
    width: 100%;
  }
  
  .image-card {
    max-height: 400px;
    margin-bottom: 30px;
  }
  
  .prep-bg {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .highlight-title {
    font-size: 1.5rem !important;
  }
  
  .process-card h3 {
    font-size: 1.3rem;
  }
  
  .process-card {
    padding: 20px;
  }
  
  .prep-bg {
    padding: 50px 0;
  }
}

@media (max-width: 576px) {
  .wide-container {
    width: 92%;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .icon-circle {
    width: 40px;
    height: 40px;
  }
  
  .icon-circle i {
    font-size: 16px;
  }
  
  .process-header {
    gap: 10px;
  }
  
  .image-card {
    max-height: 300px;
  }
}



.factory-footer {
  background: #04173b;
  color: #fff;
  padding: 30px 0 20px 0;
  border-top: 6px solid #eb0a29;
  font-family: "Montserrat", Arial, sans-serif;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
}

/* Generic footer column styling */
.footer-col {
  display: flex;
  flex-direction: column;
  text-align: left; /* Consistent left alignment for all columns */
}

/* Section Headers */
.footer-col h4 {
  color: #eb0a29;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Contact Section */
.contact-col {
  flex: 0 0 34%;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.address-item, .contact-item {
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
}

.address-item i, .contact-item i {
  color: #eb0a29;
  min-width: 20px;
  margin-top: 3px;
  margin-right: 10px;
}

.address-item span {
  line-height: 1.4;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #eb0a29;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: flex-start; /* Left-aligned social icons */
}

.social-icon {
  color: #fff;
  background: #eb0a29;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #fff;
  color: #eb0a29;
  transform: translateY(-3px);
}

/* Links Section */
.links-col {
  flex: 0 0 28%;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-links li a i {
  color: #eb0a29;
  margin-right: 8px;
  font-size: 0.85rem;
}

.footer-links li a:hover {
  color: #eb0a29;
  transform: translateX(5px);
}

/* Logo Section - Refactored for consistency */
.logo-col {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Changed from center to left alignment */
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Changed from center to left alignment */
  margin-bottom: 10px;
  width: 100%;
}

.footer-logo img {
  width: 320px;
  max-width: 100%;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 15px;
  border: 2px solid #eb0a29;
}

.logo-mesa {
  padding-top: 10px;
  width: 100%;
  display: flex;
  justify-content: flex-start; /* Left-aligned logo */
}

.logo-mesa img {
  height: 100px;
  width: 200px;
  max-width: 100%;
  display: block;
  margin-bottom: 10px;
}

.footer-copyright {
  color: #c5ccdb;
  font-size: 0.85rem;
  text-align: left; /* Consistent left alignment */
  padding-top: 40px;
  width: 100%;
}

/* Media Queries - Improved for consistent alignment */
@media (max-width: 992px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: flex-start; /* Consistent left alignment when wrapping */
  }
  
  .contact-col {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .links-col, .logo-col {
    flex: 0 0 48%;
  }
  
  /* Remove extra padding on smaller screens */
  .links-col {
    padding-left: 0;
  }
  
  /* Maintain left alignment for all columns */
  .footer-col {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: stretch; /* Ensures all columns take full width */
  }
  
  .footer-col {
    width: 100%;
    margin-bottom: 30px;
    text-align: left; /* Consistent left alignment on mobile */
  }
  
  .logo-col {
    align-items: flex-start; /* Keep left alignment instead of center */
  }
  
  .logo-container {
    align-items: flex-start; /* Consistent with other elements */
  }
  
  .logo-mesa {
    justify-content: flex-start; /* Keep logo left-aligned on mobile */
  }
  
  .social-icons {
    justify-content: flex-start; /* Keep social icons left-aligned on mobile */
  }
  
  .footer-copyright {
    text-align: left; /* Keep copyright left-aligned for consistency */
  }
  
  /* Remove left padding on mobile */
  .links-col {
    padding-left: 0;
  }
}


  /* Hero Video Section */
.video-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 23, 59, 0.7); /* Dark blue overlay with opacity */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeIn 1.2s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.accent-text {
  color: #eb0a29;
  display: block;
  margin-top: 8px;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.feature i {
  font-size: 2rem;
  color: #eb0a29;
  background: rgba(255, 255, 255, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature:hover i {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.feature span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Scroll indicator animation */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  animation: fadeInUp 1.5s ease infinite;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 10px;
  background: #fff;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  animation: scroll 2s infinite;
}

.arrows {
  margin-top: 10px;
}

.arrow-down {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(45deg);
  margin: -10px;
  animation: arrow 2s infinite;
}

/* Animations */
@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

@keyframes arrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0.4;
    transform: translate(-50%, 20px);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0.4;
    transform: translate(-50%, 20px);
  }
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-features {
    gap: 20px;
  }
  
  .feature i {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .video-hero {
    height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .feature i {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }
  
  .feature span {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .video-hero {
    height: 100vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-features {
    margin-bottom: 30px;
  }
}
/* Media Queries - Improved for consistent alignment */
@media (max-width: 992px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: flex-start; /* Consistent left alignment when wrapping */
  }
  
  .contact-col {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .links-col, .logo-col {
    flex: 0 0 48%;
  }
  
  /* Remove extra padding on smaller screens */
  .links-col {
    padding-left: 0;
  }
  
  /* Maintain left alignment for all columns */
  .footer-col {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: stretch; /* Ensures all columns take full width */
  }
  
  .footer-col {
    width: 100%;
    margin-bottom: 30px;
    text-align: left; /* Consistent left alignment on mobile */
  }
  
  .logo-col {
    align-items: flex-start; /* Keep left alignment instead of center */
  }
  
  .logo-container {
    align-items: flex-start; /* Consistent with other elements */
  }
  
  .logo-mesa {
    justify-content: flex-start; /* Keep logo left-aligned on mobile */
  }
  
  .social-icons {
    justify-content: flex-start; /* Keep social icons left-aligned on mobile */
  }
  
  .footer-copyright {
    text-align: left; /* Keep copyright left-aligned for consistency */
  }
  
  /* Remove left padding on mobile */
  .links-col {
    padding-left: 0;
  }
}

.legal-links {
  margin-top: 78px;
  font-size: 0.8rem; /* Smaller than regular links */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.legal-links a {
  color: #c5ccdb; /* Lighter color than main links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #eb0a29;
  text-decoration: underline;
}

.legal-divider {
  margin: 0 5px;
  color: #c5ccdb;
}

@media (max-width:991.98px){
  .factory-footer        { padding:20px 0 12px; }      /* tablet   */
}
@media (max-width:575.98px){
  .factory-footer        { padding:18px 0 10px; }      /* phones   */
}
@media (max-width:991.98px){           /* ≤ 992px  =  tablet + phone */
  .footer-container      { flex-direction:column; gap:24px; }
  .footer-col            { width:100%; margin:0; }
}
@media (max-width:991.98px){
  .footer-col h4         { font-size:1rem;  margin-bottom:14px; }
  .footer-links a,
  .address-item,
  .contact-item          { font-size:0.95rem; }
}
@media (max-width:575.98px){
  .footer-links a,
  .address-item,
  .contact-item          { font-size:0.9rem;  line-height:1.35; }
}

/* 4)  Copyright & legal links get tighter                                      */
.footer-copyright        { padding-top:28px; }
@media (max-width:575.98px){
  .footer-copyright      { padding-top:18px; font-size:0.75rem; }
  .legal-links           { margin-top:12px;  font-size:0.72rem; }
}

/* 5)  Social icons + chevrons scale down a bit                                 */
@media (max-width:575.98px){
  .social-icon           { width:32px; height:32px; font-size:0.9rem; }
  .footer-links li a i   { margin-right:6px; font-size:0.78rem; }
}

/* 6)  Make the map responsive (no horizontal scrolling, shorter height)        */
.footer-col iframe       { width:100%; max-width:100%; border:0; }
@media (max-width:991.98px){
  .footer-col iframe     { height:240px; }        /* tablet */
}
@media (max-width:575.98px){
  .footer-col iframe     { height:190px; }        /* phones */
}

/* 7)  Reduce the huge top margin that pushed legal links way down              */
.legal-links             { margin-top:26px; }
@media (max-width:991.98px){
  .legal-links           { margin-top:18px; }
}