    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

body {
  padding-top: 80px;
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: normal;

  /* NEW for sticky footer */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}







/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    padding: 05px 30px;
    flex-wrap: wrap;
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Logo */
.logo {
    margin-right: 60px;
    margin-left: 10px;
    margin-top: 15px;
}
.logo img {
    height: 70px;
}

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    font-size: 22px
}
.nav-links li a {
    color: black;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.5s ease;
}
.nav-links li a:hover {
    color: rgb(253, 87, 27);
}
.nav-links li .button {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    transition: color 0.5s ease;
}
.nav-links li .button:hover {
    background-color: #000;
    color: white;
}

/* Hamburger menu (hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}
.menu-toggle span {
    background: black;
    height: 3px;
    width: 25px;
    margin: 4px 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    nav {
        justify-content: space-between;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}

.nox {
    color: #aaa;
}
.nox:hover {
    color: #21D625;
}

/* Base dropdown */
.nav-links .dropdown {
  position: relative;
}
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 999;
}
/* Show on hover (desktop) */
.nav-links .dropdown:hover > .dropdown-menu {
  display: block;
}
.nav-links .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links .dropdown-menu li a:hover {
  background: #f5f5f5;
}
.nav-links .dropdown-menu .dropdown {
  position: relative;
}
.nav-links .dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 1px;
  display: none;
}
.nav-links .dropdown-menu .dropdown:hover > .dropdown-menu {
  display: block;
}
.nav-links .dropdown > a:after {
  content: "";
}

/* --- MOBILE ONLY --- */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #fff;
    width: 100%;
    border-top: 1px solid #ddd;
  }
  .nav-links a {
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
    transition: background 0.3s ease;
  }
  .nav-links a:hover { background: #f5f5f5; }

  .nav-links .dropdown { position: static; }
  .nav-links .dropdown-menu {
    display: block;
    position: static;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 100%;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease;
    background: #fafafa;
    border-left: 3px solid #ff6600;
  }

  /* Open dropdown when parent is focused */
  .nav-links .dropdown:focus-within > .dropdown-menu,
  .nav-links .dropdown-menu .dropdown:focus-within > .dropdown-menu {
    max-height: 600px;
    opacity: 1;
  }

  /* --- FIRST TAP = open, SECOND TAP = follow link --- */
  .nav-links .dropdown > a {
    position: relative;
    z-index: 1;
  }
  .nav-links .dropdown > a::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
  }
  .nav-links .dropdown:focus-within > a::after {
    display: none; /* allows second tap to follow link */
  }

  /* Arrow indicator */
  .nav-links .dropdown > a::before {
    content: "▸";
    float: right;
    transition: transform .3s ease;
    margin-right: 8px;
  }
  .nav-links .dropdown:focus-within > a::before {
    transform: rotate(90deg);
  }

  /* Nested indentation */
  .nav-links .dropdown-menu .dropdown-menu {
    margin-left: 15px;
    border-left: 2px solid #ddd;
  }
}
/* First-level submenu */
.nav-links .dropdown-menu li a {
  font-size: 16px;   /* smaller than main menu (22px) */
}

/* Nested submenu (third level and deeper) */
.nav-links .dropdown-menu .dropdown-menu li a {
  font-size: 14px;   /* even smaller for deeper items */
}
/* Very small phones (≤ 480px) */
@media (max-width: 480px) {
  .nav-links a {
    font-size: 14px;
    padding: 10px 12px;
  }
  .nav-links .dropdown-menu li a {
    font-size: 13px;
  }
  nav .logo{
    width: 100px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.cont{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px); /* Adjust for navbar height */
    padding: 20px;
}

.product-page {
  width: 90%;
  max-width: 1000px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

h1{
    color: orangered;
}

.image-section {
  flex: 1;
  text-align: center;
}

.image-section img {
  width: 100%;
  width: 400px;
  border-radius: 10px;
}

.thumbnail-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.thumbnail-row img {
  width: 70px;
  height: 70px;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s, border 0.2s;
}

.thumbnail-row img:hover {
  transform: scale(1.1);
  border: 2px solid #333;
}

.description {
  flex: 1;
}

.description h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.description p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

/* MOBILE FIX: images on top, description below */
@media (max-width: 968px) {
  .product-page {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .image-section {
    order: 1; /* images first */
    width: 100%;
  }

  .description {
    order: 2; /* description below */
    width: 100%;

  }

  .description h1 {
    font-size: 24px;
  }

  .description p {
    font-size: 15px;
  }

  .thumbnail-row {
    justify-content: center;
  }
  #mainImage{
    width: 370px;
  }
}


footer {
  background: linear-gradient(135deg, #000, #111);
  color: #fff;
  padding: 60px 40px 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-top {
  display: grid;
  grid-template-columns: 180px 150px 250px 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 150px;
  transition: transform 0.3s ease;
}
.footer-logo img:hover {
  transform: scale(1.1);
}

.footer-heading {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
}
.footer-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: #ff7f00;
  margin-top: 8px;
  border-radius: 1px;
}

.footer-list {
  list-style: none;
  padding: 0;
}
.footer-list li {
  margin-bottom: 12px;
}
.footer-list a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #ccc;
  transition: color 0.3s, transform 0.3s;
}
.footer-list a:hover {
  color: #ff7f00;
  transform: translateX(5px);
}

.contact strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}
.contact p {
  margin: 5px 0;
  color: #bbb;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s;
}
.social-links a:hover {
  color: #ff7f00;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
  transition: 0.7s ease color;
}

.footer-bottom a.nox {
  color: #aaa;
  font-weight: 600;
  text-decoration: none;
}
.footer-bottom a.nox:hover {
  color: #1eff00;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-logo img { width: 120px; }
  .footer-heading { font-size: 18px; margin-bottom: 12px; }
  .footer-list a { font-size: 15px; }
  .contact p { font-size: 14px; }
  .social-links a { font-size: 16px; }
  .footer-bottom { font-size: 10px; }
}

@media (max-width: 500px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-logo img { width: 100px; margin-bottom: 20px; }
  .footer-heading { font-size: 16px; }
  .footer-list a { font-size: 14px; }
  .social-links a { font-size: 14px; }
}
footer {
  background: linear-gradient(135deg, #000, #111);
  color: #fff;
  padding: 60px 40px 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-top {
  display: grid;
  grid-template-columns: 180px 150px 250px 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 250px;
  transition: transform 0.3s ease;
  margin-right: 50px;
}
.footer-logo img:hover {
  transform: scale(1.1);
}

.footer-heading {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
}
.footer-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: #ff7f00;
  margin-top: 8px;
  border-radius: 1px;
}
.footer-links{
    margin-left: 100px;
}
.footer-list {
  list-style: none;
  padding: 0;
}
.footer-list li {
  margin-bottom: 12px;
}
.footer-list a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #ccc;
  transition: color 0.3s, transform 0.3s;
}
.footer-list a:hover {
  color: #ff7f00;
  transform: translateX(5px);
}
.contact{
    margin-left: 50px;
}

.contact strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}
.contact p {
  margin: 5px 0;
  color: #bbb;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s;
}
.social-links a:hover {
  color: #ff7f00;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
  transition: 0.7s ease color;
}

.footer-bottom a.nox {
  color: #aaa;
  font-weight: 600;
  text-decoration: none;
}
.footer-bottom a.nox:hover {
  color: #1eff00;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-logo img { width: 220px; }
  .footer-heading { font-size: 18px; margin-bottom: 12px; }
  .footer-list a { font-size: 15px; }
  .contact p { font-size: 14px; }
  .social-links a { font-size: 16px; }
  .footer-bottom { font-size: 10px; }
  .contact{
    margin-left: 0px;
  }
  .footer-links{
    margin-left: 0px;
  }
}

@media (max-width: 500px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-logo img { width: 200px; margin-bottom: 20px; }
  .footer-heading { font-size: 16px; }
  .footer-list a { font-size: 14px; }
  .social-links a { font-size: 14px; }
  .contact{
    margin-left: 0px;
  }
  .footer-links{
    margin-left: 0px;
  }
}
/* Hidden state */
.footer-top > div,
.footer-bottom {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

/* Visible state */
.footer-top > div.footer-visible,
.footer-bottom.footer-visible {
  opacity: 1;
  transform: translateY(0);
}