/* ========================================================
   Earth Fibrex Infra Private Limited - Master Stylesheet
   Modern Industrial, Lead-Generating & Responsive Design
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary: #5c9604;
  --primary-hover: #4b7d02;
  --primary-light: #f2f9e6;
  --primary-glow: rgba(92, 150, 4, 0.18);
  
  --dark-slate: #0f172a;
  --dark-surface: #1e293b;
  --dark-border: #334155;
  
  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50:  #f8fafc;
  --white:    #ffffff;
  
  --success: #16a34a;
  --warning: #f59e0b;
  --info:    #0284c7;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(92, 150, 4, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: #f8fafc;
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   TOP NOTIFICATION & ANNOUNCEMENT BAR
   ======================================================== */
.top-bar {
  background: var(--dark-slate);
  color: var(--gray-300);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--dark-border);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  transition: var(--transition);
  font-weight: 500;
}

.top-contact-link:hover {
  color: #a3e635;
}

.top-svg-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.top-contact-link:hover .top-svg-icon {
  color: #a3e635;
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-300);
  transition: var(--transition);
}

.top-social-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================================================
   MAIN SITE HEADER & NAVIGATION
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  width: auto;
  max-width: 220px;
  height: auto;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.phone-quick-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  width: 24px;
  height: 2.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================================
   BUTTONS & UI ELEMENTS
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(92, 150, 4, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(92, 150, 4, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--dark-slate);
  color: var(--white);
}

.btn-secondary:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--gray-300);
  color: var(--gray-800);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

/* ========================================================
   TOP BANNER HERO SLIDER
   ======================================================== */
.top-slider-section {
  position: relative;
  width: 100%;
  background: #0b1305;
  overflow: hidden;
  user-select: none;
}

.top-slider-container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
}

.top-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.top-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.top-slider-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.top-slider-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 384;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.top-slider-slide:hover .top-slider-img {
  transform: scale(1.012);
}

/* Nav Arrows */
.top-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #2e4d02;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.top-slider-prev {
  left: 24px;
}

.top-slider-next {
  right: 24px;
}

.top-slider-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(92, 150, 4, 0.5);
}

.top-slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Dots Pagination */
.top-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  background: rgba(11, 19, 5, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.top-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-slider-dot:hover {
  background: rgba(255, 255, 255, 0.95);
}

.top-slider-dot.active {
  width: 28px;
  background: #a3e635;
  box-shadow: 0 0 12px rgba(163, 230, 53, 0.7);
}

/* Auto-play Progress Bar */
.top-slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 11;
  overflow: hidden;
}

.top-slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #84cc16, #a3e635);
  transition: width 0.1s linear;
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #090e17 0%, #0f172a 60%, #1e293b 100%);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(92, 150, 4, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left {
  text-align: left;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(92, 150, 4, 0.15);
  border: 1px solid rgba(92, 150, 4, 0.4);
  color: #a3e635;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-badge-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5c9604;
  box-shadow: 0 0 10px #5c9604;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: #84cc16;
  background: linear-gradient(90deg, #78b808, #a3e635);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item .metric-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-item .metric-number span {
  color: var(--primary);
}

.metric-item .metric-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* Hero Fast Inquiry Form Card */
.hero-form-card {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  position: relative;
}

.hero-form-header {
  margin-bottom: 20px;
}

.hero-form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-form-header p {
  font-size: 0.88rem;
  color: var(--gray-300);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: #0f172a;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92, 150, 4, 0.25);
}

.form-control::placeholder {
  color: var(--gray-500);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* ========================================================
   TRUST & CREDIBILITY BAR
   ======================================================== */
.trust-strip {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.trust-strip-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
}

.trust-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gray-900);
  line-height: 1.2;
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ========================================================
   SECTION COMMON STYLES
   ======================================================== */
.section {
  padding: 80px 0;
}

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

.section-bg-gray {
  background: #f1f5f9;
}

.section-bg-dark {
  background: var(--dark-slate);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-header.text-left {
  text-align: left;
  margin: 0 0 40px;
}

.section-kicker {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-bg-dark .section-title {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.section-bg-dark .section-desc {
  color: var(--gray-300);
}

/* ========================================================
   PRODUCT CARDS & CATALOG GRID
   ======================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #a3e635;
}

.product-card-header {
  padding: 16px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--gray-200);
}

.product-img-wrapper {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px;
  margin: 12px 16px 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.product-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  transition: transform 0.4s ease;
  border-radius: 4px;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.04);
}

.specs-modal-img-wrap {
  width: 100%;
  height: 220px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.specs-modal-img-wrap img {
  max-height: 200px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.img-overlay-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.product-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.35;
  cursor: pointer;
}

.product-title:hover {
  color: var(--primary);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-quick-specs {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: auto;
}

.mini-spec {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 3px 0;
  border-bottom: 1px dashed var(--gray-200);
}

.mini-spec:last-child {
  border-bottom: none;
}

.mini-spec .k {
  color: var(--gray-500);
  font-weight: 500;
}

.mini-spec .v {
  color: var(--gray-900);
  font-weight: 700;
  text-align: right;
}

.product-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 10px;
}

.product-card-footer .btn {
  flex: 1;
}

/* ========================================================
   CATALOG PAGE FILTERS & SEARCH
   ======================================================== */
.catalog-controls {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.catalog-search-bar {
  margin-bottom: 16px;
}

.search-input-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--gray-400);
}

.search-control {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--gray-50);
  transition: var(--transition);
}

.search-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(92, 150, 4, 0.15);
}

.catalog-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.catalog-filter-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.catalog-filter-btn:hover {
  background: var(--gray-200);
}

.catalog-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.catalog-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ========================================================
   SFRC DOSAGE CALCULATOR WIDGET
   ======================================================== */
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.calc-inputs-pane {
  padding: 40px;
  background: var(--white);
}

.calc-inputs-pane h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.calc-inputs-pane p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.calc-results-pane {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.calc-results-pane::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(92, 150, 4, 0.2) 0%, transparent 70%);
}

.res-highlight-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.res-main-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #a3e635;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.res-main-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 6px 0;
}

.res-main-sub {
  font-size: 0.95rem;
  color: var(--gray-400);
}

.res-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.breakdown-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--dark-border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.breakdown-box .k {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.breakdown-box .v {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
}

.breakdown-box.highlight-box {
  border-color: rgba(92, 150, 4, 0.5);
  background: rgba(92, 150, 4, 0.1);
}

.breakdown-box.highlight-box .v {
  color: #a3e635;
}

/* ========================================================
   COMPARISON TABLE: STEEL FIBER VS REBAR MESH
   ======================================================== */
.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
  background: var(--dark-slate);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.comparison-table th.col-feature {
  width: 25%;
}

.comparison-table th.col-fiber {
  background: #5c9604;
  color: var(--white);
  width: 40%;
}

.comparison-table th.col-rebar {
  background: var(--gray-800);
  color: var(--gray-300);
  width: 35%;
}

.comparison-table tr:hover td {
  background: var(--gray-50);
}

.comparison-table td.col-fiber-val {
  background: rgba(92, 150, 4, 0.05);
  font-weight: 600;
  color: var(--gray-900);
}

.comparison-table td.col-rebar-val {
  color: var(--gray-600);
}

/* ========================================================
   APPLICATIONS SHOWCASE GRID
   ======================================================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.app-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-slate);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.app-img-box {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.app-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.app-card:hover .app-img-box img {
  transform: scale(1.05);
}

.app-card-body {
  padding: 24px;
  background: var(--white);
}

.app-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.app-card-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

.app-bullets {
  margin-bottom: 20px;
}

.app-bullets li {
  font-size: 0.82rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.app-bullets li span {
  color: var(--primary);
  font-weight: 800;
}

/* Application Detail Cards (applications.html) */
.application-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.application-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(92, 150, 4, 0.12);
  border-color: rgba(92, 150, 4, 0.3);
}

.application-detail-card .app-detail-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 340px;
}

.application-detail-card .app-detail-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.application-detail-card:hover .app-detail-img-box img {
  transform: scale(1.03);
}

/* ========================================================
   ABOUT US & MANUFACTURING HIGHLIGHTS
   ======================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.about-feat-item {
  display: flex;
  gap: 14px;
}

.feat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feat-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.feat-content p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ========================================================
   FAQ ACCORDION
   ======================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: #a3e635;
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gray-900);
  user-select: none;
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ========================================================
   MODALS
   ======================================================== */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 5;
}

.modal-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
}

.modal-title-group p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.modal-close-trigger {
  background: var(--gray-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: var(--transition);
}

.modal-close-trigger:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.modal-body {
  padding: 28px;
}

.spec-sheet-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.88rem;
}

.spec-row:nth-child(even) {
  background: var(--gray-50);
}

.spec-row .spec-key {
  color: var(--gray-600);
  font-weight: 500;
}

.spec-row .spec-val {
  color: var(--gray-900);
  font-weight: 700;
  text-align: right;
}

/* ========================================================
   FLOATING ACTION BUTTONS (CALL & WHATSAPP)
   ======================================================== */
.floating-actions-desktop {
  position: fixed;
  bottom: 45px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 40px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.float-btn.whatsapp {
  background: #25D366;
}

.float-btn.whatsapp:hover {
  background: #1eb956;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-slate);
  color: var(--white);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: #090e17;
  color: var(--gray-400);
  padding: 70px 0 25px;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--gray-400);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.88rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-item .icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--gray-400);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--dark-slate);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
  font-size: 0.9rem;
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: var(--success);
}

.toast-error {
  border-left-color: #ef4444;
}

/* ========================================================
   PRODUCT DETAIL PAGES & CATALOGUE DOWNLOADS
   ======================================================== */
.breadcrumb-nav {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
}

.breadcrumb-item a {
  color: var(--gray-700);
  font-weight: 500;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 700;
}

.breadcrumb-separator {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.product-detail-hero {
  padding: 40px 0 60px;
  background: var(--white);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 50px;
  align-items: start;
}

.product-gallery-card {
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.product-gallery-main {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.product-gallery-main img {
  max-width: 90%;
  max-height: 340px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-gallery-main:hover img {
  transform: scale(1.04);
}

.product-gallery-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-catalogue-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #5c9604 0%, #4b7d02 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(92, 150, 4, 0.3);
  transition: all 0.3s ease;
  text-align: center;
}

.btn-catalogue-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 150, 4, 0.45);
}

.btn-catalogue-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  color: var(--gray-800) !important;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-catalogue-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
}

.btn-whatsapp-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-whatsapp-detail:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

.product-info-col h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 14px;
}

.product-meta-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-hero-price {
  background: #fff7ed;
  border-left: 4px solid var(--primary);
  padding: 14px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

.product-hero-price .price-tag {
  font-size: 1.4rem;
  font-weight: 900;
  color: #4b7d02;
  margin-top: 2px;
}

.product-hero-price .moq-note {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 4px;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.45;
}

.product-feature-item span.icon {
  color: #16a34a;
  font-weight: bold;
  font-size: 0.95rem;
}

.detail-inquiry-box {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 26px;
  color: #ffffff;
  margin-top: 24px;
}

.detail-inquiry-box h3 {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: #ffffff;
  margin-bottom: 6px;
}

.detail-inquiry-box p {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 18px;
  line-height: 1.5;
}

.tds-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tds-table th {
  background: #1e293b;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.tds-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
}

.tds-table tr:nth-child(even) td {
  background: #f8fafc;
}

.tds-table td.property-col {
  font-weight: 600;
  color: var(--gray-900);
  width: 35%;
}

.tds-table td.val-col {
  color: var(--gray-700);
}

/* ========================================================
   INTERNATIONAL PHONE INPUT WITH COUNTRY FLAGS & VALIDATION
   ======================================================== */
.intl-phone-wrapper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  background: #0f172a;
  overflow: visible; /* Allows custom dropdown menu to display properly without clipping */
  transition: var(--transition);
  position: relative;
  width: 100%;
  z-index: 5;
}

.intl-phone-wrapper.theme-light {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.intl-phone-wrapper:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(92, 150, 4, 0.25) !important;
}

.intl-phone-wrapper .country-picker {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
  flex-shrink: 0;
  width: auto;
}

.intl-phone-wrapper.theme-light .country-picker {
  background: #f1f5f9;
  border-right: 1px solid #cbd5e1;
}

.country-picker-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  outline: none;
  user-select: none;
  width: auto;
}

.intl-phone-wrapper.theme-light .country-picker-btn {
  color: #0f172a;
}

.country-dial-code {
  font-weight: 700;
  font-size: 0.88rem;
}

.country-picker-arrow {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
  margin-left: 1px;
}

.country-picker.open .country-picker-arrow {
  transform: rotate(180deg);
}

/* Custom Dropdown Menu with Flag and Country Code */
.country-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 9999;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3);
  width: 235px;
  max-width: 90vw;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  padding: 4px 0;
}

.country-picker.open {
  z-index: 10000;
}

.country-picker.open .country-dropdown-menu {
  display: flex;
}

.theme-light .country-dropdown-menu,
.custom-modal .country-dropdown-menu,
#contactMainForm .country-dropdown-menu {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1);
}

.country-dropdown-menu::-webkit-scrollbar {
  width: 5px;
}
.country-dropdown-menu::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 3px;
}
.theme-light .country-dropdown-menu::-webkit-scrollbar-thumb,
.custom-modal .country-dropdown-menu::-webkit-scrollbar-thumb,
#contactMainForm .country-dropdown-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.country-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 0.86rem;
  color: #f1f5f9;
}

.theme-light .country-dropdown-item,
.custom-modal .country-dropdown-item,
#contactMainForm .country-dropdown-item {
  color: #1e293b;
}

.country-dropdown-item:hover {
  background: #334155;
}

.theme-light .country-dropdown-item:hover,
.custom-modal .country-dropdown-item:hover,
#contactMainForm .country-dropdown-item:hover {
  background: #f1f5f9;
}

.country-dropdown-item.active {
  background: rgba(92, 150, 4, 0.15);
  font-weight: 700;
}

.dropdown-flag-img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.country-item-dial {
  font-weight: 700;
  color: #5c9604;
  font-size: 0.84rem;
  min-width: 44px;
}

.country-item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.84rem;
}

.intl-phone-wrapper .phone-input-ctrl {
  flex: 1;
  width: 100%;
  border: none !important;
  background: transparent !important;
  color: var(--white) !important;
  padding: 11px 14px !important;
  font-size: 0.92rem !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.intl-phone-wrapper.theme-light .phone-input-ctrl {
  color: #0f172a !important;
}

.intl-phone-wrapper .phone-input-ctrl::placeholder {
  color: var(--gray-500) !important;
  font-size: 0.88rem;
}

.intl-phone-wrapper.theme-light .phone-input-ctrl::placeholder {
  color: #94a3b8 !important;
}

.intl-phone-wrapper.has-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3) !important;
}

.intl-phone-wrapper.is-valid {
  border-color: #22c55e !important;
}

.phone-validation-feedback {
  font-size: 0.76rem;
  margin-top: 4px;
  display: none;
  line-height: 1.35;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.phone-validation-feedback.status-typing {
  display: block;
  color: #38bdf8;
}

.intl-phone-wrapper.theme-light + .phone-validation-feedback.status-typing {
  color: #0284c7;
}

.phone-validation-feedback.status-valid {
  display: block;
  color: #22c55e;
}

.phone-validation-feedback.status-error {
  display: block;
  color: #f87171;
}

.intl-phone-wrapper.theme-light + .phone-validation-feedback.status-error {
  color: #dc2626;
}

.country-flag-img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
  margin-right: 6px;
  flex-shrink: 0;
  display: block;
}

/* ========================================================
   INTERACTIVE ANTI-SPAM CAPTCHA COMPONENT
   ======================================================== */
.captcha-group {
  margin-bottom: 18px;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.captcha-challenge-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  border: 1.5px dashed #475569;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #f8fafc;
  font-family: var(--font-heading);
  font-weight: 700;
  user-select: none;
  flex-shrink: 0;
}

.theme-light .captcha-challenge-badge,
.custom-modal .captcha-challenge-badge,
#contactMainForm .captcha-challenge-badge {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.captcha-shield-icon {
  font-size: 1rem;
}

.captcha-question-text {
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  color: #a3e635;
}

.theme-light .captcha-question-text,
.custom-modal .captcha-question-text,
#contactMainForm .captcha-question-text {
  color: #5c9604;
}

.captcha-refresh-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: transform 0.3s ease, color 0.2s ease;
}

.captcha-refresh-btn:hover {
  color: #5c9604;
  transform: rotate(180deg);
}

.captcha-input {
  max-width: 170px;
  min-width: 140px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem !important;
  letter-spacing: 1px;
}

.custom-modal .captcha-input,
#contactMainForm .captcha-input {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.captcha-feedback {
  font-size: 0.78rem;
  margin-top: 5px;
  font-weight: 600;
  display: none;
  line-height: 1.35;
}

.captcha-feedback.status-error {
  display: block;
  color: #ef4444;
}

.captcha-feedback.status-valid {
  display: block;
  color: #22c55e;
}

/* ========================================================
   ANIMATED SPECIAL EFFECTS & MICRO-INTERACTIONS
   ======================================================== */

/* 1. Scroll-Driven Reading Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, #a3e635 100%);
  z-index: 99999;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(120, 184, 8, 0.7);
  pointer-events: none;
}

/* 2. Interactive Fiber Reinforcement Canvas */
.hero-fiber-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* 3. Scroll Reveal & Entrance Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay classes for grid items */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 4. Button Sheen & Micro-Interactions */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              box-shadow 0.25s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  transition: none;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 130%;
  transition: left 0.75s ease-in-out;
}

/* 5. Product Card Micro-Lift & Zoom */
.product-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -8px rgba(92, 150, 4, 0.16), 0 8px 16px -4px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.product-card .product-img-wrapper img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

/* 6. Pulse & Floating Keyframe Animations */
.hero-badge-pill .pill-dot {
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(120, 184, 8, 0.7);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 0 7px rgba(120, 184, 8, 0);
  }
}

.floating-wa-btn {
  animation: floatSlow 3.2s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* 7. Metric Number Highlight Glow */
.metric-number {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.metric-item:hover .metric-number {
  color: #a3e635;
  text-shadow: 0 0 15px rgba(163, 230, 53, 0.4);
}

/* 8. Table Horizontal Scroll Hint on Mobile */
.table-scroll-hint {
  display: none;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 768px) {
  .table-scroll-hint {
    display: block;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn-primary::after,
  .hero-badge-pill .pill-dot,
  .floating-wa-btn {
    animation: none !important;
  }
}


