/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f5f7fc;
  color: #1a2332;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark {
  background: #0b0f19;
  color: #e4e7ed;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== HEADER (Sticky, Glass, Dark) ===== */
.site-header {
  background: rgba(11, 26, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

body.dark .site-header {
  background: rgba(11, 15, 25, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0c27f;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.logo span {
  color: #fff;
}

body.dark .logo span {
  color: #e4e7ed;
}

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

.nav-list a {
  padding: 6px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-list a:hover,
.nav-list a.active {
  color: #f0c27f;
  transform: translateY(-1px);
}

.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f0c27f;
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.5rem;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

.dark-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f0c27f;
  font-size: 1.2rem;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background: rgba(11, 26, 46, 0.95);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 16px 24px;
    gap: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  body.dark .nav-list {
    background: rgba(11, 15, 25, 0.95);
  }

  .nav-list.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: #9aa3b2;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

.breadcrumb a {
  color: #6b7a8f;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #f0c27f;
}

.breadcrumb span {
  color: #c8943a;
}

body.dark .breadcrumb {
  color: #7a8a9e;
}

body.dark .breadcrumb a {
  color: #9aa3b2;
}

body.dark .breadcrumb span {
  color: #e8b86d;
}

/* ===== HERO (Gradient Banner + Slider) ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #0b1a2e 0%, #1a2f44 50%, #0b1a2e 100%);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(240, 194, 127, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-slider {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  padding: 0 20px;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 680px;
  margin: 0 auto 32px;
  animation: fadeInUp 1s ease;
}

.hero .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #f0c27f, #e0a84c);
  color: #0b1a2e;
  box-shadow: 0 8px 24px rgba(240, 194, 127, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(240, 194, 127, 0.4);
}

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

.btn-outline:hover {
  background: #f0c27f;
  color: #0b1a2e;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240, 194, 127, 0.3);
}

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

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-slider {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

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

/* ===== SECTION COMMON ===== */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a2332;
  transition: color 0.3s ease;
}

body.dark .section-title {
  color: #e4e7ed;
}

.section-sub {
  text-align: center;
  color: #6b7a8f;
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

body.dark .section-sub {
  color: #9aa3b2;
}

/* ===== CARDS (Rounded, Glass, Hover) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

body.dark .card {
  background: #1a2332;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.card p {
  color: #6b7a8f;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

body.dark .card p {
  color: #b0b9c7;
}

/* ===== GLASS EFFECT ===== */
.glass {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: background 0.3s ease;
}

body.dark .glass {
  background: rgba(26, 35, 50, 0.5);
  border-color: rgba(255, 255, 255, 0.05);
}

/* ===== BACKGROUND SOFT ===== */
.bg-soft {
  background: linear-gradient(180deg, #f0f4fe 0%, #fff 100%);
  transition: background 0.3s ease;
}

body.dark .bg-soft {
  background: linear-gradient(180deg, #111a28 0%, #0b0f19 100%);
}

/* ===== UTILITY GRIDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

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

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

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mb-16 {
  margin-bottom: 16px;
}

/* ===== STATS ===== */
.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #f0c27f;
  transition: color 0.3s ease;
}

body.dark .stat-number {
  color: #e8b86d;
}

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

/* ===== PARTNER LOGOS ===== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.partner-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  font-weight: 600;
  color: #2c3e50;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

body.dark .partner-item {
  background: #1a2332;
  color: #c8d0dc;
  border-color: #2a3a4e;
}

.partner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #f0c27f;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

.faq-item:hover {
  background: rgba(240, 194, 127, 0.03);
}

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

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #f0c27f;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #6b7a8f;
  font-size: 0.95rem;
  padding-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 12px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.contact-info .item {
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

body.dark .contact-info .item {
  background: rgba(26, 35, 50, 0.5);
  border-color: rgba(255, 255, 255, 0.05);
}

.contact-info .item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ===== FOOTER ===== */
.footer {
  background: #0b1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 20px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

body.dark .footer {
  background: #070b12;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer ul {
  list-style: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0c27f;
  color: #0b1a2e;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: all 0.3s ease;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(240, 194, 127, 0.4);
}

/* ===== NEWS CARD ===== */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

body.dark .news-card {
  background: #1a2332;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

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

.news-card .date {
  color: #9aa3b2;
  font-size: 0.8rem;
}

.news-card h3 {
  font-size: 1.1rem;
  margin: 8px 0;
  transition: color 0.3s ease;
}

.news-card:hover h3 {
  color: #f0c27f;
}

.tag {
  display: inline-block;
  background: rgba(240, 194, 127, 0.15);
  color: #c8943a;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-right: 6px;
  transition: background 0.3s ease;
}

.tag:hover {
  background: rgba(240, 194, 127, 0.3);
}

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  max-width: 480px;
  margin: 0 auto 32px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid #e8ecf2;
  transition: all 0.3s ease;
}

body.dark .search-bar {
  background: #1a2332;
  border-color: #2a3a4e;
}

.search-bar:focus-within {
  box-shadow: 0 4px 24px rgba(240, 194, 127, 0.15);
  border-color: #f0c27f;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 0.95rem;
  background: transparent;
  outline: none;
  color: inherit;
}

.search-bar button {
  background: #f0c27f;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  font-weight: 600;
  color: #0b1a2e;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-bar button:hover {
  background: #e0a84c;
  transform: scale(1.02);
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== ABOUT TEXT ===== */
.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: #4a5a6e;
  line-height: 1.8;
  transition: color 0.3s ease;
}

body.dark .about-text {
  color: #b0b9c7;
}

/* ===== VALUE LIST ===== */
.value-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

body.dark .value-item {
  background: rgba(26, 35, 50, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.value-item h4 {
  color: #f0c27f;
  margin-bottom: 8px;
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

body.dark .team-card {
  background: #1a2332;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.team-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c27f, #e0a84c);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #0b1a2e;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.team-card:hover .avatar {
  transform: scale(1.05);
}

.team-card h4 {
  font-size: 1.05rem;
}

.team-card .role {
  color: #9aa3b2;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ===== SOLUTION CARD ===== */
.solution-card {
  background: linear-gradient(135deg, rgba(240, 194, 127, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(240, 194, 127, 0.1);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
}

body.dark .solution-card {
  background: rgba(240, 194, 127, 0.02);
  border-color: rgba(240, 194, 127, 0.05);
}

.solution-card:hover {
  background: rgba(240, 194, 127, 0.08);
  border-color: rgba(240, 194, 127, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240, 194, 127, 0.1);
}

.solution-card h3 {
  margin-bottom: 8px;
  color: #f0c27f;
}

/* ===== HOWTO STEP ===== */
.howto-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 16px;
  transition: background 0.3s ease;
}

.howto-step:hover {
  background: rgba(240, 194, 127, 0.03);
}

.howto-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0c27f;
  color: #0b1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.howto-step:hover .step-num {
  transform: scale(1.1);
}

.howto-step .step-text {
  flex: 1;
}

.howto-step .step-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f2f6;
  transition: all 0.3s ease;
}

body.dark .testimonial-card {
  background: #1a2332;
  border-color: #2a3a4e;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.testimonial-card .stars {
  color: #f0c27f;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.testimonial-card p {
  color: #6b7a8f;
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 600;
  margin-top: 12px;
  color: #1a2332;
  transition: color 0.3s ease;
}

body.dark .testimonial-card .author {
  color: #e4e7ed;
}

/* ===== DATA ROW ===== */
.data-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  text-align: center;
}

.data-item {
  flex: 1;
  min-width: 140px;
  padding: 16px;
  transition: transform 0.3s ease;
}

.data-item:hover {
  transform: translateY(-4px);
}

.data-item .num {
  font-size: 2.4rem;
  font-weight: 700;
  color: #f0c27f;
  transition: color 0.3s ease;
}

body.dark .data-item .num {
  color: #e8b86d;
}

.data-item .label {
  color: #9aa3b2;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== FEATURE ICON ===== */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
  background: rgba(240, 194, 127, 0.12);
  color: #c8943a;
  transition: all 0.3s ease;
}

.solution-card:hover .feature-icon {
  background: rgba(240, 194, 127, 0.25);
  transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .data-row {
    gap: 20px;
  }

  .data-item {
    min-width: 100px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

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

  .hero h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .card {
    padding: 20px 16px;
  }

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

/* ===== DARK MODE SPECIFIC OVERRIDES ===== */
body.dark .search-bar input::placeholder {
  color: #7a8a9e;
}

body.dark .btn-primary {
  color: #0b1a2e;
}

body.dark .btn-outline {
  color: #f0c27f;
}

body.dark .btn-outline:hover {
  color: #0b1a2e;
}

body.dark .logo {
  color: #f0c27f;
}

body.dark .hero::before {
  background: radial-gradient(circle at 30% 40%, rgba(240, 194, 127, 0.05) 0%, transparent 60%);
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .hero-slide,
  .card,
  .btn,
  .back-to-top,
  .faq-answer,
  .faq-question::after {
    transition: none !important;
    animation: none !important;
  }

  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .back-to-top,
  .dark-toggle,
  .menu-toggle,
  .search-bar,
  .hero-slider {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .glass,
  .solution-card,
  .value-item,
  .team-card,
  .testimonial-card,
  .news-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }

  .footer {
    background: #f5f5f5;
    color: #333;
  }
}