:root {
  /* Brand System: Green 60% • Orange 30% • Blue 10% */
  --brand-green: #027000;
  /* 60% - Primary Backgrounds, Footers */
  --brand-orange: #ff5d00;
  /* 30% - Nav, Primary Actions, Highlights */
  --brand-blue: #00599d;
  /* 10% - Secondary Elements, Links, Details */

  --brand-green-light: #e8f5e9;
  --brand-orange-light: #fff3e0;
  --brand-blue-light: #e1f5fe;

  --dark-blue: #1e3a8a;
  --text-main: #173321;
  --text-muted: #4b6653;
  --bg-light: #f4fbf4;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Layout Components --- */

.notice-bar {
  background: var(--dark-blue);
  color: var(--white);
  font-size: 0.75rem;
  padding: 10px 0;
}

.brand-section {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 4px solid var(--brand-green-light);
}

.site-logo {
  width: 70px;
  height: auto;
  transition: var(--transition);
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Navigation --- */

.main-nav {
  background: var(--brand-orange);
  padding: 0;
  box-shadow: 0 4px 12px rgba(255, 93, 0, 0.2);
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  padding: 1rem 1.25rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.dropdown-menu {
  border: none;
  border-top: 4px solid var(--brand-blue);
  box-shadow: var(--shadow);
  border-radius: 0 0 12px 12px;
  padding: 10px 0;
}

.dropdown-item {
  font-weight: 500;
  padding: 8px 20px;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  padding-left: 25px;
}

/* --- Hero Section --- */

.hero {
  background: linear-gradient(135deg, var(--brand-green) 0%, #014d00 100%);
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 93, 0, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
}

.hero-card h3 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-list-mini li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.service-list-mini li i {
  color: var(--brand-orange);
}

/* --- Buttons --- */

.btn-brand-orange {
  background: var(--brand-orange);
  color: var(--white);
  border: none;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 93, 0, 0.3);
}

.btn-brand-orange:hover {
  background: #e55100;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 93, 0, 0.4);
  color: var(--white);
}

.btn-brand-blue {
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-brand-blue:hover {
  background: #004a82;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 89, 157, 0.3);
  color: var(--white);
}

/* --- Services Grid --- */

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-weight: 800;
  color: var(--brand-green);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 4px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.service-card {
  border-radius: 16px;
  padding: 35px;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

/* Service Card Variations */
.service-card-green {
  background: linear-gradient(135deg, var(--brand-green) 0%, #015c00 100%);
  color: var(--white);
  border: none;
}

.service-card-green .icon-box {
  background: rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
}

.service-card-orange {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #e65400 100%);
  color: var(--white);
  border: none;
}

.service-card-orange .icon-box {
  background: rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
}

.service-card-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #004a82 100%);
  color: var(--white);
  border: none;
}

.service-card-blue .icon-box {
  background: rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
}

.service-card-green p,
.service-card-orange p,
.service-card-blue p {
  opacity: 0.9;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.service-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
}

/* --- About Section --- */

.about-section {
  padding: 100px 0;
  background: var(--white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.metric-item {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  border-bottom: 4px solid var(--brand-blue);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Contact Section --- */

.contact-section {
  padding: 100px 0;
  background: #f8faf9;
  /* Subtle light green tint */
}

.contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 20px;
  height: 100%;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

/* Contact Card Color Modifiers (Bottom Borders) */
.contact-card-green {
  border-bottom: 8px solid var(--brand-green);
}

.contact-card-orange {
  border-bottom: 8px solid var(--brand-orange);
}

.contact-card-blue {
  border-bottom: 8px solid var(--brand-blue);
}

.contact-card .icon-box {
  width: 70px;
  height: 70px;
  background: transparent !important;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Specific Icon Colors as per image */
.contact-card-green .icon-box i {
  color: var(--brand-green);
}

.contact-card-orange .icon-box i {
  color: var(--brand-orange);
}

.contact-card-blue .icon-box i {
  color: var(--brand-blue);
}

.contact-card h5 {
  margin-bottom: 15px;
}

/* --- Footer --- */

/* --- Footer --- */

.footer {
  background: #013220;
  /* Deepest Forest Green (60% dominance) */
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 5px solid var(--brand-orange);
  /* 30% accent */
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(255, 126, 0, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 50px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

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

.footer-links h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  list-style: none;
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links ul li a:hover {
  color: var(--brand-orange);
  transform: translateX(5px);
}

.footer-links ul li a::before {
  content: '→';
  font-size: 0.8rem;
  opacity: 0;
  transition: var(--transition);
}

.footer-links ul li a:hover::before {
  opacity: 1;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-info i {
  color: var(--brand-orange);
}

.footer-bottom {
  padding-top: 20px;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  color: var(--white);
}

.brand-ratio-tag {
  font-size: 0.75rem;
  background: rgba(0, 74, 130, 0.3);
  /* Brand Blue (10%) */
  color: var(--brand-blue-light);
  padding: 5px 15px;
  border-radius: 100px;
  border: 1px solid var(--brand-blue);
  font-weight: 500;
}

/* --- Responsive --- */

@media (max-width: 991px) {
  .hero {
    padding: 60px 0;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-card {
    margin-top: 40px;
  }
}

.navbar-brand {
  padding: 0.5rem 0;
}

.navbar-brand img {
  filter: brightness(0) invert(1);
}

.navbar-brand span {
  color: var(--white);
}

.main-nav .container {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 768px) {
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}