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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f8f9fc;
  color: #1a1a2e;
  line-height: 1.7;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}

body.dark {
  background: #0d1117;
  color: #e6edf3;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  color: #fff;
  box-shadow: 0 8px 24px rgba(26, 42, 108, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 42, 108, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #1a2a6c;
  color: #1a2a6c;
}

.dark .btn-outline {
  border-color: #e6edf3;
  color: #e6edf3;
}

.btn-outline:hover {
  background: #1a2a6c;
  color: #fff;
}

.dark .btn-outline:hover {
  background: #e6edf3;
  color: #0d1117;
}

/* ===== Glass & Cards ===== */
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dark .glass {
  background: rgba(13, 17, 23, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dark .card {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  line-height: 1.3;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.dark .section-subtitle {
  color: #8b949e;
}

/* ===== Grid System ===== */
.grid {
  display: grid;
  gap: 32px;
}

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

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

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

/* ===== Utility Classes ===== */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.text-center {
  text-align: center;
}

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ===== Scroll Animation ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 16px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dark .header.scrolled {
  background: rgba(13, 17, 23, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

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

.nav a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease;
  color: #1a1a2e;
  white-space: nowrap;
}

.dark .nav a {
  color: #e6edf3;
}

.nav a:hover,
.nav a.active {
  background: rgba(26, 42, 108, 0.1);
}

.dark .nav a:hover,
.dark .nav a.active {
  background: rgba(255, 255, 255, 0.1);
}

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

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #1a2a6c;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.dark .menu-toggle span {
  background: #e6edf3;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s ease;
  color: #1a1a2e;
  line-height: 1;
}

.dark .theme-toggle {
  color: #e6edf3;
}

.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.dark .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 50%, #fce4ec 100%);
}

.dark .hero-bg {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #1c1f2e 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .hero-content h1 {
  color: #e6edf3;
}

.hero-content p {
  font-size: 1.2rem;
  color: #4b5563;
  margin-bottom: 32px;
  max-width: 540px;
}

.dark .hero-content p {
  color: #8b949e;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 32px;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  padding: 16px;
  box-shadow: 0 24px 64px rgba(26, 42, 108, 0.25);
}

.hero-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot.active {
  background: #1a2a6c;
  transform: scale(1.3);
}

.dark .banner-dot {
  background: #30363d;
}

.dark .banner-dot.active {
  background: #e6edf3;
}

/* ===== Brand Section ===== */
.brand-section {
  background: #fff;
}

.dark .brand-section {
  background: #0d1117;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.brand-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.brand-text p {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.dark .brand-text p {
  color: #8b949e;
}

.brand-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: #f8f9fc;
  border-radius: 16px;
}

.dark .stat-item {
  background: #161b22;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a2a6c;
}

.dark .stat-number {
  color: #e6edf3;
}

.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 4px;
}

.dark .stat-label {
  color: #8b949e;
}

.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 3px solid #1a2a6c;
}

.dark .timeline {
  border-color: #e6edf3;
}

.timeline-item {
  margin-bottom: 32px;
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 14px;
  height: 14px;
  background: #1a2a6c;
  border-radius: 50%;
  position: absolute;
  left: -40px;
  top: 6px;
  border: 3px solid #fff;
}

.dark .timeline-item::before {
  background: #e6edf3;
  border-color: #0d1117;
}

.timeline-year {
  font-weight: 800;
  font-size: 1.1rem;
  color: #b21f1f;
}

.dark .timeline-year {
  color: #ff6b6b;
}

.timeline-desc {
  color: #4b5563;
}

.dark .timeline-desc {
  color: #8b949e;
}

/* ===== Products ===== */
.product-card {
  text-align: center;
  padding: 40px 24px;
}

.product-card .icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-card p {
  color: #6b7280;
  font-size: 0.95rem;
}

.dark .product-card p {
  color: #8b949e;
}

/* ===== Services ===== */
.service-card {
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dark .service-card {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: #6b7280;
  font-size: 0.95rem;
}

.dark .service-card p {
  color: #8b949e;
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dark .testimonial-card {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.06);
}

.testimonial-card .quote {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.dark .testimonial-card .quote {
  color: #8b949e;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-card .author-info .name {
  font-weight: 700;
}

.testimonial-card .author-info .role {
  font-size: 0.85rem;
  color: #6b7280;
}

.dark .testimonial-card .author-info .role {
  color: #8b949e;
}

/* ===== Partners ===== */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.partner-item {
  width: 120px;
  height: 60px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: opacity 0.3s ease;
}

.dark .partner-item {
  background: rgba(255, 255, 255, 0.06);
}

.partner-item:hover {
  opacity: 0.7;
}

/* ===== News Cards ===== */
.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dark .news-card {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.06);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.news-card .img-wrap {
  height: 200px;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.news-card .content {
  padding: 24px;
}

.news-card .date {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.dark .news-card .date {
  color: #8b949e;
}

.news-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card p {
  color: #6b7280;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .news-card p {
  color: #8b949e;
}

.news-card .read-more {
  display: inline-block;
  margin-top: 12px;
  color: #1a2a6c;
  font-weight: 600;
  font-size: 0.9rem;
}

.dark .news-card .read-more {
  color: #e6edf3;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 20px 0;
  cursor: pointer;
}

.dark .faq-item {
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  gap: 16px;
}

.faq-question .icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: #1a2a6c;
  flex-shrink: 0;
}

.dark .faq-question .icon {
  color: #e6edf3;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
}

.dark .faq-answer {
  color: #8b949e;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 16px;
}

/* ===== HowTo Steps ===== */
.howto-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.howto-step .step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.howto-step .step-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.howto-step .step-content p {
  color: #6b7280;
  font-size: 0.95rem;
}

.dark .howto-step .step-content p {
  color: #8b949e;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info p {
  color: #4b5563;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dark .contact-info p {
  color: #8b949e;
}

.contact-info .label {
  font-weight: 600;
  color: #1a1a2e;
  min-width: 80px;
  flex-shrink: 0;
}

.dark .contact-info .label {
  color: #e6edf3;
}

/* ===== Footer ===== */
.footer {
  background: #0d1117;
  color: #e6edf3;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer a {
  color: #8b949e;
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #e6edf3;
}

.footer p {
  color: #8b949e;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  color: #6b7280;
}

.footer-bottom a {
  color: #8b949e;
  display: inline;
  margin: 0 8px;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(26, 42, 108, 0.3);
  z-index: 999;
  line-height: 1;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ===== Search Modal ===== */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.search-modal.open {
  display: flex;
}

.search-modal .modal-content {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  width: 90%;
  max-width: 560px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.dark .search-modal .modal-content {
  background: #161b22;
}

.search-modal input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  font-size: 1.1rem;
  outline: none;
  transition: border 0.3s ease;
  background: transparent;
  color: inherit;
}

.dark .search-modal input {
  border-color: #30363d;
}

.search-modal input:focus {
  border-color: #1a2a6c;
}

.search-modal .close-btn {
  float: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  line-height: 1;
  padding: 4px;
}

.dark .search-modal .close-btn {
  color: #8b949e;
}

.search-results {
  margin-top: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.search-results .result-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: color 0.2s;
}

.dark .search-results .result-item {
  border-color: rgba(255, 255, 255, 0.06);
}

.search-results .result-item:hover {
  color: #1a2a6c;
}

.dark .search-results .result-item:hover {
  color: #e6edf3;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.breadcrumb a {
  color: #1a2a6c;
}

.dark .breadcrumb a {
  color: #e6edf3;
}

.breadcrumb span {
  margin: 0 4px;
}

/* ===== EEAT Section ===== */
.eeat-section {
  background: #f8f9fc;
  border-radius: 20px;
  padding: 32px;
  margin-top: 48px;
}

.dark .eeat-section {
  background: #161b22;
}

.eeat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.eeat-item h4 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1rem;
}

.eeat-item p {
  color: #6b7280;
  font-size: 0.9rem;
}

.dark .eeat-item p {
  color: #8b949e;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 60px 0;
  }
  .hero .container {
    gap: 48px;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 48px 0;
  }
  .section-subtitle {
    margin-bottom: 32px;
  }

  /* Header / Nav */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  .dark .nav {
    background: rgba(13, 17, 23, 0.98);
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .nav a {
    padding: 12px 20px;
    font-size: 1.1rem;
  }

  /* Hero */
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }

  /* Brand */
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .brand-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .stat-number {
    font-size: 1.8rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* HowTo */
  .howto-step {
    gap: 16px;
  }
  .howto-step .step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }

  /* Timeline */
  .timeline {
    padding-left: 24px;
  }
  .timeline-item::before {
    left: -32px;
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .brand-stats {
    grid-template-columns: 1fr;
  }
  .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .search-modal .modal-content {
    padding: 24px;
  }
  .search-modal input {
    font-size: 1rem;
    padding: 12px 16px;
  }
}

/* ===== Smooth dark mode transitions for interactive elements ===== */
.header,
.nav,
.card,
.service-card,
.testimonial-card,
.news-card,
.faq-item,
.eeat-section,
.brand-section,
.partner-item,
.stat-item,
.search-modal .modal-content {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}