/* Global Stylesheet for Krapali Electro Craft */

/* --- Design Tokens & Variables (Brand System) --- */
:root {
  /* 1. Primary Brand Palette (Logo Colors) */
  --color-primary: #2e39ff;
  /* Vivid Electric Purple: Main brand identity, icons, navigation links, primary buttons */
  --color-primary-hover: #5500AB;
  --color-secondary: #A01582;
  /* Magenta / Electric Violet: Gradient mid-tones, hover states, secondary highlights */
  --color-secondary-hover: #820E68;
  --color-accent: #EE2C38;
  /* Energetic Red-Orange: Important CTA buttons, badges, alerts */
  --color-accent-hover: #D71F2B;
  --color-cta: #EE2C38;
  /* Dedicated CTA Token */
  --color-cta-hover: #D71F2B;

  /* Typography / Text */
  --color-text: #121212;
  /* Charcoal Black: Headings & body text */
  --color-muted: #555555;
  /* Medium Grey for secondary copy */
  --color-dark: #121212;
  /* Dark Charcoal for footers and headers */

  /* 2. Supporting Neutrals (For Web Layout) */
  --color-bg: #FFFFFF;
  /* Pure White - Primary Background */
  --color-light-bg: #F7F8FA;
  /* Soft Off-White / Light Gray - Secondary Background for alternating sections */
  --color-border: #E2E8F0;
  /* Light Slate - Crisp UI borders and card outlines */
  --color-success: #28A745;
  --color-error: #EE2C38;

  /* 3. Suggested Brand Gradients */
  --gradient-brand: linear-gradient(135deg, #6B00D7 0%, #A01582 50%, #EE2C38 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(107, 0, 215, 0.08) 0%, rgba(238, 44, 56, 0.08) 100%);
  --gradient-hover: linear-gradient(135deg, #5500AB 0%, #820E68 50%, #D71F2B 100%);
  --gradient-dark: linear-gradient(135deg, #121212 0%, #200538 50%, #35006b 100%);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --container-max-width: 1200px;
  --header-height: 80px;
}

/* --- Base Resets & Typography --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Custom Cursor --- */
/* Hide default cursor on non-touch devices */
@media (pointer: fine) {
  * {
    cursor: none !important;
  }
}

#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* Small solid dot — snaps exactly to cursor */
#cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px rgba(238, 44, 56, 0.7);
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

/* Larger hollow ring — lags behind via JS lerp */
#cursor-ring {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(107, 0, 215, 0.55);
  background-color: transparent;
  transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease,
    border-color 0.25s ease, transform 0.05s linear;
}

/* Hover state — ring expands, dot shrinks */
#cursor-ring.cursor-hover {
  width: 56px;
  height: 56px;
  border-color: var(--color-accent);
  background-color: rgba(238, 44, 56, 0.08);
}

#cursor-dot.cursor-hover {
  width: 5px;
  height: 5px;
  background-color: #ffffff;
}

/* Click state — ring pulses inward */
#cursor-ring.cursor-click {
  width: 32px;
  height: 32px;
  border-color: var(--color-accent);
  background-color: rgba(238, 44, 56, 0.18);
}

/* Hide on touch devices */
@media (pointer: coarse) {

  #cursor-dot,
  #cursor-ring {
    display: none;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#app {
  display: flex;
  flex-direction: column;
  flex: 1;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.75rem;
  color: var(--color-text);
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color: var(--color-text);
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Common Components & Layouts --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--color-light-bg);
}

.text-center {
  text-align: center;
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  outline: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(107, 0, 215, 0.35);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(238, 44, 56, 0.4);
}

.btn-gradient {
  background: var(--gradient-brand);
  color: #ffffff;
  border: none;
}

.btn-gradient:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(238, 44, 56, 0.45);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(107, 0, 215, 0.25);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* --- Two-Row Sticky Header --- */
:root {
  --topbar-height: 36px;
  --navbar-height: 74px;
  --header-height: calc(var(--topbar-height) + var(--navbar-height));
}

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ---- TOP INFO BAR ---- */
.header-topbar {
  background-color: #1a1a2e;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-contact-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.topbar-contact-item i {
  font-size: 0.78rem;
  color: var(--color-accent);
}

.topbar-contact-item:hover {
  color: #ffffff;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-follow-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 0.35rem;
  font-weight: 500;
}

.topbar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  transition: all var(--transition-fast);
}

.topbar-social-link:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---- MAIN NAV BAR ---- */
.header-navbar {
  background-color: #020217;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--color-accent);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* ---- LOGO ---- */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-fallback {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
}

.logo-fallback i {
  color: var(--color-accent);
  font-size: 1.5rem;
}

/* ---- NAV LINKS ---- */
nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.06);
}

.nav-item.active .nav-link {
  color: var(--color-accent);
  font-weight: 700;
}

/* Dropdown styling */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background-color: #ffffff;
  min-width: 260px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  border-top: 3px solid var(--color-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 1001;
  padding: 0.4rem 0;
}

.dropdown-item {
  padding: 0.7rem 1.4rem;
  display: block;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-light-bg);
  transition: all var(--transition-fast);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--color-light-bg);
  color: var(--color-accent);
  padding-left: 1.7rem;
}

/* Show dropdown on hover (Desktop) */
@media (min-width: 992px) {
  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Hamburger menu button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.hamburger-box {
  width: 26px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
  width: 26px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 4px;
  position: absolute;
  transition: transform 0.15s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 4px;
  position: absolute;
  transition: transform 0.15s ease;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Hamburger open state */
.hamburger.is-active .hamburger-inner {
  transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::before {
  top: 0;
  transform: rotate(90deg);
}

.hamburger.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(90deg);
}



/* --- Hero Carousel --- */
.hero-slider {
  position: relative;
  height: 75vh;
  min-height: 500px;
  overflow: hidden;
  background-color: #000;
}

.slider-container {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow) ease-in-out, visibility var(--transition-slow) ease-in-out;
  z-index: 1;
}

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

.slide-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
  z-index: 3;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: var(--container-max-width);
  padding: 0 1.5rem;
  color: #ffffff;
  z-index: 4;
  text-align: center;
}

.slide-content h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 3.25rem;
}

.slide-content p {
  color: #e5e5e5;
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 1rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--color-accent);
  transform: scale(1.25);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--color-accent);
}

.slider-btn-prev {
  left: 1.5rem;
}

.slider-btn-next {
  right: 1.5rem;
}

/* --- Enquiry Section --- */
.enquiry-section {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 3rem 0;
  box-shadow: 0 10px 30px rgba(0, 50, 98, 0.15);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: 6px;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--container-max-width) - 3rem);
}

.enquiry-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.enquiry-header {
  text-align: center;
}

.enquiry-header h3 {
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-size: 1.75rem;
}

.enquiry-header p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.enquiry-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(254, 111, 94, 0.25);
}

.form-input option {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* --- About Section --- */
.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--color-accent);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(254, 111, 94, 0.3);
  font-family: var(--font-heading);
}

.about-experience-badge h4 {
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
}

.about-experience-badge p {
  color: #ffffff;
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.about-bullets {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.about-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

.about-bullet-item i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

/* --- Cards: Services & Studies --- */
.card-grid {
  margin-top: 3.5rem;
}

.card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  transition: height var(--transition-fast), background-color var(--transition-fast);
}

.card:hover::before {
  height: 6px;
  background-color: var(--color-accent);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 50, 98, 0.08);
  border-color: rgba(254, 111, 94, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link i {
  transition: transform var(--transition-fast);
}

.card:hover .card-link {
  color: var(--color-accent);
}

.card:hover .card-link i {
  transform: translateX(5px);
}

/* --- Valuable Customers Section --- */
.section-customers {
  background-color: #ffffff;
  position: relative;
  padding: 5rem 0;
}

.customers-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 50, 98, 0.06);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 50, 98, 0.12);
}

.customers-subtitle {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.customer-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 50, 98, 0.04);
}

.customer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  transition: height var(--transition-fast), background-color var(--transition-fast);
}

.customer-card:hover::before {
  height: 5px;
  background-color: var(--color-accent);
}

.customer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 50, 98, 0.1);
  border-color: rgba(254, 111, 94, 0.3);
}

.customer-logo-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fbfcfd;
  border-radius: 8px;
  border: 1px solid #edf1f5;
  transition: all var(--transition-fast);
}

.customer-card:hover .customer-logo-wrap {
  background: #ffffff;
  border-color: rgba(0, 50, 98, 0.15);
  box-shadow: 0 6px 16px rgba(0, 50, 98, 0.05);
}

.customer-logo-img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
  display: block;
}

.customer-card:hover .customer-logo-img {
  transform: scale(1.06);
}

.customer-logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.customer-logo-fallback i {
  font-size: 2.2rem;
  color: var(--color-accent);
}

.customer-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--color-light-bg);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  display: inline-block;
  border: 1px solid var(--color-border);
}

.customers-trust-bar {
  margin-top: 4rem;
  padding: 2rem 2.5rem;
  background: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.trust-bar-icon {
  font-size: 2rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-bar-text h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.trust-bar-text p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.4;
}

/* --- Why Choose Us Section --- */
.wcu-item {
  display: flex;
  gap: 1.25rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-fast);
}

.wcu-item:hover {
  transform: scale(1.02);
}

.wcu-icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 50, 98, 0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.wcu-item:hover .wcu-icon-box {
  background-color: var(--color-accent);
  color: #ffffff;
}

.wcu-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.wcu-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Inner Page Templates --- */
.inner-hero {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(254, 111, 94, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.inner-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.inner-hero .subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 0;
}

/* Detailed Content Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 4rem;
}

.checklist-box {
  background-color: var(--color-light-bg);
  border-left: 4px solid var(--color-primary);
  padding: 2.5rem;
  border-radius: 4px;
}

.checklist-box h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.checklist-ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist-li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--color-muted);
}

.checklist-li i {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.detail-sidebar-image {
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.sidebar-contact-box {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sidebar-contact-box h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.sidebar-contact-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* --- Product Dedicated Page & Photo Section --- */
.product-photos-panel {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 50, 98, 0.05);
  margin-bottom: 2rem;
}

.product-photos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.product-photos-header h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.product-photos-header h4 i {
  color: var(--color-accent);
}

.photo-count-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--color-light-bg);
  color: var(--color-muted);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

.product-main-photo-frame {
  width: 100%;
  height: 360px;
  background: #fbfcfd;
  border: 1px solid #edf1f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.product-featured-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
  display: block;
  padding: 0.5rem;
}

.product-main-photo-frame:hover .product-featured-img {
  transform: scale(1.03);
}

.photo-placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--color-primary);
}

.photo-placeholder-box i {
  font-size: 3.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.photo-placeholder-box p {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.photo-placeholder-box small {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.photo-placeholder-box code {
  background: rgba(0, 50, 98, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.product-gallery-strip {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.product-gallery-thumb {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  border: 2px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  padding: 3px;
  transition: all var(--transition-fast);
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(254, 111, 94, 0.25);
  transform: translateY(-2px);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-gallery-add-slot {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  border: 2px dashed #CBD5E1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.7rem;
  gap: 0.2rem;
  cursor: default;
  transition: all var(--transition-fast);
  background: #F8FAFC;
}

.product-gallery-add-slot i {
  font-size: 1rem;
  color: var(--color-primary);
}

.photo-instructions {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.85rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.photo-instructions code {
  background: rgba(0, 50, 98, 0.07);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Product Bottom CTA Banner */
.product-banner-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001f3f 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 50, 98, 0.15);
  position: relative;
  overflow: hidden;
}

.product-banner-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(254, 111, 94, 0.15);
  pointer-events: none;
}

.product-banner-cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.product-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(254, 111, 94, 0.2);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.product-banner-cta h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.product-banner-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 0.95rem;
}

.product-banner-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background-color: rgba(0, 50, 98, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  margin-bottom: 0;
}

.contact-map-wrapper {
  margin-top: 3rem;
  height: 250px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Page Form Styling */
.contact-form-box {
  background-color: var(--color-light-bg);
  padding: 3rem;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.contact-form-box h3 {
  margin-bottom: 1.5rem;
}

.contact-form-box .form-group {
  margin-bottom: 1.5rem;
}

.contact-form-box label {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form-box .form-input {
  background-color: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.contact-form-box .form-input::placeholder {
  color: #999999;
}

.contact-form-box .form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 50, 98, 0.15);
}

.contact-form-box textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

/* Validation styling */
.form-input.is-invalid {
  border-color: var(--color-error);
}

.form-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.error-message {
  color: var(--color-accent);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-input.is-invalid+.error-message {
  display: block;
}

/* Success submission state */
.submit-success {
  display: none;
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--color-success);
  border: 1px solid var(--color-success);
  padding: 1.5rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeIn 0.4s ease-out;
}

/* --- Footer --- */
footer {
  background-color: #1A1A1A;
  color: #B0B0B0;
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--color-accent);
}

.footer-top {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--color-accent);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background-color: #2D2D2D;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.95rem;
  transition: color var(--transition-fast), padding var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.footer-contact-item span {
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid #2D2D2D;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */

/* Laptops & Tablets (Max 991px) */
@media (max-width: 991px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  /* Mobile menu implementation */
  .hamburger {
    display: block;
  }

  /* Hide topbar contacts on small screens, keep socials */
  .topbar-contacts {
    display: none;
  }

  .topbar-container {
    justify-content: flex-end;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #1e1e2e;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    transition: left var(--transition-normal);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .nav-links.is-open {
    left: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 1.1rem 2rem;
    width: 100%;
    justify-content: space-between;
    border-radius: 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--color-accent);
    background-color: rgba(0, 0, 0, 0.2);
    min-width: 100%;
    padding: 0;
  }

  .dropdown-menu.is-open {
    display: block;
  }

  .dropdown-item {
    padding: 0.9rem 3rem;
    color: rgba(255, 255, 255, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
  }

  .hero-slider {
    height: 60vh;
  }

  .slide-content h1 {
    font-size: 2.5rem;
  }

  .enquiry-section {
    margin-top: 0;
    max-width: 100%;
    border-radius: 0;
  }

  .enquiry-form {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .enquiry-form .btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* Portrait Tablets & Large Phones (Max 767px) */
@media (max-width: 767px) {
  .section {
    padding: 3.5rem 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
  }

  .about-experience-badge {
    right: 0;
  }

  .contact-form-box {
    padding: 2rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .customer-card {
    padding: 1.75rem 1.25rem;
  }

  .customers-trust-bar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: left;
  }

  .trust-bar-item {
    justify-content: flex-start;
  }

  .product-banner-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    gap: 1.5rem;
  }

  .product-banner-cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .product-banner-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .product-main-photo-frame {
    height: 280px;
  }
}

/* Small Phones (Max 480px) */
@media (max-width: 480px) {
  .customers-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .hero-slider {
    height: 65vh;
  }
}