/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FULL SCREEN LOADER */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* CENTER CONTENT */
.loader-content {
  text-align: center;
  font-family: Arial, sans-serif;
}

.loader-content h2 {
  margin-bottom: 20px;
  font-weight: bold;
}

/* PROGRESS BAR */
#page-loader {
  transition: opacity 0.5s ease;
}

.loader-content img {
  width: 100px;
  height: auto;
}

.progress-bar {
  width: 220px;
  height: 4px;
  background: #ddd;
  overflow: hidden;
  border-radius: 5px;
}

/* MOVING ANIMATION */
.progress-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #6c63ff, #00c2ff);
  animation: loading 1.2s infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(250%);
  }
}


body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Slim navbar for mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 0;
  }

  .nav-container {
    padding: 0 15px;
    height: 60px;
    /* Slim height */
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 45px;
  /* Slightly smaller for mobile */
  width: auto;
}

.nav-about {
  color: #fff;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.3s;
  font-size: 15px;
  text-decoration: none;
}

.nav-about:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Desktop Search - Hidden on Mobile */
.desktop-search {
  flex: 1;
  max-width: 500px;
  margin: 0 20px;
  display: flex;
}

@media (max-width: 768px) {
  .desktop-search {
    display: none !important;
  }
}

.search-input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: 25px 0 0 25px;
  font-size: 15px;
  background: #fff;
}

.search-btn {
  background: #fff;
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 0 18px;
  cursor: pointer;
  font-size: 16px;
}

/* Desktop-only elements */
.desktop-only {
  display: flex;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.location-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
}

.location-dropdown {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.cart-wrapper {
  position: relative;
}

.cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 18px;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4444;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge.show {
  display: flex;
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
  display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== MOBILE MENU DROPDOWN ===== */
.mobile-menu-dropdown {
  display: none;
  background: #000;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-dropdown.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-search-container {
  display: flex;
  margin-bottom: 15px;
}

.mobile-search-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 15px;
}

.mobile-search-btn {
  background: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-weight: 600;
}

.mobile-location {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.mobile-location-dropdown {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  width: 100%;
  cursor: pointer;
}

.mobile-location-dropdown option {
  background: #000;
  color: #fff;
}

.mobile-cart-link {
  margin-bottom: 15px;
}

.mobile-cart {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 15px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
}

.mobile-cart-icon {
  font-size: 18px;
}

.mobile-cart-badge {
  margin-left: auto;
  background: #ff4444;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-about {
  display: block;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s;
}

.mobile-about:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  text-shadow: 2px 2px 4px grey;
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  text-decoration: none;
  background: #000;
  color: #fff;
}

.btn-primary:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  text-decoration: none;
  background: #fff;
  color: #000;
  border-color: #000;
}

.btn-secondary:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-ratings {
  display: flex;
  gap: 30px;
}

.rating-card {
  text-align: center;
}

.rating-stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 5px;
}

.rating-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 5px;
}

.rating-label {
  color: #666;
  font-size: 14px;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== SECTIONS ===== */
.services-section,
.products-section {
  padding: 40px 20px;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1.125rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SLIDERS ===== */
.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider {
  flex: 1;
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px;
  -webkit-overflow-scrolling: touch !important;
}

.slider::-webkit-scrollbar {
  display: none;
}

.service-card,
.product-card {
  flex: 0 0 auto;
  width: 350px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-5px);
}

.service-card img,
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img,
.product-card:hover img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.slider-arrow:hover {
  background: #000;
  color: #fff;
}

.slider-arrow.prev {
  order: -1;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: #000;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.125rem;
  color: #ccc;
  margin-bottom: 30px;
}

.btn-large {
  text-decoration: none;
  padding: 16px 40px;
  font-size: 18px;
  background: #fff;
  color: #000;
  border: none;
}

.btn-large:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 15px;
}

.footer-info {
  color: #aaa;
  font-size: 14px;
}

.footer-info a {
  color: #fff;
  text-decoration: underline;
}

.footer-info a:hover {
  color: #ccc;
}

/* Social Icons - Updated for SVG */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

/* Optional: Add color on hover */
.social-icons a:hover svg {
  transform: scale(1.1);
}

.social-icons a:nth-child(1) {
  color: white;
}

.social-icons a:nth-child(2) {
  color: white;
}

.social-icons a:nth-child(3) {
  color: white;
}

.social-icons a:nth-child(4) {
  color: white;
}

.social-icons a:nth-child(5) {
  color: white;
}

/* Instagram hover effect */
.social-icons a:nth-child(1):hover svg {
  fill: #E1306C;
}

/* Facebook hover effect */
.social-icons a:nth-child(2):hover svg {
  fill: #1877F2;
}

/* LinkedIn hover effect */
.social-icons a:nth-child(3):hover svg {
  fill: #0077B5;
}

/* YouTube hover effect */
.social-icons a:nth-child(4):hover svg {
  fill: #FF0000;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-container {
    gap: 30px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .service-card,
  .product-card {
    width: 310px;
    height: 183px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-ratings {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-image img {
    max-width: 100%;
  }

  .service-card,
  .product-card {
    width: 278px;
    height: 163px;
  }

  .slider-arrow {
    display: none;
    /* Hide arrows on mobile for cleaner look */
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 30px;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 12px;
  }

  .logo {
    height: 35px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .service-card,
  .product-card {
    width: 300px;
    height: 170px;
  }

  .card-overlay {
    padding: 8px;
    font-size: 13px;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .btn-large {
    padding: 14px 30px;
    font-size: 16px;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {

  .nav-container,
  .hero-container,
  .slider-container,
  .section-header,
  .footer-container {
    max-width: 1400px;
  }
}