/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {  
  font-family: 'Open Sans', sans-serif;  
  background-color: white;  
  color: #04173b;  
  line-height: 1.7;
  overflow-x: hidden;
}

/* Hero Video Section */
.video-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0; /* Remove any margin */
  padding: 0; /* Remove any padding */
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Ensures no extra space */
  vertical-align: top; /* Removes baseline spacing */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 23, 59, 0.7);
  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 */
.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;
}

/* Modern Surface Preparation Section with Full Width Layout */
.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%;
   margin-right: 10px;
  flex: 0 0 auto;
  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;
}

.list-text {
  flex: 1;
}


/* 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;
  }
}
.checkbox-list {  
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
}  

.checkbox-list li {  
  display: flex;
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0;
  align-items: flex-start;
}  


/* Card Container */
.card-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  background: #04173b;
  padding: 50px 20px;
  flex-wrap: wrap;
}

.custom-card {
  background: #071f3f;
  border-radius: 15px;
  width: 300px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.card-title {
  margin-top: 20px;
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  padding: 0 15px;
}

.card-desc {
  margin-top: 15px;
  color: #e0e0e0;
  font-size: 0.95rem;
  padding: 0 20px;
  text-align: center;
  line-height: 1.5;
}

/* CTA Button */
.cta-button {  
  display: inline-block;  
  background-color: #eb0a29;
  color: white;  
  padding: 12px 25px;
  border: none;  
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;  
  cursor: pointer;  
  transition: all 0.3s ease;
  margin-top: 20px;  
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(235, 10, 41, 0.2);
  text-decoration: none;
}  

.cta-button:hover {  
  background-color: #d00724;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 10, 41, 0.3);
}

.contact-div {
    display: flex;               /* Enable flexbox */
    justify-content: center;     /* Center the button horizontally */
    align-items: center;         /* Center the button vertically (if container has a fixed height) */
}

/* Utility Classes */
.accent {
  color: #eb0a29 !important;
}

.color-light {
  color: white;
}

.color-dark {
  color: #04173b;
}

.color-red {
  color: #eb0a29;
}

/* Footer */

.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;
  }
}


.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; }
}

/* 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 Design */
@media (max-width: 1000px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-features {
    gap: 25px;
  }
  
  .split-row,
  .split-row.reverse {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .split-image,
  .split-content {
    flex: none;
    width: 100%;
  }
  
  .split-content {
    text-align: left;
    padding: 0;
  }
  
  .split-content h3 {
    text-align: center;
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .video-hero {
    height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.3rem;
  }
  
  .hero-features {
    flex-wrap: wrap;
    gap: 20px;
  }

  .split-image img{
    height: 220px;
    max-width: 350px;
  }
  
  .split-bg {
    padding: 40px 0;
  }
  
  .container {
    width: 95%;
    padding: 0 15px;
  }
  
  .card-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  
  .custom-card {
    width: 90%;
    max-width: 350px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 25px;
  }
  
  .footer-col {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .video-hero {
    height: 100vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .split-content h3 {
    font-size: 1.5rem;
  }
  
  .split-content h4 {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .container {
    padding: 0 10px;
  }
}