:root {
    --pomegranate: #c61d2c;
    --text: #222;
}

/* --- Base Styles --- */
body { font-family: 'Poppins', sans-serif; color: var(--text); margin: 0; }

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

header img.logo { height: 80px; }

/* --- Desktop Navigation (Default) --- */
#navMenu { 
    display: flex !important; 
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nav-links { 
    display: flex !important; 
    flex-direction: row !important; 
    gap: 25px !important; 
    list-style: none; 
    margin: 0; 
}

.nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--pomegranate); }

/* Hide mobile-only elements on desktop */
#hamburgerBtn, .close-btn, .menu-overlay { display: none !important; }

/* --- Mobile Navigation (≤ 768px) --- */
@media (max-width: 768px) {
    #hamburgerBtn { display: block !important; }
    
    #navMenu {
        position: fixed; top: 0; left: 0; width: 100%; height: 50%;
        background: #fff; flex-direction: column; justify-content: center;
        align-items: center; gap: 20px; transform: translateY(-100%);
        transition: transform 0.5s ease; z-index: 2000;
    }
    
    #navMenu.open { transform: translateY(0); }
    .close-btn { display: block !important; position: absolute; top: 20px; right: 20px; }
    .nav-links { flex-direction: column !important; }
}

/* --- Keep all your existing product, hero, and footer styles here --- */
/* ... [Copy the rest of your original style.css from the hero section onwards here] ... */
header h1 { color: var(--pomegranate); }

/* Force the Hero section to hold its space */
#home.hero {
    position: relative;
    height: 80vh;      /* The slider area takes up 80% of the screen height */
    width: 100%;
    margin-bottom: 20px; /* Force the next section to start below the slider */
}

/* Ensure the rest of the page doesn't overlap */
section {
    display: block;
    position: relative; /* Removes the "floating" effect from the rest of the site */
}

nav .social a {
  font-size: 1.2rem;
}

/* Hero Slider */
.hero {
  background: url('hero-bg.jpg') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.slide {
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img { 
    width: 100%; 
    height: 80vh; /* Force every image to match the container height */
    object-fit: cover; /* Keeps them from looking stretched */
}

.text-box {
  background: rgba(255, 255, 255, 0.7); /* semi-transparent white */
  padding: 20px;
  max-width: 400px; /* smaller width */
  margin: 0 auto;   /* center horizontally */
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  top: 50%;         /* move to middle vertically */
  transform: translateY(-50%); /* center vertically */
}

@keyframes floatCard {
  from { transform: translate(-50%, -52%); }
  to   { transform: translate(-50%, -48%); }
}

/* Mobile tweak */
@media (max-width: 768px) {
  .hero-text {
    max-width: 90%;
    padding: 20px;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(198,29,44,0.5);
  }
}

@keyframes glowPulse {
  from {
    text-shadow: 0 0 6px rgba(0,0,0,0.6), 0 0 10px rgba(198,29,44,0.7);
    transform: scale(1);
  }
  to {
    text-shadow: 0 0 14px rgba(0,0,0,0.8), 0 0 22px rgba(198,29,44,0.9);
    transform: scale(1.05);
  }
}

/* Button hover glow */
.hero-text .btn {
  background: var(--pomegranate);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-text .btn:hover {
  background: #a81825;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(198,29,44,0.7), 0 0 40px rgba(198,29,44,0.6);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--pomegranate);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

button {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  cursor: pointer;
}

/* Arrows & Dots */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000; /* Force it to the very front layer */
    display: block !important; /* Force it to display always */
    opacity: 1 !important;     /* Force it to be fully visible */
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
}
.left { left: 20px; }
.right { right: 20px; }
.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex !important;
}
.dot.active {
    background-color: #ff4500; /* Bright orange for the active dot */
}
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; }
.dot.active { background: white; }

/* Sections */
.section { padding: 80px; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.card { padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Contact Form */
form { display: flex; flex-direction: column; gap: 15px; max-width: 500px; margin: 0 auto; }
form input, form textarea { padding: 15px; border: 1px solid #ddd; border-radius: 8px; }

/* Footer */
footer { padding: 40px 80px; border-top: 1px solid #eee; display: flex; justify-content: space-between; }

/* Back to Top */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; background: var(--pomegranate);
    color: white; padding: 10px 15px; border-radius: 50%; text-decoration: none; display: none; z-index: 9999;
}

html { scroll-behavior: smooth; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust this to match your header height */
}

.products-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px;
}

.product-card {
  display: block;              /* anchor behaves like a card */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;       /* remove underline */
  color: inherit;              /* keep text color */
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;       /* Makes image fit the card width */
    height: 200px;     /* Keeps all images the same height */
    object-fit: cover; /* Prevents stretching/distortion */
    border-radius: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 20px;
}

.social-icons a {
    color: #333;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ff4500; /* Matches your brand color */
}

/* ============================= */
/* Responsive Design Adjustments */
/* ============================= */

 @media (max-width: 768px) {

  .hero-text h2,
  .hero-text p,
  .hero-text a {
    animation: glowPulse 2s infinite alternate;
  }
}

  .hero-text h2 {
    font-size: 42px;
  }

  .products-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-card {
    width: 45%; /* two per row */
  }

/* Mobile phones (≤ 768px) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .hero {
    height: 60vh;
  }

  .slide img {
    height: 60vh;
  }

  .hero-text h2 {
    font-size: 32px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .products-grid {
    flex-direction: column;
    padding: 20px;
  }

  .product-card {
    width: 100%; /* one per row */
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Extra small devices (≤ 480px) */
@media (max-width: 480px) {
  .hero-text h2 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .social-icons {
    font-size: 18px;
    gap: 10px;
  }
}

/* Hamburger button */
/* --- Reset for Desktop --- */
@media (min-width: 769px) {
  /* Hide the hamburger button on desktop */
  #hamburgerBtn {
    display: none !important;
  }

  /* Reset the nav to be visible and horizontal */
  #navMenu {
    position: static !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Hide the close button on desktop */
  .close-btn {
    display: none !important;
  }

  /* Ensure nav links are aligned horizontally */
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 25px !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%; /* half screen height */
    background: #fff;
    flex-direction: column;
    gap: 20px;
    padding: 60px 20px 20px;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  nav.open {
    transform: translateY(0);
    animation: drawerFloat 0.6s ease;
  }

  /* Drawer float animation */
  @keyframes drawerFloat {
    0%   { transform: translateY(-100%); }
    70%  { transform: translateY(0); }
    85%  { transform: translateY(-5%); }
    100% { transform: translateY(0); }
  }

  /* Links animation */
  nav a {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  nav.open a {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  nav.open a:nth-child(2) { transition-delay: 0.1s; }
  nav.open a:nth-child(3) { transition-delay: 0.2s; }
  nav.open a:nth-child(4) { transition-delay: 0.3s; }
}

/* Close button styling */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

.close-btn:hover {
  color: #000;
  transform: rotate(90deg) scale(1.1); /* playful hover */
}

.close-btn:focus {
  outline: 2px solid #007BFF;
  outline-offset: 4px;
}

/* Prevent background scroll when menu open */
body.no-scroll {
  overflow: hidden;
}

  /* Staggered delays for each link */
  nav.open a:nth-child(1) {
    transition-delay: 0.1s;
  }
  nav.open a:nth-child(2) {
    transition-delay: 0.2s;
  }
  nav.open a:nth-child(3) {
    transition-delay: 0.3s;
  }

/* Overlay background */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15),
    rgba(0, 0, 0, 0.4)
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.6s ease;
  z-index: 999;
  transform: translateY(-10px);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mobile nav drawer (half screen) */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    flex-direction: column;
    gap: 20px;
    padding: 60px 20px 20px;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  nav.open {
    transform: translateY(0);
    animation: drawerFloat 0.6s ease;
  }

  /* Overlay only active on mobile */
  .menu-overlay {
    display: block;
  }
}

  @keyframes drawerFloat {
    0%   { transform: translateY(-100%); }
    70%  { transform: translateY(0); }
    85%  { transform: translateY(-5%); }
    100% { transform: translateY(0); }
  }

  /* Link animation */
  nav a {
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

nav.open a {
  opacity: 1;
  transform: translateY(0) scale(1);
}

nav.open a:nth-child(2) { transition-delay: 0.1s; }
nav.open a:nth-child(3) { transition-delay: 0.2s; }
nav.open a:nth-child(4) { transition-delay: 0.3s; }

/* Frosted blur effect when overlay is active */
body.blur-active {
  filter: blur(5px);
  transition: filter 0.3s ease;
}

/* Ensure header and nav stay sharp */
header, nav.open {
  filter: none !important;
}

/* Glassmorphism overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px); /* frosted blur */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  background: rgba(255, 255, 255, 0.1); /* subtle translucent layer */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Glassmorphism overlay with gradient + parallax */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15),
    rgba(0, 0, 0, 0.4)
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.6s ease;
  z-index: 999;
  transform: translateY(-10px);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0); /* parallax slide */
}

body.no-scroll {
  overflow: hidden;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

.close-btn:hover {
  color: #000;
  transform: rotate(90deg) scale(1.1);
}

.close-btn:focus {
  outline: 2px solid #007BFF;
  outline-offset: 4px;
}

body.no-scroll {
  overflow: hidden;
}

/* Hamburger only visible on mobile */
#hamburgerBtn {
  display: none;
}

@media (max-width: 768px) {
  #hamburgerBtn {
    display: block;
  }
}

#cart {
  border: 1px solid #ccc;
  padding: 15px;
  margin-top: 20px;
  background: #f9f9f9;
}

#cart h2 {
  margin-top: 0;
}

#cart-items {
  list-style: none;
  padding: 0;
}

#cart-items li {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#cart-items button {
  padding: 3px 8px;
  border: 1px solid #ccc;
  background: #eee;
  cursor: pointer;
}

#cart-items button:hover {
  background: #ddd;
}

#checkout-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

#checkout-btn:hover {
  background: #218838;
}

/* Cart toggle button */
#cart-toggle {
background: none;           /* transparent background */
  border: 2px solid var(--pomegranate); 
  color: var(--pomegranate);  /* brand color text */
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 15px;          /* spacing between buttons */
}

#cart-count {
  background: #dc3545; /* red badge */
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.8rem;
  margin-left: 6px;
}

/* Sidebar cart */
#cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px; /* hidden by default */
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  padding: 20px;
  transition: right 0.4s ease;
  z-index: 1200;
  display: flex;
  flex-direction: column;
}

#cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cart-items {
  list-style: none;
  padding: 0;
  flex-grow: 1;
  overflow-y: auto;
}

#cart-items li {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#cart-items button {
  padding: 3px 8px;
  border: 1px solid #ccc;
  background: #eee;
  cursor: pointer;
}

#cart-items button:hover {
  background: #ddd;
}

/* Checkout button */
#checkout-btn {
  margin-top: 10px;
  padding: 10px;
  background: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#checkout-btn:hover {
  background: #218838;
}

/* Overlay */
#cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

#cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

#clear-cart {
  margin-top: 10px;
  padding: 10px;
  background: #dc3545; /* red */
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#clear-cart:hover {
  background: #c82333;
}

#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
  animation: toast-in 0.3s forwards, toast-out 0.3s forwards 3s;
}

@keyframes toast-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

#wishlist-toggle {
  background: none;
  border: 2px solid var(--pomegranate);
  color: var(--pomegranate);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#cart-toggle:hover {
  background: var(--pomegranate);
  color: #fff;  
}

#wishlist-toggle:hover {
  background: var(--pomegranate);
  color: #fff;
}    

#cart-count, #wishlist-count {
  background: #dc3545;        /* red badge for cart */
  color: #fff;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.8rem;
  margin-left: 6px;
}

#wishlist-count {
  background: #ff4081;        /* pink badge for wishlist */
  color: #fff;
}

#wishlist-sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  padding: 20px;
  transition: right 0.4s ease;
  z-index: 1200;
  display: flex;
  flex-direction: column;
}

#wishlist-sidebar.open {
  right: 0;
}

#wishlist-items {
  list-style: none;
  padding: 0;
  flex-grow: 1;
  overflow-y: auto;
}

#wishlist-items li {
  margin: 8px 0;
}

#wishlist-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

#wishlist-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Shared sidebar style */
#cart-sidebar, #wishlist-sidebar {
  font-family: 'Segoe UI', Arial, sans-serif;
  border-radius: 8px 0 0 8px;
}

.cart-header, .wishlist-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

#cart-sidebar h2, #wishlist-sidebar h2 {
  font-size: 1.4rem;
  margin: 0;
  color: #333;
}

#cart-items li, #wishlist-items li {
  background: #f8f9fa;
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product {
  display: inline-block;
  width: 220px;
  margin: 15px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.product:hover {
  transform: translateY(-5px);
}

.product img {
  max-width: 100%;
  border-radius: 6px;
}

.product h3 {
  font-size: 1.1rem;
  margin: 10px 0;
}

.product p {
  color: #666;
  margin: 5px 0 10px;
}

.product button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.add-to-cart {
  background: #007BFF;
  color: white;
}

.add-to-cart:hover {
  background: #0056b3;
}

.add-to-wishlist {
  background: #ff4081;
  color: white;
}

.add-to-wishlist:hover {
  background: #e91e63;
}

.toast {
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  color: #fff;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

button:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.add-to-wishlist:active {
  transform: scale(1.2);
  transition: transform 0.1s ease;
}

/* Existing grid layout */
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Mobile-friendly layout */
@media (max-width: 768px) {
  .checkout-container {
    grid-template-columns: 1fr; /* stack vertically */
    padding: 20px;
  }

  .summary, .payment {
    padding: 15px;
  }

  h2 {
    font-size: 1.2rem;
  }

  button {
    width: 100%; /* full-width button on mobile */
  }
}

.progress-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  font-family: 'Poppins', Arial, sans-serif;
}

.step {
  position: relative;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  background: #e9ecef;
  color: #666;
  font-weight: 500;
}

.step.completed {
  background: #28a745;
  color: #fff;
}

.step.active {
  background: #007BFF;
  color: #fff;
}

.step::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: #ccc;
}

.step:last-child::after {
  display: none;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

footer .social-icons a {
  margin: 0 10px;
  color: white;
  font-size: 1.4rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* dark overlay for readability */
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero .btn {
  background: #007BFF;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.hero .btn:hover {
  background: #0056b3;
}
.featured {
  padding: 40px 20px;
  text-align: center;
}

.featured h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
  color: #333;
}

.product-card p {
  color: #666;
  margin-bottom: 15px;
}

.product-card button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.product-card .add-to-cart {
  background: #007BFF;
  color: white;
}

.product-card .add-to-cart:hover {
  background: #0056b3;
}

.product-card .add-to-wishlist {
  background: #FF4081;
  color: white;
}

.product-card .add-to-wishlist:hover {
  background: #e91e63;
}

.testimonials {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
}

.stars {
  color: #ffcc00;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testimonial-card h4 {
  margin: 0;
  color: #333;
  font-weight: 600;
}

.newsletter {
  padding: 60px 20px;
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  text-align: center;
  color: white;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 800px;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter input {
  padding: 12px;
  border: none;
  border-radius: 6px;
  width: 250px;
  font-size: 1rem;
}

.newsletter button {
  padding: 12px 20px;
  background: #ff4081;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.newsletter button:hover {
  background: #e91e63;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--pomegranate);
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  text-decoration: none;
  display: none; /* hidden by default */
  z-index: 9999;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container img.logo {
  height: 120px;   /* bigger logo */
  width: auto;     /* keep proportions */
}

.logo-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;     /* clean dark text */
  margin-left: 15px; /* spacing between logo and text */
}

nav .nav-links {
  display: flex;
  gap: 25px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px; /* spacing between buttons and icons */
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--pomegranate);
}

.modal {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.modal-gallery {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.modal-gallery img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modal-gallery img:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.highlight-products {
  padding: 60px;
  background: #fafafa;
  text-align: center;
}

.highlight-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.highlight-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 250px;
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.highlight-card h4 {
  margin: 10px 0;
  font-size: 1.2rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: #555;
}

.highlight-card .view-details {
  margin-top: 10px;
  background: var(--pomegranate);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.gallery {
  padding: 60px;
  text-align: center;
}

.gallery h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}
.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item p {
  padding: 10px;
  font-size: 0.9rem;
  color: #555;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 3000;
  outline: none; /* allow focus */
}


.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

#lightbox-caption {
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
  text-align: center;
}

.hero-text .btn {
  background: var(--pomegranate);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px rgba(0,0,0,0.6), 0 0 10px rgba(198,29,44,0.7);
}

.hero-text .btn:hover {
  background: #a81825; /* darker red on hover */
  transform: scale(1.08);
  text-shadow: 0 0 12px rgba(0,0,0,0.8), 0 0 20px rgba(198,29,44,0.9);
  box-shadow: 0 0 20px rgba(198,29,44,0.7), 0 0 40px rgba(198,29,44,0.6);
}

@media (max-width: 768px) {
  .hero-text .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-text .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(198,29,44,0.7);
  }
}

/* Bottom sections spacing */
.newsletter, .contact-bottom {
  margin: 60px auto;
  max-width: 800px;
  padding: 40px 20px;
}

.contact-bottom {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-bottom h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-bottom form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-bottom input,
.contact-bottom textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-bottom button {
  align-self: flex-start;
}

/* Newsletter premium gradient */
.newsletter {
  margin: 60px auto;
  max-width: 900px;
  padding: 60px 30px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);

  /* Parallax effect */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Contact section card */
.contact-bottom {
  margin: 60px auto;
  max-width: 900px;
  padding: 40px 30px;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.contact-bottom h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-bottom form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-bottom input,
.contact-bottom textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-bottom button {
  align-self: flex-start;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply fade-in when visible */
.newsletter, .contact-bottom {
  opacity: 1; /* start hidden */
  animation: fadeInUp 1s ease forwards;
}

/* Staggered effect */
.newsletter {
  animation-delay: 0.2s;
}

.contact-bottom {
  animation-delay: 0.5s;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.newsletter {
  background: linear-gradient(270deg, #007BFF, #00C6FF, #ff4081);
  background-size: 600% 600%;
  animation: gradientShift 15s ease infinite;
}

/* Contact section with parallax feel */
.contact-bottom {
  margin: 60px auto;
  max-width: 900px;
  padding: 40px 30px;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);

  /* Parallax illusion */
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.6s ease;
}

.contact-bottom:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.modal-gallery {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.modal-gallery img.thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modal-gallery img.thumb:hover {
  transform: scale(1.1);
}

body {
  margin: 0;
}
/* Ensure footer doesn't expand unnecessarily */
footer {
    flex-shrink: 0;
    padding: 40px 80px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

/* Desktop override: Force display */
@media (min-width: 769px) {
  .header-right {
    display: flex !important;
  }
  #hamburgerBtn {
    display: none !important;
  }
}

.slider {
  position: relative;   /* not absolute unless necessary */
  z-index: 1;           /* keep it low so products can sit above if needed */
  width: 100%;
  height: auto;
  margin-bottom: 40px;  /* add spacing below the slider */
}

.products {
  position: relative;
  z-index: 2;           /* ensures products sit above background elements */
  display: grid;        /* or flex, depending on your design */
  gap: 20px;
  margin-top: 20px;
}

/* NEWSLETTER */

.newsletter{
background:#f5f5f5;
text-align:center;
padding:60px 20px;
}

.newsletter h2{
font-size:28px;
margin-bottom:10px;
}

.newsletter p{
color:#555;
margin-bottom:25px;
}

#newsletter-form{
display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
}

#newsletter-email{
padding:12px;
width:260px;
border:1px solid #ccc;
border-radius:6px;
font-size:14px;
}

#newsletter-form button{
padding:12px 22px;
border:none;
background:#2c7be5;
color:white;
border-radius:6px;
cursor:pointer;
transition:0.3s;
}

#newsletter-form button:hover{
background:#1a5fd1;
}

/* CONTACT */

.contact{
padding:60px 20px;
text-align:center;
}

.contact-container{
display:flex;
justify-content:center;
gap:80px;
flex-wrap:wrap;
margin-top:30px;
}

.contact-info p{
margin:8px 0;
font-size:16px;
}

.contact-social a{
display:block;
margin:8px 0;
color:#333;
text-decoration:none;
font-size:16px;
}

.contact-social a:hover{
color:#2c7be5;
}

/* FOOTER */

footer{
background:#111;
color:white;
padding:40px 20px;
}

.footer-container{
display:flex;
justify-content:space-between;
align-items:flex-start;
max-width:1100px;
margin:auto;
flex-wrap:wrap;
gap:40px;
}

.footer-logo{
width:70px;
margin-bottom:10px;
}

.footer-links a{
display:block;
color:#ddd;
text-decoration:none;
margin:6px 0;
}

.footer-links a:hover{
color:white;
}

.footer-social a{
font-size:20px;
margin-right:15px;
color:#ddd;
}

.footer-social a:hover{
color:white;
}

.footer-bottom{
text-align:center;
margin-top:30px;
color:#aaa;
font-size:14px;
}

.section{
padding:80px 20px;
max-width:1200px;
margin:auto;
}

.section-title{
text-align:center;
font-size:32px;
margin-bottom:50px;
}

.products-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.product-card{
background:white;
border-radius:10px;
padding:20px;
text-align:center;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.product-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.product-card img{
width:100%;
border-radius:8px;
margin-bottom:15px;
}

button{
cursor:pointer;
border:none;
border-radius:6px;
padding:10px 16px;
font-size:14px;
transition:0.25s;
}

.add-to-cart{
background:#2c7be5;
color:white;
}

.add-to-cart:hover{
background:#1a5fd1;
}

.add-to-wishlist{
background:#eee;
margin-left:6px;
}

.btn{
background:#2c7be5;
color:white;
padding:12px 24px;
border-radius:6px;
text-decoration:none;
}

.btn:hover{
background:#1a5fd1;
}

/* HEADER NAVIGATION FIX */

header{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 40px;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
position:sticky;
top:0;
z-index:1000;
}

.nav-links{
display:flex;
gap:30px;
list-style:none;
margin:0;
padding:0;
}

.nav-links a{
text-decoration:none;
color:#333;
font-weight:500;
}

.nav-links a:hover{
color:#2c7be5;
}

.header-actions{
display:flex;
align-items:center;
gap:15px;
}

/* GENERAL SECTIONS */

.section{
max-width:1100px;
margin:auto;
padding:80px 20px;
text-align:center;
}

.section h2{
font-size:32px;
margin-bottom:25px;
}

.section p{
color:#555;
line-height:1.6;
max-width:700px;
margin:auto;
}

/* CONTACT */

.contact-container{
display:flex;
justify-content:center;
gap:80px;
flex-wrap:wrap;
margin-top:30px;
}

.contact-info{
text-align:left;
}

.contact-info p{
margin:8px 0;
}

.contact-social{
text-align:left;
}

.contact-social a{
display:block;
margin:8px 0;
color:#333;
text-decoration:none;
}

.contact-social a:hover{
color:#2c7be5;
}

/* NEWSLETTER */

.newsletter{
background:#f7f7f7;
padding:70px 20px;
border-radius:10px;
}

#newsletter-form{
margin-top:20px;
display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
}

#newsletter-email{
padding:12px;
width:260px;
border:1px solid #ccc;
border-radius:6px;
}

#newsletter-form button{
background:#2c7be5;
color:white;
padding:12px 20px;
border-radius:6px;
}

/* PRODUCT IMAGE FIX */

.product-card img{
width:100%;
aspect-ratio:1 / 1;
object-fit:contain;
background:#fff;
padding:10px;
}

.product-card{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
text-align:center;
}

/* GLOBAL SECTION DESIGN */

.section{
max-width:1200px;
margin:auto;
padding:90px 25px;
}

.section h2{
font-size:36px;
text-align:center;
margin-bottom:20px;
}

.section p{
color:#555;
font-size:17px;
line-height:1.7;
}

/* ABOUT SECTION */

#about{
background:#f7f9fc;
border-radius:14px;
padding:80px 60px;
text-align:center;
box-shadow:0 10px 35px rgba(0,0,0,0.06);
}

#about p{
max-width:720px;
margin:auto;
margin-top:20px;
font-size:18px;
}

/* CONTACT SECTION */

.contact-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:80px;
margin-top:40px;
align-items:start;
}

.contact-info{
background:white;
padding:35px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.contact-info p{
margin:12px 0;
font-size:17px;
}

.contact-social{
background:white;
padding:35px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.contact-social a{
display:block;
padding:10px 0;
text-decoration:none;
color:#333;
font-size:17px;
}

.contact-social a:hover{
color:#2c7be5;
}

/* NEWSLETTER */

.newsletter{
background:linear-gradient(135deg,#2c7be5,#1a5fd1);
color:white;
text-align:center;
padding:80px 30px;
border-radius:14px;
margin-top:60px;
}

.newsletter p{
color:#e8f0ff;
margin-top:10px;
}

#newsletter-form{
margin-top:30px;
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
}

#newsletter-email{
padding:14px;
width:300px;
border:none;
border-radius:8px;
font-size:15px;
}

#newsletter-form button{
background:white;
color:#2c7be5;
padding:14px 26px;
border-radius:8px;
font-weight:600;
}

#newsletter-form button:hover{
opacity:0.9;
}

/* PRODUCT GRID */

.products-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:40px;
}

/* PRODUCT CARD */

.product-card{
background:white;
padding:25px;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
text-align:center;
transition:0.3s;
}

.product-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

/* BIGGER PRODUCT IMAGE */

.product-card img{
width:100%;
aspect-ratio:1 / 1;
object-fit:contain;
padding:15px;
margin-bottom:20px;
background:#fafafa;
border-radius:10px;
}

/* PRODUCT GRID BIGGER */

.products-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:50px;
margin-top:50px;
}

.product-card{
background:white;
padding:30px;
border-radius:16px;
box-shadow:0 12px 40px rgba(0,0,0,0.08);
text-align:center;
transition:0.3s;
}

.product-card:hover{
transform:translateY(-8px);
box-shadow:0 18px 50px rgba(0,0,0,0.12);
}

.product-card img{
width:100%;
aspect-ratio:1 / 1;
object-fit:contain;
padding:20px;
background:#fafafa;
border-radius:12px;
margin-bottom:25px;
}

/* ABOUT SECTION */

#about{
background:linear-gradient(135deg,#f3f7ff,#e9f0ff);
border-radius:18px;
padding:90px 70px;
margin-top:70px;
box-shadow:0 15px 45px rgba(0,0,0,0.07);
text-align:center;
}

#about h2{
font-size:36px;
margin-bottom:20px;
color:#1a2b4c;
}

#about p{
font-size:18px;
max-width:750px;
margin:auto;
line-height:1.7;
color:#444;
}

/* CONTACT SECTION */

.contact-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
margin-top:40px;
}

.contact-info,
.contact-social{
background:white;
padding:40px;
border-radius:16px;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.contact-info p{
font-size:18px;
margin:14px 0;
}

/* SOCIAL MEDIA ICONS */

.contact-social a{
display:flex;
align-items:center;
gap:15px;
margin:14px 0;
text-decoration:none;
font-size:20px;
color:#333;
}

.contact-social i{
font-size:30px;
color:#2c7be5;
}

.contact-social a:hover{
color:#2c7be5;
}

/* NEWSLETTER */

.newsletter{
background:linear-gradient(135deg,#2c7be5,#1a5fd1);
color:white;
padding:90px 40px;
border-radius:18px;
text-align:center;
margin-top:80px;
box-shadow:0 18px 50px rgba(0,0,0,0.12);
}

.newsletter h2{
font-size:34px;
margin-bottom:10px;
}

.newsletter p{
font-size:18px;
color:#e7efff;
margin-bottom:30px;
}

#newsletter-form{
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
}

#newsletter-email{
padding:16px;
width:320px;
border:none;
border-radius:10px;
font-size:16px;
}

#newsletter-form button{
padding:16px 28px;
border-radius:10px;
background:white;
color:#2c7be5;
font-weight:600;
font-size:16px;
}

#newsletter-form button:hover{
opacity:0.9;
}

/* HERO SLIDE BUTTON */

.hero{
position:relative;
}

.slide{
position:relative;
}

.slide .btn{
position:absolute;
bottom:40px;
left:50%;
transform:translateX(-50%);
background:#2c7be5;
color:white;
padding:14px 28px;
border-radius:8px;
text-decoration:none;
font-size:16px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.slide .btn:hover{
background:#1a5fd1;
}

/* HERO SLIDE ANIMATION */

.slide{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
opacity:0;
transition:opacity 1s ease-in-out;
}

.slide.active{
opacity:1;
position:relative;
}

.slide img{
width:100%;
height:500px;
object-fit:cover;
border-radius:12px;
}

/* HERO DOTS */

.dots{
position:absolute;
bottom:15px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:10px;
}

.dot{
width:10px;
height:10px;
background:rgba(255,255,255,0.6);
border-radius:50%;
transition:0.3s;
cursor:pointer;
}

.dot.active{
width:28px;
border-radius:20px;
background:white;
}

.hero{
position:relative;
overflow:hidden;
border-radius:16px;
margin-top:20px;
}

/* Fix Slider Container */
.hero {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust to your preferred height */
    overflow: hidden;
}

/* Fix Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.slide.active { opacity: 1; }
/* ===== Runtime Fixes: Header, Slider, Sections ===== */
#menuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

#menuOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

header {
  position: sticky;
  top: 0;
}

@media (min-width: 769px) {
  #navMenu {
    display: block !important;
    transform: none !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 768px) {
  #navMenu {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: 50vh !important;
    background: #ffffff;
    transform: translateY(-105%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  #navMenu.open {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column !important;
    align-items: center;
    gap: 18px !important;
  }
}

#home.hero,
.hero {
  position: relative !important;
  width: min(1200px, 100%);
  height: clamp(320px, 72vh, 560px) !important;
  margin: 20px auto 0;
  overflow: hidden;
  border-radius: 14px;
}

.slide {
  position: absolute !important;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.arrow,
.dots {
  z-index: 3 !important;
}

.newsletter {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  display: block !important;
}

body > footer .footer-brand,
body > footer .footer-qr {
  max-width: 180px !important;
}

body > footer .footer-brand,
body > footer .footer-qr {
  margin: 0 auto !important;
  text-align: center !important;
}

body > footer .footer-logo {
  width: 120px !important;
  height: auto !important;
}

body > footer .footer-qr img {
  width: 120px !important;
  height: auto !important;
}

body > footer .footer-brand p {
  max-width: 160px !important;
  line-height: 1.5 !important;
}
