:root {
  --primary: #0f3b2c;
  --primary-light: #1a5c47;
  --primary-dark: #0a2a1f;
  --accent: #c7a254;
  --accent-light: #d4b76a;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --black: #000000;
  --red: #ef4444;
  --bg-light: #f8f9fa;
  --bg-gray: #f9fafb;
  --bg-dark: #0a2a1f;
  --bg-icon: #e8f5ee;
  --bg-hover: #f0f7f4;
  --bg-logo-jms: #f5f0e8;
  --border: #e5e7eb;
  --border-light: #f0f0f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  font-size: 13px;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin 0.4s ease;
}

.top-bar.hide {
  transform: translateY(-100%);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 16px;
}

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

.top-bar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
}

.top-bar-brand i {
  color: var(--accent);
  font-size: 14px;
}

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

.top-bar-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.25s;
  white-space: nowrap;
}

.top-bar-contact:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.top-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  transition: all 0.25s;
}

.top-bar-contact:hover .top-bar-icon {
  background: var(--accent);
  color: var(--primary-dark);
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  transition: all 0.25s;
  text-decoration: none;
}

.top-bar-socials a:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.top-bar-mobile {
  display: none;
}

@media (max-width: 576px) {
  .top-bar-left {
    display: none;
  }

  .top-bar-right {
    width: 100%;
    justify-content: center;
    gap: 4px;
  }

  .top-bar-text {
    display: none;
  }

  .top-bar-mobile {
    display: inline;
    font-size: 12px;
    font-weight: 500;
  }

  .top-bar-icon {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .top-bar-contact {
    gap: 4px;
    font-size: 12px;
  }

  .top-bar-socials {
    padding-left: 4px;
    gap: 2px;
  }

  .top-bar-socials a {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
}

}

@media (max-width: 1024px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }

  .top-bar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .top-bar-socials {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    padding: 8px 0;
  }

  .top-bar-right {
    gap: 8px;
  }

  .top-bar-contact {
    font-size: 12px;
  }

  .top-bar-icon {
    width: 24px;
    height: 24px;
  }

  .top-bar-socials a {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
}

.main-header {
  background: var(--white);
  position: relative;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: box-shadow 0.4s ease;
}

.main-header.scrolled {
  position: fixed;
  top: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-spacer {
  display: none;
  height: 80px;
}

.main-header.scrolled ~ .header-spacer {
  display: block;
}

.main-header.scrolled {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-spacer {
  height: 80px;
}

.logo-jms {
  padding: 10px 20px;
  border-radius: 4px;
}

.logo-ds {
  padding: 10px 20px;
  border-radius: 4px;
}

.logo-jms img,
.logo-ds img {
  height: 50px;
  width: auto;
}

.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 0;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 180px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 50;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.2s;
}

.dropdown-content a:hover {
  background: var(--bg-hover);
  color: var(--primary);
  padding-left: 24px;
}

/* ===== HAMBURGER ===== */
.hamburger {
  width: 30px;
  height: 28px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1101;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  right: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span:nth-child(1) { top: 3px; width: 80%; }
.hamburger span:nth-child(2) { top: 13px; width: 100%; }
.hamburger span:nth-child(3) { top: 23px; width: 60%; }

.hamburger.open span:nth-child(1) {
  top: 11px;
  width: 100%;
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.open span:nth-child(3) {
  top: 11px;
  width: 100%;
  transform: rotate(-45deg);
}

/* ===== OFFCANVAS OVERLAY ===== */
.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.offcanvas-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ===== OFFCANVAS ===== */
.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  height: 100%;
  background: var(--white);
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
}

.offcanvas.open {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.offcanvas-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offcanvas-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.offcanvas-close {
  font-size: 32px;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.offcanvas-close:hover {
  opacity: 1;
}

.offcanvas-nav {
  padding: 12px 0;
}

.offcanvas-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s;
}

.offcanvas-nav a:hover {
  background: var(--bg-hover);
  color: var(--primary);
  padding-left: 26px;
}

.offcanvas-subhead {
  display: block;
  padding: 18px 20px 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.offcanvas-sub {
  padding-left: 36px !important;
  font-size: 14px !important;
  color: var(--text-muted) !important;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 42, 31, 0.85) 0%, rgba(10, 42, 31, 0.4) 100%);
}

.bangladesh-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  padding: 8px 22px 8px 8px;
}

.flag-ripple {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flag-ripple img {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.flag-ripple::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: ripplePulse 2s ease-out infinite;
}

.flag-ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: ripplePulse 2s ease-out 0.6s infinite;
}

@keyframes ripplePulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

/* ===== SECTION STYLES ===== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px 0;
}

.accent-divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  display: inline-block;
}

/* ===== HERO BUTTON ===== */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #d98c2e 100%);
  color: var(--primary-dark);
  padding: 16px 36px 16px 28px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(199, 162, 84, 0.35);
  border: none;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(199, 162, 84, 0.45);
  background: linear-gradient(135deg, #d98c2e 0%, var(--accent) 100%);
}

.btn-hero:active {
  transform: translateY(-1px);
}

.btn-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  font-size: 14px;
  transition: transform 0.4s ease;
}

.btn-hero:hover .btn-hero-icon {
  transform: translateX(4px) rotate(-45deg);
}

.btn-hero-text {
  position: relative;
  z-index: 1;
}

/* ===== ABOUT SECTION ===== */
#about {
  position: relative;
  background: #f8faf9;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20px 20px, rgba(15, 59, 44, 0.06) 2px, transparent 2px);
  background-size: 40px 40px;
  pointer-events: none;
}

#about::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 59, 44, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 59, 44, 0.06);
  color: var(--primary);
  padding: 6px 18px 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid rgba(15, 59, 44, 0.12);
  backdrop-filter: blur(4px);
}

.about-badge::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 13px;
  color: var(--primary);
}

.about-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 24px;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin-top: 20px;
  padding: 12px 0;
  border-bottom: 2px solid var(--primary);
  transition: all 0.3s;
}

.btn-about:hover {
  gap: 16px;
  color: var(--primary-light);
  border-color: var(--primary-light);
}

.about-image-wrap {
  position: relative;
}

.about-image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 59, 44, 0.15);
}

.about-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image-box:hover .about-image {
  transform: scale(1.05);
}

.about-image-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent) 0%, #d98c2e 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  flex-shrink: 0;
}

.about-image-card strong {
  display: block;
  font-size: 16px;
  color: var(--text-dark);
}

.about-image-card span {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-image {
    height: 320px;
  }

  .about-image-card {
    left: 16px;
    right: 16px;
    padding: 14px 16px;
  }
}

/* ===== ACCORDION ===== */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s;
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-icon {
  font-size: 20px;
  transition: transform 0.3s;
  color: var(--primary);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.accordion-item.open .accordion-body {
  max-height: 300px;
  padding: 0 0 20px 0;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(51, 15, 59, 0.18);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 4px 4px 0;
}

.service-card:hover::after {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 59, 44, 0.12);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-icon);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 18px;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.stat-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 59, 44, 0.12);
  border-color: var(--primary);
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-icon);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--primary);
  transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  transform: scale(1.1);
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  letter-spacing: -2px;
}

.stat-plus {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: 0.3px;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
  overflow: hidden;
  margin-bottom: 24px;
}

.marquee-wrapper:last-child {
  margin-bottom: 0;
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track-reverse {
  animation: marquee-reverse 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.marquee-item {
  flex-shrink: 0;
  width: 240px;
  height: 130px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  transition: all 0.3s;
}

.marquee-item img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  transition: all 0.3s;
}

.marquee-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: var(--primary);
}

/* ===== SUSTAINABILITY ===== */
.sustainability-section {
  position: relative;
  padding: 100px 0;
}

.sustainability-card {
  position: relative;
  background: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=1920&q=80') center/cover no-repeat fixed;
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sustainability-left {
  position: relative;
  background: rgba(10, 42, 31, 0.9);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: white;
}

.sustainability-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.sustainability-card-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
}

.sustainability-card-item:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .sustainability-left {
    padding: 40px 30px;
  }

  .sustainability-right {
    padding: 30px;
  }

  .sustainability-card-item {
    padding: 18px 12px;
  }
}

/* ===== CSR ===== */
.csr-section {
  position: relative;
  padding: 100px 0;
}

.csr-card {
  position: relative;
  background: url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?w=1920&q=80') center/cover no-repeat fixed;
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.csr-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.csr-left-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.csr-right {
  position: relative;
  background: rgba(10, 42, 31, 0.9);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: white;
}

@media (max-width: 768px) {
  .csr-right {
    padding: 40px 30px;
  }
}

/* ===== CERTIFICATION ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.cert-item {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  transition: all 0.3s;
  height: 120px;
}

.cert-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.cert-item img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s;
}

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

.footer h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer .office-info p {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.footer .office-info i {
  color: var(--accent);
  margin-top: 4px;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 14px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 42, 31, 0.92) 0%, rgba(15, 59, 44, 0.85) 50%, rgba(10, 42, 31, 0.92) 100%);
}

.cta-bg {
  background-image: url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(199, 162, 84, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.cta-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #d98c2e 100%);
  color: var(--primary-dark);
  padding: 16px 36px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(199, 162, 84, 0.3);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(199, 162, 84, 0.45);
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

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

@media (max-width: 768px) {
  .cta-section { padding: 70px 0; }
  .cta-title { font-size: 2rem; }
  .cta-text { font-size: 15px; }
  .cta-btn-primary, .cta-btn-outline { padding: 14px 24px; font-size: 13px; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 59, 44, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== TAILWIDTH COMPAT ===== */
.bg-primary {
  background-color: var(--primary);
}

.bg-primary-dark {
  background-color: var(--primary-dark);
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

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

.hover\:bg-accent:hover {
  background-color: var(--accent);
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.hover\:bg-accent-light:hover {
  background-color: var(--accent-light);
}

/* ===== ANIMATIONS ===== */
.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-section {
    height: 70vh;
    min-height: 500px;
  }

  .hero-section h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .btn-hero {
    padding: 12px 24px 12px 20px;
    font-size: 13px;
    gap: 8px;
  }

  .btn-hero-icon {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .stat-item {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-bottom: 12px;
  }

  .stat-plus {
    font-size: 1.4rem;
  }

  .product-card {
    height: 280px;
  }

  .service-card {
    padding: 25px 20px;
  }

  .bangladesh-badge {
    gap: 8px;
    padding: 5px 14px 5px 5px;
    font-size: 11px;
  }

  .bangladesh-badge .flag-ripple {
    width: 26px;
    height: 26px;
  }

  .bangladesh-badge .flag-ripple img {
    width: 22px;
    height: 22px;
  }

  .bangladesh-badge span {
    font-size: 11px;
  }
}
