/* ==========================================================================
   CRFM GROUP / CHANDIGARH ROLLER FLOUR MILLS - STYLESHEET
   Professional Food Manufacturing Theme
   ========================================================================== */

@import url('tricityinfra.css');

/* Header & Logo styling (Logo Only, No Text) */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
}

.nav-logo img,
.nav-logo-img {
  height: 52px;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.04);
}

.footer-logo img,
.footer-logo-img {
  height: 55px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

/* Navbar Header (Responsive & Compact) */
@media (max-width: 768px) {
  .nav-container {
    padding: 8px 16px !important;
    min-height: 52px;
  }
  .nav-logo {
    padding: 0;
  }
  .nav-logo img,
  .nav-logo-img {
    height: 38px !important;
    max-height: 40px !important;
  }
  .mobile-toggle {
    padding: 6px;
    font-size: 20px;
  }
}

/* Stats Bar Section (Compact & Modern) */
.stats-bar-section {
  background: var(--bg-secondary);
  padding: 18px 0;
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .stat-item.glass-card {
    padding: 16px 10px !important;
    min-height: 90px !important;
    border-radius: 12px !important;
  }
  .stat-item h3,
  .stat-item .counter,
  .stat-item h3 span {
    font-size: 24px !important;
    margin-bottom: 4px !important;
  }
  .stat-item p {
    font-size: 10.5px !important;
    letter-spacing: 0.2px !important;
    line-height: 1.25 !important;
  }
}

.stat-item.glass-card {
  padding: 22px 20px;
  min-height: 105px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-item.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(207, 86, 18, 0.12);
  border-color: rgba(207, 86, 18, 0.35);
}

.stat-item h3,
.stat-item .counter,
.stat-item h3 span {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  margin: 0 0 6px 0;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
  display: inline-block;
}

.stat-item p {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.35;
}

/* General Layout & Section Fixes */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content {
  width: 100%;
}

.about-card-wrap {
  width: 100%;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* Business Interests Pill List */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.interest-item-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.interest-item-card.highlight {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #ffffff 0%, #fff7f2 100%);
}

.interest-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--primary-glow);
  border-color: var(--primary-color);
}

.interest-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff4ee;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.interest-item-card.highlight .interest-icon-wrap {
  background: var(--primary-color);
  color: white;
}

.interest-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
}

.interest-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

/* Board of Directors Cards */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.board-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
}

.board-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(207, 86, 18, 0.15);
  border-color: var(--primary-color);
}

.board-img-wrap {
  width: 100%;
  height: 290px;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.board-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.board-card:hover .board-img-wrap img {
  transform: scale(1.05);
}

.board-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.board-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.board-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 4px;
}

.board-degree {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.board-exp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
  width: fit-content;
}

.board-exp-tag i {
  color: var(--primary-color);
}

.board-bio {
  font-size: 13.5px;
  color: var(--text-color);
  line-height: 1.65;
  margin-bottom: 12px;
}

.board-bio strong {
  color: var(--text-color);
}

.board-skills-list {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--glass-border);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.board-skill-chip {
  background: #fff4ee;
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(207, 86, 18, 0.2);
}

/* Food Manufacturing Features */
.food-mfg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .food-mfg-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.plant-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .plant-list-grid {
    grid-template-columns: 1fr;
  }
}

.plant-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.plant-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(207, 86, 18, 0.12);
}

.plant-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plant-box h4 i {
  color: var(--primary-color);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-item-card {
    padding: 14px 10px !important;
    border-radius: 10px !important;
  }
  .product-icon {
    font-size: 24px !important;
    margin-bottom: 6px !important;
  }
  .product-item-card h4 {
    font-size: 14px !important;
    margin-bottom: 2px !important;
  }
  .product-item-card p {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
}

.product-item-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.product-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.product-icon {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.product-item-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 4px;
}

.product-item-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Retail Pack Display */
.retail-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.retail-brand-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.retail-brand-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: 0 16px 36px rgba(207, 86, 18, 0.15);
}

.retail-brand-card .brand-icon-box {
  height: 90px;
  width: 90px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff4ee;
  border-radius: 50%;
  border: 2px solid rgba(207, 86, 18, 0.15);
}

.retail-brand-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--text-color);
}

.retail-brand-card p {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 4px;
}

.retail-brand-card .brand-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 8px;
}

/* ==========================================
   INFINITE CLIENTS CAROUSEL (MARQUEE)
   ========================================== */
.clients-carousel-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 0 42px 0;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  position: relative;
}

.clients-carousel-container::before,
.clients-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.clients-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.clients-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.clients-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 32px 20px 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  padding: 16px 0 20px 0;
}

.marquee-track {
  display: flex;
  gap: 22px;
  padding-right: 22px;
  flex-shrink: 0;
  animation: marqueeScroll 45s linear infinite;
  align-items: center;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

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

.client-logo-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px;
  max-width: 230px;
  height: 92px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  box-sizing: border-box;
  cursor: pointer;
}

.client-logo-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 28px rgba(207, 86, 18, 0.18);
  transform: scale(1.06) translateY(-4px);
  z-index: 5;
}

.client-logo-card img {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin: 0;
  display: block;
  transition: transform 0.3s ease;
}

/* ==========================================
   CONTACT SECTION RESPONSIVE
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-form-card {
  padding: 36px;
  width: 100%;
  box-sizing: border-box;
}

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

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

.contact-info-card {
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
}

.map-card-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  box-sizing: border-box;
}

.map-card-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  display: block;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .contact-form-card,
  .contact-info-card {
    padding: 24px 18px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================
   FOOTER RESPONSIVE GRID
   ========================================== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand-col,
  .footer-headquarters-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }
  .footer-brand-col,
  .footer-headquarters-col {
    grid-column: 1 / -1 !important;
  }
  .footer-links-col,
  .footer-products-col {
    grid-column: span 1 !important;
  }
  .footer-logo img,
  .footer-logo-img {
    height: 44px;
    margin-bottom: 12px;
  }
}

/* ==========================================
   CERTIFICATIONS SECTION & CARDS
   ========================================== */
.certifications-section {
  background: var(--bg-secondary);
  padding: 80px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cert-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 28px 18px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #f97316);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
  border-color: rgba(227, 27, 35, 0.3);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-img-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #f8fafc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease;
}

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

.cert-img-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.cert-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-color);
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.cert-card .cert-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .certifications-section {
    padding: 60px 0;
  }
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
  .cert-card {
    padding: 20px 12px 18px;
    border-radius: 12px;
  }
  .cert-img-wrap {
    width: 76px;
    height: 76px;
    margin-bottom: 14px;
  }
  .cert-img-wrap img {
    width: 64px;
    height: 64px;
  }
  .cert-card h3 {
    font-size: 15px;
  }
  .cert-card p {
    font-size: 11.5px;
  }
}

/* ==========================================
   WHEAT GRAINS SOURCING SECTION
   ========================================== */
.wheat-grains-section {
  background: #ffffff;
  padding: 85px 0;
  border-bottom: 1px solid var(--glass-border);
}

.wheat-variety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.wheat-card {
  background: #fffdfa;
  border: 1px solid rgba(194, 120, 3, 0.18);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(194, 120, 3, 0.04);
}

.wheat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d97706, #fbbf24);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wheat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(194, 120, 3, 0.12);
  border-color: #d97706;
  background: #ffffff;
}

.wheat-card:hover::before {
  opacity: 1;
}

.wheat-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wheat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.15);
}

.wheat-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #92400e;
  background: #fde68a;
  padding: 4px 10px;
  border-radius: 20px;
}

.wheat-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-color);
  margin: 0 0 8px 0;
}

.wheat-card .wheat-sub {
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
  margin-bottom: 12px;
}

.wheat-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.wheat-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  border-top: 1px dashed rgba(194, 120, 3, 0.2);
  padding-top: 14px;
}

.wheat-features-list li {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wheat-features-list li i {
  color: #d97706;
  font-size: 12px;
}

/* ==========================================
   IN-HOUSE QUALITY TESTING LAB SECTION
   ========================================== */
.testing-lab-section {
  background: #f8fafc;
  padding: 90px 0;
  border-bottom: 1px solid var(--glass-border);
}

.lab-overview-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 45px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lab-overview-banner h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #ffffff;
}

.lab-overview-banner p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

.lab-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lab-stat-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.lab-stat-box strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #38bdf8;
  margin-bottom: 4px;
}

.lab-stat-box span {
  font-size: 11.5px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.lab-parameters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lab-param-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.lab-param-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
}

.param-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.param-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.param-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 8px;
  border-radius: 12px;
}

.lab-param-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-color);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.lab-param-card .param-test-name {
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 8px;
}

.lab-param-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 1100px) {
  .lab-parameters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .wheat-variety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lab-overview-banner {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
}

@media (max-width: 680px) {
  .wheat-grains-section,
  .testing-lab-section {
    padding: 60px 0;
  }
  .wheat-variety-grid,
  .lab-parameters-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .wheat-card,
  .lab-param-card {
    padding: 20px 18px;
  }
  .lab-overview-banner h3 {
    font-size: 22px;
  }
}



