/* ===================================
   Shree Metal Cast - Global Stylesheet
   Color Theme: Ivory Cream + Rich Burgundy
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
  --bg-light: #F8FAFC;
  --bg-light-dark: #E2E8F0;
  --molten-orange: #F97316;
  --primary-dark: #111827;
  --metal-grey: #6B7280;
  --industrial-grey: #374151;
  --text-dark: #1F2937;
  --text-muted: #4B5563;
  --text-light: #F8FAFC;
  --gray-light: #f3f4f6;
  --white: #FFFFFF;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 6px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3 { font-family: 'Montserrat', sans-serif; }

img { max-width: 100%; }

/* ========== HEADER & NAV ========== */
header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--industrial-grey) 100%);
  color: var(--text-light);
  padding: 0.8rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(17, 24, 39, 0.5);
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.logo-gear {
  display: inline-block;
  animation: spin 6s linear infinite;
  font-style: normal;
  font-size: 1.8rem;
}

.logo-sub {
  font-size: 0.6rem;
  font-family: 'Inter', sans-serif;
  display: block;
  letter-spacing: 3px;
  color: rgba(248, 250, 252,0.7);
  text-transform: uppercase;
  font-weight: 400;
}

nav > ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

/* Dropdowns must stack vertically, not horizontally */
nav .dropdown,
nav .sub-dropdown {
  display: block !important;
  flex-direction: unset !important;
}

nav > ul > li {
  position: relative;
}

nav > ul > li > a {
  padding: 0.6rem 1.2rem;
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border-radius: 6px;
  color: var(--text-light);
}

nav > ul > li > a:hover,
nav > ul > li > a.active {
  background-color: rgba(248, 250, 252, 0.2);
}

/* ========== DROPDOWN MENUS ========== */
.dropdown {
  display: block !important;      /* Override nav ul flex */
  position: absolute;
  top: 100%;
  right: 0;          /* align from right so it never goes offscreen */
  left: auto;
  background-color: #fff;
  color: var(--text-dark);
  min-width: 220px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  border-top: 3px solid var(--molten-orange);
  z-index: 10000;
  list-style: none;
  padding: 0;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown > li {
  position: relative;
  width: 100%;
}

.dropdown > li > a {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid #f0e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-dark);
}

.dropdown > li > a:hover {
  background-color: #fdf5f7;
  color: var(--molten-orange);
  padding-left: 1.5rem;
}

/* ========== SECOND LEVEL DROPDOWN ========== */
.sub-dropdown {
  display: block !important;     /* Override nav ul flex */
  position: absolute;
  top: 0;
  right: 100%;       /* open to the LEFT so it doesn't go offscreen */
  left: auto;
  background-color: #fff;
  min-width: 260px;
  box-shadow: -10px 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  border-right: 3px solid var(--molten-orange);  /* border now on right side */
  border-left: none;
  max-height: 480px;
  overflow-y: auto;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  list-style: none;
  padding: 0;
  z-index: 10001;
}

.sub-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.sub-dropdown li a {
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid #f5f0f2;
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  transition: var(--transition);
  color: var(--text-dark);
}

.sub-dropdown li a:hover {
  background-color: #fdf5f7;
  color: var(--molten-orange);
  padding-left: 1.6rem;
}

.sub-dropdown::-webkit-scrollbar { width: 5px; }
.sub-dropdown::-webkit-scrollbar-thumb {
  background-color: var(--molten-orange);
  border-radius: 4px;
}

/* ========== HERO CAROUSEL ========== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
  background-color: #1a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 24, 39,0.85) 0%, rgba(55, 65, 81,0.5) 100%);
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(248, 250, 252,0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dot.active {
  background-color: var(--bg-light);
  width: 28px;
  border-radius: 5px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(248, 250, 252,0.2);
  border: 2px solid rgba(248, 250, 252,0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover { background: rgba(248, 250, 252,0.4); }
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 3rem;
  max-width: 850px;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: rgba(248, 250, 252,0.2);
  border: 1px solid rgba(248, 250, 252,0.5);
  color: var(--bg-light);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.4rem 1.5rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  color: var(--bg-light);
  line-height: 1.2;
  text-shadow: 2px 4px 15px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  color: rgba(248, 250, 252,0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--molten-orange);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  border-color: var(--molten-orange);
  color: var(--molten-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--bg-light);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--bg-light);
  color: var(--molten-orange);
  transform: translateY(-2px);
}

/* ========== STATS STRIP ========== */
.stats-strip {
  background: var(--primary-dark);
  color: var(--bg-light);
  padding: 3rem 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(248, 250, 252,0.3);
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-light);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(248, 250, 252,0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.3rem;
}

/* ========== SECTIONS ========== */
.section {
  padding: 6rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-full {
  padding: 6rem 4rem;
  background-color: var(--gray-light);
}

.section-full .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--molten-orange);
  border-left: 3px solid var(--molten-orange);
  padding-left: 10px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.3;
}

.section-title span { color: var(--molten-orange); }

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.title-line {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--molten-orange), var(--metal-grey));
  border-radius: 2px;
  margin: 1rem auto 2rem;
}

/* ========== GRIDS ========== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

/* ========== CARDS ========== */
.card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #f0e8e8;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--molten-orange);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background-color: #f3f4f6;
  padding: 1rem;
  transition: var(--transition);
}

.card:hover .card-img { transform: scale(1.05); }

.card-img-wrapper {
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: var(--molten-orange);
  margin-bottom: 0.5rem;
}

.card-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--molten-orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-link:hover { gap: 10px; }

/* ========== PRODUCT CATEGORY CARD ========== */
.cat-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: block;
  height: 350px;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover img { transform: scale(1.08); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39,0.9) 0%, rgba(17, 24, 39,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition);
}

.cat-card:hover .cat-card-overlay {
  background: linear-gradient(to top, rgba(17, 24, 39,0.95) 0%, rgba(17, 24, 39,0.5) 60%, rgba(17, 24, 39,0.1) 100%);
}

.cat-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.3rem;
}

.cat-card-count {
  font-size: 0.8rem;
  color: rgba(248, 250, 252,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cat-card-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--bg-light);
  color: var(--molten-orange);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.cat-card:hover .cat-card-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ========== FEATURE ITEMS ========== */
.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.feature-item:hover {
  transform: translateX(8px);
  border-left-color: var(--molten-orange);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 55px;
  height: 55px;
  background: var(--molten-orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--white);
}

.feature-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.feature-text p { font-size: 0.875rem; color: var(--text-muted); }

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
  border-top: 4px solid var(--molten-orange);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 25px;
  font-size: 6rem;
  color: var(--molten-orange);
  opacity: 0.1;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 1rem; }

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--molten-orange), var(--metal-grey));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info h4 { font-size: 0.95rem; font-weight: 600; font-family: 'Inter', sans-serif; }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--molten-orange) 100%);
  color: white;
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '⚙️';
  position: absolute;
  font-size: 25rem;
  opacity: 0.04;
  top: -50px;
  right: -80px;
  animation: spin 40s linear infinite;
}

.page-hero::after {
  content: '⚙️';
  position: absolute;
  font-size: 15rem;
  opacity: 0.04;
  bottom: -30px;
  left: -40px;
  animation: spin 25s linear infinite reverse;
}

.page-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(248, 250, 252,0.8);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(248, 250, 252,0.7);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(248, 250, 252,0.7); }
.breadcrumb a:hover { color: white; }

/* ========== CONTACT PAGE ========== */
.contact-info-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--molten-orange);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--molten-orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: white;
}

.contact-form-card {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #eee;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  background: #fdfdfd;
}

.form-control:focus {
  outline: none;
  border-color: var(--molten-orange);
  box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
  background: white;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(135deg, #1a0a0f 0%, var(--primary-dark) 100%);
  color: var(--bg-light);
  padding: 4rem 4rem 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-about { font-size: 0.875rem; color: rgba(248, 250, 252,0.65); line-height: 1.8; }

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(248, 250, 252,0.5);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links li a {
  color: rgba(248, 250, 252,0.7);
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-links li a:hover { color: var(--bg-light); padding-left: 5px; }

.footer-contact-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(248, 250, 252,0.7);
  margin-bottom: 1rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(248, 250, 252,0.1);
  margin: 2rem 0 1.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(248, 250, 252,0.4);
  max-width: 1400px;
  margin: 0 auto;
}

/* ========== DECORATIVE ========== */
.gear-deco {
  position: absolute;
  opacity: 0.04;
  font-size: 18rem;
  z-index: 0;
  animation: spin 50s linear infinite;
  pointer-events: none;
  user-select: none;
}

.divider-gear {
  text-align: center;
  font-size: 2.5rem;
  margin: 1rem 0;
  animation: spin 8s linear infinite;
  display: inline-block;
  color: var(--molten-orange);
  opacity: 0.3;
}

/* ========== ABOUT TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--molten-orange), transparent);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-dot {
  width: 62px;
  height: 62px;
  background: var(--molten-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(55, 65, 81,0.4);
}

.timeline-content {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  flex: 1;
  border-left: 3px solid var(--molten-orange);
}

.timeline-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--molten-orange);
  margin-bottom: 0.4rem;
}

.timeline-content p { font-size: 0.875rem; color: var(--text-muted); }

/* ========== PRODUCT DETAIL ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid #f0e8e8;
  margin-bottom: 3rem;
}

.product-detail:nth-child(even) { direction: rtl; }
.product-detail:nth-child(even) > * { direction: ltr; }

.product-detail-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.product-detail-img:hover { transform: scale(1.02); box-shadow: 0 20px 60px rgba(55, 65, 81,0.3); }

.product-detail-specs {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.spec-item {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  border-left: 3px solid var(--molten-orange);
}

.spec-item strong { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }

/* ========== ANIMATIONS ========== */
@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  header { padding: 0.8rem 2rem; }
  .section { padding: 4rem 2rem; }
  .section-full { padding: 4rem 2rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  footer { padding: 3rem 2rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-strip { padding: 2rem; }
}

@media (max-width: 768px) {
  header { padding: 0.8rem 1rem; flex-direction: column; gap: 0.8rem; }
  .logo { font-size: 1.3rem; }
  nav > ul { flex-wrap: wrap; justify-content: center; gap: 0.2rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .page-hero { padding: 3rem 2rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail:nth-child(even) { direction: ltr; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .section { padding: 3rem 1rem; }
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(160deg, #2a0a14 0%, var(--primary-dark) 100%);
  color: var(--bg-light);
}

.footer-top {
  padding: 5rem 4rem 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bg-light);
}

.footer-about {
  font-size: 0.875rem;
  color: rgba(248, 250, 252,0.65);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.social-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(248, 250, 252,0.1);
  border: 1px solid rgba(248, 250, 252,0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--bg-light);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--molten-orange);
  border-color: var(--molten-orange);
}

.footer-col {}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--molten-orange);
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(248, 250, 252,0.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links li a:hover {
  color: var(--bg-light);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: rgba(248, 250, 252,0.65);
  line-height: 1.6;
}

.footer-contact-list li a {
  color: rgba(248, 250, 252,0.85);
}

.footer-contact-list li a:hover { color: var(--bg-light); }

.contact-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 250, 252,0.1);
  padding: 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(248, 250, 252,0.45);
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--molten-orange) 60%, var(--metal-grey));
  padding: 6rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '⚙️';
  position: absolute;
  font-size: 20rem;
  opacity: 0.04;
  top: -60px;
  right: -60px;
  animation: spin 50s linear infinite;
}

.cta-section::after {
  content: '⚙️';
  position: absolute;
  font-size: 12rem;
  opacity: 0.04;
  bottom: -30px;
  left: -30px;
  animation: spin 35s linear infinite reverse;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.8rem;
  color: var(--bg-light);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(248, 250, 252,0.85);
  line-height: 1.8;
}

/* ========== PROCESS STEPS ========== */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
}

.process-step {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.process-step:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--molten-orange);
  box-shadow: var(--shadow-lg);
}

.process-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--molten-orange);
}

.process-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--molten-orange);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--molten-orange);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ========== APPLICATION CARDS ========== */
.app-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.app-card:hover {
  transform: translateY(-8px);
  border-top-color: var(--molten-orange);
  box-shadow: var(--shadow-lg);
}

.app-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}

.app-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--molten-orange);
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== SPECS TABLE ========== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.specs-table thead tr {
  background: linear-gradient(135deg, var(--primary-dark), var(--molten-orange));
  color: var(--bg-light);
}

.specs-table th {
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.specs-table td {
  padding: 0.9rem 1.2rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  border-bottom: 1px solid #f0e8e8;
}

.specs-table tbody tr:last-child td { border-bottom: none; }

.specs-table tbody tr:nth-child(even) { background-color: #fdf8f9; }

.specs-table tbody tr:hover { background-color: #fdf0f4; }

/* ========== ABOUT BADGE ========== */
.img-gear-wrapper {
  position: relative;
}

.gear-spin-bg {
  position: absolute;
  font-size: 18rem;
  opacity: 0.06;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 30s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--molten-orange));
  color: var(--bg-light);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-badge-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.about-badge-text {
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== PAGE HERO BACKGROUND BLEND ========== */
.page-hero {
  background-color: var(--primary-dark);
}

/* ========== RESPONSIVE ADDITIONS ========== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps { gap: 0.3rem; }
  .process-step { min-width: 120px; padding: 1.5rem 1rem; }
  .process-arrow { display: none; }
  .section { padding: 5rem 3rem; }
  .section-full { padding: 5rem 3rem; }
  .footer-top { padding: 4rem 3rem 2rem; }
}

/* =====================================================================
   HAMBURGER BUTTON
===================================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: var(--transition);
  z-index: 10001;
  flex-shrink: 0;
}

.hamburger:hover { background: rgba(248, 250, 252,0.15); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--bg-light);
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

/* Animate to X when active */
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Dark overlay when menu open */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* Header scrolled state */
header.scrolled { box-shadow: 0 6px 30px rgba(17, 24, 39,0.7); }

/* =====================================================================
   LAPTOP / LARGE TABLET  (≤ 1024px)
===================================================================== */
@media (max-width: 1024px) {
  header { padding: 0.8rem 2rem; }
  .section { padding: 4rem 2rem; }
  .section-full { padding: 4rem 2rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-top { padding: 3rem 2rem 2rem; }
  .stats-strip { padding: 2rem; }
  .hero { height: 75vh; }
  .hero-content h1 { font-size: 3rem; }
  .section-title { font-size: 2.4rem; }
  .cta-section { padding: 5rem 2rem; }
  .cta-content h2 { font-size: 2.4rem; }
  .about-badge { bottom: -15px; right: -10px; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail:nth-child(even) { direction: ltr; }
}

/* =====================================================================
   TABLET & HAMBURGER MENU  (≤ 992px)
===================================================================== */
@media (max-width: 992px) {
  /* Show hamburger */
  .hamburger { display: flex; }

  /* Nav becomes slide-in panel from right */
  #mainNav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-dark) 0%, #1a0610 100%);
    z-index: 9999;
    padding: 80px 0 2rem;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }

  #mainNav.open { right: 0; }

  /* Top-level nav items */
  #mainNav > ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
  }

  #mainNav > ul > li > a {
    padding: 1rem 1.5rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(248, 250, 252,0.08);
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #mainNav > ul > li > a:hover {
    background: rgba(248, 250, 252,0.12);
  }

  /* Dropdown in mobile = accordion, not absolute */
  .dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    min-width: unset !important;
    right: auto !important;
    left: auto !important;
    display: none !important;
    background: rgba(0,0,0,0.2) !important;
  }

  .dropdown.open { display: block !important; }

  .dropdown > li > a {
    padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    border-bottom: 1px solid rgba(248, 250, 252,0.05);
    color: rgba(248, 250, 252,0.85);
    font-size: 0.9rem;
  }

  .dropdown > li > a:hover {
    background: rgba(248, 250, 252,0.08);
    padding-left: 3rem;
    color: var(--bg-light);
  }

  /* Sub-dropdown in mobile = accordion */
  .sub-dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    min-width: unset !important;
    right: auto !important;
    left: auto !important;
    max-height: none !important;
    display: none !important;
    background: rgba(0,0,0,0.3) !important;
  }

  .sub-dropdown.open { display: block !important; }

  .sub-dropdown li a {
    padding: 0.65rem 1.5rem 0.65rem 3.5rem;
    border-bottom: 1px solid rgba(248, 250, 252,0.04);
    color: rgba(248, 250, 252,0.7);
    font-size: 0.82rem;
  }

  .sub-dropdown li a:hover {
    padding-left: 4rem;
    color: var(--bg-light);
    background: rgba(248, 250, 252,0.06);
  }

  /* Header layout on tablet */
  header {
    padding: 0.8rem 1.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Sections */
  .section { padding: 3.5rem 1.5rem; }
  .section-full { padding: 3.5rem 1.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-card { height: 280px; }
  .hero { height: 70vh; }
  .hero-content h1 { font-size: 2.6rem; }
  .hero-content p { font-size: 1rem; }
  .stats-strip { padding: 2rem 1.5rem; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .section-title { font-size: 2.2rem; }
  .process-step { max-width: 100%; }
  .page-hero { padding: 4rem 2rem; }
  .page-hero h1 { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* =====================================================================
   MOBILE  (≤ 768px)
===================================================================== */
@media (max-width: 768px) {
  header { padding: 0.8rem 1rem; }
  .logo { font-size: 1.3rem; }
  .logo-sub { font-size: 0.55rem; letter-spacing: 2px; }

  .hero { height: 90vh; min-height: 500px; }
  .hero-content { padding: 1.5rem; }
  .hero-content h1 { font-size: 2rem; line-height: 1.25; }
  .hero-content p { font-size: 0.9rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.8rem; }
  .hero-badge { font-size: 0.7rem; letter-spacing: 2px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1rem; }

  .stats-strip { padding: 1.5rem 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 2.2rem; }
  .stat-item + .stat-item::before { display: none; }

  .section { padding: 3rem 1rem; }
  .section-full { padding: 3rem 1rem; }
  .section-title { font-size: 1.8rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .cat-card { height: 240px; }
  .cat-card-title { font-size: 1.2rem; }

  .feature-item { flex-direction: column; text-align: center; gap: 1rem; }

  .process-steps { flex-direction: column; align-items: stretch; gap: 1rem; }
  .process-step { max-width: 100%; padding: 1.5rem; }

  .app-card { padding: 1.5rem; }

  .testimonial-card { padding: 1.5rem; }

  .cta-section { padding: 3.5rem 1rem; }
  .cta-content h2 { font-size: 1.8rem; }
  .cta-content p { font-size: 0.9rem; }
  .cta-section::before, .cta-section::after { display: none; }

  .page-hero { padding: 3rem 1rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero p { font-size: 0.9rem; }
  .breadcrumb { font-size: 0.75rem; flex-wrap: wrap; justify-content: center; }

  /* About badge on mobile */
  .img-gear-wrapper { padding-bottom: 0; }
  .gear-spin-bg { font-size: 10rem; }
  .about-badge { position: static; display: inline-block; margin-top: 1rem; }

  .specs-table th, .specs-table td { padding: 0.7rem 0.8rem; font-size: 0.8rem; }

  .product-detail { grid-template-columns: 1fr; }
  .product-detail:nth-child(even) { direction: ltr; }
  .product-detail-img { height: 250px; }
  .product-detail-specs { grid-template-columns: 1fr; }

  .footer-top { padding: 3rem 1rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { padding: 1.2rem 1rem; font-size: 0.75rem; }
  .footer-logo { font-size: 1.2rem; }

  .form-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   SMALL MOBILE  (≤ 480px)
===================================================================== */
@media (max-width: 480px) {
  .logo { font-size: 1.1rem; gap: 7px; }
  .logo-gear { font-size: 1.4rem; }

  .hero { height: 100vh; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-content p { font-size: 0.85rem; }
  .btn, .btn-outline { padding: 0.75rem 1.8rem; font-size: 0.8rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.7rem; }

  .section { padding: 2.5rem 0.8rem; }
  .section-full { padding: 2.5rem 0.8rem; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.875rem; }
  .title-line { margin: 0.8rem auto 1.5rem; }

  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }

  .card-img { height: 180px; }
  .cat-card { height: 200px; }

  .cta-content h2 { font-size: 1.5rem; }

  .page-hero { padding: 2.5rem 0.8rem; }
  .page-hero h1 { font-size: 1.6rem; }

  .footer-top { padding: 2rem 0.8rem 1.5rem; }
  .footer-bottom { font-size: 0.7rem; padding: 1rem 0.8rem; }

  #mainNav { width: 280px; right: -290px; }

  /* Timeline on mobile */
  .timeline-item { flex-direction: column; }
  .timeline-dot { align-self: flex-start; }
}
/* ========== PREMIUM HOVER PRODUCT CARDS ========== */
.product-hover-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  background: var(--primary-dark);
}

.product-hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.product-hover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-hover-card:hover .product-hover-img {
  transform: scale(1.1);
}

.product-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17,24,39,0.95) 0%, rgba(17,24,39,0.4) 50%, rgba(17,24,39,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0.95;
  transition: opacity 0.4s ease, background 0.4s ease;
}

.product-hover-card:hover .product-hover-overlay {
  background: linear-gradient(to top, rgba(17,24,39,1) 0%, rgba(17,24,39,0.8) 60%, rgba(17,24,39,0.3) 100%);
  opacity: 1;
}

.product-hover-content {
  transform: translateY(40px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-hover-card:hover .product-hover-content {
  transform: translateY(0);
}

.product-hover-title {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.product-hover-desc {
  color: var(--bg-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.product-hover-card:hover .product-hover-desc {
  opacity: 1;
}

.product-hover-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--molten-orange);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  width: fit-content;
}

.product-hover-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--molten-orange);
  transition: width 0.3s ease;
}

.product-hover-card:hover .product-hover-link::after {
  width: 100%;
}

/* ========== CREATIVE WHY CHOOSE US ========== */
.bg-dark-industrial {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
}

.bg-dark-industrial::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.bg-dark-industrial .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.creative-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.creative-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--molten-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.creative-feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.creative-feature-card:hover::before {
  transform: scaleX(1);
}

.cfc-icon {
  width: 65px;
  height: 65px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--molten-orange);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.creative-feature-card:hover .cfc-icon {
  background: var(--molten-orange);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.cfc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.cfc-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ========== ULTRA CREATIVE PRODUCT CARDS ========== */
.creative-product-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.creative-product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(249,115,22,0) 0%, rgba(249,115,22,0.03) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.creative-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: rgba(249, 115, 22, 0.2);
}

.creative-product-card:hover::after {
  opacity: 1;
}

.cpc-img-wrapper {
  height: 220px;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  position: relative;
  border-bottom: 2px dashed rgba(0,0,0,0.05);
}

.cpc-img-wrapper::before {
  content: 'Top Rated';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--molten-orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(249,115,22,0.3);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  z-index: 5;
}

.creative-product-card:hover .cpc-img-wrapper::before {
  opacity: 1;
  transform: translateY(0);
}

.cpc-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
  position: relative;
  z-index: 2;
}

.creative-product-card:hover .cpc-img {
  transform: scale(1.15) rotate(2deg);
}

.cpc-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: transparent;
}

.cpc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  display: inline-block;
  align-self: flex-start;
}

.cpc-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--molten-orange);
  transition: width 0.4s ease;
}

.creative-product-card:hover .cpc-title::after {
  width: 100%;
}

.cpc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cpc-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--molten-orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.cpc-link i {
  transition: all 0.3s ease;
  background: rgba(249,115,22,0.1);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.creative-product-card:hover .cpc-link i {
  transform: translateX(5px);
  background: var(--molten-orange);
  color: var(--white);
}

/* ========== CREATIVE CATEGORY SECTION ========== */
.bg-vibrant-industrial {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 5%;
}

.bg-vibrant-industrial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(249, 115, 22, 0.15) 2px, transparent 2px);
  background-size: 30px 30px;
  z-index: 0;
}

.creative-category-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  text-decoration: none;
  cursor: pointer;
}

.creative-category-card:hover {
  transform: translateY(-10px);
  background: var(--white);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.ccc-img-wrapper {
  height: 200px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  border-bottom: 3px solid var(--molten-orange);
}

.ccc-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.creative-category-card:hover .ccc-img-wrapper img {
  transform: scale(1.15) rotate(2deg);
}

.ccc-body {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
}

.ccc-title {
  color: var(--primary-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.creative-category-card:hover .ccc-title {
  color: var(--molten-orange);
}

.ccc-count {
  display: inline-block;
  background: rgba(249, 115, 22, 0.15);
  color: var(--molten-orange);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* ========== INFRASTRUCTURE CREATIVE GRID ========== */
.infra-creative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1.5rem;
  position: relative;
  padding: 1rem 2rem 1rem 0;
}

.infra-creative-grid::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: var(--molten-orange);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.15;
  filter: blur(25px);
}

.infra-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 1;
}

.infra-pic:hover {
  transform: scale(1.08) !important;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  border-radius: 16px !important;
}

.infra-item-1 {
  border-radius: 60px 16px 16px 16px;
  transform: translateY(40px);
}
.infra-item-2 {
  border-radius: 16px 60px 16px 16px;
}
.infra-item-3 {
  border-radius: 16px 16px 16px 60px;
}
.infra-item-4 {
  border-radius: 16px 16px 60px 16px;
  transform: translateY(-40px);
}

@media (max-width: 1024px) {
  .infra-creative-grid {
    grid-template-rows: 200px 200px;
  }
}

@media (max-width: 768px) {
  .infra-creative-grid {
    grid-template-rows: 160px 160px;
    padding: 0;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  .infra-item-1 { transform: translateY(20px); }
  .infra-item-4 { transform: translateY(-20px); }
}

/* ========== BACKGROUND GEAR EFFECTS ========== */
.bg-gear-left, .bg-gear-right {
  position: absolute;
  font-size: 30rem;
  color: rgba(249, 115, 22, 0.05); /* Orange but very transparent, visible on white */
  z-index: 0;
  pointer-events: none;
}

.bg-gear-left {
  top: -5%;
  left: -5%;
  transform: rotate(15deg);
}

.bg-gear-right {
  bottom: -5%;
  right: -5%;
  transform: rotate(-15deg);
}


/* =========================================
   COMPREHENSIVE RESPONSIVE DESIGN UPDATE
   ========================================= */

/* TABLET (Max-width: 1024px) */
@media (max-width: 1024px) {
  /* Typography & Layout */
  html { font-size: 15px; }
  .section, .section-full { padding: 4rem 3rem; }
  .section-inner { padding: 0; }
  
  /* Grids */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  
  /* Process Steps */
  .process-steps { flex-wrap: wrap; justify-content: center; gap: 2rem; }
  .process-step { width: 45%; }
  
  /* Hero */
  .hero h1 { font-size: 3.5rem; }
  .page-banner { padding: 6rem 5% 3rem; }
  .page-banner h1 { font-size: 3rem; }
  
  /* Footer */
  footer { padding: 3rem; }
  .footer-top .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* TABLET-PORTRAIT & LARGE MOBILE (Max-width: 768px) */
@media (max-width: 768px) {
  /* Grids */
  .grid-2 { grid-template-columns: 1fr !important; gap: 2.5rem; }
  .grid-2 > div { width: 100%; }
  
  .creative-bento-grid { grid-template-columns: 1fr; }
  .bento-card.large, .bento-card.wide { grid-column: span 1; grid-row: auto; }
  .bento-card.wide { flex-direction: column; }
  .bento-card.wide .bento-img-wrapper, .bento-card.wide .bento-body { width: 100% !important; border-right: none; }
  .bento-card.large .bento-img-wrapper { height: 250px !important; }
  
  /* Hero */
  .hero { padding: 6rem 2rem 4rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1.1rem; }
  .hero-btns { flex-direction: column; gap: 1rem; width: 100%; }
  .hero-btns .btn, .hero-btns .btn-outline { width: 100%; text-align: center; }
  
  /* Sections */
  .section-title { font-size: 2.2rem !important; }
  .section, .section-full { padding: 3rem 1.5rem; }
  
  /* Process Steps */
  .process-steps { display: flex; flex-direction: column; align-items: center; }
  .process-step { width: 100%; flex-direction: row; text-align: left; align-items: flex-start; gap: 1.5rem; }
  .process-step .step-icon { margin: 0; }
  
  /* About Page Specifics */
  .stats-container { grid-template-columns: 1fr; gap: 1rem; position: relative; transform: none; box-shadow: none; padding: 0; background: transparent; margin-top: 2rem; }
  .stat-box { background: var(--white); box-shadow: var(--shadow); }
  
  /* Contact Page */
  iframe { height: 350px !important; }
}

/* MOBILE VIEW (Max-width: 480px) */
@media (max-width: 480px) {
  /* Typography */
  html { font-size: 14px; }
  
  /* Grids */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  
  /* Hero */
  .hero h1 { font-size: 2.2rem; }
  .page-banner h1 { font-size: 2.2rem; }
  
  /* Sections */
  .section-title { font-size: 1.8rem !important; }
  .section, .section-full { padding: 2.5rem 1rem; }
  
  /* Footer */
  footer { padding: 2.5rem 1.5rem !important; }
  .footer-top .grid-4 { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; gap: 1.5rem; }
  .footer-bottom div { text-align: center !important; }
  
  /* Contact specific */
  .contact-form { padding: 1.5rem !important; }
  
  /* Bento */
  .bento-img-wrapper { height: 180px; }
  .bento-card.large .bento-img-wrapper { height: 200px !important; }
}
