:root {
  --primary: #2563eb;
  --primary-dark: #0b2f63;
  --secondary: #ffb703;
  --accent: #ff7f11;
  --text: #eef4ff;
  --muted: #9fb0c8;
  --bg: #07111f;
  --surface: rgba(15, 23, 42, 0.92);
  --surface-2: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(1, 10, 30, 0.28);
  --radius: 22px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.20), transparent 28%), radial-gradient(circle at bottom right, rgba(255, 127, 17, 0.14), transparent 28%), var(--bg);
  line-height: 1.7;
  scroll-behavior: smooth;
  transition: background 0.35s ease, color 0.35s ease;
}

body:not(.dark) {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-2: rgba(37, 99, 235, 0.08);
  --text: #122033;
  --muted: #5f6d83;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%), linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

body.dark {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 28%), radial-gradient(circle at bottom right, rgba(255, 127, 17, 0.15), transparent 24%), #07111f;
  color: #f2f6ff;
}

body.dark .bg-white,
body.dark .card,
body.dark .navbar,
body.dark .footer,
body.dark .offer-card,
body.dark .service-card,
body.dark .product-card,
body.dark .testimonial-card,
body.dark .faq-item {
  background: var(--surface) !important;
  color: var(--text);
  border-color: rgba(255,255,255,0.12) !important;
}

body:not(.dark) .bg-white,
body:not(.dark) .card,
body:not(.dark) .navbar,
body:not(.dark) .footer,
body:not(.dark) .offer-card,
body:not(.dark) .service-card,
body:not(.dark) .product-card,
body:not(.dark) .testimonial-card,
body:not(.dark) .faq-item {
  background: var(--surface) !important;
  color: var(--text);
  border-color: rgba(13, 71, 161, 0.12) !important;
}

body.dark .text-muted { color: #cbd5e1 !important; }
body:not(.dark) .text-muted { color: #5f6d83 !important; }
body.dark .bg-light { background: #111827 !important; }

img { max-width: 100%; display: block; }
a { text-decoration: none; }
.section { padding: 60px 0; }
.container { max-width: 1200px; }

.navbar {
  background: rgba(7, 17, 31, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
body:not(.dark) .navbar {
  background: rgba(255,255,255,0.9);
  border-bottom-color: rgba(13,71,161,0.08);
  box-shadow: 0 10px 30px rgba(13,71,161,0.12);
}
.navbar-brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25); }
.nav-link { font-weight: 600; color: var(--text); margin: 0 0.4rem; }
.nav-link:hover { color: var(--secondary); }
.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 12px;
  padding: .45rem .6rem;
  box-shadow: 0 8px 24px rgba(1,10,30,0.22);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  width: 1.3rem;
  height: 1.3rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
body:not(.dark) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(18,32,51,0.95)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.qty-control { display:inline-flex; align-items:center; gap:.45rem; }
.qty-control .btn { min-width: 34px; padding: .3rem .55rem; border-radius: 999px; }
.qty-pill { min-width: 44px; text-align:center; padding:.35rem .75rem; border-radius:999px; border:1px solid rgba(37,99,235,0.25); font-weight:700; color:var(--primary); background: rgba(255,255,255,0.06); }

.btn-primary, .btn-outline-primary {
  border-radius: 999px;
  padding: 0.75rem 1.3rem;
  font-weight: 700;
  transition: all .3s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  border: none;
  color: white;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,127,17,0.25);
}
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }

.hero-section {
  min-height: 44vh;
  background: linear-gradient(135deg, rgba(13,71,161,0.97), rgba(255,127,17,0.95));
  position: relative;
  overflow: hidden;
  color: white;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.28;
}
.hero-section::after {
  content: '';
  position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.12); filter: blur(10px);
}
.hero-overlay { position: relative; z-index: 2; padding-top: 26px; padding-bottom: 20px; }
.hero-badge { display: inline-block; padding: 0.42rem 0.8rem; border-radius: 999px; background: rgba(255,255,255,0.18); backdrop-filter: blur(10px); font-size: 0.86rem; margin-bottom: 0.8rem; }
.hero-title { font-size: clamp(1.8rem, 3.4vw, 3.1rem); font-weight: 800; line-height: 1.12; margin-bottom: 0.8rem; text-shadow: 0 6px 22px rgba(0,0,0,0.25); }
.hero-subtitle { font-size: 0.98rem; color: rgba(255,255,255,0.92); max-width: 620px; margin-bottom: 1rem; }
.hero-stats .stat-box{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}
.hero-stats .stat-box strong { font-size: 1.4rem; color: var(--secondary); }
.hero-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.20), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 20px 55px rgba(1, 10, 37, 0.28);
  backdrop-filter: blur(16px);
}

.card, .service-card, .product-card, .offer-card, .testimonial-card, .faq-item {
  border: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; background: var(--surface);
}
.card:hover, .service-card:hover, .product-card:hover, .offer-card:hover, .testimonial-card:hover {
  transform: translateY(-6px); box-shadow: 0 18px 42px rgba(13,71,161,0.22);
}
.section-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.45rem; color: var(--primary); }
.section-subtitle { color: var(--muted); max-width: 720px; margin-bottom: 1.4rem; }

.category-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, rgba(13,71,161,0.12), rgba(255,127,17,0.15)); color: var(--primary); font-size: 1.4rem; }
.badge-gold { background: linear-gradient(120deg, var(--secondary), #ffd166); color: var(--primary-dark); font-weight: 700; }

.service-card .icon-wrap { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, rgba(13,71,161,0.12), rgba(255,127,17,0.10)); color: var(--primary); font-size: 1.25rem; }
.product-card .img-box img { height: 200px; object-fit: cover; }
.product-card .btn { border-radius: 999px; }
.product-actions { display:flex; flex-wrap:wrap; gap:.4rem; justify-content:flex-end; }
.product-actions .btn { padding: .5rem .85rem; font-size: .8rem; }
.cart-product-thumb { width:100%; height:150px; object-fit:cover; border-radius:14px; margin-bottom: 0.8rem; }
.service-contact-btn { margin-top: .65rem; padding: .45rem .8rem; }
.hero-highlight-card { background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(255,127,17,0.16)); border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; padding: 0.9rem 1rem; }
.product-image-stack { position:relative; overflow:hidden; border-radius:18px; }
.product-image-stack img { height: 190px; width:100%; object-fit:cover; transition: transform .35s ease; cursor:pointer; }
.product-image-stack img:hover { transform: scale(1.04); }

.gallery-grid .gallery-item { position: relative; overflow: hidden; border-radius: 20px; }
.gallery-grid .gallery-item img { height: 260px; width: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-grid .gallery-item:hover img { transform: scale(1.08); }

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 1rem;
}
.lightbox.active { display: flex; animation: fadeIn .25s ease; }
.lightbox img { max-width: min(95vw, 900px); max-height: 86vh; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.close-lightbox { position: absolute; right: 18px; top: 14px; color:white; font-size:2rem; cursor:pointer; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.floating-btn {
  position: fixed; right: 20px; z-index: 1100; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: var(--shadow); animation: float 2.8s ease-in-out infinite;
}
.floating-btn.whatsapp { bottom: 86px; background: linear-gradient(135deg, #25d366, #128c7e); }
.floating-btn.call { bottom: 20px; background: linear-gradient(135deg, var(--accent), var(--primary)); }
.to-top { position: fixed; right: 20px; bottom: 155px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: white; display: none; place-items: center; box-shadow: var(--shadow); z-index: 1000; }

.counter-number { font-size: 2rem; font-weight: 800; color: var(--primary); }

.footer {
  background: linear-gradient(140deg, #0f2a4a, #2563eb);
  color:#f8fbff; padding: 50px 0 18px;
  border-top: 2px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}
body:not(.dark) .footer {
  background: linear-gradient(140deg, #eaf3ff, #dbeafe);
  color: #0f172a;
  border-top-color: rgba(37, 99, 235, 0.18);
  box-shadow: inset 0 1px 0 rgba(37, 99, 235, 0.12);
}
body:not(.dark) .footer a,
body:not(.dark) .footer .text-light,
body:not(.dark) .footer li,
body:not(.dark) .footer h5 {
  color: #0f172a !important;
}
.footer a { color:#f8fbff; }
.footer .logo-circle { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.2); }
body:not(.dark) .footer .logo-circle {
  border-color: rgba(37, 99, 235, 0.18);
}
.small-title { font-size: 1rem; font-weight: 700; color: var(--secondary); letter-spacing: .08em; text-transform: uppercase; }

.page-hero { padding: 16px 0 12px; background: linear-gradient(135deg, rgba(13,71,161,0.96), rgba(255,127,17,0.9)); color: white; }
.page-hero .breadcrumb a{color:white;opacity:.9}
.page-hero h1 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 800; margin-bottom: .1rem; line-height: 1.2; }
.page-hero p { margin-bottom: 0; max-width: 720px; font-size: 0.88rem; line-height: 1.4; }

.loader-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.8rem; }
.loader-logo { width: 120px; height: 120px; object-fit: contain; border-radius: 24px; padding: 10px; background: rgba(255,255,255,0.16); box-shadow: 0 20px 40px rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.28); }

.form-control, .form-select { border-radius: 14px; padding: .8rem 1rem; }

.animated { animation: fadeUp .7s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
