/* 
 * B Advancy - Sleek & Compact Version
 * Primary: #dc2626 | Secondary: #111827 | Accent BG: #FFE6EA
 */

/* Import Poppins font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Color Variables */
  --primary-color: #dc2626;
  --primary-dark: #b91c1c;
  --secondary-color: #111827;
  --accent-bg: #ffe6ea;
  --light-bg: #f9fafb;
  --white: #ffffff;
  --gray-light: #e7e8ea;
  --gray: #65758b;
  --gray-dark: #374151;

  /* Border Radius */
  --border-radius: 10px;
  --btn-radius: 6px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 4px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 12px -3px rgba(0, 0, 0, 0.08);

  /* Typography - Normalized sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1.125rem;
  --font-size-lg: 1.0625rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.75rem;
  --font-size-4xl: 2rem;
  --font-size-5xl: 2.5rem;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--secondary-color);
  line-height: 1.5;
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 65px; /* Reduced from 80px */
}


.hero {
  min-height: calc(79vh - 65px); /* Subtract navbar height */
  display: flex;
  align-items: center; /* vertically center content */
}
/* Typography - Normalized */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

p {
  margin-bottom: 0.875rem;
  color: var(--gray);
  font-size: var(--font-size-base);
  line-height: 1.5;
  max-width: 700px;
}

.lead {
  font-size: var(--font-size-lg);
  line-height: 1.5;
}

/* Utility Classes */
.rounded-lg {
  border-radius: var(--border-radius) !important;
}

.rounded-btn {
  border-radius: var(--btn-radius) !important;
}

.bg-accent {
  background-color: var(--accent-bg) !important;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
  font-size: 14px;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-primary-custom i {
  margin-left: 0.5rem;
}

.btn-outline-custom {
  border: 1px solid var(--primary-color); /* Thinner border */
  color: var(--primary-color);
  background-color: transparent;
  padding: 0.5rem 1.5rem; /* Reduced padding */
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
  font-size: 14px;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.section-padding {
  padding-top: 3.5rem; /* Reduced from 5rem */
  padding-bottom: 3.5rem; /* Reduced from 5rem */
}

/* Navbar - Compact and sleek */
.navbar {
  padding-top: 0.5rem; /* Reduced from 1rem */
  padding-bottom: 0.5rem; /* Reduced from 1rem */
  box-shadow: var(--shadow-sm);
  background-color: var(--white) !important; /* Force white background */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  height: 65px; /* Explicit height */
}

/* Force white background even when collapsed */
.navbar-light {
  background-color: var(--white) !important;
}

/* Ensure the navbar collapse menu has white background */
.navbar-collapse {
  background-color: var(--white) !important;
  flex-grow: 0; /* Prevent menu from stretching */
}

/* For mobile menu when expanded */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white) !important;
    box-shadow: var(--shadow-md);
    padding: 1rem;
    border-top: 1px solid var(--gray-light);
  }

  .nav-link {
    padding: 0.5rem 0 !important;
    margin: 0.25rem 0;
  }

  .nav-item.ms-lg-2 {
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }

  /* Ensure mobile menu items are visible on white background */
  .navbar-nav {
    background-color: var(--white);
  }
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem; /* Reduced from 1.75rem */
  color: var(--secondary-color) !important;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  font-size: 14px;
  margin: 0 0.25rem; /* Reduced spacing */
  padding: 0.375rem 0.75rem !important; /* Compact padding */
  color: var(--gray) !important;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.logo-img {
  height: 68px; /* Reduced from 65px */
  width: auto;
  max-width: 150px; /* Reduced from 180px */
  transition: all 0.2s ease;
}

.navbar-nav {
  align-items: center;
}

.nav-item.ms-lg-2 {
  margin-left: 0.5rem !important; /* Reduced spacing */
}

/* Hero Section - Compact */


.hero-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 700px;
  padding-top: 40px;
}

/*--------------------------------------------------------------
# Hero Badge
--------------------------------------------------------------*/
.hero-badge {
  margin-bottom: 30px;
  display: flex;
  justify-content: flex-start;
  animation: fadeInDown 0.8s ease-out;
}

.badge-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 10px 25px;
  animation: fadeInDown 0.6s ease-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.badge-content i {
  color: var(--white);
  font-size: 1.2rem;
}

.badge-content span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/*--------------------------------------------------------------
# Hero Text
--------------------------------------------------------------*/
.hero-text {
  margin-bottom: 60px;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-title .gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), #ef4444, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0.9;
  font-weight: 300;
  color: var(--white); /* Added white color as requested */
}

/*--------------------------------------------------------------
# Hero Actions
--------------------------------------------------------------*/
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 14px 32px;
  font-weight: 600;
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.hero-actions .btn i {
  margin-left: 8px;
}

.hero-actions .btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.hero-actions .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(185, 28, 28, 0.3);
}

.hero-actions .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: var(--white);
}

.hero-actions .btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/*--------------------------------------------------------------
# Hero Stats
--------------------------------------------------------------*/
.hero-stats {
  display: flex;
  gap: 30px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 25px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
  position: relative;
  padding: 25px 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  animation: statAppear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  margin-bottom: 1rem;
}

.hero-stat-number {
  position: relative;
  margin-bottom: 10px;
}

.hero-stat-number span {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white) 0%, #fee2e2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(220, 38, 38, 0.4), 0 4px 20px rgba(0, 0, 0, 0.4);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.stat-item:nth-child(1) {
  animation-delay: 0.4s;
}

.stat-item:nth-child(2) {
  animation-delay: 0.6s;
}

.stat-item:nth-child(3) {
  animation-delay: 0.8s;
}

.stat-item:nth-child(4) {
  animation-delay: 1s;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.2) 0%,
    rgba(239, 68, 68, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(220, 38, 38, 0.2);
}

.stat-item:hover::before {
  opacity: 1;
}

/* Animated underline effect */
.hero-stat-number::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-color) 20%,
    #ef4444 50%,
    var(--primary-color) 80%,
    transparent 100%
  );
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-item:hover .hero-stat-number::after {
  transform: scaleX(1.2);
}

/* Icon container */
.hero-stat-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(220, 38, 38, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease 0.1s;
}

.hero-stat-icon i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.stat-item:hover .hero-stat-icon {
  opacity: 1;
  transform: translateX(0);
}

.stat-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.stat-item:hover p {
  color: var(--white);
  letter-spacing: 2px;
}

/* Decorative corner accents */
.stat-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(220, 38, 38, 0.3);
  border-right: 2px solid rgba(220, 38, 38, 0.3);
  border-top-right-radius: 16px;
  transition: all 0.3s ease;
}

.stat-item:hover::after {
  border-color: var(--primary-color);
  width: 25px;
  height: 25px;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-stats {
    gap: 30px;
  }

  .stat-item {
    min-width: 120px;
    padding: 20px 12px;
  }

  .hero-stat-number span {
    font-size: 3.2rem;
  }

  .hero-stat-icon {
    width: 25px;
    height: 25px;
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0;
    min-height: 80vh;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    padding-top: 20px;
  }

  .hero-text {
    margin-bottom: 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px;
    padding-top: 30px;
  }

  .stat-item {
    min-width: 100px;
    padding: 18px 10px;
  }

  .hero-stat-number span {
    font-size: 2.8rem;
  }

  .hero-stat-number::after {
    bottom: -6px;
    left: 25%;
    width: 50%;
  }

  .stat-item p {
    font-size: 0.85rem;
    letter-spacing: 1.2px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badge {
    justify-content: center;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .badge-content {
    padding: 8px 16px;
  }

  .badge-content span {
    font-size: 0.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .stat-item {
    width: 100%;
    max-width: 250px;
    padding: 25px 15px;
  }

  .hero-stat-number span {
    font-size: 3rem;
  }

  .stat-item:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stat-number::after {
    bottom: -5px;
    left: 30%;
    width: 40%;
  }
}

/* Tablet Responsive */
@media (max-width: 992px) and (min-width: 769px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-stats {
    gap: 30px;
  }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statAppear {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  70% {
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* Stats Section - Compact */
.stats-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2.5rem 0; /* Reduced from 4rem */
}

.stat-card {
  text-align: center;
  padding: 1rem; /* Reduced from 1.5rem */
}

.stat-number {
  font-size: var(--font-size-4xl); /* Reduced from 5xl */
  font-weight: 700;
  margin-bottom: 0.25rem; /* Reduced from 0.5rem */
}

.stat-label {
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* Certifications Section - Compact */
.certifications-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: #fdfefe;
}

.trusted-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-bg);
  color: var(--primary-color);
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: 0.375rem 0.875rem; /* Reduced padding */
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.certifications-section h2 {
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.certifications-section p {
  margin-bottom: 2rem; /* Reduced from 2.5rem */
}

.certification-card {
  background: var(--white);
  border: 3px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: 1.5rem; /* Reduced from 2rem */
  height: 100%;
  transition: all 0.2s ease;
  text-align: center;
}

.certification-card:hover {
  transform: translateY(-4px); /* Reduced from -8px */
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.card-icon-container {
  width: 48px; /* Reduced from 70px */
  height: 48px; /* Reduced from 70px */
  border-radius: 50%;
  background-color: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem; /* Reduced from 1.25rem */
  border: 1px solid var(--primary-color); /* Thinner border */
  transition: all 0.3s ease;
}

.card-icon {
  font-size: 1.25rem; /* Reduced from 1.75rem */
  color: var(--primary-color);
}

.card-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 500;
  font-size: var(--font-size-xs);
  padding: 0.125rem 0.75rem; /* Reduced padding */
  border-radius: 50px;
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.card-title {
  font-size: var(--font-size-lg); /* Reduced from xl */
  margin-bottom: 0.5rem; /* Reduced from 0.75rem */
}

.card-description {
  font-size: var(--font-size-sm); /* Reduced from base */
  margin-bottom: 0;
  line-height: 1.4;
}

/* Services Section - Compact */
.services-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: #fafafa;
}

.section-title {
  font-size: var(--font-size-4xl);
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.section-subtitle {
  font-size: var(--font-size-base); /* Reduced from lg */
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 2rem; /* Reduced from 3rem */
  line-height: 1.5;
}

.service-card {
  background: var(--white);
  border: 3px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: 1.75rem; /* Reduced from 2.5rem 2rem */
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-3px); /* Reduced from -5px */
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-icon-wrapper {
  width: 50px; /* Reduced from 60px */
  height: 50px; /* Reduced from 60px */
  border-radius: 10px; /* Reduced from 12px */
  background-color: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem; /* Reduced from 1.5rem */
  border: 1px solid rgba(220, 38, 38, 0.2); /* Thinner border */
}

.service-icon {
  font-size: 1.25rem; /* Reduced from 1.5rem */
  color: var(--primary-color);
}

.service-title {
  font-size: var(--font-size-xl); /* Reduced from 2xl */
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.service-description {
  font-size: var(--font-size-sm); /* Reduced from base */
  margin-bottom: 0;
  line-height: 1.5;
}

/* Sustainability Section - Compact */
.sustainability-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: #f5f8fb;
}

.sustainability-card {
  background: var(--white);
  border: 3px solid var(--gray-light);
  border-radius: 12px; /* Reduced from 14px */
  padding: 1.75rem; /* Reduced from 2.5rem */
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
}

.sustainability-card:hover {
  transform: translateY(-4px); /* Reduced from -6px */
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.sustainability-icon-wrapper {
  width: 48px; /* Reduced from 55px */
  height: 48px; /* Reduced from 55px */
  border-radius: 8px; /* Reduced from 10px */
  background-color: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem; /* Reduced from 1.5rem */
}

.sustainability-icon {
  font-size: 1.25rem; /* Reduced from 1.375rem */
  color: var(--primary-color);
}

.sustainability-title {
  font-size: var(--font-size-lg); /* Reduced from xl */
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.sustainability-description {
  font-size: var(--font-size-sm); /* Reduced from base */
  margin-bottom: 0;
  line-height: 1.5;
}

.sustainability-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  padding: 0.5rem 1.5rem; /* Reduced padding */
  border-radius: var(--btn-radius);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--primary-color); /* Thinner border */
}

.sustainability-btn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.15); /* Reduced shadow */
}

/* Standards Section - Compact */
.standards-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: var(--white);
}

.standard-card {
  background: var(--white);
  border: 3px solid var(--gray-light);
  border-radius: 12px; /* Reduced from 14px */
  padding: 1.75rem; /* Reduced from 2.5rem 2rem */
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
}

.standard-card:hover {
  transform: translateY(-4px); /* Reduced from -8px */
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.standard-badge {
  display: inline-block;
  color: var(--white);
  font-weight: 600;
  font-size: var(--font-size-xs);
  padding: 0.25rem 0.75rem; /* Reduced padding */
  border-radius: 50px;
  margin-bottom: 1rem; /* Reduced from 1.25rem */
}

.standard-title {
  font-size: var(--font-size-lg); /* Reduced from xl */
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.standard-description {
  font-size: var(--font-size-sm); /* Reduced from base */
  margin-bottom: 0;
  line-height: 1.5;
}

/* Industries Section - Compact */
.industries-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: var(--white);
}

.industry-card {
  background: var(--white);
  border: 3px solid var(--gray-light);
  border-radius: 12px; /* Reduced from 14px */
  padding: 1.5rem; /* Reduced from 2.5rem 1.5rem */
  height: 100%;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.industry-card:hover {
  transform: translateY(-4px); /* Reduced from -6px */
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.industry-icon-wrapper {
  height: 48px; /* Reduced from 80px */
  width: 48px; /* Reduced from 80px */
  border-radius: 50%;
  background-color: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  border: 1px solid rgba(220, 38, 38, 0.2); /* Thinner border */
}

.industry-icon {
  font-size: 1.25rem; /* Reduced from 2rem */
  color: var(--primary-color);
}

.industry-title {
  font-size: var(--font-size-base); /* Reduced from xl */
  margin-bottom: 0;
}

/* Why Choose Section - Compact */
.why-choose-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: #fff8f5;
}

.feature-list {
  margin-top: 0.5rem; /* Reduced from 0.625rem */
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem; /* Reduced from 1.25rem */
}

.feature-icon {
  width: 32px; /* Reduced from 28px */
  height: 32px; /* Reduced from 28px */
  background-color: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.75rem; /* Reduced from 1rem */
  margin-top: 0.125rem; /* Reduced from 0.25rem */
}

.feature-icon i {
  color: var(--primary-color);
  font-size: 0.625rem; /* Reduced from 0.75rem */
}

.feature-text {
  color: var(--gray-dark);
  font-size: var(--font-size-sm); /* Reduced from base */
  line-height: 1.5;
  margin: 0;
}

.image-container {
  position: relative;
  padding-left: 1rem; /* Reduced from 1.25rem */
}

.main-image-wrapper {
  position: relative;
  border-radius: 16px; /* Reduced from 20px */
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); /* Reduced shadow */
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px; /* Reduced from 20px */
  transition: transform 0.2s ease;
}

.main-image-wrapper:hover .main-image {
  transform: scale(1.01); /* Reduced from 1.02 */
}

.stats-card {
  position: absolute;
  bottom: 1.25rem; /* Reduced from 1.875rem */
  left: 1.25rem; /* Reduced from 1.875rem */
  background: var(--white);
  border-radius: 10px; /* Reduced from 12px */
  padding: 1rem; /* Reduced from 1.25rem 1.5rem */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); /* Reduced shadow */
  border: 3px solid var(--gray-light);
  min-width: 120px; /* Reduced from 140px */
}

.stats-number {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-3xl); /* Reduced from 4xl */
  line-height: 1;
  margin-bottom: 0.125rem; /* Reduced from 0.25rem */
  text-align: center;
}

.stats-label {
  color: var(--gray-dark);
  font-weight: 600;
  font-size: var(--font-size-xs); /* Reduced from sm */
  text-align: center;
  line-height: 1.3;
}

/* Testimonials Section - Compact */
.testimonials-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: #f8fafc;
}

.testimonial-card {
  background: var(--white);
  border: 3px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: 1.75rem; /* Reduced from 2.5rem 2rem */
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px); /* Reduced from -8px */
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.quote-icon {
  color: #fca5a5;
  font-size: 2rem; /* Reduced from 2.5rem */
  margin-bottom: 0.75rem; /* Reduced from 1rem */
  opacity: 0.7;
}

.star-rating {
  color: var(--primary-color);
  font-size: 1rem; /* Reduced from 1.2rem */
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.star-rating i {
  margin-right: 0.125rem;
}

.testimonial-text {
  color: var(--gray-dark);
  font-style: italic;
  font-size: var(--font-size-sm); /* Reduced from base */
  line-height: 1.5;
  margin-bottom: 1.5rem; /* Reduced from 2rem */
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.client-avatar {
  width: 40px; /* Reduced from 48px */
  height: 40px; /* Reduced from 48px */
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.75rem; /* Reduced from 1rem */
  border: 3px solid var(--gray-light); /* Thinner border */
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-name {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: var(--font-size-base); /* Reduced from lg */
  margin-bottom: 0.125rem; /* Reduced from 0.25rem */
}

.client-role {
  color: var(--gray);
  font-size: var(--font-size-xs); /* Reduced from sm */
  margin-bottom: 0;
  line-height: 1.4;
}

/* CTA Section - Compact */
.cta-section {
  padding: 3rem 0; /* Reduced from 4.375rem */
  background-color: var(--primary-color);
}

.cta-heading {
  color: var(--white);
  font-size: var(--font-size-4xl);
  margin-bottom: 1rem; /* Reduced from 1.25rem */
}

.cta-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-size-base); /* Reduced from lg */
  margin-bottom: 2rem; /* Reduced from 2.5rem */
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 14px;
  padding: 0.5rem 1.5rem; /* Reduced padding */
  border-radius: var(--btn-radius);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--white); /* Thinner border */
}

.cta-btn-primary:hover {
  background-color: #f8fafc;
  color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Reduced shadow */
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1.5rem; /* Reduced padding */
  border-radius: var(--btn-radius);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid var(--white); /* Thinner border */
}

.cta-btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Reduced shadow */
}

/* Page Header Section - Compact */
.page-header-section {
  padding: 8rem 0; /* Reduced from 6.25rem */
  background-color: #fff5f7;
}

.page-heading {
  font-size: 48px; /* Reduced from 5xl */
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  margin-top: 0.75rem; /* Reduced from 1.25rem */
}

.page-subtitle {
  font-size: 18px; /* Reduced from xl */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Services Page Specific Styling */

.certification-services-section {
  margin-top: 3rem;
}

/* All service sections - same padding */
.certification-services-section,
.environmental-services-section,
.supply-chain-section,
.training-section {
  padding: 3.5rem 0;
  background-color: var(--white);
}

/* Section headings for services page */
.section-heading {
  font-size: 30px;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  font-weight: 700;
  text-align: left;
}

/* Common Service Card Styling - All sections use same card style */
.service-card {
  background: var(--white);
  border: 3px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  text-align: left; /* Changed from center to left */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Changed from center to flex-start */
  justify-content: flex-start;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-icon {
  height: 48px;
  width: 48px;
  border-radius: 25%;
  background-color: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem 0; /* Changed from "0 auto 1.5rem" to "0 0 1.5rem 0" */
  color: var(--primary-color);
  transition: all 0.3s ease;
  align-self: flex-start; /* Added: aligns to left within flex container */
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.service-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.3;
}

.service-description {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Page Header Styling */
.page-header-section {
  padding: 8rem 0;
  background-color: #fff5f7;
  text-align: center;
}

.page-heading {
  font-size: 48px;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.page-subtitle {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Supply Chain Section - 2 cards per row */
.supply-chain-section .row {
  justify-content: center;
}

.supply-chain-section .service-card {
  max-width: 100%;
}

/* Training Section - 2 cards per row */
.training-section .row {
  justify-content: center;
}

.training-section .service-card {
  max-width: 100%;
}

/* Responsive Design for Services Page */
@media (max-width: 1200px) {
  .section-heading {
    font-size: var(--font-size-3xl);
  }

  .page-heading {
    font-size: var(--font-size-4xl);
  }
}

@media (max-width: 992px) {
  .certification-services-section,
  .environmental-services-section,
  .supply-chain-section,
  .training-section {
    padding: 3rem 0;
  }

  .section-heading {
    font-size: var(--font-size-2xl);
    margin-bottom: 1.5rem;
  }

  .page-header-section {
    padding: 4rem 0;
  }

  .page-heading {
    font-size: var(--font-size-3xl);
  }

  .page-subtitle {
    font-size: var(--font-size-base);
  }

  .service-card {
    padding: 1.75rem 1.25rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .service-title {
    font-size: var(--font-size-lg);
  }

  .service-description {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 768px) {
  .certification-services-section,
  .environmental-services-section,
  .supply-chain-section,
  .training-section {
    padding: 2.5rem 0;
  }

  .section-heading {
    font-size: var(--font-size-xl);
    margin-bottom: 1.25rem;
  }

  .page-header-section {
    padding: 3rem 0;
  }

  .page-heading {
    font-size: var(--font-size-2xl);
  }

  .page-subtitle {
    font-size: var(--font-size-base);
    padding: 0 1rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }

  .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: var(--font-size-base);
    margin-bottom: 0.75rem;
  }

  .service-description {
    font-size: var(--font-size-sm);
    line-height: 1.5;
  }

  /* Mobile par supply chain aur training sections ke cards full width */
  .supply-chain-section .col-lg-6,
  .training-section .col-lg-6 {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .page-heading {
    font-size: 1.75rem;
  }

  .page-subtitle {
    font-size: 0.9375rem;
  }

  .service-card {
    padding: 1.25rem 1rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
  }

  .service-title {
    font-size: 1.125rem;
  }

  .service-description {
    font-size: 0.875rem;
  }
}

/* Decorative elements for service cards */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #f87171);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* CTA Section for services page */
.cta-section {
  padding: 4rem 0;
  background-color: var(--primary-color);
  text-align: center;
}

.cta-heading {
  color: var(--white);
  font-size: var(--font-size-3xl);
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  padding: 0.5rem 1.5rem;
  border-radius: var(--btn-radius);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid var(--white);
}

.cta-btn-primary:hover {
  background-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* Contact Section - Compact */
.contact-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: var(--white);
  margin-top: 3rem;
}

.contact-heading {
  font-size: 30px;
  margin-bottom: 1rem; /* Reduced from 1.25rem */
}

.contact-intro {
  font-size: 16px; /* Reduced from lg */
  margin-bottom: 2rem; /* Reduced from 2.5rem */
  line-height: 1.5;
}

.contact-details {
  margin-top: 2rem; /* Reduced from 2.5rem */
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem; /* Reduced from 1.5rem */
}

.contact-icon {
  width: 40px; /* Reduced from 48px */
  height: 40px; /* Reduced from 48px */
  border-radius: 8px; /* Reduced from 10px */
  background-color: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem; /* Reduced from 1rem */
  flex-shrink: 0;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.contact-icon i {
  color: var(--primary-color);
  font-size: 1rem; /* Reduced from 1.125rem */
}

.contact-label {
  color: var(--gray-dark);
  font-weight: 600;
  font-size: 16px; /* Reduced from base */
  margin-bottom: 0.125rem; /* Reduced from 0.25rem */
}

.contact-value {
  color: var(--gray);
  text-decoration: none;
  font-size: 16px; /* Reduced from lg */
  font-weight: 500;
}

.contact-value:hover {
  color: var(--primary-dark);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md); /* Reduced from shadow-lg */
  padding: 2rem; /* Reduced from 2.5rem */
  border: 2px solid var(--gray-light);
  margin-left: 1.75rem;
}

.form-title {
  font-size: var(--font-size-2xl); /* Reduced from 3xl */
  margin-bottom: 1.5rem; /* Reduced from 1.875rem */
}

.form-label {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 14px; /* Reduced from sm */
  margin-bottom: 0.375rem; /* Reduced from 0.5rem */
  display: block;
}

.form-input {
  width: 100%;
  padding: 0.75rem; /* Reduced from 0.875rem 1rem */
  border: 1px solid var(--gray-light);
  border-radius: 8px; /* Reduced from 10px */
  font-size: 14px;
  color: var(--secondary-color);
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1); /* Reduced from 3px */
}

textarea.form-input {
  resize: vertical;
  min-height: 100px; /* Reduced from 120px */
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px; /* Reduced from 10px */
  padding: 0.5rem 1.5rem; /* Reduced from 1rem 2rem */
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15); /* Reduced shadow */
}

/* Verification Section - Compact */
.verification-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background: linear-gradient(to bottom, #fff5f7, var(--white));
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-bg);
  color: var(--primary-color);
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: 0.25rem 1rem; /* Reduced padding */
  border-radius: 50px;
  margin-top: 2rem; /* Reduced from 3rem */
}

.verify-heading {
  font-size: 3rem;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.verification-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md); /* Reduced from shadow-lg */
  max-width: 1084px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.card-header {
  background-color: var(--accent-bg);
  padding: 1rem 1.5rem; /* Reduced from 1.25rem 1.875rem */
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.card-header i {
  color: var(--primary-color);
  font-size: 1.5rem; /* Reduced from 1.25rem */
}

.card-header span {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.5rem; /* Reduced from xl */
}

.input-row {
  display: flex;
  padding: 1.5rem; /* Reduced from 2.5rem 1.875rem */
  gap: 0.75rem; /* Reduced from 0.9375rem */
}

.certificate-input {
  flex: 1;
  padding: 0.75rem; /* Reduced from 1rem 1.25rem */
  border: 1px solid var(--gray-light);
  border-radius: 8px; /* Reduced from 10px */
  font-size: 14px;
  color: var(--secondary-color);
  transition: border-color 0.2s ease;
}

.certificate-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1); /* Reduced from 3px */
}

.certificate-input::placeholder {
  color: #9ca3af;
}

.verify-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px; /* Reduced from 10px */
  padding: 0.5rem 1.5rem; /* Reduced from 2rem */
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.15); /* Reduced shadow */
}

.bottom-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #f1f5f9;
}

.info-box {
  padding: 1rem; /* Reduced from 1.5625rem 1.875rem */
}

.left-box {
  background-color: var(--gray-light);
  border-right: 1px solid #f1f5f9;
  border-radius: 30px;
  margin: 1rem;
}

.middle-box,
.right-box {
  background-color: var(--accent-bg);
  border-right: 1px solid #f1f5f9;
  border-radius: 30px;
  margin: 1rem;
}

.info-title {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: var(--font-size-sm); /* Reduced from base */
  margin-bottom: 0.75rem; /* Reduced from 0.9375rem */
}

.sample-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sample-list li {
  color: var(--gray-dark);
  font-size: var(--font-size-xs); /* Reduced from sm */
  margin-bottom: 0.5rem; /* Reduced from 0.625rem */
  font-family: "Consolas", "Monaco", monospace;
}

.cert-type {
  color: var(--primary-color);
  font-weight: 500;
}

.feature-icon {
  color: var(--primary-color);
  font-size: 1.25rem; /* Reduced from 1.5rem */
  margin-bottom: 0.5rem; /* Reduced from 0.75rem */
}

.feature-title {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.875rem; /* Reduced from lg */
  margin-bottom: 0.25rem; /* Reduced from 0.3125rem */
}

.feature-desc {
  color: var(--gray);
  font-size: var(--font-size-xs); /* Reduced from sm */
}

/* Our Story Section - Compact */
.our-story-section {
  padding: 3.5rem 0; /* Reduced from 5rem */
  background-color: var(--white);
  margin-top: 3rem;
}

.story-heading {
  font-size: var(--font-size-4xl);
  margin-bottom: 1.5rem; /* Reduced from 1.875rem */
}

.story-paragraph {
  color: var(--gray);
  font-size: 1rem; /* Reduced from lg */
  line-height: 1.5;
  margin-bottom: 1.25rem; /* Reduced from 1.5625rem */
  text-align: justify;
}

.story-image-container {
  position: relative;
  border-radius: 16px; /* Reduced from 20px */
  overflow: hidden;
}

.story-image {
  width: 100%;
  height: auto;
  border-radius: 16px; /* Reduced from 20px */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06); /* Reduced shadow */
  transition: transform 0.2s ease;
}

.story-image:hover {
  transform: scale(1.01); /* Reduced from 1.02 */
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%; /* Reduced from 30% */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.03), transparent);
  pointer-events: none;
  border-radius: 16px; /* Reduced from 20px */
}

/* Mission / Vision / Values Section */
.mv-v-section {
  padding: 3.5rem 0;
  background-color: var(--white);
}

.mv-v-section .section-title {
  font-size: var(--font-size-4xl);
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.mv-v-section .section-subtitle {
  font-size: var(--font-size-base);
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.mvv-card {
  background: var(--white);
  border: 3px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mvv-card:hover {
  transform: translateY(-4px); /* Reduced from -8px */
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.mvv-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  font-size: 1.125rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
  transition: all 0.2s ease;
}

.mvv-card:hover .mvv-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.05);
}

.mvv-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.2;
}

.mvv-description {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .mv-v-section,
  .why-choose-us-section {
    padding: 3rem 0;
  }

  .mv-v-section .section-title,
  .why-choose-us-section .section-title {
    font-size: var(--font-size-3xl);
  }

  .mvv-card {
    padding: 1.75rem 1.25rem;
  }

  .mvv-icon {
    width: 55px;
    height: 55px;
    font-size: 1.375rem;
    margin-bottom: 1rem;
  }

  .mvv-title {
    font-size: var(--font-size-lg);
  }

  .mvv-description {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 768px) {
  .mv-v-section,
  .why-choose-us-section {
    padding: 2.5rem 0;
  }

  .mv-v-section .section-title,
  .why-choose-us-section .section-title {
    font-size: var(--font-size-2xl);
  }

  .mv-v-section .section-subtitle {
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
  }

  .mvv-card {
    padding: 1.5rem 1rem;
    margin-bottom: 0.75rem;
  }

  .mvv-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
  }

  .mvv-title {
    font-size: var(--font-size-base);
    margin-bottom: 0.75rem;
  }

  .mvv-description {
    font-size: var(--font-size-sm);
    line-height: 1.5;
  }
}

@media (max-width: 576px) {
  .mv-v-section .row.g-3 {
    gap: 1rem;
  }

  .mvv-card {
    padding: 1.25rem 0.875rem;
  }

  .mvv-icon {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }

  .mvv-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }

  .mvv-description {
    font-size: 0.875rem;
  }
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 3.5rem 0;
  background-color: var(--white);
}

.why-choose-section .section-title {
  font-size: var(--font-size-4xl);
  margin-bottom: 1.125rem;
  color: var(--secondary-color);
  font-weight: 700;
  text-align: center;
}

.why-choose-section .section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  text-align: center;
}

/* Content Container */
.why-choose-container {
  background-color: var(--light-bg);
  border: 1px solid var(--gray-light);
  padding: 2.5rem;
  margin-top: 1rem;
}

/* Checklist Columns */
.checklist-column {
  padding: 0 1rem;
}

/* FIXED: Proper alignment */
.checklist-item {
  display: flex;
  align-items: center; /* Changed from flex-start to center */
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  min-height: 56px; /* Added consistent height */
}

.checklist-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.checklist-item:last-child {
  margin-bottom: 0;
}

.check-icon {
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0; /* Prevent shrinking */
  margin-top: 0; /* Removed top margin */
}

.check-icon i {
  color: var(--white);
  font-size: 0.75rem; /* Slightly smaller for better fit */
}

.check-content {
  flex: 1;
  display: flex;
  align-items: center; /* Center text vertically */
  min-height: 100%; /* Ensure full height */
}

.check-text {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.4; /* Tighter line-height */
  margin-bottom: 0;
  padding: 0.125rem 0; /* Small vertical padding */
}

/* Responsive Design */
@media (max-width: 1200px) {
  .why-choose-section .section-title {
    font-size: var(--font-size-3xl);
  }

  .why-choose-section .section-subtitle {
    font-size: var(--font-size-base);
  }

  .why-choose-container {
    padding: 2rem;
  }

  .checklist-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    min-height: 52px;
  }

  .check-icon {
    width: 22px;
    height: 22px;
    margin-right: 0.875rem;
  }

  .check-icon i {
    font-size: 0.7rem;
  }

  .check-text {
    font-size: 0.85rem;
    line-height: 1.35;
  }
}

@media (max-width: 992px) {
  .why-choose-section {
    padding: 3rem 0;
  }

  .why-choose-section .section-title {
    font-size: var(--font-size-2xl);
  }

  .why-choose-section .section-subtitle {
    font-size: var(--font-size-sm);
    max-width: 600px;
  }

  .why-choose-container {
    padding: 1.75rem;
    margin-top: 0.75rem;
  }

  .checklist-column {
    padding: 0 0.75rem;
  }

  .checklist-item {
    margin-bottom: 0.875rem;
    padding: 0.75rem 0.625rem;
    min-height: 48px;
  }

  .check-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
  }

  .check-icon i {
    font-size: 0.65rem;
  }

  .check-text {
    font-size: var(--font-size-xs);
    line-height: 1.3;
  }
}

@media (max-width: 768px) {
  .why-choose-section {
    padding: 2.5rem 0;
  }

  .why-choose-section .section-title {
    font-size: var(--font-size-xl);
    margin-bottom: 0.5rem;
  }

  .why-choose-section .section-subtitle {
    font-size: var(--font-size-xs);
    margin-bottom: 1.5rem;
  }

  .why-choose-container {
    padding: 1.5rem;
    margin-top: 0.5rem;
  }

  .checklist-column {
    padding: 0;
  }

  .checklist-item {
    margin-bottom: 0.75rem;
    padding: 0.625rem;
    min-height: 44px;
  }

  .row > .col-lg-6 {
    margin-bottom: 1rem;
  }

  .row > .col-lg-6:last-child {
    margin-bottom: 0;
  }

  .check-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.625rem;
  }

  .check-icon i {
    font-size: 0.6rem;
  }

  .check-text {
    font-size: var(--font-size-xs);
    line-height: 1.25;
    padding: 0.125rem 0;
  }
}

@media (max-width: 576px) {
  .why-choose-section {
    padding: 2rem 0;
  }

  .why-choose-container {
    padding: 1.25rem;
  }

  .checklist-item {
    margin-bottom: 0.625rem;
    padding: 0.5rem;
    min-height: 40px;
  }

  .check-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
  }

  .check-icon i {
    font-size: 0.5rem;
  }

  .check-text {
    font-size: 0.6875rem;
    line-height: 1.2;
  }
}

/* Optional: Add subtle border to separate items */
.checklist-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .checklist-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.625rem;
    margin-bottom: 0.625rem;
  }
}

/* Footer - Compact */
.site-footer {
  padding: 3rem 0 1.5rem 0; /* Reduced from 4.375rem 0 1.875rem 0 */
  background-color: #f5f8fb;
}

.footer-brand {
  margin-bottom: 1.25rem; /* Reduced from 1.5rem */
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.footer-logo img {
  height: 115px; /* Reduced from 65px */
  width: auto;
  max-width: 150px; /* Reduced from 180px */
  transition: all 0.2s ease;
  margin-top: -2rem;
  margin-bottom: -2rem;
}

.logo-text {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.25rem; /* Reduced from 1.5rem */
}

.brand-description {
  color: var(--gray);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-heading {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: var(--font-size-base); /* Reduced from lg */
  margin-bottom: 1rem; /* Reduced from 1.25rem */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.375rem; /* Reduced from 0.5rem */
}

.footer-link {
  color: var(--gray);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 0.625rem; /* Reduced from 0.75rem */
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  color: var(--primary-color);
  font-size: var(--font-size-sm); /* Reduced from base */
  margin-right: 0.5rem; /* Reduced from 0.75rem */
  margin-top: 0.125rem; /* Reduced from 0.1875rem */
}

.contact-info span {
  color: var(--gray);
  font-size: var(--font-size-sm);
}

.footer-divider {
  border-color: #e5e7eb;
  margin: 2rem 0 1.25rem 0; /* Reduced from 3.125rem 0 1.5625rem 0 */
}

.copyright {
  color: #9ca3af;
  font-size: var(--font-size-xs);
  margin-bottom: 0;
}

/* Responsive Design - Adjusted */
@media (max-width: 1200px) {
  h1 {
    font-size: var(--font-size-4xl);
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 992px) {
  body {
    padding-top: 60px; /* Reduced from 70px */
  }

  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: var(--font-size-2xl);
  }

  h3 {
    font-size: var(--font-size-xl);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .section-padding,
  .hero,
  .certifications-section,
  .services-section,
  .sustainability-section,
  .standards-section,
  .industries-section,
  .why-choose-section,
  .testimonials-section,
  .our-story-section,
  .contact-section,
  .verification-section,
  .certification-services-section,
  .environmental-services-section,
  .supply-chain-section,
  .training-section {
    padding: 3rem 0; /* Reduced from 3.75rem */
  }

  .page-header-section {
    padding: 3.5rem 0; /* Reduced from 5rem */
  }

  .page-heading {
    font-size: var(--font-size-3xl);
  }

  .page-subtitle {
    font-size: var(--font-size-base); /* Reduced from lg */
  }

  .bottom-content {
    grid-template-columns: 1fr 1fr;
  }

  .right-box {
    border-right: 1px solid #f1f5f9;
  }

  .middle-box {
    border-right: none;
  }

  .stats-number {
    font-size: var(--font-size-3xl);
  }

  .site-footer {
    padding: 2.5rem 0 1.25rem 0; /* Reduced from 3.75rem 0 1.5625rem 0 */
  }

  .footer-divider {
    margin: 1.5rem 0 1rem 0; /* Reduced from 2.5rem 0 1.25rem 0 */
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-2xl);
  }

  h2 {
    font-size: var(--font-size-xl);
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .section-subtitle {
    font-size: var(--font-size-sm); /* Reduced from base */
    padding: 0 0.75rem; /* Reduced from 0.9375rem */
  }

  .hero-badge {
    font-size: var(--font-size-xs);
  }

  .lead {
    font-size: var(--font-size-base);
  }

  .section-padding,
  .hero,
  .certifications-section,
  .services-section,
  .sustainability-section,
  .standards-section,
  .industries-section,
  .why-choose-section,
  .testimonials-section,
  .our-story-section,
  .contact-section,
  .verification-section,
  .certification-services-section,
  .environmental-services-section,
  .supply-chain-section,
  .training-section {
    padding: 2.5rem 0; /* Reduced from 3.125rem */
  }

  .page-header-section {
    padding: 3rem 0; /* Reduced from 3.75rem */
  }

  .page-heading {
    font-size: var(--font-size-2xl);
  }

  .page-subtitle {
    font-size: var(--font-size-sm); /* Reduced from base */
  }

  .input-row {
    flex-direction: column;
    padding: 1.25rem; /* Reduced from 1.5625rem */
  }

  .verify-btn {
    padding: 0.75rem; /* Reduced from 1rem 1.25rem */
    width: 100%;
    margin-top: 0.5rem; /* Reduced from 0.625rem */
  }

  .bottom-content {
    grid-template-columns: 1fr;
  }

  .info-box {
    padding: 1rem; /* Reduced from 1.25rem 1.5625rem */
  }

  .left-box,
  .middle-box {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 240px; /* Reduced from 280px */
    margin: 0 auto;
  }

  .cta-btn-secondary {
    margin-left: 0 !important;
    margin-top: 0.75rem !important; /* Reduced from 1rem */
  }

  .stats-number {
    font-size: var(--font-size-2xl);
  }

  .site-footer {
    padding: 2rem 0 1rem 0; /* Reduced from 3.125rem 0 1.25rem 0 */
  }

  .footer-divider {
    margin: 1.25rem 0 0.75rem 0; /* Reduced from 2.1875rem 0 1.25rem 0 */
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.5rem; /* Reduced from 1.75rem */
  }

  h2 {
    font-size: 1.375rem; /* Reduced from 1.5rem */
  }

  .section-title {
    font-size: 1.375rem; /* Reduced from 1.5rem */
  }

  .hero-badge {
    padding: 0.25rem 0.625rem; /* Reduced padding */
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 0.5rem 1rem; /* Reduced padding */
    font-size: var(--font-size-sm);
  }

  .verification-card {
    border-radius: var(--border-radius);
  }

  .card-header {
    padding: 0.875rem 1rem; /* Reduced from 1.125rem 1.25rem */
  }

  .card-header span {
    font-size: var(--font-size-base); /* Reduced from lg */
  }

  .input-row {
    padding: 1rem; /* Reduced from 1.25rem */
  }

  .cta-heading {
    font-size: var(--font-size-2xl);
  }

  .cta-text {
    font-size: var(--font-size-sm); /* Reduced from base */
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 1rem; /* Reduced padding */
  }

  .contact-form-card {
    padding: 1.5rem; /* Reduced from 1.75rem 1.375rem */
    border-radius: var(--border-radius);
  }

  .form-input {
    padding: 0.625rem; /* Reduced from 0.75rem 0.875rem */
  }

  .submit-btn {
    padding: 0.625rem 1.25rem; /* Reduced from 0.875rem 1.75rem */
    width: 100%;
  }

  .stats-number {
    font-size: 1.5rem; /* Reduced from 1.75rem */
  }

  .site-footer {
    padding: 1.5rem 0 0.75rem 0; /* Reduced from 2.5rem 0 1.25rem 0 */
  }

  .copyright {
    font-size: var(--font-size-xs);
  }
}

/* Keep existing animations and decorative elements unchanged */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item,
.testimonial-card,
.service-card,
.certification-card,
.sustainability-card,
.standard-card,
.industry-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-item:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-item:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-item:nth-child(4) {
  animation-delay: 0.4s;
}
.feature-item:nth-child(5) {
  animation-delay: 0.5s;
}
.feature-item:nth-child(6) {
  animation-delay: 0.6s;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}
.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}
.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Decorative Elements */
.service-card::before,
.certification-card::before,
.sustainability-card::before,
.standard-card::before,
.industry-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px; /* Reduced from 4px */
  background: linear-gradient(90deg, var(--primary-color), #f87171);
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-card:hover::before,
.certification-card:hover::before,
.sustainability-card:hover::before,
.standard-card:hover::before,
.industry-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.story-heading::after {
  content: "";
  display: block;
  width: 50px; /* Reduced from 60px */
  height: 3px; /* Reduced from 4px */
  background: linear-gradient(90deg, var(--primary-color), #f87171);
  margin-top: 0.75rem; /* Reduced from 0.9375rem */
  border-radius: 2px;
}
