* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f7f7f7;
  color: #222;
  overflow-x: hidden;
}

/* HEADER */
.main-header {
  border-radius: 0 0 10px 10px;
  width: 100%;
  background: #ffffff;
  padding: 6px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1000;
}

.header-flex { width: 100%; padding: 0 20px; margin: 0 auto; height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 78px;
  overflow: visible;
}

.logo a {
  display: inline-flex;
  align-items: center;
  height: 78px;
}

.logo img {
  height: 60px;
  
  width: auto;
  display: block;
  object-fit: contain;
  
  transform-origin: left center;
}

.navbar {
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 42px;
}

.menu li {
  display: inline-block;
}

.menu a {
  text-decoration: none;
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s ease;
}

.menu a:hover,
.menu a.active {
  color: red;
}

/* --- SUBMENU DROPDOWN STYLES --- */
.has-dropdown {
  position: relative;
}
.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.has-dropdown > a i {
  font-size: 12px;
  transition: 0.3s;
}
.has-dropdown:hover > a i {
  transform: rotate(180deg);
}
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px); /* Centers the wide menu */
  width: max-content; /* Adapts to horizontal width */
  background: #fff;
  list-style: none;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  
  /* Horizontal Grid Layout (4 columns) */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 25px;
}
.has-dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu li {
  width: 100%;
}
.submenu a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #444;
  font-weight: 500;
  transition: 0.3s;
  border-radius: 5px;
  white-space: nowrap; /* Keeps items strictly on one line */
}
.submenu a:hover {
  background: #fff3f3;
  color: red;
  padding-left: 18px; /* Subtle horizontal slide effect */
}

.header-btn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.btn {
  display: inline-block;
  background: red;
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  transition: 0.3s ease;
}

.btn:hover {
  background: #c40000;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #222;
}

/* BANNER */
.detail-banner {
  position: relative;
  width: 100%;
  min-height: 950px;
  /* removed background */
  display: flex;
  align-items: center;
}



/* COMMON */
.section-heading {
  text-align: center;
  margin-bottom: 46px;
}

.section-heading span {
  display: inline-block;
  color: red;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.section-heading h2 {
  font-size: 40px;
  color: #111;
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 16px;
  color: #666;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

/* PRODUCT DETAIL - CHANGED DESIGN */
.product-detail-section {
  padding: 95px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.product-detail-container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.product-detail-image {
  position: relative;
}

.product-detail-image img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.product-tag {
  display: inline-block;
  background: #ffe5e5;
  color: #ed2024;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.product-detail-content h2 {
  font-size: 40px;
  color: #111;
  margin-bottom: 18px;
  line-height: 1.2;
}

.product-detail-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(237, 32, 36, 0.18);
  border-radius: 20px;
  padding: 24px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.10);
}

.highlight-box i {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ed2024, #ff5a5f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.highlight-box h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #111;
}

.highlight-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 0;
}



/* OTHER PRODUCTS SECTION */
.other-products-section {
  padding: 95px 0;
  background: #ffffff;
}

.other-products-container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

.other-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.other-product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(237, 32, 36, 0.10);
  transition: 0.35s ease;
}

.other-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

.other-product-image {
  height: 240px;
  overflow: hidden;
}

.other-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.35s ease;
}

.other-product-card:hover .other-product-image img {
  
}

.other-product-content {
  padding: 26px 24px 28px;
}

.other-product-tag {
  display: inline-block;
  background: #ffe5e5;
  color: #ed2024;
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.other-product-content h3 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 12px;
}

.other-product-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #5b6472;
  margin-bottom: 22px;
}

.other-product-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ed2024, #ff5a5f);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s ease;
}

.other-product-btn:hover {
  background: linear-gradient(135deg, #c9171b, #ed2024);
}

/* SPEC SECTION */
.spec-section {
  padding: 90px 0;
  background: #ffffff;
}

.spec-container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.spec-item {
  background: #f9fafb;
  border-left: 4px solid #ed2024;
  padding: 24px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.spec-item h4 {
  font-size: 17px;
  color: #111;
  margin-bottom: 8px;
}

.spec-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* CTA */
.product-cta {
  background: linear-gradient(135deg, #111827, #1f2937);
  padding: 78px 20px;
  text-align: center;
}

.product-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.product-cta h2 {
  font-size: 38px;
  color: #fff;
  margin-bottom: 14px;
}

.product-cta p {
  font-size: 16px;
  color: #d1d5db;
  margin-bottom: 24px;
  line-height: 1.8;
}

/* LAPTOP */
@media (max-width: 1400px) {
  .detail-banner {
    min-height: 500px;
  }

  .detail-banner-overlay {
    min-height: 500px;
  }

  .detail-banner-content h1 {
    font-size: 68px;
  }

  .detail-banner-content p {
    font-size: 20px;
  }

  .menu {
    gap: 28px;
  }
}

/* TABLET */
@media (max-width: 991px) {
  .header-flex {
    grid-template-columns: 1fr auto;
    height: 78px;
    padding: 0;
  }

  .logo,
  .logo a {
    height: 78px;
  }

  .logo img {
    height: 52px;
  
    
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-btn {
    display: none;
  }

  .navbar {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    background: #fff;
    margin-top: 10px;
    border-top: 1px solid #eee;
  }

  .navbar.active {
    display: block;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    display: block;
    padding: 14px 10px;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .detail-banner {
    min-height: 420px;
  }

  .detail-banner-overlay {
    min-height: 420px;
  }

  .detail-banner-content {
    padding-left: 10px;
  }

  .detail-banner-content span {
    font-size: 18px;
  }

  .detail-banner-content h1 {
    font-size: 52px;
    max-width: 600px;
  }

  .detail-banner-content p {
    font-size: 18px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-highlights {
    grid-template-columns: 1fr;
  }

  .uses-modern-grid,
  .other-products-grid,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .header-flex {
    height: 72px;
  }

  .logo,
  .logo a {
    height: 72px;
  }

  .logo img {
    height: 46px;
    
  }

  .detail-banner {
    min-height: 320px;
  }

  .detail-banner-overlay {
    min-height: 320px;
    padding: 30px 15px;
  }

  .detail-banner-content {
    padding-left: 0;
  }

  .detail-banner-content span {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .detail-banner-content h1 {
    font-size: 36px;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .detail-banner-content p {
    font-size: 15px;
    max-width: 100%;
  }

  .section-heading h2,
  .product-detail-content h2,
  .product-cta h2 {
    font-size: 28px;
  }

  .uses-modern-grid,
  .other-products-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .uses-modern-card,
  .other-product-content {
    padding: 24px 20px;
  }

  .uses-modern-card h3,
  .other-product-content h3 {
    font-size: 20px;
  }

  .uses-modern-card p,
  .other-product-content p {
    font-size: 14px;
  }

  .other-product-image {
    height: 220px;
  }
}

/* REMOVE GAP ABOVE */
.product-navigation {
  padding: 0;
  padding-bottom: 60px;
  margin-top: -20px;
  background: transparent;
}

.product-nav-container {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* MOVE TO RIGHT */
  gap: 10px;
  padding-right: 20px;
}

.nav-btn {
  background: #fff;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: 0.3s;
}

.nav-btn:hover {
  background: #ed2024;
  color: #fff;
  border-color: #ed2024;
}

/* FOOTER */
.footer {
  background: #111;
  color: #fff;
  padding-top: 50px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr 1.5fr;
  gap: 30px;
}
.footer-box p i {
  color: red;
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.footer-logo {
    width: 200px;
    height: auto;
    max-width: 100%;
  
  display: block;
  margin: -30px auto -90px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
}

.footer-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 8px;
}

/* SOCIAL */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 16px;
  background: #222;
  padding: 10px;
  border-radius: 5px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: red;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 15px 0;
  background: #000;
  margin-top: 30px;
}

.footer-bottom p {
  font-size: 14px;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
.footer-box p i {
  color: red;
  margin-right: 8px;
  width: 16px;
  text-align: center;
}
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
.footer-box p i {
  color: red;
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

  .footer-logo {
    margin: -30px auto -90px;
  }
}

.footer-box:first-child {
  text-align: center;
}

.footer-logo {
  display: block;
  margin: -30px auto -90px;
}

/* TEXT JUSTIFY */
.footer-text {
  text-align: justify;
  max-width: 350px;
  margin: 0 auto;
}

.uses-table-wrapper {
  display: block; /* Removed grid to allow centering */
  padding: 80px 20px;
  background: #f7f7f7;
}

.uses-section {
  padding: 0;
  background: transparent;
}

.uses-container {
  width: 100%;
  max-width: 1100px; /* Sets a max width so it doesn't stretch too far */
  margin: 0 auto; /* This perfectly centers the section */
}

.section-heading {
  text-align: center;
  margin-bottom: 35px;
}

.section-heading span {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ed2024;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: 52px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-heading p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #5b6472;
}

.uses-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.uses-modern-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border: 1px solid #f0f0f0;
  transition: 0.3s ease;
}

.uses-modern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.uses-card-top {
  margin-bottom: 12px;
}

.uses-number {
  font-size: 30px;
  font-weight: 800;
  color: #ed2024;
  line-height: 1;
}

.uses-modern-card h3 {
  font-size: 24px;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.3;
}

.uses-modern-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #5b6472;
  margin: 0;
}

.table-section {
  display: none; /* This hides the section completely */
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 20px;
}

.table-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111827;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.custom-table td {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
}

.custom-table tr:first-child td {
  background: #ed2024;
  color: #ffffff;
  font-weight: 700;
}

.custom-table tr:not(:first-child) td:first-child {
  background: #fff5f5;
  color: #111827;
  font-weight: 600;
  width: 58%;
}

.custom-table tr:nth-child(even):not(:first-child) {
  background: #fafafa;
}

@media (max-width: 991px) {
  .uses-table-wrapper {
    grid-template-columns: 1fr;
  }

  .table-section {
    position: static;
  }
}

@media (max-width: 767px) {
  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .uses-modern-grid {
    grid-template-columns: 1fr;
  }

  .table-title {
    font-size: 26px;
  }
}







.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: red;
}

.footer-websites {
  margin-bottom: 12px;
  font-size: 15px;
  color: #ccc;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 15px;
}
@media (max-width: 767px) {
  .footer-websites {
    flex-direction: column;
    gap: 8px;
  }
  .footer-websites .sep {
    display: none;
  }
}

@media (max-width: 991px) {
  .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    padding-left: 15px;
    margin-top: 10px;
    display: block;
    background: #f9f9f9;
    border-radius: 8px;
  }
  .has-dropdown:hover .submenu {
    transform: none;
  }
  .submenu a {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
  }
  .submenu a:last-child {
    border-bottom: none;
  }
}




@media (max-width: 991px) {
  .detail-banner {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    background-size: cover !important;
    background-position: center !important;
  }
}









@media (max-width: 991px) {
  .header-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
}



@media (max-width: 991px) {
  .main-header { position: relative; }
  .navbar {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    margin-top: 0 !important;
  }
}



@media (max-width: 991px) {
  .logo img {
    transform: scale(2.5) !important;
    transform-origin: left center !important;
  }
}


@media (min-width: 992px) {
  .logo img {
    transform: scale(3.5) !important;
    transform-origin: left center !important;
  }
}




@media (max-width: 991px) {
  .detail-banner {
    /* removed background-image */
  }
}


/* QUICK LINKS */
.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.quick-links li {
  margin-bottom: 10px;
}
.quick-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.quick-links a:hover {
  color: #ff3c00;
}






