/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  padding: 0 2rem;
}
.navbar .nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.navbar .logo img { height: 60px; }
.navbar .nav-links { display: flex; gap: 1.8rem; align-items: center; }
.navbar .nav-links a {
  font-size: .95rem; font-weight: 500; color: #333;
  transition: color .2s;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active { color: #2a7de1; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0b1d3a 0%, #14325a 100%);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 3rem;
  flex-wrap: wrap; justify-content: center;
}
.hero-text { flex: 1 1 480px; text-align: left; }
.hero-text h1 {
  font-size: 2.2rem; line-height: 1.25; margin-bottom: 1.2rem;
  font-weight: 700;
}
.hero-text p { font-size: 1.05rem; margin-bottom: 1rem; opacity: .9; }
.hero-text .btn { margin-top: 1rem; }
.hero-image { flex: 0 1 420px; }
.hero-image img { border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.3); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: .75rem 2rem;
  background: #2a7de1; color: #fff;
  border-radius: 6px; font-weight: 600; font-size: 1rem;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn:hover { background: #1b5fb5; transform: translateY(-1px); }
.btn-outline {
  background: transparent; border: 2px solid #fff; color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

/* ===== SECTION UTILITIES ===== */
.section { padding: 5rem 2rem; }
.section-dark { background: #0b1d3a; color: #fff; }
.section-light { background: #f7f9fc; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 2rem; font-weight: 700; margin-bottom: .6rem;
  text-align: center;
}
.section-subtitle {
  font-size: 1.1rem; text-align: center;
  opacity: .8; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto;
}
.text-center { text-align: center; }

/* ===== DME SECTION ===== */
.dme-section {
  display: flex; gap: 3rem; align-items: center; flex-wrap: wrap;
}
.dme-text { flex: 1 1 500px; }
.dme-text h2 { font-size: 1.8rem; margin-bottom: 1rem; color: #0b1d3a; }
.dme-text p { margin-bottom: 1rem; }
.dme-image { flex: 0 1 400px; }
.dme-image img { border-radius: 12px; }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: #fff; border-radius: 12px; padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  text-align: center; transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.feature-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: .6rem; color: #0b1d3a; }
.feature-card p { font-size: .95rem; opacity: .8; }

/* ===== PRODUCT CARDS ===== */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card .card-body { padding: 1.5rem; }
.product-card h3 { font-size: 1.15rem; margin-bottom: .5rem; color: #0b1d3a; }
.product-card p { font-size: .9rem; opacity: .8; }

/* ===== DISTRIBUTOR BANNER ===== */
.distributor-banner {
  text-align: center; padding: 3rem 2rem;
}
.distributor-banner img { max-width: 500px; margin: 0 auto; }

/* ===== SECURITY / INNOVATION SECTION ===== */
.innovation-section {
  display: flex; gap: 3rem; align-items: center; flex-wrap: wrap;
}
.innovation-text { flex: 1 1 500px; }
.innovation-text h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.innovation-text p { margin-bottom: 1rem; opacity: .9; }
.innovation-image { flex: 0 1 400px; }
.innovation-image img { border-radius: 12px; }

/* ===== CONTACT FORM ===== */
.contact-section {
  display: flex; gap: 3rem; flex-wrap: wrap; align-items: flex-start;
}
.contact-form-wrap { flex: 1 1 500px; }
.contact-info-wrap { flex: 0 1 380px; }
.contact-form-wrap h2 { font-size: 1.8rem; margin-bottom: 1.5rem; color: #0b1d3a; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .9rem; }
.form-group input,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1px solid #d1d5db; border-radius: 6px;
  font-size: 1rem; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #2a7de1; }
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-group {
  display: flex; align-items: flex-start; gap: .5rem;
  margin-bottom: 1.2rem; font-size: .9rem;
}
.checkbox-group input[type="checkbox"] { margin-top: 4px; }

/* Contact info sidebar */
.contact-info-wrap h3 { font-size: 1.3rem; margin-bottom: 1rem; color: #0b1d3a; }
.contact-item {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: 1.2rem;
}
.contact-item .ci-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item p { font-size: .95rem; }
.contact-item a { color: #2a7de1; }
.contact-item a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  background: #0b1d3a; color: rgba(255,255,255,.7);
  text-align: center; padding: 2rem;
  font-size: .85rem;
}
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; text-decoration: underline; }

/* ===== ABOUT / WHY CHOOSE US ===== */
.about-grid {
  display: flex; gap: 3rem; flex-wrap: wrap; align-items: center;
}
.about-text { flex: 1 1 500px; }
.about-text h2 { font-size: 1.8rem; margin-bottom: 1rem; color: #0b1d3a; }
.about-text p { margin-bottom: 1rem; }
.about-image { flex: 0 1 400px; }
.about-image img { border-radius: 12px; }

.why-list { list-style: none; padding: 0; }
.why-list li {
  padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: flex-start; gap: .75rem;
}
.why-list li::before {
  content: "\2713"; color: #4ecdc4; font-weight: 700; font-size: 1.2rem;
  flex-shrink: 0;
}
.section-dark .why-list li { border-color: rgba(255,255,255,.15); }

/* ===== INTAKE FORM ===== */
.intake-form { max-width: 700px; margin: 0 auto; }
.intake-form .form-row {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.intake-form .form-row .form-group { flex: 1 1 280px; }
.radio-group { display: flex; gap: 1.5rem; margin-top: .3rem; }
.radio-group label { font-weight: 400; display: flex; align-items: center; gap: .3rem; }

/* ===== BLOG ===== */
.blog-nav { display: flex; gap: 1rem; margin-bottom: 2rem; justify-content: center; }
.blog-nav a {
  padding: .5rem 1.2rem; border-radius: 20px;
  background: #e8edf3; font-size: .9rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.blog-nav a:hover, .blog-nav a.active { background: #2a7de1; color: #fff; }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .2s;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card .card-body { padding: 1.5rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: #0b1d3a; }
.blog-card .meta { font-size: .8rem; color: #888; margin-bottom: .6rem; }
.blog-card p { font-size: .9rem; opacity: .8; }

/* Blog post detail */
.blog-post { max-width: 780px; margin: 0 auto; }
.blog-post h1 { font-size: 2rem; margin-bottom: .5rem; color: #0b1d3a; }
.blog-post .meta { color: #888; margin-bottom: 2rem; font-size: .9rem; }
.blog-post p { margin-bottom: 1rem; }
.blog-post h2 { font-size: 1.4rem; margin: 2rem 0 .8rem; color: #0b1d3a; }
.blog-post h3 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; color: #14325a; }
.blog-post ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-post ul li { margin-bottom: .4rem; }

.share-buttons { display: flex; gap: .8rem; margin-top: 2rem; }
.share-btn {
  padding: .5rem 1rem; border-radius: 6px;
  font-size: .85rem; font-weight: 500; color: #fff;
}
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }

/* ===== PRIVACY MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 200;
  justify-content: center; align-items: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: #fff; max-width: 600px; width: 90%;
  border-radius: 12px; padding: 2rem;
  max-height: 80vh; overflow-y: auto; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .navbar .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 80px; left: 0; right: 0;
    background: #fff; padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  .navbar .nav-links.open { display: flex; }
  .hero-text { text-align: center; }
  .hero-text h1 { font-size: 1.7rem; }
  .dme-section, .innovation-section, .about-grid,
  .contact-section { flex-direction: column; }
  .section { padding: 3rem 1.2rem; }
  .hero { padding: 3rem 1.2rem; }
}
