/* ============================================
   Flyloongtech - Global Styles
   ============================================ */

:root {
  --primary: #1E4A8C;
  --secondary: #6B9E23;
  --accent: #3A8DDE;
  --text: #333333;
  --heading: #1A1A1A;
  --bg: #FFFFFF;
  --surface: #F0F4F8;
  --surface-green: #E8F0E0;
  --border: #DDE3E9;
  --footer-bg: #0F2A52;
  --whatsapp: #25D366;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 24px rgba(30,74,140,0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Lazy loading image styles */
img[data-src] {
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

img.loaded {
  opacity: 1;
  animation: none;
  background: none;
}

img.error {
  opacity: 1;
  animation: none;
  background: #f5f5f5;
}

@keyframes loading-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Image container for consistent aspect ratios */
.image-container {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

a:hover {
  color: var(--accent);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }

.section-padding {
  padding: 100px 0;
}

.bg-surface {
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

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

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: #fff;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

.btn-submit {
  width: 100%;
}

/* ============================================
   Top Bar
   ============================================ */

.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 10px 0;
}

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

.top-bar-left {
  display: flex;
  gap: 24px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  gap: 16px;
}

.top-bar-right a {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}

.top-bar-right a:hover {
  color: #fff;
}

/* ============================================
   Header
   ============================================ */

.main-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.logo img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--surface);
}

.header-cta {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.header-cta:hover {
  background: var(--accent);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 100px 24px 24px;
  flex-direction: column;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu ul li a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--heading);
}

.mobile-cta {
  margin-top: auto;
  background: var(--primary);
  color: #fff;
  padding: 16px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-carousel {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 90vh;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 82, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 52px;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Carousel Controls */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(255,255,255,0.4);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: #fff;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
  background: var(--primary);
  color: #fff;
  padding: 16px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.trust-icon {
  font-size: 18px;
}

/* ============================================
   Two Column Layout
   ============================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.col-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.col-content h2 {
  margin-bottom: 20px;
}

.col-content p {
  margin-bottom: 16px;
  color: #555;
}

.col-content .btn {
  margin-top: 8px;
}

/* ============================================
   Product Grid
   ============================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 18px;
  padding: 20px 20px 4px;
}

.product-card p {
  padding: 0 20px 12px;
  font-size: 14px;
  color: #666;
}

.link-arrow {
  display: inline-block;
  padding: 0 20px 20px;
  font-weight: 600;
  font-size: 14px;
}

/* ============================================
   Features Grid
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--surface);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--surface-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--secondary);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
  position: relative;
  padding: 100px 0;
  background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&h=600&fit=crop') center/cover no-repeat;
  color: #fff;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 74, 140, 0.88);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  opacity: 0.85;
}

/* ============================================
   Certifications
   ============================================ */

.cert-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cert-item {
  width: 120px;
  height: 80px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--primary);
  background: #fff;
}

/* ============================================
   Applications
   ============================================ */

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.app-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
}

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

.app-card:hover img {
  transform: scale(1.08);
}

.app-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30,74,140,0.9));
  padding: 60px 20px 20px;
  color: #fff;
}

.app-overlay h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 6px;
}

.app-overlay p {
  font-size: 14px;
  opacity: 0.9;
}

/* ============================================
   CTA Banner
   ============================================ */

.cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Page Hero
   ============================================ */

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Factory Facilities
   ============================================ */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.facility-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.facility-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.facility-card h3 {
  font-size: 16px;
  padding: 16px 16px 4px;
}

.facility-card p {
  padding: 0 16px 16px;
  font-size: 14px;
  color: #666;
}

/* ============================================
   Process Steps
   ============================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  color: #666;
}

/* ============================================
   Cert Detail Grid
   ============================================ */

.cert-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-detail-item {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
}

.cert-detail-item h3 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 8px;
}

.cert-detail-item p {
  font-size: 14px;
  color: #666;
}

/* ============================================
   Product List
   ============================================ */

.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.product-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-item h3 {
  font-size: 16px;
  padding: 16px 16px 4px;
}

.product-forms,
.product-pack {
  padding: 0 16px;
  font-size: 13px;
  color: #888;
}

.product-pack {
  padding-bottom: 16px;
}

/* ============================================
   OEM Section
   ============================================ */

.oem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.oem-item {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
}

.oem-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.oem-item p {
  font-size: 14px;
  color: #666;
}

.oem-moq {
  text-align: center;
  margin-top: 32px;
  font-size: 16px;
}

/* ============================================
   Specs Table
   ============================================ */

.specs-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table th,
.specs-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 32px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--secondary);
}

.info-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
}

.info-item p {
  color: #666;
}

.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2 {
  margin-bottom: 24px;
}

/* ============================================
   Form Styles
   ============================================ */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,74,140,0.1);
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input {
  width: auto;
}

.alert {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: var(--surface-green);
  color: #2d5a1e;
  border: 1px solid #c8e6c9;
}

.alert-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* ============================================
   WhatsApp Float
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

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

/* ============================================
   Footer
   ============================================ */

.main-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

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

.footer-logo {
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
}

.footer-col a:hover {
  color: var(--accent);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-list span {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 13px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.2);
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(58,141,222,0.4);
}

.social-links a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
  color: var(--accent);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .product-grid,
  .features-grid,
  .app-grid,
  .facility-grid,
  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .oem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cert-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .section-padding {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-grid,
  .features-grid,
  .app-grid,
  .facility-grid,
  .product-list,
  .stats-grid,
  .process-steps,
  .oem-grid,
  .cert-detail-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    gap: 16px;
  }

  .trust-item {
    font-size: 12px;
  }

  .nav-menu,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .stat-number {
    font-size: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .cta-buttons {
    flex-direction: column;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 28px;
  }
}

/* ============================================
   Search Form Styles
   ============================================ */

.search-form {
  display: flex;
  position: relative;
}

.search-form input[type="text"] {
  padding: 8px 14px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  width: 180px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.search-form input[type="text"]:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(107, 158, 35, 0.3);
}

.search-form button {
  padding: 8px 14px;
  border: none;
  border-radius: 0 4px 4px 0;
  background: var(--secondary);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background: #5a8a1f;
}

/* Search results styles */
.search-results-info {
  background: var(--surface);
  padding: 16px 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  border-left: 4px solid var(--secondary);
}

.search-results-info p {
  margin: 0;
  color: var(--text);
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-results h3 {
  color: var(--heading);
  margin-bottom: 12px;
}

/* Mobile search adjustments */
@media (max-width: 768px) {
  .search-form input[type="text"] {
    width: 120px;
    font-size: 13px;
    padding: 6px 10px;
  }

  .search-form button {
    padding: 6px 10px;
    font-size: 13px;
  }
}
