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

html {
  scroll-behavior: smooth;
}

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

body.dark {
  background: #0f172a;
  color: #e2e8f0;
}

.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);
  white-space: nowrap;
  border: 0;
}

/* ===== Header & Navigation ===== */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s;
}

body.dark header {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0a1628, #1e3a5f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .nav-logo {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

body.dark .nav-links a {
  color: #cbd5e1;
}

.nav-links a:hover {
  color: #2563eb;
}

body.dark .nav-links a:hover {
  color: #fbbf24;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1e293b;
}

body.dark .nav-toggle {
  color: #e2e8f0;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

.theme-toggle {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1e293b;
  transition: background 0.3s, color 0.3s;
}

body.dark .theme-toggle {
  color: #fbbf24;
  border-color: #334155;
}

.theme-toggle:hover {
  background: #f1f5f9;
}

body.dark .theme-toggle:hover {
  background: #1e293b;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid #e2e8f0;
  }

  body.dark .nav-links {
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid #334155;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: transparent;
  padding: 12px 0;
  font-size: 0.85rem;
  color: #64748b;
}

body.dark .breadcrumb {
  color: #94a3b8;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

body.dark .breadcrumb a {
  color: #fbbf24;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0a1628 100%);
}

body.dark .hero {
  background: linear-gradient(135deg, #020617 0%, #1e293b 50%, #020617 100%);
}

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

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 540px;
}

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

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
}

.hero-btn-primary {
  background: #fbbf24;
  color: #0a1628;
}

.hero-btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.hero-visual svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.active {
  display: block;
}

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

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

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #0a1628, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .section-title h2 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

body.dark .section-title p {
  color: #94a3b8;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #0a1628;
}

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

.about-text p {
  color: #475569;
  margin-bottom: 12px;
}

body.dark .about-text p {
  color: #94a3b8;
}

.about-visual {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Brand Story ===== */
.brand-story {
  background: #f1f5f9;
}

body.dark .brand-story {
  background: #1e293b;
}

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

.story-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.story-text p {
  color: #475569;
  margin-bottom: 12px;
}

body.dark .story-text p {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Culture ===== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

body.dark .culture-card {
  background: #1e293b;
  border-color: #334155;
}

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

body.dark .culture-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.culture-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.culture-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.culture-card p {
  color: #64748b;
  font-size: 0.95rem;
}

body.dark .culture-card p {
  color: #94a3b8;
}

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

body.dark .product-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.05);
}

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

body.dark .product-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.product-card svg {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.product-card h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.product-card p {
  color: #64748b;
  font-size: 0.95rem;
}

body.dark .product-card p {
  color: #94a3b8;
}

/* ===== Advantages ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

body.dark .advantage-card {
  background: #1e293b;
}

.advantage-card:hover {
  transform: translateY(-4px);
}

.advantage-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.advantage-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.advantage-card p {
  color: #64748b;
  font-size: 0.9rem;
}

body.dark .advantage-card p {
  color: #94a3b8;
}

/* ===== Service ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

body.dark .service-card {
  background: #1e293b;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.service-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.service-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.service-card p {
  color: #64748b;
  font-size: 0.85rem;
}

body.dark .service-card p {
  color: #94a3b8;
}

/* ===== Solutions ===== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.solution-card {
  background: linear-gradient(135deg, #f8fafc, #fff);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

body.dark .solution-card {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-color: #334155;
}

.solution-card:hover {
  border-color: #2563eb;
  transform: translateY(-4px);
}

body.dark .solution-card:hover {
  border-color: #fbbf24;
}

.solution-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.solution-card p {
  color: #64748b;
  font-size: 0.9rem;
}

body.dark .solution-card p {
  color: #94a3b8;
}

/* ===== Scenarios ===== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.scenario-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

body.dark .scenario-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.04);
}

.scenario-card:hover {
  background: rgba(255, 255, 255, 0.8);
}

body.dark .scenario-card:hover {
  background: rgba(30, 41, 59, 0.8);
}

.scenario-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.scenario-card p {
  color: #64748b;
  font-size: 0.9rem;
}

body.dark .scenario-card p {
  color: #94a3b8;
}

/* ===== Stats ===== */
.stats {
  background: linear-gradient(135deg, #0a1628, #1e3a5f);
  padding: 60px 0;
  color: #fff;
}

body.dark .stats {
  background: linear-gradient(135deg, #020617, #1e293b);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 1rem;
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Cases ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.case-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

body.dark .case-card {
  background: #1e293b;
}

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

.case-card .case-body {
  padding: 24px;
}

.case-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.case-card p {
  color: #64748b;
  font-size: 0.9rem;
}

body.dark .case-card p {
  color: #94a3b8;
}

/* ===== Clients ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.client-item {
  opacity: 0.6;
  transition: opacity 0.3s;
}

.client-item:hover {
  opacity: 1;
}

.client-item svg {
  width: 120px;
  height: auto;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

body.dark .testimonial-card {
  background: #1e293b;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: #2563eb;
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
}

body.dark .testimonial-card::before {
  color: #fbbf24;
}

.testimonial-card p {
  color: #475569;
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

body.dark .testimonial-card p {
  color: #94a3b8;
}

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

.testimonial-author svg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.testimonial-author strong {
  font-size: 0.95rem;
}

.testimonial-author span {
  color: #64748b;
  font-size: 0.85rem;
}

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

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

.news-card:hover {
  transform: translateY(-4px);
}

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

.news-card .news-meta {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.news-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.news-card p {
  color: #64748b;
  font-size: 0.9rem;
}

body.dark .news-card p {
  color: #94a3b8;
}

/* ===== FAQ ===== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
}

body.dark .faq-item {
  border-color: #334155;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: #1e293b;
}

body.dark .faq-question {
  color: #e2e8f0;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 8px;
  color: #475569;
  font-size: 0.95rem;
  display: none;
}

body.dark .faq-answer {
  color: #94a3b8;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== HowTo ===== */
.howto {
  background: #f1f5f9;
}

body.dark .howto {
  background: #1e293b;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.howto-step {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.dark .howto-step {
  background: #1e293b;
}

.howto-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

body.dark .howto-step::before {
  background: #fbbf24;
  color: #0a1628;
}

.howto-step h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  margin-top: 8px;
}

.howto-step p {
  color: #64748b;
  font-size: 0.9rem;
}

body.dark .howto-step p {
  color: #94a3b8;
}

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

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.dark .contact-info p {
  color: #94a3b8;
}

.contact-info svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
  transition: border 0.3s;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
}

body.dark .contact-form input:focus,
body.dark .contact-form textarea:focus {
  border-color: #fbbf24;
}

.contact-form button {
  padding: 14px 32px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

body.dark .contact-form button {
  background: #fbbf24;
  color: #0a1628;
}

.contact-form button:hover {
  background: #1d4ed8;
}

body.dark .contact-form button:hover {
  background: #f59e0b;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Sitemap ===== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
}

.sitemap-col h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #0a1628;
}

body.dark .sitemap-col h4 {
  color: #f1f5f9;
}

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

.sitemap-col li {
  margin-bottom: 6px;
}

.sitemap-col a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

body.dark .sitemap-col a {
  color: #94a3b8;
}

.sitemap-col a:hover {
  color: #2563eb;
}

body.dark .sitemap-col a:hover {
  color: #fbbf24;
}

/* ===== Friend Links ===== */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.friend-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f1f5f9;
  transition: all 0.3s;
}

body.dark .friend-links a {
  color: #94a3b8;
  background: #1e293b;
}

.friend-links a:hover {
  background: #e2e8f0;
  color: #2563eb;
}

body.dark .friend-links a:hover {
  background: #334155;
  color: #fbbf24;
}

/* ===== Footer ===== */
footer {
  background: #0a1628;
  color: #cbd5e1;
  padding: 40px 0 20px;
}

body.dark footer {
  background: #020617;
}

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

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

.footer-col p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

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

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

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fbbf24;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  margin-left: 16px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.3s;
  z-index: 999;
}

body.dark .back-to-top {
  background: #fbbf24;
  color: #0a1628;
}

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

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

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ===== Search Box ===== */
.search-box {
  display: flex;
  max-width: 400px;
  margin: 0 auto 40px;
}

.search-box input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
  background: #fff;
}

body.dark .search-box input {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.search-box button {
  padding: 12px 24px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

body.dark .search-box button {
  background: #fbbf24;
  color: #0a1628;
}

.search-box button:hover {
  background: #1d4ed8;
}

body.dark .search-box button:hover {
  background: #f59e0b;
}

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

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

/* ===== Responsive Small Screens ===== */
@media (max-width: 480px) {
  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }
}