.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;
  }
}

.bottom-section .content-row {
  flex-direction: row;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  background: #04173b;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.custom-card {
  background: #071f3f;
  border-radius: 18px;
  width: 100%;
  max-width: 320px;
  min-width: 280px;
  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: clamp(1.1rem, 2.5vw, 1.22rem);
  letter-spacing: 1px;
  text-align: center;
  padding: 0 15px;
}

.contact-div{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.card-desc {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(0.9rem, 2vw, 1rem);
  padding: 0 20px;
  text-align: center;
  min-height: 70px;
  display: flex;
  align-items: center;
}

.cta-button {  
  display: inline-block;  
  background-color: #eb0a29;
  color: white;  
  padding: 12px 25px;
  border: none;  
  border-radius: 30px;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 600;  
  cursor: pointer;  
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: 20px;  
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(235, 10, 41, 0.2);
  text-decoration: none;
  text-align: center;
  min-width: 120px;
}  

.cta-button:hover {  
  background-color: #d00724;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(235, 10, 41, 0.3);
}  

.neden-mesa-section {
  background: #fff;
  color: #04173b;
  padding: 48px 20px;
  display: flex;
  justify-content: center;
}

.neden-mesa-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(5, 232, 168, 0.27);
  padding: 36px 32px 32px 32px;
  max-width: 500px;
  width: 100%;
  text-align: left;
}

.neden-mesa-title {
  color: #04173b;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-align: center;
  font-weight: 700;
}

.neden-mesa-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.neden-mesa-features li {
  display: flex;
  align-items: center;
  font-size: clamp(0.95rem, 2.2vw, 1.07rem);
  margin-bottom: 16px;
  background: rgba(13, 191, 78, 0.085);
  border-radius: 13px;
  padding: 10px 14px;
  transition: background 0.3s;
}

.neden-mesa-features li i {
  color: #13dd83;
  margin-right: 14px;
  font-size: 1.2em;
  min-width: 22px;
  flex-shrink: 0;
}

.neden-mesa-features li:hover {
  background: rgba(4, 23, 59, 0.09);
}

.neden-mesa-desc {
  color: #04173b;
  font-size: clamp(0.9rem, 2vw, 1.02rem);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.3px;
  opacity: 0.85;
}

.split-row.reverse {
  flex-direction: row;
}

.bottom-section .split-image {
  text-align: center;
}

.bottom-section .image-caption {
  margin-top: 16px;
  font-size: clamp(0.9rem, 2vw, 1.04rem);
  color: #04173b;
  background: #f9f9fa;
  border-radius: 10px;
  padding: 10px 16px 6px 16px;
  box-shadow: 0 2px 12px 0 rgba(4,23,59,.06);
  display: inline-block;
  max-width: 95%;
  word-wrap: break-word;
}

.bottom-section .image-caption strong {
  color: #eb0a29;
  display: block;
  margin-bottom: 3px;
}

/* Hero Video Section */
.video-hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  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);
  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;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 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: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 100px;
}

.feature i {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #eb0a29;
  background: rgba(255, 255, 255, 0.1);
  width: clamp(50px, 10vw, 70px);
  height: clamp(50px, 10vw, 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: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 500;
  text-align: center;
}

/* 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);
  }
}

/* Media Queries for better responsiveness */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
  
  .split-row {
    gap: 40px;
  }
}

@media (max-width: 1000px) {
  .split-bg {
    padding: 50px 0;
  }
  
  .split-row,
  .split-row.reverse {
    flex-direction: column;
    gap: 30px;
    text-align: left;
  }
  
  .split-content {
    padding: 0;
  }
  
  .split-image img {
    margin: 0 auto 15px auto;
    min-height: 200px;
  }

  .first-image img {
    min-height: 230px;
}

  
  .bottom-section .split-image,
  .bottom-section .image-caption {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-features {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .split-bg {
    padding: 40px 0;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .video-hero {
    height: 80vh;
    min-height: 400px;
  }
  
  .hero-features {
    gap: 5px;
  }

  .feature{
    gap: 1px;
  }
  
  .card-container {
    padding: 30px 15px;
    gap: 20px;
  }
  
  .neden-mesa-wrapper {
    padding: 25px 20px;
  }
  
  .checklist li {
    padding-left: 28px;
  }
  
  .checklist li:before {
    height: 18px;
    width: 18px;
    line-height: 18px;
  }
}

@media (max-width: 600px) {
  .split-image img {
    min-height: 150px;
  }
  
  .hero-features {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
  
  .card-container {
    gap: 15px;
  }
  
  .custom-card {
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  .split-bg {
    padding: 30px 0;
  }
  
  .video-hero {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .card-desc {
    min-height: 50px;
  }
  
  .cta-button {
    padding: 10px 20px;
    min-width: 100px;
  }
}

@media (max-width: 360px) {
  .container {
    width: 98%;
    padding: 0 5px;
  }
  
  .custom-card {
    min-width: 220px;
  }
  
  .neden-mesa-wrapper {
    padding: 20px 15px;
  }
}


.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; }
}