body {  
  margin: 0;  
  background: #04173b; /* Light background for the body */
  color: #333;  
  padding-top: 60px;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;  
  font-size: 1.08rem;  
  line-height: 1.7;  
}  

.main-hero {  
  max-width: 900px;  
  margin: 48px auto 0 auto;  
  background: #ffffff; /* White background */
  border-radius: 32px;  
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);  
  padding: 40px 32px;  
  margin-bottom: 40px;
  display: flex;  
  flex-wrap: wrap;  
  gap: 38px 32px;  
  align-items: flex-start;  
  position: relative;  
  overflow: hidden;  
  border: 1px solid rgba(235, 10, 41, 0.1);  
}  

.main-hero:before {  
  content: '';  
  position: absolute;  
  top: -150px;  
  right: -100px;  
  width: 380px;  
  height: 360px;  
  background: radial-gradient(circle at center, #eb0a29 0%, #f5f7fc 80%);  
  opacity: 0.08; /* More subtle gradient */
  z-index: 0;  
  border-radius: 50%;  
  pointer-events: none;  
}  

.hero-intro, .hero-features {  
  z-index: 1;  
}  

.hero-intro {  
  flex: 2 1 250px;  
}  
.hero-features {  
  flex: 1 1 210px;  
}  

.title {  
  color: #04173b; /* Keep the red for the title */
  font-size: 2.1rem;  
  font-weight: 800;  
  letter-spacing: 1px;  
  margin-bottom: 18px;  
  display: flex;  
  align-items: center;  
  gap: 10px;  
  text-shadow: none; /* Remove text shadow */
}  
.title i {  
  color: #ffffff;  
  background: #eb0a29;  
  border-radius: 50%;  
  padding: 7px 11px 7px 10px;  
  font-size: 1.1em;  
  margin-right: 4px;  
  box-shadow: 0 2px 8px rgba(235, 10, 41, 0.2);  
}  

.subtitle {  
  display: flex;  
  align-items: center;  
  color: #04173b; /* Dark blue for subtitles */
  font-weight: 700;  
  font-size: 1.09em;  
  margin-bottom: 16px;  
  gap: 10px;  
  opacity: 0.98;  
  text-shadow: none; /* Remove text shadow */
}  
.subtitle i {  
  color: #eb0a29; /* Keep red icons */
  font-size: 1.2em;  
}  
.main-desc {  
  color: #4a5568; /* Dark gray for main text */
  margin-bottom: 36px;  
  opacity: 0.94;  
}  

.feature-card {  
  background: #f8faff; /* Very light blue background */
  color: #04173b; /* Dark blue text */
  border-radius: 16px;  
  padding: 24px 20px 18px 20px;  
  box-shadow: 0 4px 22px rgba(4, 23, 59, 0.08);  
  margin-bottom: 22px;  
  border: 1px solid rgba(235, 10, 41, 0.1);  
}  
.feature-title {  
  display: flex;  
  align-items: center;  
  font-size: 1.18em;  
  font-weight: 700;  
  margin-bottom: 14px;  
  letter-spacing: 0.8px;  
  color: #04173b; /* Dark blue */
}  
.feature-title i {  
  color: #eb0a29; /* Keep red icons */
  margin-right: 9px;  
  font-size: 1.6em;  
}  
.feature-list {  
  list-style: none;  
  padding: 0;  
  margin: 0;  
}  
.feature-list li {  
  display: flex;  
  align-items: center;  
  gap: 9px;  
  margin-bottom: 9px;  
  font-size: 1rem;  
  opacity: 0.99;  
  color: #4a5568; /* Dark gray text */
}  
.feature-list li i {  
  color: #13dd83; /* Keep green checkmarks */
  font-size: 1.1em;  
}  

.team-block {  
  background: rgba(235, 10, 41, 0.05); /* Very light red background */
  color: #04173b; /* Dark blue text */
  border-radius: 13px;  
  padding: 18px 19px;  
  font-weight: 600;  
  display: flex;  
  align-items: center;  
  gap: 12px;  
  margin-bottom: 8px;  
  margin-top: 18px;  
  font-size: 1.04em;  
  border-left: 4px solid #eb0a29;  
  box-shadow: 0 1px 10px rgba(235, 10, 41, 0.1);  
}  
.team-block i {  
  color: #ffffff; /* White text on red background */
  font-size: 1.6em;  
  background: #eb0a29;  
  border-radius: 50%;  
  padding: 7px 9px 7px 9px;  
  box-shadow: 0 2px 9px rgba(235, 10, 41, 0.2);  
}  

.highlight {  
  color: #eb0a29; /* Keep red highlights */
  font-weight: 700;  
  letter-spacing: 0.5px;  
}  

@media (max-width: 900px) {  
  .main-hero { flex-direction: column; padding: 22px 8vw;}  
  .hero-intro, .hero-features { width: 100%; flex: none; }  
}

/* Make the feature card with image have a white background */
.feature-card img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.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;
}

/* Section Headers */
.footer-col h4 {
  color: #eb0a29;
  font-size: 1.2rem;
  font-weight: 600;
  padding-left: 10px;
  margin-bottom: 20px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Contact Section */
.contact-col {
  flex: 0 0 34%;
  text-align: left;
}

.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;
}

.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%;
  padding-left: 20px;
}

.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 */
.logo-col {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.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;
}

.logo-mesa img {
  height: 100px;
  width: 200px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-copyright {
  color: #c5ccdb;
  font-size: 0.85rem;
  text-align: left;
  padding-top: 40px;
  width: 100%;
}

/* Media Queries */
@media (max-width: 992px) {
  .footer-container {
    flex-wrap: wrap;
  }
  
  .contact-col {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .links-col, .logo-col {
    flex: 0 0 48%;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
  
  .footer-col {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .logo-col {
    align-items: center;
  }
}

.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; }
}