/* 
   Scale & Computer Services (SCS) — Corporate B2B Web Portal
   Global Design System & Stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  /* Colors - Sky Blue Modern Theme */
  --primary-cyan: #0284C7;
  --brand-blue: #0EA5E9;
  --dark-navy: #0369A1;
  --light-gray: #F0F9FF;
  --white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-color: #E0F2FE;
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #20BA56;
  
  /* Layout */
  --max-width: 1240px;
  --gutter: 24px;
  
  /* Fonts */
  --font-headings: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Common Layout Containers */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-cyan);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.bg-light {
  background-color: var(--light-gray);
}

/* Header utility & Main Navigation */
.header-utility {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.utility-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.utility-item svg {
  width: 16px;
  height: 16px;
  fill: #FFFFFF;
}

.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-navy);
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-blue);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* Footer Section */
.main-footer {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
  color: #FFFFFF;
  padding: 70px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo-wrapper {
  margin-bottom: 20px;
}

.footer-logo-desc {
  color: #F0F9FF;
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #FFFFFF;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #F0F9FF;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: #F0F9FF;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #F0F9FF;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: #FFFFFF !important;
  text-decoration: underline;
}

.footer-slogan {
  color: #FFFFFF !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: #0284C7;
  transform: translateY(-2px);
}

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

.btn-cyan:hover {
  background-color: #0369A1;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--brand-blue);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* Floating WhatsApp widget */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-green-hover);
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Sticky Bottom Bar on Mobile */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  grid-template-columns: 1fr 1fr;
  z-index: 998;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.mobile-action-btn.call {
  background-color: var(--brand-blue);
}

.mobile-action-btn.wa {
  background-color: var(--whatsapp-green);
}

.mobile-action-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95) 0%, rgba(56, 189, 248, 0.92) 100%), url('../assets/letterhead.png') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: #FFFFFF;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin-bottom: 30px;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.badge-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.badge-icon {
  width: 36px;
  height: 36px;
  fill: #FFFFFF;
}

.badge-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

/* Inner Pages Hero / Banner */
.page-hero-banner {
  background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
  color: var(--white);
  text-align: center;
}

.page-hero-banner h1 {
  color: #FFFFFF !important;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-hero-banner p {
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.hero-image-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* Brands Ticker Carousel */
.brand-carousel-section {
  padding: 16px 0;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker-animation 35s linear infinite;
  gap: 30px;
}

.ticker:hover {
  animation-play-state: paused;
}

.brand-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--dark-navy);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  min-width: 120px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.brand-logo-card:hover {
  border-color: var(--primary-cyan);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

@keyframes ticker-animation {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Valuable Clients Showcase Section */
.clients-section {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  margin-top: 35px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #BAE6FD;
}

.client-card:hover::before {
  background: linear-gradient(90deg, var(--brand-blue), var(--primary-cyan));
}

.client-logo-box {
  height: 65px;
  width: 100%;
  max-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.client-logo-box img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.client-card:hover .client-logo-box img {
  transform: scale(1.05);
}

.client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.client-category {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Capabilities/Services Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.capability-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--brand-blue);
  transition: var(--transition);
}

.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.capability-card:hover::before {
  background-color: var(--primary-cyan);
}

.capability-icon {
  display: none !important;
}

.capability-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.capability-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.capability-link {
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.capability-link:hover {
  color: var(--primary-cyan);
}

/* Sister Concerns Block */
.sister-concerns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.sister-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.sister-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.sister-logo-placeholder {
  width: 100px;
  height: 100px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 2px dashed var(--border-color);
}

.sister-logo-placeholder svg {
  width: 40px;
  height: 40px;
  fill: var(--text-muted);
}

.sister-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.sister-tag {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.sister-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 105, 161, 0.85);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: 12px;
  width: 90%;
  max-width: 650px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modal-anim 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--white);
}

.modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 30px 25px;
}

/* Tabbed Products Catalog */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  background-color: var(--light-gray);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-cyan);
}

.product-img-holder {
  background-color: var(--light-gray);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-holder img {
  transform: scale(1.05);
}

.product-img-holder svg {
  width: 60px;
  height: 60px;
  fill: #CBD5E1;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-info {
  padding: 25px;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.product-spec-list {
  list-style: none;
  margin-bottom: 25px;
  font-size: 0.875rem;
}

.product-spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-color);
}

.product-spec-list li span:first-child {
  font-weight: 600;
  color: var(--dark-navy);
}

/* Contact Page Form & Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-block {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 50px;
  border-radius: 12px;
}

.contact-info-block h2 {
  color: var(--white);
  margin-bottom: 30px;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-info-list svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-cyan);
  flex-shrink: 0;
}

.contact-info-list h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-info-list p {
  color: #94A3B8;
  font-size: 0.95rem;
}

.contact-info-list a:hover {
  color: var(--primary-cyan);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: var(--transition);
  background-color: var(--light-gray);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* About page Cert Cards */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 30px;
}

.cert-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.cert-preview-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.cert-preview-img:hover {
  opacity: 0.95;
}

.cert-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-body h3 {
  margin-bottom: 10px;
}

.cert-body p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 12px;
  }

  body {
    padding-bottom: 60px; /* offset for bottom action bar */
    overflow-x: hidden;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    max-width: 100%;
  }

  /* Header and Navigation adjustments */
  .main-header {
    padding: 8px 0;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    gap: 8px;
  }

  .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 44px);
  }

  .logo-img {
    height: 34px;
    width: auto;
    flex-shrink: 0;
  }

  .logo-text-wrapper {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .logo-title {
    font-size: clamp(0.70rem, 3.1vw, 0.88rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.1px;
    white-space: nowrap;
    text-transform: uppercase;
  }

  .logo-subtitle {
    font-size: clamp(0.55rem, 2.3vw, 0.65rem);
    line-height: 1.15;
    white-space: nowrap;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 4px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
  }

  .mobile-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--dark-navy);
    margin: 2.5px 0;
    transition: var(--transition);
    border-radius: 2px;
  }

  .hero-grid, .contact-grid, .cert-grid, .sister-concerns-grid,
  .solutions-grid, .products-grid, .core-caps-grid, .repair-caps-grid,
  .service-scope-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-2col {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 30px !important;
  }

  .hero-2col .hero-cta-group,
  .hero-2col .hero-trust-badges {
    justify-content: center !important;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.2rem);
    line-height: 1.2;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-section {
    padding: 60px 0 50px 0;
    overflow: hidden;
  }

  .hero-trust-badges {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .badge-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-cta-group {
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    max-width: 100vw;
    height: calc(100vh - 65px);
    background-color: var(--white);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    z-index: 99;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }

  .header-utility {
    display: none;
  }

  .mobile-action-bar {
    display: grid;
  }

  .whatsapp-float {
    bottom: 75px; /* Offset so it doesn't cover action bar */
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 32px;
  }

  .logo-title {
    font-size: clamp(0.72rem, 3.4vw, 0.85rem);
    letter-spacing: 0;
    line-height: 1.15;
  }

  .logo-subtitle {
    font-size: 0.60rem;
    line-height: 1.15;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .brand-logo-card {
    min-width: 90px;
    padding: 6px 12px;
    font-size: 0.82rem;
  }
}

/* Mettler-Toledo Inspired Solutions & Industry Architecture */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 30px;
}

.solution-pillar-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.solution-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-cyan);
}

.solution-card-img {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-pillar-card:hover .solution-card-img img {
  transform: scale(1.06);
}

.solution-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(3, 105, 161, 0.9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.solution-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--dark-navy);
}

.solution-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.solution-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.solution-features li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.solution-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-cyan);
  flex-shrink: 0;
}

/* Industries Matrix */
.industries-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  transition: var(--transition);
  border-top: 4px solid var(--brand-blue);
}

.industry-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--primary-cyan);
  box-shadow: var(--shadow);
}

.industry-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--brand-blue);
}

.industry-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Hero 2-column layout option */
@media (min-width: 992px) {
  .hero-2col {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    text-align: left !important;
    max-width: 1200px !important;
  }
  .hero-2col .hero-cta-group {
    justify-content: flex-start;
  }
  .hero-2col .hero-trust-badges {
    justify-content: flex-start;
  }
}

/* Core Capabilities & Metrology Matrix */
.core-caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.core-cap-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.core-cap-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--primary-cyan));
}

.core-cap-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #BAE6FD;
}

.core-cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.core-cap-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.core-cap-box h3 {
  font-size: 1.25rem;
  color: var(--dark-navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.core-cap-item {
  margin-bottom: 16px;
}

.core-cap-item:last-child {
  margin-bottom: 0;
}

.core-cap-item h4 {
  font-size: 0.98rem;
  color: var(--primary-cyan);
  margin-bottom: 4px;
  font-weight: 700;
}

.core-cap-item p {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin: 0;
}

/* Repairs & Calibration Team Section */
.repair-team-hero {
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 50%, #0EA5E9 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 45px 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.repair-team-hero h2 {
  color: #FFFFFF;
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.repair-team-hero .repair-subtitle {
  font-size: 1.2rem;
  color: #E0F2FE;
  font-weight: 600;
  margin-bottom: 18px;
}

.repair-team-hero p {
  color: #F0F9FF;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 960px;
  margin-bottom: 14px;
}

.repair-team-hero p:last-child {
  margin-bottom: 0;
}

.brand-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.brand-chip {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Standout Grid */
.standout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.standout-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.standout-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
}

.standout-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.standout-card h4 {
  font-size: 1.15rem;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.standout-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Repair Capabilities Grid */
.repair-caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}

.repair-cap-card {
  background: var(--light-gray);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
  border-left: 4px solid var(--primary-cyan);
  transition: var(--transition);
}

.repair-cap-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.repair-cap-card h4 {
  font-size: 1.05rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.repair-cap-card p {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin: 0;
}

/* Service Scope Dual Cards */
.service-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 850px) {
  .service-scope-grid {
    grid-template-columns: 1fr;
  }
}

.service-scope-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-scope-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.service-scope-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-scope-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-scope-header h3 {
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin: 0;
}

.service-scope-card p {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.service-tag-item {
  background: var(--light-gray);
  border: 1px solid var(--border-color);
  color: var(--dark-navy);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

@keyframes pulse-anim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
