/* ==========================================================================
   Sree Viswaas Agro Biotech India Limited - Premium Design System
   ========================================================================== */


:root {
  /* Color Palette */
  --primary-dark: #0A3326;
  --primary-emerald: #0F4C3A;
  --primary-green: #1B7A5A;
  --accent-teal: #00A896;
  --accent-lime: #52B788;
  --accent-gold: #D4AF37;
  --accent-light-green: #E8F5E9;
  
  --text-dark: #1E2923;
  --text-muted: #5A6E63;
  --text-light: #7E9286;
  --bg-light: #F4F8F6;
  --bg-white: #FFFFFF;
  --bg-surface: #EFF5F2;
  
  --border-light: #D4E3DB;
  --border-focus: #00A896;
  
  --shadow-sm: 0 2px 8px rgba(10, 51, 38, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 51, 38, 0.1);
  --shadow-lg: 0 16px 36px rgba(10, 51, 38, 0.15);
  --shadow-glow: 0 0 20px rgba(0, 168, 150, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

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

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent-teal);
  background-color: rgba(0, 168, 150, 0.1);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #E2EFEA;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-lime);
}

.top-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-tag {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

/* Header & Navigation Bar */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(10, 51, 38, 0.08);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 8px 30px rgba(10, 51, 38, 0.12);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-emerald);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0.2rem;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-teal));
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Mobile Nav Toggle Icon */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2001;
  padding: 0;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
  background-color: white;
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
  background-color: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-emerald), var(--primary-green));
  color: white;
  box-shadow: 0 4px 14px rgba(15, 76, 58, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 58, 0.35);
  background: linear-gradient(135deg, #0C3E2F, #16644A);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-emerald);
  color: var(--primary-emerald);
}

.btn-outline:hover {
  background-color: var(--primary-emerald);
  color: white;
}

.btn-hero-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 51, 38, 0.9), rgba(15, 76, 58, 0.85)), url('../images/factory_aerial.png') center/cover no-repeat;
  color: white;
  padding: 6rem 0 7.5rem 0;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-lime);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--accent-teal);
  background: linear-gradient(135deg, #4EE2C0, #70E000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.sub-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: #E2EFEA;
}

.hero-description {
  font-size: 1.12rem;
  color: #D4E8E0;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Glass Card Preview */
.glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.glass-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
  padding: 4px;
}

.glass-card-title {
  color: white;
  font-size: 1.25rem;
}

.glass-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.glass-item span:nth-child(1) {
  color: #BBE3D5;
}

.glass-item span:nth-child(2) {
  font-weight: 700;
  color: white;
}

/* Highlights Section (6 Cards Grid) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.highlight-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-teal);
}

.highlight-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light-green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-emerald);
}

.highlight-icon svg {
  width: 28px;
  height: 28px;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-box.primary-box {
  transform: translateY(-15px);
}

.about-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(10,51,38,0.9), transparent);
  color: white;
  padding: 1rem 0.85rem 0.5rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-emerald);
  margin-bottom: 1rem;
}

.about-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.bullet-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-teal);
  flex-shrink: 0;
}

/* Products Section (3 Cards Grid) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-teal);
}

.product-image-box {
  position: relative;
  height: 240px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--bg-surface);
}

.product-image-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-emerald);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.product-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.85rem;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
  flex-grow: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag-pill {
  background: var(--bg-surface);
  color: var(--primary-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-footer {
  display: flex;
  gap: 0.75rem;

}

.product-footer .btn {
  flex: 1;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
}

/* Industries We Serve (8 Square Icon Boxes 4x2 Grid) */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.industry-box {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.industry-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
  background: var(--bg-light);
}

.ind-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.industry-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.industry-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Why Choose Us (2 Columns) */
.why-us-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.why-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.why-item:hover {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-emerald);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-dark);
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Manufacturing Facility Section */
.facility-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.facility-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.facility-image-wrapper {
  height: 300px;
  overflow: hidden;
}

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

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

.facility-card-body {
  padding: 2rem;
}

.facility-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.facility-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Quality Assurance Section */
.quality-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.quality-lead {
  font-size: 1.1rem;
  color: var(--primary-emerald);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.quality-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.q-check-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.q-check-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.q-check-text strong {
  font-size: 1.05rem;
  color: var(--primary-dark);
  display: block;
}

.q-check-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.quality-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quality-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.quality-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(10, 51, 38, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Calculator Section */
.calculator-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-emerald));
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-form-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #BBE3D5;
  margin-bottom: 0.5rem;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
  transition: var(--transition-fast);
}

.calc-select option {
  background-color: var(--primary-dark);
  color: white;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
}

.calc-result-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-lime);
  margin-bottom: 0.5rem;
}

.calc-result-value {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.calc-result-desc {
  font-size: 0.92rem;
  color: #D4E8E0;
  line-height: 1.5;
}

/* Contact Us Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-box {
  background: var(--primary-dark);
  color: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.4rem;
}

.contact-detail-text h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-detail-text p {
  color: #A3C9BC;
  font-size: 0.9rem;
}

.contact-form-box {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--border-focus);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 51, 38, 0.75);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal-card {
  background: white;
  width: 90%;
  max-width: 620px;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-dark);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 4000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
  border-left: 4px solid var(--accent-lime);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #D1E5DD;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: #A3C9BC;
  margin: 1.25rem 0;
  max-width: 320px;
}

.footer-title {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #A3C9BC;
  font-size: 0.92rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #83A89A;
}

/* Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 51, 38, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 51, 38, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: #E2EFEA;
    font-size: 1.1rem;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
    color: var(--accent-lime);
    padding-left: 0.5rem;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .btn-nav-quote {
    display: none;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-content, .about-grid, .why-us-columns, .facility-gallery-grid, .quality-grid, .calculator-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .about-img-box.primary-box {
    transform: translateY(0);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .highlights-grid, .industries-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .about-images-container {
    grid-template-columns: 1fr;
  }
}
