/* =====================
   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;
}

/* =====================
   GRID & CARDS
===================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 30px;              /* ⬅ more breathing space */
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

/* =====================
   SERVICES
===================== */
.service-card {
  text-align: center;
}

.service-icon {
  font-size: 44px;
  color: #64748b;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

.service-tech {
  display: flex;
  justify-content: center;
  gap: 10px;
   margin-top: 20px;
  text-align: center;
  flex-wrap: wrap;
}

.service-tech span {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 500;
}


.tech-block {
  margin-bottom: 14px;
   margin-top: 18px;
}

.tech-block strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
 margin: 12px 0 6px;  
}

.tech-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tech-icons img {
  width: 44px;
  height: 44px;
  padding: 8px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease;
}

.tech-icons img:hover {
  transform: translateY(-3px);
}

/* =====================
   PRODUCTS (SPACING FIX)
===================== */
.product-card {
  text-align: center;
  padding: 28px 24px;         /* ⬅ more internal space */
}

/* Product image */
.product-card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin: 12px auto 24px;     /* ⬅ image → title gap */
  display: block;
  background: #f8fafc;
  padding: 14px;
  border-radius: 14px;
  filter: saturate(0.85) brightness(0.98);
  transition: filter 0.25s ease, transform 0.25s ease;
}

/* Title */
.product-card h3 {
  font-size: 17px;
  margin-bottom: 14px;       /* ⬅ title → desc gap */
}

/* Description */
.product-card p {
  font-size: 14px;
  line-height: 1.6;          /* ⬅ readability */
  color: #475569;
}

/* Hover */
.product-card:hover img {
  filter: saturate(1) brightness(1);
  transform: scale(1.05);
}

.link {
  display: inline-block;
  margin-top: 18px;          /* ⬅ space before CTA */
  color: #2563eb;
  font-weight: 500;
}

/* View All Products Card */
/* View All Products – Final Polish */
.view-all-card {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Icon */
.view-all-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.view-all-icon i {
  font-size: 22px;
  color: #2563eb;
}

/* Title */
.view-all-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f172a;
}

/* Description */
.view-all-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
  max-width: 260px;
  margin: 0 auto 18px;
}

/* CTA */
.view-all-card .product-link {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.view-all-card .product-link:hover {
  background: #eff6ff;
  transform: translateX(2px);
}

/* Hover effect */
.view-all-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}



/* =====================
   TESTIMONIALS (SCALABLE)
===================== */
.testimonials-wrapper {
  max-width: 1000px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 30px;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author .name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.testimonial-author .meta {
  font-size: 13px;
  color: #64748b;
}


/* =====================
   CONTACT
===================== */
.contact-form {
  max-width: 520px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #cbd5f5;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-info {
  text-align: center;
  margin-top: 22px;
  color: #475569;
}


/* =====================
   INTELISKA FOOTER (STRONG)
===================== */
.footer {
  background: linear-gradient(180deg, #0b1220 0%, #050a16 100%);
  color: #cbd5e1;
 padding: 50px 20px 24px; 
   margin-top: 0;
}

.footer p i {
  margin-right: 8px;
  color: #94a3b8;   /* subtle blue */
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* Logo text */
.footer-logo-img {
  height: 25px;          /* 👈 perfect footer size */
  width: auto;
  margin: 0 auto 16px;
  display: block;
}

/* Tagline */
.footer-tagline {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 30px;
}

/* Menu */
.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;            /* 👈 tighter spacing */
  margin-bottom: 26px;
}

.footer-menu a {
  font-size: 14px;
  line-height: 1.4;
}


.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.25s ease;
}

.footer-menu a:hover::after {
  width: 100%;
}

/* Contact */
.footer-contact {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 30px;
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-menu {
    flex-direction: column;
    gap: 14px;
  }
}


/* ===============================
   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;
  }
}
