/* =========================================================
   GLOBAL VARIABLES & RESET
   ========================================================= */

/* Cleaned & optimized version — existing selectors/features preserved; navigation rules consolidated. */
:root {
  --primary-color: #000000;
  --secondary-color: #f5f5f7;
  --accent-color: #099bd4;
  --text-color: #222;
  --border-color: #ddd;
  --card-bg: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 110px;
  --header-shrink-height: 55px;
  --logo-height: 85px;
  --logo-shrink-height: 45px;
  --transform-speed: 0.4s;
  --header-transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}
::selection {
  background-color: var(--accent-color);
  color: #ffffff;
}
body {
  background-color: var(--secondary-color);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}
.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--secondary-color);
}
::-webkit-scrollbar-thumb {
  background: #ccc;

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */

  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s ease;
}
.whatsapp-float .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  right: 125%;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  font-family: sans-serif;
}
.whatsapp-float:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1) rotate(10deg);
  color: #fff;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #25D366;
  border-radius: 50%;
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
}
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
  }
  .whatsapp-float .tooltip-text {
    display: none;
  }
}
html {
  scroll-behavior: smooth;
}
#about-us,
#contact-section {
  scroll-margin-top: 120px;
}
.header{height:var(--header-height);background:#fff;position:fixed;top:0;left:0;width:100%;z-index:1000;display:flex;align-items:center;box-shadow:0 2px 10px rgba(0,0,0,.05);transition:var(--header-transition);will-change:height,background-color}
.header.shrink{height:var(--header-shrink-height);background:rgba(255,255,255,.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 4px 20px rgba(0,0,0,.1)}
.header .container{display:flex;justify-content:space-between;align-items:center;width:100%}
.logo img{height:var(--logo-height);transition:height .3s ease}
.header.shrink .logo img{height:var(--logo-shrink-height)}
.nav-list{display:flex;list-style:none!important;gap:1.35rem;align-items:center;margin:0;padding:0}
.nav-link{text-decoration:none;color:var(--text-color);font-weight:500;font-size:.95rem;transition:color .3s ease;white-space:nowrap}
.nav-link:hover,.nav-link.active{color:var(--accent-color)}

/* -------------------- DESKTOP DROPDOWN MENU -------------------- */

.dropdown{position:relative}
.dropdown-menu{position:absolute;top:calc(100% + 2px);left:50%;transform:translateX(-50%) translateY(8px);width:min(620px,calc(100vw - 30px));max-height:68vh;overflow-y:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 8px;background:rgba(255,255,255,.98);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:11px;box-shadow:0 14px 32px rgba(0,0,0,.12),0 0 1px rgba(0,0,0,.05);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,transform .2s ease,visibility .2s ease;z-index:2000;scrollbar-width:thin;scrollbar-color:var(--accent-color) rgba(0,0,0,.04)}
.dropdown-menu::-webkit-scrollbar{width:4px}
.dropdown-menu::-webkit-scrollbar-track{background:rgba(0,0,0,.03);border-radius:8px}
.dropdown-menu::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:8px}
.dropdown-menu li{list-style:none!important;width:100%}
.dropdown-menu li a{position:relative;display:flex;align-items:center;min-height:34px;padding:7px 9px;color:#2c2c2e;text-decoration:none;font-size:.82rem;font-weight:500;line-height:1.25;border-radius:7px;transition:background .2s ease,color .2s ease,transform .2s ease;white-space:normal}
.dropdown-menu li a:hover{background:var(--secondary-color);color:var(--accent-color);transform:translateX(2px)}
body.no-scroll{overflow:hidden}
@media (min-width:769px){
.mobile-menu-toggle{display:none!important}
.dropdown{padding-bottom:8px}
.dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);pointer-events:auto}
body:has(.dropdown:hover),html:has(.dropdown:hover){overflow:hidden;scrollbar-gutter:stable}
}

/* -------------------- MOBILE NAVIGATION -------------------- */

@media (max-width:768px){
.mobile-menu-toggle{display:flex!important;font-size:1.6rem;cursor:pointer;z-index:2001;color:var(--primary-color)}
.nav{position:fixed;top:0;right:-100%;width:min(88vw,360px);height:100dvh;background:#fff;box-shadow:-10px 0 30px rgba(0,0,0,.1);padding:88px 22px 24px;transition:right .3s cubic-bezier(.4,0,.2,1);z-index:2000;display:flex!important;flex-direction:column;overflow-y:auto}
.nav.active{right:0}
.nav-list{flex-direction:column;align-items:flex-start;gap:16px;width:100%}
.dropdown{width:100%}
.dropdown-menu{position:static;transform:none;width:100%;max-height:none;display:none;grid-template-columns:1fr;gap:3px;margin-top:5px;padding:6px;background:#fafafa;border:1px solid #eee;border-radius:9px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;opacity:1;visibility:visible;pointer-events:auto}
.dropdown:hover .dropdown-menu{display:none}
.dropdown.active .dropdown-menu{display:grid}
.dropdown-menu li a{min-height:40px;padding:8px 10px;font-size:.84rem;border-radius:7px}
.dropdown-menu::before,.dropdown-menu::after{display:none}
body:has(.nav.active){overflow:hidden}
}

/* -------------------- MOBILE SOCIAL LINKS -------------------- */

.mobile-social-links{display:none}
@media (max-width:768px){
.mobile-social-links{display:block;margin-top:auto;padding-top:20px;border-top:1px solid #eee;width:100%}
.mobile-social-links p{font-size:.9rem;text-transform:uppercase;letter-spacing:2px;color:#888;margin-bottom:15px}
.social-icons{display:flex;gap:25px}
}

/* =========================================================
   MODERN SEARCH SYSTEM
   ========================================================= */

  .social-icons a {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: 0.3s;
  }
  .social-icons a:hover {
    color: var(--accent-color);
  }
:root {
  --search-bg: #f1f1f4;
  --search-border: #e1e1e4;
  --search-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --search-height-mobile: 65px;
}
.search-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: 20px;
  z-index: 2000;
  height: 100%;
}
.search-mobile-btn {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--primary-color);
  cursor: pointer;
  padding: 5px;
  margin-right: 10px;
  margin-left: auto;
}
.search-bar-input {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.search-bar-input:focus-within {
  background: #ffffff;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(9, 155, 212, 0.1);
}
#searchInput {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  padding: 5px 0;
  font-size: 15px;
  color: #1d1d1f;
}
.search-icon-left {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 14px;
}
.search-close-btn {
  display: none;
  color: #8e8e93;
  cursor: pointer;
  font-size: 18px;
}
.search-results-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 8px;
  box-shadow: var(--search-shadow);
  border: 1px solid rgba(0,0,0,0.05);
  max-height: 450px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
  padding: 8px;
}
.search-card {
  display: flex !important;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s;
  margin-bottom: 4px;
  border: 1px solid transparent;
}
.search-card:hover {
  background: #f5f5f7;
  border-color: var(--accent-color);
}
.search-card img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  margin-right: 15px;
  flex-shrink: 0;
}
.search-card-info { flex: 1; }
.search-card-info h4 {
  margin: 0;
  font-size: 14px;
  color: #1d1d1f;
  font-weight: 600;
  line-height: 1.2;
}
.search-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}
.search-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 13px;
}
.search-cat {
  font-size: 10px;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  color: #666;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .search-wrapper {
    flex: 0;
    margin-right: 10px;
    margin-left: auto;
  }
  .search-mobile-btn {
    display: block;
  }
  .search-wrapper.active .search-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--search-height-mobile);
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 15px;
    z-index: 10001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .search-bar-container {
    display: none;
  }
  .search-bar-input {
    width: 100%;
    background: #f5f5f7;
  }
  .search-close-btn {
    display: block;
    margin-left: 15px;
  }
  .search-results-panel {
    position: fixed;
    top: var(--search-height-mobile);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--search-height-mobile));
    border-radius: 0;
    border: none;
    max-height: none;
  }
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
}
.hero-slider {
  position: relative;
  height: 100%;
  width: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  width: 90%;
  max-width: 800px;
}
.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-overlay p {
  font-size: 1.2rem;
}
.hero-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  padding: 80px 0;
  width: 100%;
  overflow: hidden;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.category-page .section-title { padding-top: 70px; }

/* =========================================================
   CAROUSELS
   ========================================================= */

.products-carousel, .categories-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}
.carousel-track {
  display: flex;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}
.carousel-track:active {
  cursor: grabbing;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}
.carousel-btn {
  width: 35px;
  height: 35px;
  border: none;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}
.carousel-btn:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

/* =========================================================
   PRODUCT & CATEGORY CARDS
   ========================================================= */

.product-card {
  flex: 0 0 250px;
  width: 240px;
  
  height: 350px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  margin: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border: 1px solid #eee;
  overflow: hidden;
}
.category-card {
  flex: 0 0 250px;
  width: 250px;
  max-width: 250px;
  height: 300px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  margin: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border: 1px solid #eee;
  overflow: hidden;
}
.product-card:hover,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.product-card img,
.category-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: 10px;
  background: #ffffff;
  transition: transform 0.3s ease;
}
.product-card:hover img,
.category-card:hover img {
  transform: scale(1.05);
}
.card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 5px;
}
.btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary {
  background: var(--accent-color);
  color: white;
  border: none;
}
.btn-primary:hover {
  background: var(--primary-color);
  filter: brightness(1.1);
}

/* =========================================================
   ABOUT US SECTION
   ========================================================= */

.about-us {
  padding: 80px 0;
  background: #0a0a0c;
  color: #ffffff;
  width: 100%;
  overflow: hidden;
}
.about-header {
  text-align: center;
}
.about-header .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 77, 0, 0.1);
  color: var(--accent-color, #ff4d00);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 77, 0, 0.2);
}
.about-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}
.header-intro {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #a0a0a0;
  font-size: 1.05rem;
  line-height: 1.6;
}
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 45px;
  width: 100%;
}
.metric-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #121216;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid #202026;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-color, #ff4d00);
}
.metric-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 77, 0, 0.1);
  color: var(--accent-color, #ff4d00);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.metric-info h4 {
  font-size: 1rem;
  margin: 0;
  color: #fff;
}
.metric-info p {
  font-size: 0.82rem;
  margin: 0;
  color: #888;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
  width: 100%;
}
.solution-card {
  background: #111115;
  border: 1px solid #22222a;
  border-radius: 14px;
  padding: 25px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color, #ff4d00), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.solution-card:hover {
  transform: translateY(-5px);
  border-color: #333340;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.solution-card:hover::before {
  opacity: 1;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.card-icon {
  font-size: 1.2rem;
  color: var(--accent-color, #ff4d00);
}
.solution-card h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
  font-weight: 600;
}
.solution-card ul {
  list-style: none !important;
  padding: 0;
  margin: 0;
}
.solution-card ul li {
  font-size: 0.92rem;
  color: #bbbbbb;
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.solution-card ul li::before {
  content: "✓";
  color: var(--accent-color, #ff4d00);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.about-cta-card {
  background: linear-gradient(135deg, #181820 0%, #0d0d12 100%);
  border: 1px solid #2a2a35;
  padding: 28px 35px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
  text-align: left;
  width: 100%;
}
.cta-content h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 5px;
}
.cta-content p {
  font-size: 0.95rem;
  color: #999;
  margin: 0;
}
.about-cta-card .cta-btn {
  white-space: nowrap;
  background: #25d366;
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease;
  text-decoration: none;
}
.about-cta-card .cta-btn:hover {
  background: #1ebd59;
}
.brand-partners {
  margin-top: 40px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.brand-logos-container {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 20px 0;
  border-radius: 12px;
  width: 100%;
  max-width: 100vw;
}
.brand-logos-track {
  display: flex;
  align-items: center;
  gap: 45px;
  width: max-content;
  will-change: transform;
  animation: scrollMarquee 25s linear infinite;
}
.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 45px;
  min-width: 120px;
}
.brand-logo-item img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s ease;
}
.brand-logo-item:hover img {
  transform: scale(1.12);
}

.brand-fade-left, .brand-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}
.brand-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
.brand-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.category-card .card-title {
  text-align: center;
  font-size: 1rem;
  margin: 1rem;
}
.smart-home-section {
  background-color: var(--card-bg);
  scroll-margin-top: 100px;
  width: 100%;
  overflow: hidden;
}
.smart-home-header {
  text-align: center;
  margin-bottom: 20px;
}
.smart-home-header .sub-title {
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;

/* =========================================================
   SMART HOME & RESIDENTIAL TECHNOLOGY
   ========================================================= */

  display: block;
  margin-bottom: 8px;
}
.smart-home-header .section-desc {
  font-size: 1.1rem;
  color: #666;
  margin-top: -5px;
}
.smart-home-intro {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: var(--text-color);
  font-size: 1.05rem;
  line-height: 1.7;
}
.smart-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
  width: 100%;
}
.smart-service-card {
  background: var(--secondary-color);
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}
.smart-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-color: var(--accent-color);
}
.smart-service-card .card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px auto;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.smart-service-card .card-icon i {
  font-size: 1.6rem;
  color: var(--accent-color);

/* =========================================================
   WHY US
   ========================================================= */

}
.smart-service-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}
.smart-service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}
.smart-service-card.highlight-card {
  border: 2px solid var(--accent-color);
  background: rgba(9, 155, 212, 0.04);
}
.smart-cta-box {
  text-align: center;
  background: var(--primary-color);
  color: #ffffff;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  width: 100%;
}
.smart-cta-box h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffffff;
}
.smart-cta-box p {
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: var(--secondary-color);
  opacity: 0.9;
}
.smart-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 1rem;
  max-width: 320px;
  margin: 0 auto;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  width: 100%;
}
.why-us-item {
  text-align: center;
  padding: 2rem;
}
.why-us-item i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}
.why-us-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
  width: 100%;
  overflow: hidden;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 2rem;
  align-items: start;
}
.footer-section:first-child {
  padding-right: 20px;
}
.footer-section h3, .footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  text-transform: uppercase;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}
.social-tile {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 3px;
  transition: 0.3s ease;
}
.social-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.social-tile:hover {
  transform: translateY(-3px);
}
.footer-section .footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.footer-links li {
  padding: 0.5px !important;
  list-style-type: none !important;
  text-align: left;
}
.footer-links li a {
  color: white !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-links li a:hover {
  color: var(--accent-color) !important;
  transform: translateX(5px);
}
.payment-icons {
  justify-content: flex-start;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.payment-icons img {
  height: 30px;
  width: auto;
  object-fit: contain;
  background: white;
  padding: 2px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
}

/* =========================================================
   CATEGORY PAGE
   ========================================================= */

.category-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  justify-items: center;
  width: 100%;
}

/* =========================================================
   PRODUCT PAGE
   ========================================================= */

.product-hero {
  background-color: var(--card-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 15px;
  margin-top: 4rem;
  align-items: start;
  border-radius: 20px;
  width: 100%;
}
.product-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-main-image {
  padding: 25px;
  width: 320px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
}
.product-thumbnails {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border 0.3s;
}
.product-thumbnail.active {
  border-color: var(--accent-color);
}
.product-info h1 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: var(--primary-color);
}
.product-info .product-price {
  font-size: 1.3rem !important;
  font-weight: 600;
  margin: 10px 0 20px 0;
  color: var(--accent-color);
}
.stock-status {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.status-true { color: #28a745 !important; }
.status-false { color: #dc3545 !important; }
.hide-button { display: none !important; }
.product-description { padding: 10px; }
.order-buttons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}
.order-buttons .btn { flex: 1; }
.policy-container {
  padding: 120px 0 60px;
  background-color: var(--secondary-color);
  min-height: 100vh;
  width: 100%;
}
.policy-title {
  font-size: 2.5rem;

/* =========================================================
   POLICY PAGE
   ========================================================= */

  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  width: 100%;
}
.policy-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-left: 5px solid var(--accent-color);
  transition: transform 0.3s ease;
}
.policy-card:hover { transform: translateY(-5px); }
.policy-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
}
.policy-card h3 i { color: var(--accent-color); }
.policy-card p, .policy-card ul {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}
.policy-card ul {
  padding-left: 20px;
  list-style-type: disc;
}
.policy-card ul li { margin-bottom: 10px; }
.policy-footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  border-top: 1px solid #ddd;
}
.policy-footer a {
  color: var(--accent-color);
  text-decoration: none;

/* =========================================================
   MOBILE & TABLET RESPONSIVE FIXES
   ========================================================= */

  font-weight: 600;
}
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
    width: 100%;
  }
  .hero-overlay h1 { font-size: 2rem; }
  .hero-overlay p { font-size: 1rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.8rem; }
  .product-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-main-image {
    height: auto;
    max-height: 300px;
    margin: 0 auto;
  }
  .order-buttons { flex-direction: column; }
  .why-us-grid { grid-template-columns: 1fr; }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-section {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-links li {
    text-align: center !important;
    width: 100%;
  }
  .footer-links li a:hover {
    transform: scale(1.05) !important;
  }
  .about-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 22px;
  }
  .about-cta-card .cta-btn {
    width: 100%;
    justify-content: center;
  }
  .brand-logos-track {
    gap: 30px;
  }
  .brand-logo-item img {
    height: 32px;
  }
  .smart-home-header .section-title { font-size: 1.7rem; }
  .smart-cta-box h3 { font-size: 1.4rem; }
  .smart-services-grid { grid-template-columns: 1fr; }
  .category-products {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
  }
  .category-products .product-card {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    margin: 0;
    min-height: 255px;
  }
  .category-products .product-card img {
    height: 130px;
    padding: 2px;
  }
  .category-products .card-title { font-size: 0.9rem; }
  .category-products .product-price { font-size: 0.9rem; }
  .category-products .btn {
    padding: 8px;
    font-size: 0.8rem;
    border-radius: 6px;
  }
  .policy-title { font-size: 1.8rem; }
  .policy-card { padding: 20px; }
}
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .product-card,
  .category-card {
    flex: 0 0 calc(100% - 10px);
    margin: 5px 0;
    width: 100%;
    max-width: 100%;
  }
  .carousel-track {
    gap: 10px;
  }
}
