/* Base styles */
:root {
  --primary-color: #2B3990;
  --secondary-color: #e5e7eb;
  --text-color: #374151;
  --light-bg: #f3f4f6;
  --dark-bg: #1e2646;
  --accent: #dc2626;
  --border-color: #d1d5db;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  padding-top: 80px; /* space for fixed top if any, but initially absolute */
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.w-100 {
  width: 100%;
}
.block {
  display: block;
}
.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1E2867;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 4px;
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--dark-bg);
}

.btn.lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

/* Sticky Header */
.sticky-header {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: top 0.4s ease-in-out;
}

.sticky-header.visible {
  top: 0;
}

.sticky-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.sticky-logo,
.sticky-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.sticky-title {
  color: var(--primary-color);
  display: none;
}

@media (min-width: 768px) {
  .sticky-title {
    display: block;
  }
}

/* Main Header */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 900;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1.5rem;
}

@media (min-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-left,
.hero-right {
  display: flex;
  flex-direction: column;
}

/* Carousel and Zoom */
.carousel-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.carousel-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
  cursor: crosshair;
}

.carousel-main #mainZoomImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zoom-lens {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 9;
}

.zoom-lens .zoom-icon {
  background: white;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 32px;
  height: 32px;
}

.zoom-result {
  position: absolute;
  top: 0;
  left: calc(100% + 1.5rem);
  width: 100%;
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 20;
}

@media (max-width: 991px) {
  .zoom-result {
    display: none !important;
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0;
}

.carousel-arrow.left {
  left: 20px;
}
.carousel-arrow.right {
  right: 20px;
}

.carousel-arrow img {
  height: 40px;
}

.carousel-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.thumb {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background-color: white;
}

.thumb.active {
  border-color: var(--primary-color);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Right Side Info */
.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border-color);
}

.main-title {
  font-size: 2rem;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  list-style-type: none;
}

.feature-list li::before {
  content: "";
  background-image: url("images/Vector6.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 0;
  top: 6px;
}

.price-box {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.price-label {
  font-size: 0.875rem;
  color: #6b7280;
}
.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.info-pill {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.bg-yellow {
  background: #fef08a;
  color: #854d0e;
}
.bg-light-orange {
  background: #fed7aa;
  color: #9a3412;
}

.cert-info {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Trusted by */
.trusted-by {
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.trusted-title {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.logos-slider-container {
  overflow: hidden;
  padding: 1.5rem 0;
  width: 100%;
}

.logos-slider-track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: logos-loop 40s linear infinite;
  align-items: center;
}

@keyframes logos-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trusted-logo {
  color: #111827;
  line-height: 1.1;
}

/* Dark Section */
.dark-section {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.dark-section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}
.dark-section p {
  color: #9ca3af;
  margin-bottom: 2rem;
}

.specs-table {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table th {
  font-weight: 600;
  font-size: 0.875rem;
  color: #9ca3af;
  width: 50%;
}
.specs-table td {
  font-size: 0.9rem;
}

/* Built To Last */
.built-to-last {
  padding: 4rem 1.5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111827;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--white);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.feature-card p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Applications Carousel */
.applications-section {
  padding: 4rem 1.5rem;
}
.app-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.app-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}
.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.app-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.app-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.app-content p {
  font-size: 0.875rem;
  color: #d1d5db;
}

/* Manufacturing Tabs */
.process-section {
  padding: 4rem 0;
}
.tabs {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.tab-scroller {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
}
.tab-btn {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}
.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}
.tab-content {
  padding: 2rem;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Testimonials */
.testimonials-section {
  padding: 4rem 1.5rem;
  background: #fafafa;
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.test-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Solutions */
.solutions-section {
  padding: 4rem 1.5rem;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.sol-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

/* FAQ */
.faq-section {
  padding: 4rem 0;
  background: var(--light-bg);
}

.faq-accordion {
  margin-top: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--white);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  display: none;
  font-size: 0.9rem;
  color: #4b5563;
}

.faq-item.active .faq-question {
  color: var(--primary-color);
}
.faq-item.active .faq-answer {
  display: block;
}

.catalogue-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  gap: 1rem;
}

.c-right {
  display: flex;
  gap: 0.5rem;
}
.form-input {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
}

/* Footer form */
.contact-section {
  padding: 4rem 1.5rem;
  background: var(--dark-bg);
  color: var(--white);
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact-direct {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.contact-form {
  background: var(--white);
  color: #111827;
  padding: 2rem;
  border-radius: 8px;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}
.contact-form .form-input {
  margin-bottom: 1rem;
  width: 100%;
}
.contact-form .phone-input {
  display: flex;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-color);
}
.footer-top {
  margin-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-grid h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #111827;
}
.footer-grid ul {
  list-style: none;
}
.footer-grid li {
  margin-bottom: 0.5rem;
}
.footer-grid a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
}
.footer-grid p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.social-icons span {
  display: inline-block;
  background: #e5e7eb;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  margin-right: 0.5rem;
  font-size: 0.75rem;
  color: #4b5563;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  color: #9ca3af;
  font-size: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  margin-left: 1rem;
}

  /* Navigation Defaults */
  .hamburger-menu, .mobile-nav-dropdown {
    display: none;
  }

/* =========================================
   Responsive Design Breakpoints
   ========================================= */

/* Tablet & Smaller Setup */
@media (max-width: 991px) {
  /* Site Header / Nav Adjustments */
  .header-container {
    flex-wrap: nowrap;
    height: auto !important;
    padding: 1rem 1.5rem !important; /* Restores missing horizontal boundary */
    justify-content: space-between;
    align-items: center;
  }
  .main-nav {
    display: none !important;
  }
  .hamburger-menu {
    display: block !important;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .mobile-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    padding: 0 1.5rem;
    z-index: 99;
  }
  .mobile-nav-dropdown.open {
    display: block !important;
  }
  .mobile-nav-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-nav-dropdown li {
    padding: 1.2rem 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .mobile-nav-dropdown li:last-child {
    border-bottom: none;
  }
  .mobile-nav-dropdown a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-nav-dropdown a span {
    color: #64748b;
    font-size: 0.85rem;
    transform: rotate(0deg);
  }
  .sticky-header-content {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
  }
  .sticky-title { display: none; } /* Hide sticky center title on tablet */
  
  /* Layout Paddings */
  .hero-section {
    display: flex;
    flex-direction: column;
  }
  .hero-left, .hero-right {
    display: contents;
  }
  .tags { order: 1; margin-bottom: 1rem !important; }
  .main-title { order: 2; margin-bottom: 1rem !important; }
  .feature-list { order: 3; margin-bottom: 2rem !important; }
  .carousel-container { order: 4; width: 100%; margin-bottom: 1rem !important; }
  .price-box { order: 5; margin-top: 1.5rem !important; }
  .hero-actions { order: 6; }

  .hero-section, .process-section, .applications-section, .contact-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    padding-left: 1.5rem; 
    padding-right: 1.5rem;
  }

  /* Structural Restructuring */
  .catalogue-banner, .applications-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
  }
  
  .c-right {
    max-width: 100% !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .c-right button {
    width: 100%;
  }
  
  .process-content-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .logo-slider {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem !important;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile Setup */
@media (max-width: 767px) {
  /* Typography Reductions */
  h1.main-title { font-size: 2.2rem !important; line-height: 1.2; }
  h2 { font-size: 2.5rem !important; line-height: 1.15 !important;}
  h3 { font-size: 1.35rem !important; }
  p { font-size: 0.95rem; }
  
  /* Tables horizontally scrollable */
  .dark-section h2, .dark-section p {
    text-align: left !important;
  }
  .dark-section h2 {
    font-size: 2.5rem !important;
    line-height: 1.15 !important;
  }
  .specs-table {
    display: table !important;
    width: 100%;
    white-space: normal;
  }
  .specs-table th, .specs-table td {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.85rem !important;
  }
  .dark-section button {
    width: 100%;
    justify-content: center;
  }
  
  /* Carousel Cards scaled down dynamically */
  .app-card {
    flex: 0 0 300px !important;
    height: 300px !important;
  }
  
  .test-card, .solution-card {
    flex: 0 0 300px !important;
    min-width: 300px !important;
  }

  /* Tighten visual spacing */
  .app-carousel-inner { gap: 1rem !important; }
  
  /* Carousel Buttons Adjustments */
  .carousel-arrow.left { left: 10px; }
  .carousel-arrow.right { right: 10px; }
  .carousel-arrow img { height: 32px; }
  
  .catalogue-banner {
    padding: 1.5rem !important;
    align-items: flex-start !important;
  }
  .c-left {
    text-align: left !important;
    width: 100%;
  }
  .c-left h3 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }
  .c-left p {
    font-size: 0.95rem !important;
  }
  .c-right input {
    margin-bottom: 0px !important;
  }
  .c-right button {
    padding: 1rem !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  /* Restore section margins that were too squished */
  .faq-section {
    padding-bottom: 4rem !important;
  }
  .applications-section {
    padding-top: 4rem !important;
  }
  
  /* Make all section headers similar to Versatile Applications on mobile */
  .section-header, .solutions-header {
    text-align: left !important;
  }
  .section-header p, .solutions-header p {
    text-align: left !important;
  }
  .process-section .section-header {
    text-align: center !important;
  }
  .process-section .section-header p {
    text-align: center !important;
  }
  .resources-section .section-header {
    text-align: center !important;
  }
  .resources-section .section-header p {
    text-align: center !important;
  }
  
  .applications-header h2 {
    font-size: 2.5rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1.5rem !important;
  }
  .applications-header p {
    display: none !important; /* Matches Figma mockup which omits this text */
  }

  /* Mobile Adjustments for Price Box and Hero Actions */
  .price-box {
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
  }
  .info-pill {
    display: block !important;
    width: 100%;
    text-align: left;
    border-radius: 8px !important;
    margin-bottom: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    box-sizing: border-box;
  }
  .cert-info {
    display: block;
    width: 100%;
    border-radius: 8px;
    background-color: #f3f4f6;
    padding: 0.5rem 1rem;
    font-size: 0.9rem !important;
    color: #111827 !important;
    margin-top: 0.75rem;
    box-sizing: border-box;
  }
  .hero-actions {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    gap: 1rem;
    margin-top: 1rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem !important;
    border-radius: 12px;
  }

  /* Trusted By Auto Carousel */
  .trusted-by {
    overflow: hidden;
    padding-bottom: 4rem !important;
  }
  .logos-grid {
    flex-wrap: nowrap !important;
    width: max-content;
    animation: logos-loop 15s linear infinite;
    gap: 3rem !important;
  }

  /* Manufacturing Card Mobile Fixes */
  .manufacturing-card {
    padding: 2rem 1.5rem !important;
    border-radius: 16px !important;
  }
  .tab-scroller-container > div:first-child {
    display: none !important;
  }
  .tab-scroller-container {
    margin-bottom: 1rem !important;
  }
  .tab-scroller {
    border-bottom: none !important;
  }
  .tab-pill:not(.active) {
    display: none !important;
  }
  .process-info {
    padding-top: 0 !important;
  }
  .process-info, .process-info h3, .process-info p {
    text-align: left !important;
  }
  .process-info h3 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .process-info p {
    font-size: 0.95rem !important;
    color: #4b5563 !important;
    margin-bottom: 2rem !important;
  }
  .process-visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 0;
  }
  .process-visual::before {
    content: "";
    position: absolute;
    bottom: 1.2rem;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #e2e8f0;
    z-index: 0;
  }
  .process-visual {
    height: 250px !important;
    width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    margin-bottom: 2rem !important;
    position: relative !important;
  }
  .process-track {
    display: flex !important;
    width: 300% !important;
    height: 100% !important;
    flex-shrink: 0 !important;
  }
  .process-img {
    width: 33.333% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .process-visual button {
    display: none !important;
  }
  .process-mobile-nav {
    display: flex !important;
  }
  .process-mobile-nav button {
    background: #fff !important;
    border-radius: 50px !important;
    overflow: hidden !important;
  }
  .process-visual button img {
    display: block !important;
    height: 48px !important;
    width: auto !important;
  }
  .process-visual button:first-of-type img {
    content: url("images/previous.png") !important;
  }
  .process-visual button:last-of-type img {
    content: url("images/next.png") !important;
  }

  /* CTA Banner Mobile Adjustments */
  .cta-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 2rem 1.5rem !important;
    gap: 1.5rem;
  }
  .cta-banner a {
    width: 100% !important;
    display: block !important;
  }
  .cta-text {
    width: 100%;
  }
  .cta-text h3 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
  }
  .cta-text p {
    font-size: 1rem !important;
    color: #4b5563 !important;
  }
  .cta-btn {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
    padding: 1rem !important;
  }

  /* Resources Section Mobile Adjustments */
  .resources-section .container > div:not(.section-header) > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.5rem !important;
    gap: 1rem;
  }

  /* Footer Badge Card Overrides */
  .footer-badge-card {
    padding: 1.5rem 1rem !important;
    gap: 1rem !important;
  }
  .footer-badge-card img {
    height: 45px !important;
  }
  .footer-badge-card h2 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }
}

@keyframes logos-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: modal-fade-in 0.3s ease-out;
}

.modal-top {
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #f1f5f9;
}

.modal-top h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #111827;
}

.modal-close-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
}

.modal-body {
    padding: 1rem 1.5rem;
}

.modal-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

.modal-inputs input {
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #1e293b;
    width: 100%;
    outline: none;
}

.modal-inputs input::placeholder {
    color: #94a3b8;
}

.phone-input-row {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.country-code {
    padding: 0 0.75rem;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #111827;
    font-size: 1rem;
}

.phone-input-row input {
    border: none !important;
    border-radius: 0 !important;
}

.modal-footer {
    padding: 1.5rem 0 0 0 !important;
    display: flex;
    justify-content: flex-end;
    border-top: 2px dashed #f1f5f9;
    margin-top: 1rem;
}

.btn-submit-modal {
    background-color: #2B3990;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    
}

.btn-submit-modal:hover {
    background-color: #1E2867;
}

/* Secondary Download Modal Styles (Maintaining previous look for this one) */
.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modal-fade-in 0.3s ease-out;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form input, .modal-form select, .modal-form textarea {
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    width: 100%;
    background: #f8fafc;
}

@keyframes modal-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .modal-box, .modal-content {
        max-width: 100%;
    }
}
