/* ============================
   SD Insulation – Neon Blue Dark Theme
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --bg0: #050505;
  --bg1: #0a0f12;
  --text: #f5f7fa;
  --muted: #b8c0cc;
  --neon: #00aaff;
  --glass: rgba(255, 255, 255, 0.05);
  --glow: rgba(0, 170, 255, 0.25);
  --transition: all 0.35s ease;
}

/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  scroll-behavior: smooth;
  background: linear-gradient(160deg, var(--bg0), var(--bg1));
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* dark background */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Loader animation */
.loader {
  display: flex;
}

.loader span {
  width: 14px;
  height: 14px;
  margin: 6px;
  border-radius: 50%;
  background: #00eaff;
  box-shadow: 0 0 15px #00eaff, 0 0 30px #00eaff;
  animation: bounce 0.8s infinite alternate;
}

.loader span:nth-child(2) { animation-delay: 0.2s; }
.loader span:nth-child(3) { animation-delay: 0.4s; }
.loader span:nth-child(4) { animation-delay: 0.6s; }

@keyframes bounce {
  from { transform: translateY(0); opacity: 0.6; }
  to { transform: translateY(-15px); opacity: 1; }
}


/* ===== NAVBAR ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glow);
}
.logo {
  height: 70px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background: var(--neon);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.btn-quote {
  background: var(--neon);
  color: #001421;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-quote:hover {
  box-shadow: 0 0 20px var(--neon);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--neon);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  z-index: -1;
}
.hero-content {
  max-width: 800px;
  padding: 0 1rem;
  animation: fadeInUp 1.2s ease forwards;
}
.hero-content h1 {
  font-size: 3rem;
  text-shadow: 0 0 15px var(--neon);
}
.hero-content p {
  margin: 1rem 0 2rem;
  color: var(--muted);
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.btn-primary, .btn-outline {
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-primary {
  border: 2px solid var(--neon);
  color: var(--text);
  background: transparent;
}
.btn-primary:hover {
  background: var(--neon);
  color: #001421;
  box-shadow: 0 0 18px var(--neon);
}
.btn-outline {
  background: var(--neon);
  color: #001421;
  border: none;
}
.btn-outline:hover {
  background: transparent;
  border: 2px solid var(--neon);
  color: var(--text);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
h2 {
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 12px var(--neon);
}

/* ===== BRANDS ===== */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}
.brand-card {
  background: var(--glass);
  border: 1px solid var(--glow);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.15);
  transition: var(--transition);
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 24px rgba(0, 170, 255, 0.3);
}
.brand-card img {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}
.brand-card h3 {
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.brand-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== PROCESS ===== */
.process-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}
.step {
  background: var(--glass);
  border: 1px solid var(--glow);
  border-radius: 15px;
  padding: 2rem;
  width: 280px;
  text-align: center;
  transition: var(--transition);
}
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 24px rgba(0, 170, 255, 0.3);
}
.step i {
  font-size: 2rem;
  color: var(--neon);
  margin-bottom: 0.5rem;
}

/* ===== STATS ===== */
.stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat {
  background: var(--glass);
  border: 1px solid var(--glow);
  border-radius: 15px;
  padding: 2rem 3rem;
  text-align: center;
  box-shadow: 0 0 2px rgba(0, 170, 255, 0.15);
}
.stat h3 {
  color: var(--neon);
  font-size: 3rem;
  text-shadow: 0 0 18px var(--neon);
}
.stat p {
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Stat number wrapper */
.stat-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

/* Neon number */
.counter {
  font-size: 3rem;
  color:var(--neon);
  text-shadow: 0 0 10px #00eaff, 0 0 25px #00eaff;
  font-weight: 700;
  line-height: 1;
}

/* Neon % symbol */
.percent {
  font-size: 1.8rem;
  color:var(--neon);
  text-shadow: 0 0 8px #00eaff, 0 0 0px #00eaff;
  font-weight: 600;
  align-self: flex-end;
  margin-bottom: 0.2rem;
}


/* ===== FAQ ===== */
.faq-container {
  max-width: 800px;
  margin: auto;
}
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glow);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.1);
  transition: var(--transition);
}
.faq-question {
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
}
.faq-toggle {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 1.2rem;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 1rem 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(10, 15, 20, 0.9);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glow);
  padding: 3rem 2rem;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-info p, .footer-info a {
  color: var(--text);
  font-size: 0.95rem;
}
.footer-info i {
  color: var(--neon);
  margin-right: 8px;
}
.footer-social a {
  color: var(--neon);
  margin: 0 8px;
  font-size: 1.3rem;
  transition: var(--transition);
}
.footer-social a:hover {
  text-shadow: 0 0 12px var(--neon);
}
.footer-bottom {
  text-align: center;
  color: var(--muted);
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* ===== FLOATING BUTTONS ===== */
.floating-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--neon);
  background: transparent;
  color: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
  z-index: 1000;
}
.floating-btn:hover {
  background: var(--neon);
  color: #001421;
  box-shadow: 0 0 18px var(--neon);
  transform: scale(1.1);
}
.whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25D366; /* ✅ Official WhatsApp Green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover Effect */
.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a; /* Slightly darker green */
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  color: white;
}
/* Email Floating Button */
.email-btn {
  position: fixed;
  bottom: 20px; /* Keep above WhatsApp button */
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #ffffff; /* ✅ Official Gmail Red */
  color: rgb(0, 0, 0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
.email-btn:hover {
  transform: scale(1.1);
  background-color: #D93025; /* Slightly darker red on hover */
  box-shadow: 0 5px 15px rgba(234, 67, 53, 0.4);
  color: white;
}

/* Icon alignment */
.email-btn i {
  margin-top: 2px;
}

/* Icon Adjustment */
.whatsapp-btn i {
  margin-top: 2px; /* vertically center the icon */
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,0,0,0.3); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0,0,0,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

.email-btn,
.whatsapp-btn {
  animation: pulse 2.5s infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .btn-quote { display: none; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(10, 15, 20, 0.98);
    backdrop-filter: blur(10px);
    transition: right 0.4s ease;
  }
  .nav-links.active {
    right: 0;
  }
}
