/* Rice Mill Trade - Official Corporate Industrial Stylesheet */
:root {
  --primary: #0f3460;
  --primary-dark: #0a2240;
  --primary-light: #16425b;
  --secondary: #e67e22;
  --secondary-hover: #d35400;
  --accent-gold: #f39c12;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd58;
  --dark-bg: #0b132b;
  --dark-surface: #1c2541;
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #0f3460;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s ease;
  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Noto Sans Bengali', Roboto, sans-serif;
}

*, *::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: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--secondary);
  color: #fff;
  padding: 8px 16px;
  z-index: 99999;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 10px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.topbar {
  background-color: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}
.topbar-item a:hover {
  color: #fff;
}
.topbar-badge {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Navigation Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(15, 52, 96, 0.08);
  z-index: 1000;
  transition: var(--transition);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.brand-fallback {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.brand-name span {
  color: var(--secondary);
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 2px;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher {
  display: flex;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid var(--border-color);
}
.lang-btn {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--primary);
  color: #fff;
}
.btn-nav-quote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  color: #fff;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(230, 126, 34, 0.3);
}
.btn-nav-quote:hover {
  background: var(--secondary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 5px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-outline-white {
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
}

/* Page Header (Subpages) */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 65%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 55px 0 50px 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 85% 20%, rgba(243, 156, 18, 0.18), transparent 45%);
  pointer-events: none;
}
.page-header-content {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 12px;
}
.breadcrumb a {
  color: #cbd5e1;
}
.breadcrumb a:hover {
  color: #fff;
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.page-header p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 650px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 34, 64, 0.94) 0%, rgba(15, 52, 96, 0.88) 60%, rgba(11, 19, 43, 0.95) 100%),
              url('../images/brand/hero-bg.webp') center/cover no-repeat;
  color: #ffffff;
  padding: 90px 0;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, var(--light-bg), transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fbd38d;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero h1 span {
  color: var(--secondary);
}
.hero p {
  font-size: 1.2rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 720px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stat h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}
.hero-stat p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Sections Common */
.section {
  padding: 75px 0;
}
.section-alt {
  background-color: #f1f5f9;
}
.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}
.section-title-badge {
  display: inline-block;
  background: rgba(15, 52, 96, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-title p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Grids */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Service Cards */
.service-card {
  background: var(--light-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--primary);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.service-card:hover::before {
  background: var(--secondary);
}
.service-icon {
  width: 58px;
  height: 58px;
  background: #eef2f6;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-features-list {
  margin-bottom: 20px;
  border-top: 1px dashed var(--border-color);
  padding-top: 14px;
}
.service-features-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 7px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-features-list li::before {
  content: '✓';
  color: var(--whatsapp);
  font-weight: 800;
}

/* Products Catalog Filtering & Search */
.catalog-controls {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.search-wrapper {
  position: relative;
  width: 100%;
}
.search-input {
  width: 100%;
  padding: 13px 44px 13px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  background: #f8fafc;
  transition: var(--transition);
}
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.12);
}
.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.filter-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
}
.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 52, 96, 0.25);
}

/* Product Card */
.product-card {
  background: var(--light-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.product-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
}
.product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.product-card:hover .product-img {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 52, 96, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}
.product-title-bn {
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 10px;
}
.product-specs-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.spec-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 4px;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-product-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--whatsapp);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-product-wa:hover {
  background: var(--whatsapp-hover);
  color: #fff;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
}
.btn-product-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #f1f5f9;
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  cursor: pointer;
}
.btn-product-detail:hover {
  background: #e2e8f0;
  color: var(--primary);
}

/* Leadership Team */
.team-card {
  background: var(--light-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.team-img-box {
  width: 100%;
  height: 310px;
  background: #f1f5f9;
  overflow: hidden;
}
.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.team-card:hover .team-img {
  transform: scale(1.04);
}
.team-body {
  padding: 24px 20px;
}
.team-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.team-name-bn {
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 8px;
}
.team-role {
  display: inline-block;
  background: rgba(15, 52, 96, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}
.team-contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}
.team-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--border-color);
}
.team-btn-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Brochures & Downloads Cards */
.brochure-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: var(--transition);
}
.brochure-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.brochure-icon {
  width: 52px;
  height: 52px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.brochure-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.brochure-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.brochure-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 4px;
}
.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  flex-shrink: 0;
}
.btn-download-pdf:hover {
  background: var(--secondary);
  color: #fff;
}

/* Video Showcase */
.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact & Quotation Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.quote-form-card {
  background: #ffffff;
  padding: 34px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}
.quote-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.quote-form-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  background: #f8fafc;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

/* Office Locations Cards & Maps */
.office-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.office-body {
  padding: 24px;
}
.office-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.office-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.office-badge {
  background: rgba(230, 126, 34, 0.12);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.office-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 10px;
}
.office-detail-item .icon {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.office-map-frame {
  width: 100%;
  height: 220px;
  border: none;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 19, 43, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 780px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-header {
  padding: 18px 24px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
}
.modal-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.modal-close:hover {
  color: #ef4444;
}
.modal-body {
  padding: 24px;
  overflow-y: auto;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
.modal-img-wrap {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}
.modal-img-wrap img {
  max-height: 280px;
  object-fit: contain;
}

/* Floating WhatsApp Button */
.whatsapp-float-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
}
.whatsapp-float-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}
.whatsapp-float-btn:hover {
  transform: scale(1.08);
  background: var(--whatsapp-hover);
}
.whatsapp-pulse {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulse-ring 2s infinite ease-out;
  pointer-events: none;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.whatsapp-tooltip {
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  pointer-events: none;
  white-space: nowrap;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 65px 0 0 0;
  border-top: 3px solid var(--secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary);
}
.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #cbd5e1;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.45;
}
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-login-link {
  color: #64748b;
  font-size: 0.82rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
}
.admin-login-link:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

/* Animations & Responsive */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 20px;
    box-shadow: 4px 0 16px rgba(0,0,0,0.15);
    transition: left 0.3s ease;
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .hero { min-height: 480px; padding: 60px 0; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero h1 { font-size: 2.1rem; }
  .hero-p { font-size: 1.05rem; }
  .hero-btns { justify-content: center; }
  .hero-trust-bar { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Hero Slider & Video Carousel (5 AI Generated Images + Slide #3 Video)
   ========================================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 580px;
  overflow: hidden;
  background: var(--dark-bg);
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  align-items: center;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(11, 19, 43, 0.92) 0%, rgba(15, 52, 96, 0.82) 55%, rgba(10, 34, 64, 0.94) 100%);
  z-index: 2;
}
.hero-slide-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.85);
}
.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 840px;
  padding: 80px 0;
  color: #ffffff;
}

/* Slider Controls */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}
.slider-arrow-btn:hover {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
  transform: translateY(-50%) scale(1.1);
}
.slider-prev-btn { left: 20px; }
.slider-next-btn { right: 20px; }

.slider-dots-container {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: var(--secondary);
  border-color: var(--secondary);
}

/* ==========================================================================
   Product Price Display (Show / Hide Logic)
   ========================================================================== */
.product-price-box {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.price-badge.price-hidden {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
}
.price-badge.price-visible {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Social Media Icons Bar
   ========================================================================== */
.social-links-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.social-icon-btn:hover {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
  transform: translateY(-2px);
}
.social-icon-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
/* Price Hidden Bar */
.price-hidden-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.82rem;
  color: #0369a1;
  font-weight: 600;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.price-phone-link {
  color: #0f3460;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1.5px solid #0f3460;
}
.price-phone-link:hover {
  color: #e67e22;
  border-color: #e67e22;
}
