/* =============================================
   SOS INFOCITY — Main Stylesheet
   ============================================= */

/* --- Variables --- */
:root {
  --primary: #f75910;
  --primary-light: #ff8a3d;
  --primary-dark: #d64507;
  --dark-bg: #0f1419;
  --dark-secondary: #1a2332;
  --card-bg: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-tertiary: #888888;
  --border-light: #e8e8e8;
  --border-dark: #d4d4d4;
  --accent-blue: #185fa5;
  --accent-orange: #e69139;
  --bg-light: #f8f9fb;
  --bg-lighter: #fafbfc;
  /* --primary: #0a2463; */
  --accent: #e63946;
  --accent2: #1d84b5;
  --light: #f4f7fb;
  --dark: #0d1b2a;
  --gray: #6c757d;
  --border: #dde4ef;
  --white: #ffffff;
  --font-head: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 8px 32px rgba(10, 36, 99, 0.1);
  --radius: 14px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: var(--font-head); */
  line-height: 1.2;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
h3 {
  font-size: 1.4rem;
}

/* --- Utility --- */
.container {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  /* padding: 90px 0; */
}
.section-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e69139;
  margin-bottom: 12px;
}
/* .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 28px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: #e69139;
  color: var(--white);
}
.btn-primary:hover {
  background: #e69139;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: #e69139;
  color: #e69139;
}
.btn-outline:hover {
  background: #e69139;
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: #e69139;
}
.btn-white:hover {
  background: #e69139;
  color: var(--white);
} */
.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
  box-shadow: 0 4px 15px rgba(247, 89, 16, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 89, 16, 0.4);
}

.btn-white {
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--border-light);
}

.btn-white:hover {
  color: black;
  background: var(--bg-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 12px 28px;
}

.btn-outline:hover {
  background: rgba(247, 89, 16, 0.05);
  color: black;
  transform: translateY(-4px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* =============================================
   HEADER / NAVBAR
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(10, 36, 99, 0.07);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img {
  height: 64px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav > li {
  position: relative;
}
.nav > li > a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--dark);
  transition: var(--transition);
}
.nav > li > a:hover,
.nav > li > a.active {
  color: #e69139;
  background: var(--light);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 580px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: var(--transition);
}
.nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  transition: var(--transition);
  white-space: normal;
}
.dropdown-item:hover {
  background: var(--light);
}
.dropdown-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.dropdown-item h5 {
  font-size: 0.88rem;
  /* font-family: var(--font-head); */
  margin-bottom: 2px;
  /* color: var(--primary); */
}
.dropdown-item p {
  font-size: 0.76rem;
  color: var(--gray);
}
.dropdown-why {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.dropdown-why h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 10px;
}
.dropdown-why ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dropdown-why ul li {
  background: var(--light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* Mobile Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 36, 99, 0.82) 0%,
    rgba(13, 27, 42, 0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  /* max-width: 760px; */
  animation: fadeUp 0.9s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge span {
  width: 8px;
  height: 8px;
  background: #e69139;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero-content h1 em {
  color: #e69139;
  font-style: normal;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
  background: var(--light);
}
.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.services-header p {
  color: var(--gray);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e69139;
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #e69139);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 20px;
}
.service-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
}
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
  background: linear-gradient(145deg, #ffffff, #fff7f0);
}

.service-card img {
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: rotate(5deg) scale(1.1);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray);
}
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeUp 0.4s ease;
}
.tab-content p {
  color: var(--gray);
  margin-bottom: 20px;
}
.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.stat-item {
  text-align: center;
}
.stat-item img {
  width: 36px;
  margin: 0 auto 8px;
}
.stat-item h5 {
  font-size: 1.8rem;
  color: var(--primary);
}
.stat-item p {
  font-size: 0.8rem;
  color: var(--gray);
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-images img {
  border-radius: var(--radius);
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.about-images img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products {
  background: var(--dark);
}
.products .section-label {
  color: #e69139;
}
.products h2 {
  color: var(--white);
}
.product-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.product-item:last-child {
  border-bottom: none;
}
.product-item.reverse {
  direction: rtl;
}
.product-item.reverse > * {
  direction: ltr;
}
.product-text h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.product-text p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}
.product-text ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-text ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}
.product-text ul li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: #e69139;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.product-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-img:hover img {
  transform: scale(1.04);
}

/* =============================================
   PARTNERS
   ============================================= */
/* =============================================
   PARTNERS
   ============================================= */
.partners {
  background: var(--light);
  padding: 60px 60px;
  overflow: hidden;
}

.partners h2 {
  text-align: center;
  margin-bottom: 40px;
}

.marquee-wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
}

.marquee-track img {
  height: 56px;
  width: 86px;
  /* filter: grayscale(1) opacity(0.55); */
  transition: var(--transition);
}

.marquee-track img:hover {
  filter: grayscale(0) opacity(1);
}

.row1 .marquee-track {
  animation: scrollLeft 28s linear infinite;
}

.row2 .marquee-track {
  animation: scrollRight 28s linear infinite;
}

.row1:hover .marquee-track,
.row2:hover .marquee-track {
  animation-play-state: paused;
}

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

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

/* =============================================
   INDUSTRIES SECTION
   ============================================= */
.industries-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.industry-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.industry-card:hover img {
  transform: scale(1.08);
}
.industry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(
    0deg,
    rgba(10, 36, 99, 0.85) 0%,
    transparent 100%
  );
  color: var(--white);
  /* font-family: var(--font-head); */
  font-weight: 600;
  font-size: 0.95rem;
}

/* =============================================
   CASE STUDIES (SLIDER)
   ============================================= */
.case-studies {
  background: var(--light);
}
.cs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.cs-slider {
  position: relative;
  overflow: hidden;
}
.cs-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.cs-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 36, 99, 0.06);
  transition: var(--transition);
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cs-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.cs-card-body {
  padding: 24px;
}
.cs-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e69139;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.cs-card-body h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cs-card-body p {
  font-size: 0.88rem;
  color: var(--gray);
}
.cs-controls {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  justify-content: center;
}
.cs-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #e69139;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cs-btn:hover {
  background: #e69139;
  border-color: #e69139;
  color: white;
}
.cs-btn svg {
  width: 18px;
  height: 18px;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-intro h2 {
  margin-bottom: 16px;
}
.faq-intro p {
  color: var(--gray);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  /* font-family: var(--font-head); */
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
}
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 0 20px;
  color: var(--gray);
  font-size: 0.93rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  position: relative;
  overflow: hidden;
  /* background: var(--primary); */
  background: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQRPmbQk2mz14aerKhvuMeBebddYcuMDI-lBA&s")
    center/cover no-repeat;
  padding: 80px 40px;
  margin: 60px auto; /* centers horizontally */
  max-width: 800px; /* responsive width */
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url("../images/cta/01.webp") center/cover no-repeat;
  opacity: 0.15;
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-content h2 {
  color: var(--white);
  margin-bottom: 14px;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQRPmbQk2mz14aerKhvuMeBebddYcuMDI-lBA&s")
    center/cover no-repeat;
  padding: 80px 40px;
  margin: 60px auto;
  max-width: 800px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Tablet */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 25px;
    margin: 40px 20px;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .cta-section {
    padding: 50px 20px;
    margin: 30px 15px;
    border-radius: 12px;
  }

  .cta-content h2 {
    font-size: 1.3rem;
  }

  .cta-content p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .btn-white {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* =============================================
   FOOTER
   ============================================= */
/* .footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
} */
/* .footer {
  background: url('https://comuti.in/wp-content/uploads/2021/07/footer-bg.png') no-repeat center center/cover;
  color: rgba(255, 255, 255, 0.7);
} */

.footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
}

/* 🎥 Video styling */
.footer-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Ensure content stays above video */
.footer .container {
  position: relative;
  z-index: 1;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 1, 61, 0.612);
  z-index: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  /* padding: 72px 0 48px; */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
}
.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-brand img {
  height: 82px;
  margin-bottom: 16px;
}
.footer-brand p {
  text-align: justify;
  font-size: 0.88rem;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-col h6 {
  /* font-family: var(--font-head); */
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  justify-content: center;
  /* flex-direction: column; */
  gap: 30px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--white);
  scale: 1.05;
  /* padding-left: 4px; */
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
}
.footer-bottom a {
  color: #e69139;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 999;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav > ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav > ul > li > a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
}
.mobile-nav > ul > li > a:hover {
  background: var(--light);
  color: var(--primary);
}

/* Solutions accordion toggle button */
.mobile-sub-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}
.mobile-sub-toggle:hover {
  background: var(--light);
  color: var(--primary);
}
.mobile-sub-toggle.open {
  background: var(--light);
  color: var(--primary);
}

/* Arrow icon */
.mobile-sub-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.mobile-sub-toggle.open .mobile-sub-arrow {
  transform: rotate(180deg);
}

/* Sub-menu (collapsed by default) */
.mobile-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 12px;
}
.mobile-sub.open {
  max-height: 500px;
}
.mobile-sub li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--gray);
  transition: var(--transition);
}
.mobile-sub li a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}
.mobile-sub li a:hover {
  background: var(--light);
  color: var(--primary);
}
.mobile-sub li a:hover::before {
  background: #e69139;
}

.mobile-nav .mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .product-item {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-item.reverse {
    direction: ltr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .cs-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 768px) {
  .nav,
  .header-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Services — force single column, full width */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    width: 100%;
    padding: 24px;
  }

  .about-images {
    grid-template-columns: 1fr;
  }
  .about-images img {
    height: 200px;
  }
  .about-images img:first-child {
    height: 220px;
    grid-column: auto;
  }
  .cs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cs-card {
    flex: 0 0 calc(100% - 0px);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .stats-row {
    flex-direction: column;
    gap: 20px;
  }
}

/* Services — 2 columns on small-medium screens */
@media (min-width: 480px) and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
