/* Custom styles for Green Affairs Consulting */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
        body {
            font-family: 'Inter', sans-serif;
            color: #27272a; /* Custom text color */
            padding-top: 10px;
        }
       
        :root {
            --bs-green-800: #1a5137;
            --bs-green-500: #2e965f;
            --bs-green-50: #f7fef7;
        }
        .text-green-800 { color: var(--bs-green-800); }
        .bg-green-800 { background-color: var(--bs-green-800) !important; }
        .text-green-500 { color: var(--bs-green-500); }
        .bg-green-500 { background-color: var(--bs-green-500) !important; }
        .bg-green-50 { background-color: var(--bs-green-50) !important; }
        .btn-green-500 {
            background-color: var(--bs-green-500);
            color: white;
            border: none;
        }
        .btn-green-500:hover {
            background-color: #258151; 
        }
       
        .carousel-item img {
            height: 80vh;
            object-fit: cover;
            filter: brightness(50%); 
        }
        .carousel-caption {
            z-index: 10;
            top: 50%;
            transform: translateY(-50%);
            bottom: auto;
        }
        .page-section {
            display: none;
        }
        .page-section.active {
            display: block; 
        }
        .rounded-4 { border-radius: 1rem !important; }
        .animated-leaf {
            animation: moveLeaf 4s ease-in-out infinite;
        }
        @keyframes moveLeaf {
            0%, 100% { transform: translateY(0) rotate(0); }
            50% { transform: translateY(-10px) rotate(5deg); }
        }
/* Certification Cards */
.certification-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.certification-card img {
  max-height: 80px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.certification-card:hover img {
  opacity: 1; /* Brighten logo on hover */
}

#certifications h2 {
  color: #2e965f;
}

   /* Hero Section Styling */
#about .position-relative {
  padding-top: 10px; /* Adds padding to top and bottom */
  height: 75vh; /* Makes hero section taller */
  overflow: hidden;
}

#about .position-relative img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(90%); /* Darkens image slightly */
}

/* Gradient overlay */
#about .position-relative::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.5)
  ); /* Dark overlay */
  z-index: 1;
}

/* Hero Text */
#about .position-absolute {
  z-index: 2;
  color: #fff;
  max-width: 800px;
}

#about .position-absolute h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

#about .position-absolute p {
  font-size: 1.25rem;
  font-weight: 300;
}

/* About Section Content */
#about h2 {
  color: #2e965f; /* Green theme */
}

#about h3 {
  color: #2e965f;
}

#about p {
  line-height: 1.7;
}

/* Images inside content */
#about img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: red;
}

#about img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Services Hero Section */
#services .position-relative {
  height: 70vh;
  
}

#services .position-relative img {
  object-fit: cover;
  padding-top: 30px; /* Adds padding to top and bottom */
  width: 100%;
  height: 100%;
  
}

#services .position-relative::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
}

#services .position-absolute {
  z-index: 2;
  max-width: 800px;
}

/* Service Cards */
.service-card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
        
         /* Footer */
        footer {
            background-color: #1a5137;
            color: #f1f1f1;
            padding: 60px 0 20px;
        }
        
        .footer-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-col {
            flex: 1;
            min-width: 200px;
        }
        
        .footer-col h4 {
            color: var(--light-text);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary-green);
            display: inline-block;
        }
        
        .footer-col ul {
            list-style: none;
        }
        
        .footer-col ul li {
            margin-bottom: 10px;
        }
        
        .footer-col a {
            color: var(--light-text);
            text-decoration: none;
            transition: opacity 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .footer-col a:hover {
            opacity: 0.8;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background-color: rgba(255,255,255,0.1);
            border-radius: 50%;
            transition: background-color 0.3s;
        }
        
        .social-links a:hover {
            background-color: var(--accent);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

/* Credentials Trust Bar */
.credentials-bar {
  background: #1a5137;
  color: white;
  padding: 20px 0;
}

.credentials-bar .row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.credentials-bar .row > div i {
  margin-right: 8px;
  color: #2e965f;
}

/* Sector Cards */
.sector-card {
  border: none;
  border-top: 4px solid #1a5137;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sector-card .card-body {
  padding: 2rem;
}

.sector-card h3 {
  color: #1a5137;
  margin-bottom: 1rem;
}

.sector-card ul {
  padding-left: 0;
  list-style: none;
}

.sector-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.sector-card ul li::before {
  content: "•";
  color: #2e965f;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Credential Highlight Boxes */
.credential-highlight {
  background: #1a5137;
  color: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.credential-highlight h4 {
  margin-bottom: 0.5rem;
}

.credential-highlight .display-6 {
  color: #2e965f;
  margin-bottom: 0.5rem;
}

/* Service Cards with Bullets */
.service-card ul {
  padding-left: 0;
  list-style: none;
}

.service-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.service-card ul li::before {
  content: "•";
  color: #2e965f;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Hero Sections */
.hero-section {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.hero-section .position-absolute {
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  max-width: 800px;
  width: 90%;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-section .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Division Preview Cards */
.division-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.division-card .display-4 {
  color: #2e965f;
  margin-bottom: 1rem;
}

.division-card h3 {
  color: #1a5137;
  margin-bottom: 1rem;
}

/* Sector Pills */
.sector-pill {
  display: inline-block;
  background: #f7fef7;
  color: #1a5137;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 2px solid #2e965f;
  margin: 0.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.sector-pill:hover {
  background: #2e965f;
  color: white;
}

/* Slogan tag in navbar */
.slogan-tag {
  font-size: 0.65rem;
  font-style: italic;
  opacity: 0.85;
  letter-spacing: 0.03em;
  color: #a8e6c0;
  display: block;
}

/* China Manufacturing Partnership Banner */
.china-partnership-banner {
  background: linear-gradient(135deg, #0d3b26 0%, #1a5137 100%);
  color: #a8e6c0;
  padding: 12px 0;
  font-size: 0.88rem;
  border-top: 2px solid #2e965f;
  border-bottom: 2px solid #2e965f;
  cursor: pointer;
  transition: background 0.3s ease;
}
.china-partnership-banner:hover {
  background: linear-gradient(135deg, #1a5137 0%, #2e965f 100%);
}

/* Form Styling */
.form-select option {
  padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .credentials-bar .row > div {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
}
        