/* ========================================
   DAHAB GUMS & RESINS - MODERN DESIGN
   Company Colors: Golden (#DAA520), Earth Tones, Deep Green
======================================== */

/* CSS Variables for Brand Colors */
:root {
  /* Primary Brand Colors - Only 2 colors allowed */
  --dg-primary: #2C5F2D;           /* Primary Green */
  --dg-primary-dark: #1F4220;     /* Darker Green */
  --dg-secondary: #2C5F2D;        /* Same as primary */
  --dg-accent: #2C5F2D;           /* Same as primary */
  --primary-green: #2C5F2D;       /* Primary Green */
  --dg-gold: #DAA520;             /* Keep for gradient */
  
  /* Earth Tones */
  --dg-brown: #8B4513;            /* Saddle Brown */
  --dg-tan: #D2B48C;              /* Tan */
  --dg-cream: #F5F5DC;            /* Beige */
  
  /* Neutrals */
  --dg-dark: #2C2C2C;             /* Charcoal */
  --dg-gray: #6C7B7F;             /* Steel Gray */
  --dg-light-gray: #F8F9FA;       /* Light Gray */
  --dg-white: #FFFFFF;
  
  /* Gradients - Only green gradient allowed */
  --dg-gradient-primary: linear-gradient(135deg, #2C5F2D 0%, #1F4220 100%);
  --dg-gradient-secondary: linear-gradient(135deg, #2C5F2D 0%, #1F4220 100%);
  
  /* Shadows */
  --dg-shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --dg-shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --dg-shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --dg-shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
  
  /* Typography */
  --dg-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --dg-font-secondary: 'Playfair Display', serif;
}

/* ========================================
   HEADER OVERLAY STYLING
======================================== */

/* Basic header styling */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
  border-bottom: none;
}

/* Navbar overlay styling */
.dg-header-overlay {
  background: transparent !important;
  transition: all 0.3s ease !important;
  border-bottom: none !important;
}

/* FORCE GREEN BACKGROUND ON SCROLL - CRITICAL RULES */
#header.dg-header-scrolled {
  background: #2C5F2D !important;
  background-color: #2C5F2D !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.dg-header-overlay.dg-header-scrolled {
  background: #2C5F2D !important;
  background-color: #2C5F2D !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Multiple selectors for maximum coverage */
#header.dg-header-scrolled,
.navbar.dg-header-overlay.dg-header-scrolled,
.dg-header-overlay.dg-header-scrolled,
div.dg-header-overlay.dg-header-scrolled,
nav.dg-header-overlay.dg-header-scrolled {
  background: #2C5F2D !important;
  background-color: #2C5F2D !important;
  background-image: none !important;
}

/* Adjust body padding for fixed header */
body {
  padding-top: 0;
}

/* Navigation styling for overlay */
.nav-main {
  background: transparent !important;
}

.nav-main .navbar-nav .nav-link {
  color: var(--dg-white) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-main .navbar-nav .nav-link:hover {
  color: var(--dg-primary) !important;
}

.navbar-brand img {
  filter: brightness(1.1);
}

/* ========================================
   HERO SECTION
======================================== */
.dg-hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px; /* Add space for fixed header */
}

.dg-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dg-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.dg-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 45, 0.8) 0%, rgba(218, 165, 32, 0.6) 100%);
}

.dg-hero-content {
  position: relative;
  z-index: 2;
  color: var(--dg-white);
  padding-top:120px;
}

.dg-hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(218, 165, 32, 0.9);
  color: var(--dg-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease-out;
}

.dg-hero-title {
  font-family: var(--dg-font-secondary);
  font-size: clamp(2.8rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.dg-text-gradient {
  background: var(--dg-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dg-hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 90%;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.dg-hero-stats {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.dg-stat-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.dg-stat-box:hover {
  transform: translateY(-5px);
}

.dg-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dg-primary);
}

.dg-stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.dg-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

.dg-hero-certifications {
  animation: fadeInUp 0.6s ease-out 1s both;
}

.dg-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dg-cert-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Hero Visual Elements */
.dg-hero-visual {
  position: relative;
  height: 600px;
}

.dg-floating-card {
  position: absolute;
  background: var(--dg-white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--dg-shadow-lg);
  max-width: 220px;
  animation: float 6s ease-in-out infinite;
}

.dg-floating-card.dg-card-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.dg-floating-card.dg-card-2 {
  top: 40%;
  left: 0%;
  animation-delay: 2s;
}

.dg-floating-card.dg-card-3 {
  bottom: 15%;
  right: 20%;
  animation-delay: 4s;
}

.dg-card-icon {
  width: 50px;
  height: 50px;
  background: var(--dg-gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.dg-card-icon i {
  color: var(--dg-white);
  font-size: 1.2rem;
}

.dg-card-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dg-dark);
  margin-bottom: 0.5rem;
}

.dg-card-content p {
  font-size: 0.9rem;
  color: var(--dg-gray);
  margin: 0;
}

.dg-hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.1;
}

.dg-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.dg-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dg-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.dg-scroll-indicator:hover {
  opacity: 0.8;
  color: var(--dg-primary);
}

.dg-scroll-text {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.dg-scroll-arrow {
  font-size: 1.2rem;
}

/* ========================================
   BUTTONS
======================================== */
.dg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.dg-btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.dg-btn-primary {
  background: var(--dg-gradient-primary);
  color: var(--dg-white);
  box-shadow: var(--dg-shadow-md);
}

.dg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--dg-shadow-lg);
  color: var(--dg-white);
}

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

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

.dg-btn-secondary {
  background: var(--dg-gradient-secondary);
  color: var(--dg-white);
}

.dg-btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--dg-white);
}

/* ========================================
   SECTIONS
======================================== */
.dg-section {
  padding: 5rem 0;
  padding-top: calc(120px + 3rem); /* Add space for fixed header on inner pages */
}

/* For sections that come after page header, use normal padding */
.dg-page-header + .dg-section,
.dg-hero-section + .dg-section {
  padding-top: 5rem;
}

/* Inner page sections */
.section-page {
  padding: 5rem 0;
  padding-top: calc(120px + 3rem); /* Add space for fixed header */
}

.dg-section-badge {
  display: inline-flex;
  align-items: center;
  background: var(--dg-light-gray);
  border: 1px solid var(--dg-primary);
  color: var(--dg-primary);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.dg-section-title {
  font-family: var(--dg-font-secondary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dg-dark);
}

.dg-section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dg-gray);
  max-width: 800px;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
======================================== */
.dg-section {
  background: #ffffff;
  padding: 5rem 0;
  overflow: hidden;
}

.dg-content {
  padding-right: 1rem;
}

@media (max-width: 991.98px) {
  .dg-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
}

.dg-badge {
  display: inline-flex;
  align-items: center;
  background: #2C5F2D;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.dg-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.dg-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.dg-features {
  margin-top: 2rem;
}

.dg-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 2px solid #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.dg-feature:hover {
  border-color: #2C5F2D;
  transform: translateY(-2px);
}

.dg-feature i {
  color: #2C5F2D;
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.dg-feature h5 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.dg-feature p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.dg-image-container {
  position: relative;
}

.dg-image-container::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  background: var(--dg-gradient-primary);
  border-radius: 12px;
  z-index: -1;
}

/* Statistics Cards */
.dg-about-stats {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.dg-stat-card {
  text-align: center;
  background: #ffffff;
  border: 2px solid #f8f9fa;
  border-radius: 12px;
  padding: 1.25rem 0.75rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

.dg-stat-card:hover {
  border-color: #2C5F2D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 95, 45, 0.1);
}

.dg-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2C5F2D;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.dg-stat-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* About Visual Grid */
.dg-about-visual {
  position: relative;
  margin-top: 2rem;
}

@media (max-width: 991.98px) {
  .dg-about-visual {
    margin-top: 0;
  }
}

.dg-image-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 120px;
  gap: 1rem;
  height: 340px;
  width: 100%;
}

.dg-grid-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}

.dg-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dg-grid-large {
  grid-row: 1 / 3;
  grid-column: 1;
}

.dg-grid-small {
  background: #2C5F2D;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.dg-grid-small:first-of-type {
  grid-row: 1;
  grid-column: 2;
}

.dg-grid-small:last-of-type {
  grid-row: 2;
  grid-column: 2;
}

.dg-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 1.5rem 1rem 1rem;
  z-index: 2;
}

.dg-image-overlay h5 {
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.dg-image-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.3;
}

.dg-info-card {
  text-align: center;
  color: white;
  padding: 1rem;
}

.dg-card-icon {
  background: rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.dg-card-icon i {
  font-size: 1.2rem;
}

.dg-info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.dg-info-card p {
  font-size: 0.85rem;
  margin: 0 0 0.5rem 0;
  opacity: 0.9;
}

.dg-card-badge {
  font-size: 0.7rem;
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dg-stat-card .dg-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dg-primary);
  display: block;
}

.dg-stat-card .dg-stat-label {
  font-size: 0.9rem;
  color: var(--dg-gray);
}

/* About Visual */
.dg-image-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 400px;
}

.dg-grid-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.dg-grid-large {
  grid-row: 1 / 3;
}

.dg-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dg-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--dg-white);
  padding: 1.5rem;
}

.dg-info-card {
  background: var(--dg-gradient-secondary);
  color: var(--dg-white);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.dg-info-card .dg-card-icon {
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.2);
}

.dg-info-card h4 {
  color: var(--dg-white);
  margin-bottom: 0.5rem;
}

.dg-info-card p {
  margin-bottom: 1rem;
}

.dg-card-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* ========================================
   PRODUCTS SECTION
======================================== */
.dg-products-section {
  background: var(--dg-light-gray);
  padding: 5rem 0;
}

.dg-product-card {
  background: var(--dg-white);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--dg-shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dg-product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--dg-shadow-lg);
}

.dg-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--dg-gradient-primary);
}

.dg-product-icon {
  width: 60px;
  height: 60px;
  background: var(--dg-gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.dg-product-icon i {
  color: var(--dg-white);
  font-size: 1.5rem;
}

.dg-product-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dg-dark);
  margin-bottom: 0.5rem;
}

.dg-product-subtitle {
  font-style: italic;
  color: var(--dg-gray);
  margin-bottom: 1rem;
}

.dg-product-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.dg-product-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dg-gray);
}

.dg-product-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--dg-primary);
  font-weight: bold;
}

.dg-product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--dg-gradient-secondary);
  color: var(--dg-white);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Process Flow */
.dg-process-flow {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--dg-white);
  border-radius: 20px;
}

.dg-process-step {
  text-align: center;
  position: relative;
}

.dg-step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--dg-primary);
  color: var(--dg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  z-index: 2;
}

.dg-step-icon {
  width: 80px;
  height: 80px;
  background: var(--dg-gradient-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.dg-process-step:hover .dg-step-icon {
  transform: scale(1.1);
}

.dg-step-icon i {
  color: var(--dg-white);
  font-size: 1.8rem;
}

.dg-process-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dg-dark);
  margin-bottom: 0.5rem;
}

.dg-process-step p {
  font-size: 0.9rem;
  color: var(--dg-gray);
  margin: 0;
}

/* ========================================
   GLOBAL SECTION
======================================== */
.dg-global-section {
  background: var(--dg-white);
  padding: 5rem 0;
}

.dg-facilities-grid {
  margin-top: 2rem;
}

.dg-facility-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--dg-light-gray);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.dg-facility-item:hover {
  transform: translateX(10px);
}

.dg-facility-icon {
  width: 50px;
  height: 50px;
  background: var(--dg-gradient-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dg-facility-icon i {
  color: var(--dg-white);
  font-size: 1.2rem;
}

.dg-facility-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dg-dark);
  margin-bottom: 0.3rem;
}

.dg-facility-content p {
  margin-bottom: 0.5rem;
}

.dg-facility-badge {
  background: var(--dg-primary);
  color: var(--dg-white);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
}

.dg-partnership-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(44, 95, 45, 0.1));
  border: 1px solid var(--dg-primary);
  border-radius: 12px;
}

.dg-partnership-cta h4 {
  color: var(--dg-dark);
  margin-bottom: 0.5rem;
}

.dg-status-badge {
  background: var(--dg-gradient-primary);
  color: var(--dg-white);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Lab Grid */
.dg-lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dg-lab-card {
  background: var(--dg-white);
  border: 2px solid var(--dg-light-gray);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.dg-lab-card:hover {
  border-color: var(--dg-primary);
  transform: translateY(-5px);
}

.dg-lab-card.dg-lab-future {
  border-style: dashed;
  opacity: 0.8;
}

.dg-lab-flag {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.dg-lab-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dg-dark);
  margin-bottom: 1rem;
}

.dg-lab-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.dg-lab-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dg-gray);
  font-size: 0.9rem;
}

.dg-lab-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--dg-primary);
  font-weight: bold;
}

.dg-future-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--dg-gradient-secondary);
  color: var(--dg-white);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.dg-compliance-badges {
  background: var(--dg-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--dg-shadow-sm);
}

.dg-compliance-item {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.dg-compliance-item:hover {
  background: var(--dg-light-gray);
}

.dg-compliance-item i {
  font-size: 1.5rem;
  color: var(--dg-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.dg-compliance-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dg-dark);
}

/* ========================================
   QUALITY SECTION
======================================== */
.dg-quality-section {
  background: var(--dg-light-gray);
  padding: 5rem 0;
}

.dg-quality-card {
  background: var(--dg-white);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--dg-shadow-sm);
}

.dg-quality-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dg-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.dg-quality-card h3 i {
  color: var(--dg-primary);
  margin-right: 0.5rem;
}

.dg-ethics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.dg-ethics-item {
  text-align: center;
  padding: 1rem;
  background: var(--dg-light-gray);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.dg-ethics-item:hover {
  transform: translateY(-5px);
}

.dg-ethics-item i {
  font-size: 2rem;
  color: var(--dg-primary);
  margin-bottom: 0.5rem;
}

.dg-ethics-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dg-dark);
  margin-bottom: 0.5rem;
}

.dg-ethics-item p {
  font-size: 0.9rem;
  color: var(--dg-gray);
  margin: 0;
}

.dg-standards-list {
  margin-top: 1.5rem;
}

.dg-standard-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--dg-light-gray);
  border-radius: 12px;
}

.dg-standard-icon {
  width: 40px;
  height: 40px;
  background: var(--dg-gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dg-standard-icon i {
  color: var(--dg-white);
  font-size: 1rem;
}

.dg-standard-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dg-dark);
  margin-bottom: 0.3rem;
}

.dg-standard-content p {
  font-size: 0.9rem;
  color: var(--dg-gray);
  margin: 0;
}

/* ========================================
   CTA SECTION
======================================== */
.dg-cta-section {
  position: relative;
  background: var(--dg-dark);
  color: var(--dg-white);
  padding: 5rem 0;
  overflow: hidden;
}

.dg-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dg-secondary) 0%, var(--dg-primary) 100%);
  opacity: 0.9;
}

.dg-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.dg-cta-content {
  position: relative;
  z-index: 2;
}

.dg-cta-title {
  font-family: var(--dg-font-secondary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.dg-cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.dg-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dg-cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
}

.dg-cta-feature i {
  color: var(--dg-primary);
}

.dg-cta-actions {
  position: relative;
  z-index: 2;
  text-align: center;
}

.dg-contact-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.dg-contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.dg-contact-info strong {
  color: var(--dg-primary);
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
  .dg-hero-visual {
    height: 500px;
  }
  
  .dg-floating-card {
    max-width: 180px;
    padding: 1rem;
  }
  
  .dg-title {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .dg-hero-visual {
    display: none;
  }
  
  .dg-hero-content {
    text-align: center;
  }
  
  .dg-image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 100px 100px;
  }
  
  .dg-grid-large {
    grid-row: 1;
  }
  
  .dg-lab-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .dg-process-flow .row {
    justify-content: center;
  }
  
  .dg-process-step {
    margin-bottom: 2rem;
  }
  
  /* About section mobile fixes */
  .dg-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .dg-title {
    font-size: 1.75rem;
  }
  
  .dg-feature {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .dg-feature i {
    margin-top: 0;
  }
  
  .dg-stat-number {
    font-size: 1.75rem;
  }
  
  .dg-image-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 100px;
    height: 300px;
    gap: 0.75rem;
  }
  
  .dg-grid-large {
    grid-row: 1 / 3;
    grid-column: 1;
  }
  
  .dg-grid-small:first-of-type {
    grid-row: 1;
    grid-column: 2;
  }
  
  .dg-grid-small:last-of-type {
    grid-row: 2;
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .dg-hero-section {
    min-height: 80vh;
  }
  
  .dg-section {
    padding: 3rem 0 !important;
  }
  
  .dg-hero-stats .col-4 {
    margin-bottom: 1rem;
  }
  
  .dg-cta-features {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .dg-ethics-grid {
    grid-template-columns: 1fr;
  }
  
  .dg-lab-grid {
    grid-template-columns: 1fr;
  }
  
  .dg-facility-item,
  .dg-feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .dg-standard-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .dg-quality-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .dg-quality-item i {
    margin-top: 0;
  }
  
  .dg-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .dg-description {
    font-size: 1rem;
  }
  
  .dg-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 576px) {
  .dg-hero-badge,
  .dg-section-badge {
    display: block;
    text-align: center;
  }
  
  .dg-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .dg-cert-badges {
    justify-content: center;
  }
  
  .dg-cta-actions .dg-btn {
    width: 100%;
  }
  
  .dg-process-flow .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .dg-title {
    font-size: 1.25rem;
  }
  
  .dg-quality-card {
    padding: 1.5rem;
  }
  
  .dg-cta-card {
    padding: 2rem;
  }
  
  .dg-feature,
  .dg-quality-item {
    padding: 1rem;
  }
  
  .dg-stat-number {
    font-size: 1.5rem;
  }
  
  .dg-stat-card {
    padding: 1rem 0.5rem;
    min-height: 80px;
  }
  
  .dg-image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    gap: 1rem;
  }
  
  .dg-grid-large {
    grid-row: 1;
    grid-column: 1;
    height: 200px;
  }
  
  .dg-grid-small {
    grid-column: 1;
    min-height: 120px;
    margin-bottom: 0;
  }
  
  .dg-grid-small:first-of-type {
    grid-row: 2;
  }
  
  .dg-grid-small:last-of-type {
    grid-row: 3;
  }
  
  .dg-about-stats {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
}

/* ========================================
   SIMPLE HEADER STYLES
======================================== */
.dg-header-overlay {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 100 !important;
  transition: all 0.3s ease;
  border-bottom: none;
  transform: none;
  margin: 0 !important;
  box-shadow: none;
}

/* Scrolled state - green background */
.dg-header-overlay.dg-header-scrolled {
  background: #2C5F2D !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header for non-hero pages */
.dg-header-solid {
  background: #2C5F2D !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* FORCE GREEN BACKGROUND - EMERGENCY FIX */
.navbar.dg-header-overlay.dg-header-scrolled,
.dg-header-overlay.dg-header-scrolled,
div.dg-header-overlay.dg-header-scrolled {
  background-color: #2C5F2D !important;
  background: #2C5F2D !important;
}

/* Hide on scroll down */
.dg-header-overlay.dg-header-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Compact mode when scrolled */
.dg-header-overlay.dg-header-compact {
  padding: 0.25rem 0;
}

.dg-header-overlay .container-xl {
  padding: 1rem 1rem !important;
  transition: padding 0.3s ease;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  height: 120px !important; /* Match navbar height */
}

.dg-header-overlay.dg-header-compact .container-xl {
  padding: 0.5rem 1rem;
  height: 80px !important; /* Smaller height for compact/scrolled state */
}

.dg-header-overlay .navbar-brand {
  margin-right: 0 !important;
  flex-shrink: 0;
  height: 120px !important; /* Match navbar height */
  display: flex !important;
  align-items: center !important;
  padding: 10px 0 !important; /* Add top/bottom padding for spacing */
}

.dg-header-overlay .navbar-brand img {
  transition: all 0.3s ease;
  height: 100px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  filter: none;
}

.dg-header-overlay.dg-header-compact .navbar-brand img {
  height: 60px !important;
  filter: none;
}

.dg-header-overlay .navbar-collapse {
  flex-grow: 0 !important;
}

.dg-header-overlay .navbar-nav {
  flex-direction: row !important;
  gap: 0.25rem;
  align-items: center;
  margin: 0 !important;
}

.dg-header-overlay .navbar-nav .nav-item {
  margin: 0;
}

.dg-header-overlay .navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0.875rem;
  text-shadow: none;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.95rem;
}

.dg-header-overlay .navbar-nav .nav-link:hover {
  color: var(--dg-gold) !important;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Scrolled state - ensure dark text */
.dg-header-overlay.dg-header-scrolled .navbar-nav .nav-link {
  color: white !important;
  text-shadow: none;
}

.dg-header-overlay.dg-header-scrolled .navbar-nav .nav-link:hover {
  color: var(--dg-gold) !important;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Header for non-hero pages - immediately solid */
.dg-header-solid {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.12) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.dg-header-solid .navbar-nav .nav-link {
  color: white !important;
}

.dg-header-solid .navbar-nav .nav-link:hover {
  color: var(--dg-gold) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.dg-header-overlay .navbar-toggler {
  border: none !important;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  order: 3;
}

.dg-header-overlay .navbar-toggler:focus {
  box-shadow: none !important;
}

.dg-header-overlay .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

/* Ensure proper responsive behavior */
@media (min-width: 768px) {
  .dg-header-overlay .navbar-collapse {
    display: flex !important;
  }

  .dg-header-overlay .navbar-toggler {
    display: none !important;
  }
}

/* Mobile Navigation Styles */
@media (max-width: 767.98px) {
  .dg-header-overlay {
    position: relative !important;
    background: #2C5F2D !important;
    padding: 0.5rem 0 !important;
  }
  
  .dg-header-overlay .navbar-brand img {
    height: 35px !important;
  }
  
  .dg-header-overlay .navbar-toggler {
    border: none !important;
    background: transparent !important;
    color: white !important;
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem !important;
  }
  
  .dg-header-overlay .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
  }
  
  .dg-header-overlay .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em;
    height: 1.5em;
  }
  
  .dg-header-overlay .navbar-collapse {
    background: #2C5F2D !important;
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  .dg-header-overlay .navbar-nav {
    flex-direction: column !important;
    gap: 0 !important;
    width: 100%;
  }
  
  .dg-header-overlay .navbar-nav .nav-link {
    color: white !important;
    padding: 0.75rem 1rem !important;
    border-radius: 6px !important;
    text-align: left;
    width: 100%;
    margin-bottom: 0.25rem;
  }
  
  .dg-header-overlay .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
  }
}/* Search icon styling */
.dg-header-overlay .search-icon {
  color: white !important;
  background: none !important;
  border: none !important;
  padding: 0.5rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dg-header-overlay .search-icon:hover {
  color: var(--dg-gold) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.dg-header-overlay .search-icon svg {
  stroke: currentColor;
}

.dg-header-overlay.dg-header-scrolled .navbar-brand img {
  height: 60px !important;
}

.dg-header-solid .navbar-nav .nav-link:hover {
  color: var(--dg-gold) !important;
  text-shadow: none !important;
}

/* Hidden state on scroll down */
.dg-header-overlay.dg-header-hidden {
  transform: translateY(-100%);
}

/* Simple header - no special body padding needed */
body {
  padding-top: 0;
  margin-top: 0;
}

/* Hero section - normal document flow */
.dg-hero-section {
  margin-top: 0;
  padding-top: 0;
  min-height: 100vh;
  position: relative;
}

.page-content {
  padding-top: 2rem;
}

/* Override Bootstrap navbar positioning */
.navbar.dg-header-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 120px !important; /* Increased header height for 100px logo + spacing */
  min-height: 120px !important;
}

/* Ensure header is above hero content */
.dg-header-overlay {
  z-index: 1000;
}

/* Simplified trust indicators */
.dg-trust-indicators {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dg-indicator-item {
  text-align: center;
  color: white;
}

.dg-indicator-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dg-gold);
  margin-bottom: 0.5rem;
}

.dg-indicator-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Scroll indicator */
.dg-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  animation: bounce 2s infinite;
}

.dg-scroll-indicator span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.dg-scroll-indicator i {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Mobile header overlay */
.dg-header-overlay-mobile {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  body {
    padding-top: 0;
  }
  
  body:not(.hero-page) {
    padding-top: 70px;
  }
  
  .dg-hero-section {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* Hide desktop nav on mobile */
  .dg-header-overlay {
    display: none;
  }
  
  .dg-hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  
  .dg-hero-description {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .dg-trust-indicators {
    flex-direction: row;
    justify-content: space-around;
    padding: 2rem 1rem;
  }
  
  .dg-indicator-number {
    font-size: 2rem;
  }
  
  .dg-scroll-indicator {
    display: none;
  }
  
  .dg-header-overlay .navbar-nav {
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    backdrop-filter: blur(20px);
  }
  
  .dg-header-overlay .navbar-nav .nav-link {
    color: var(--dg-dark) !important;
    text-shadow: none;
    padding: 0.75rem 1rem;
  }
}

/* ========================================
   QUALITY SECTION
======================================== */
.dg-quality-card {
  background: #ffffff;
  border: 2px solid #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.dg-quality-card:hover {
  border-color: #2C5F2D;
  transform: translateY(-2px);
}

.dg-quality-card h3 {
  color: #2C5F2D;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.dg-quality-features {
  margin-top: 1.5rem;
}

.dg-quality-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dg-quality-item:hover {
  background: #e9ecef;
}

.dg-quality-item i {
  color: #2C5F2D;
  font-size: 1.2rem;
  margin-top: 0.25rem;
}

.dg-quality-item h5 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.dg-quality-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.dg-cta-card {
  background: #ffffff;
  border: 2px solid #2C5F2D;
  border-radius: 12px;
  padding: 2.5rem;
}

.dg-cta-card h3 {
  color: #2C5F2D;
  font-size: 1.75rem;
  font-weight: 600;
}

.dg-cta-card p {
  color: #666;
  font-size: 1.1rem;
}

/* ========================================
   FOOTER STYLES
======================================== */
.dg-footer {
  background: #2C5F2D;
  color: white;
  padding: 3rem 0 1rem;
}

.dg-footer h4,
.dg-footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.dg-footer h4 {
  font-size: 1.75rem;
}

.dg-footer h5 {
  font-size: 1.25rem;
}

.dg-footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.dg-footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dg-footer-link:hover {
  color: white;
  text-decoration: none;
}

.dg-footer .contact-info i {
  color: white;
  width: 16px;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.nav-footer a {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .dg-footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom .col-md-6:last-child {
    text-align: center !important;
    margin-top: 1rem;
  }
}

/* ========================================
   PAGE HEADER STYLES
======================================== */
.dg-page-header {
  background: linear-gradient(135deg, #2C5F2D 0%, #1e4220 100%);
  padding: 4rem 0 3rem;
  margin-bottom: 0;
  padding-top: calc(120px + 3rem); /* Fixed header height + spacing */
}

.dg-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.dg-page-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  line-height: 1.5;
}

.dg-page-header .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.dg-page-header .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.dg-page-header .breadcrumb-item a:hover {
  color: rgba(255, 255, 255, 1) !important;
}

@media (max-width: 767.98px) {
  .dg-page-header {
    padding: 3rem 0 2rem;
    padding-top: calc(120px + 2rem); /* Fixed header height + spacing for mobile */
  }
  
  .dg-page-title {
    font-size: 1.5rem;
  }
  
  .dg-page-subtitle {
    font-size: 0.9rem;
  }
}

/* ========================================
   CONTACT PAGE STYLES
======================================== */
.dg-contact-form {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.dg-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.dg-form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

.dg-form-control:focus {
  outline: none;
  border-color: #2C5F2D;
  box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.dg-form-control::placeholder {
  color: #9ca3af;
}

.dg-form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.dg-form-check-input {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.dg-form-check-label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.dg-contact-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: fit-content;
}

.dg-contact-card-header h4,
.dg-contact-card-header h5 {
  color: #2C5F2D;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.dg-contact-card-header p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.dg-contact-info {
  margin-bottom: 0;
}

.dg-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f3f4;
}

.dg-contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dg-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(44, 95, 45, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2C5F2D;
  flex-shrink: 0;
}

.dg-contact-details h6 {
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.dg-contact-details a {
  color: #2C5F2D;
  text-decoration: none;
  font-weight: 500;
}

.dg-contact-details a:hover {
  text-decoration: underline;
}

.dg-contact-details p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.dg-business-hours {
  margin-bottom: 0;
}

.dg-hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.dg-hours-item:last-child {
  border-bottom: none;
}

.dg-hours-item .day {
  font-weight: 500;
  color: #333;
}

.dg-hours-item .time {
  color: #2C5F2D;
  font-weight: 600;
}

.dg-hours-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f3f4;
}

.dg-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dg-quick-action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.dg-quick-action-btn:hover {
  background: #2C5F2D;
  border-color: #2C5F2D;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.dg-quick-action-btn i {
  width: 16px;
  text-align: center;
}

@media (max-width: 991.98px) {
  .dg-page-title {
    font-size: 2rem;
  }
  
  .dg-contact-form {
    padding: 2rem;
  }
  
  .dg-contact-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .dg-page-header {
    padding: 3rem 0 2rem;
  }
  
  .dg-page-title {
    font-size: 1.75rem;
  }
  
  .dg-page-subtitle {
    font-size: 1rem;
  }
  
  .dg-contact-form {
    padding: 1.5rem;
  }
}