/* =====================
   BASE RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
   font-family: -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =====================
   HEADER
===================== */
.site-header {
  background: #0f172a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 34px;
}

.nav-desktop {
  display: flex;
  gap: 28px;
}

.nav-desktop a {
  color: #e5e7eb;
  font-size: 15px;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #2563eb;
  transition: width 0.25s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-login {
  color: #60a5fa;
  font-weight: 600;
}

/* Mobile */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #0f172a;
}

.nav-mobile a {
  padding: 14px;
  text-align: center;
  color: #e5e7eb;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile.open {
  display: flex;
}

/* =====================
   HERO
===================== */
.hero {
  background: #f8fafc;
  padding: 80px 20px;
}

.hero-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Buttons */
.btn-primary {
  background: #2563eb;
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-secondary {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
}

/* =====================
   SECTIONS
===================== */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;
}

.section-light {
  background: #f8fafc;
}

.section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: #475569;
  margin-bottom: 44px;
}




/* =====================
   INTELISKA FOOTER (STRONG)
===================== */
/* =========================
   FOOTER FINAL CLEAN
========================= */

.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 50px 20px 20px;
}

/* Container */
.footer-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

/* Logo */
.footer-logo {
  height: 28px;
  margin-bottom: 14px;
}

/* Description */
.footer-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Titles */
.footer-col h4 {
  font-size: 15px;
  margin-bottom: 14px;
  color: #ffffff;
}

/* Links */
.footer-col a {
  display: block;
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 8px;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #60a5fa;
}

/* Contact text */
.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* Icons */
.footer-col i {
  margin-right: 8px;
  color: #60a5fa;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 20px;
  }
}

/* ===============================
   Scroll To Top Button
   =============================== */

#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0f172a;          /* dark navy */
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: none;                /* hidden by default */
  align-items: center;
  justify-content: center;
  box-shadow:
  0 8px 20px rgba(0, 0, 0, 0.25),
  0 0 0 2px rgba(255, 255, 255, 0.15);
  z-index: 999;
  transition: all 0.25s ease;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
  background: #111827;
}

/* Mobile tweak */
@media (max-width: 768px) {
  #scrollTopBtn {
    bottom: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
  }
}



/* ===============================
   PRODUCTS LISTING PAGE
=============================== */

.sl-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: auto;
}

.sl-product-card {
  border: 1px solid #eef2f7;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  transition: all 0.25s ease;
  background: #ffffff;
}

.sl-product-card:hover {
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
}

.sl-product-card img {
  max-width: 180px;
  margin-bottom: 18px;
}

.sl-product-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.sl-product-card p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .sl-products-grid {
    grid-template-columns: 1fr;
  }
}



/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

 .hero-actions {
    justify-content: center;
    align-items: center;
  }

  .hero-actions a {
    width: auto;                 
    min-width: 220px;           
    text-align: center;
  }

  .hero-image img {
    margin-top: 30px;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 50px 16px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 16px;
  }
}
