:root {
  --cyan: #02AEF0;
  --magenta: #EB008B;
  --yellow: #FFF210;
  --black: #000000;
  --white: #FFFFFF;
  --gray-light: #F4F4F4;
  --gray-dark: #333333;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Premium Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.btn-primary {
  background-color: var(--cyan);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--magenta);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--black);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--yellow);
  color: var(--black);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}

.btn-outline:hover {
  background-color: var(--black);
  color: var(--white);
}

/* Header */
header {
  padding: 20px 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none !important;
  box-shadow: none !important;
}

.logo img {
  height: 120px;
  width: auto;
  transition: var(--transition);
  background-color: #ffffff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* Refined shadow */
  object-fit: contain;
}

@media (max-width: 992px) {
  .logo img {
    height: 70px;
    /* Crisp smaller size for mobile */
    padding: 5px;
  }
}

.footer-box .logo img {
  mix-blend-mode: normal;
  filter: none;
  /* Let the image show naturally on its white container */
  height: 80px;
  /* Slightly smaller for the footer */
}

.footer-logo-bg {
  background: white;
  padding: 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a.active {
  color: var(--cyan);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--magenta);
}

.mobile-nav-toggle {
  display: none !important;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--gray-light);
  border-radius: 25px;
  padding: 8px 20px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.search-bar:focus-within {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}

.search-bar input {
  background: transparent;
  border: none;
  padding: 5px;
  outline: none;
  width: 180px;
}

/* Hero Section */
.hero {
  height: 80vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--black);
  color: var(--white);
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.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: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--magenta);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border: 1px solid #eee;
  padding: 20px;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--magenta);
  color: var(--white);
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 2px;
}

.product-image {
  height: 250px;
  background: var(--gray-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Prevent spillover */
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Ensure image fits without distortion */
}

.product-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.product-info p {
  color: var(--gray-dark);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.product-price {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--cyan);
  margin-bottom: 20px;
}

/* Services */
.services-section {
  background-color: var(--gray-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  text-align: center;
  border-bottom: 5px solid var(--cyan);
}

.service-card i {
  font-size: 3rem;
  color: var(--cyan);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-box h4 {
  margin-bottom: 25px;
  color: var(--cyan);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--magenta);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #888;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  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.8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* Responsive */
/* Responsive Header Refinements */
@media (max-width: 992px) {
  nav {
    flex-wrap: wrap;
    /* Allow wrapping to two rows */
    gap: 15px;
  }

  .logo {
    order: 1;
    /* Stay top left */
  }

  .mobile-nav-toggle {
    display: block !important;
    order: 2;
    /* Move to top right */
    padding: 10px;
  }

  .search-bar {
    order: 3;
    /* Move to second row */
    width: 100%;
    margin-top: 5px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .nav-links {
    position: fixed;
    top: 150px;
    /* Adjusted for taller two-row header */
    left: -100%;
    width: 80%;
    height: calc(100vh - 150px);
    background: var(--white);
    flex-direction: column;
    padding: 40px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 15px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero {
    height: 60vh;
  }
}