/* =====================================================
   MSS - Mozambique Sustainable Solution
   Global Stylesheet
   ===================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-dark: #040D1A;
  --bg-deep: #060F20;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  /* Logo-derived colors */
  --accent: #4A9640;
  /* Forest green — M letter */
  --accent-dark: #2E7030;
  /* Deep forest green */
  --accent-blue: #1A4E82;
  /* Navy blue — wave element */
  --accent-gold: #CA8B28;
  /* Amber/gold — S letter */
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(74, 150, 64, 0.35);
  --gradient-hero: linear-gradient(135deg, #040D1A 0%, #06140A 50%, #040D1A 100%);
  --gradient-accent: linear-gradient(135deg, #4A9640, #CA8B28);
  /* Green → Gold (logo arc) */
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(74, 150, 64, 0.18);
  --nav-height: 140px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

h4 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  position: relative;
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent {
  color: var(--accent) !important;
}

.text-blue {
  color: var(--accent-blue) !important;
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.py-4 {
  padding: 1rem 0;
}

.py-8 {
  padding: 2rem 0;
}

.relative {
  position: relative;
}

/* Section Padding */
.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* Section Labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Section Title */
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-title span {
  color: var(--accent);
}

/* Section Subtitle */
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}

.section-subtitle.center {
  margin: 0 auto;
  text-align: center;
}

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

.divider.center {
  margin: 0 auto 24px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(4, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Ensure dark text in logo is visible on dark bg */
  filter: drop-shadow(0 0 12px rgba(74, 150, 64, 0.25)) drop-shadow(0 1px 2px rgba(255, 255, 255, 0.18));
  transition: var(--transition);
}

.logo-img:hover {
  filter: drop-shadow(0 0 18px rgba(202, 139, 40, 0.35)) drop-shadow(0 1px 2px rgba(255, 255, 255, 0.22));
  transform: scale(1.03);
}

/* Legacy text logo fallback */
.nav-logo .logo-mss {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo .logo-mss span {
  color: var(--accent);
}

.nav-logo .logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Footer logo */
.footer-logo-img {
  height: 170px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.2)) drop-shadow(0 0 16px rgba(74, 150, 64, 0.2));
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

.dropdown-trigger:hover {
  color: var(--text-primary);
}

.dropdown-trigger .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(6, 15, 32, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.dropdown-item:hover {
  background: var(--bg-card-hover);
}

.dropdown-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.dropdown-item .text .title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.dropdown-item .text .desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

/* Nav CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-accent);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(74, 150, 64, 0.35);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 150, 64, 0.55);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(4, 13, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover {
  color: var(--accent);
  background: var(--bg-card);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(74, 150, 64, 0.40);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(74, 150, 64, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(74, 150, 64, 0.07);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.btn svg,
.btn i {
  font-size: 1rem;
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  background: var(--gradient-accent);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.card>* {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.card-icon.green {
  background: rgba(74, 150, 64, 0.14);
  border-color: rgba(74, 150, 64, 0.28);
}

.card-icon.blue {
  background: rgba(26, 78, 130, 0.18);
  border-color: rgba(26, 78, 130, 0.32);
}

.card-icon.gold {
  background: rgba(202, 139, 40, 0.14);
  border-color: rgba(202, 139, 40, 0.28);
}

.card-icon.purple {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.2);
}

/* =====================================================
   HERO SECTIONS
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--gradient-hero);
}

/* Animated orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 150, 64, 0.14) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 78, 130, 0.12) 0%, transparent 70%);
  bottom: 50px;
  left: -50px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

/* Page hero (smaller) */
.page-hero {
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 150, 64, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(60px);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--accent);
}

/* =====================================================
   STATS / COUNTERS
   ===================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-dark);
  padding: 40px 32px;
  text-align: center;
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* =====================================================
   SERVICE CARDS
   ===================================================== */
.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow), 0 24px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card .service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  background: rgba(74, 150, 64, 0.12);
  border: 1px solid rgba(74, 150, 64, 0.25);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(74, 150, 64, 0.25);
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 24px;
  flex: 1;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .learn-more {
  gap: 12px;
}

/* =====================================================
   FEATURE LIST
   ===================================================== */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74, 150, 64, 0.18);
  border: 1px solid rgba(74, 150, 64, 0.45);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2300C896'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* =====================================================
   ACCORDION
   ===================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--border-accent);
}

.accordion-item.active {
  border-color: var(--border-accent);
  box-shadow: 0 0 20px rgba(74, 150, 64, 0.12);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.accordion-header .acc-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.accordion-header .acc-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(74, 150, 64, 0.12);
  flex-shrink: 0;
}

.accordion-toggle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.accordion-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
  background: rgba(74, 150, 64, 0.18);
  border-color: var(--border-accent);
}

.accordion-item.active .accordion-toggle svg {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body-inner {
  padding: 0 24px 24px;
}

/* =====================================================
   GRID LAYOUTS
   ===================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* =====================================================
   HIGHLIGHT BOX
   ===================================================== */
.highlight-box {
  background: rgba(74, 150, 64, 0.07);
  border: 1px solid rgba(74, 150, 64, 0.2);
  border-radius: var(--radius);
  padding: 32px;
}

.quote-box {
  border-left: 4px solid var(--accent);
  padding: 24px 32px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  background: rgba(74, 150, 64, 0.04);
  box-shadow: 0 0 0 3px rgba(74, 150, 64, 0.12);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #0A1628;
}

/* =====================================================
   CONTACT INFO CARD
   ===================================================== */
.contact-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 30px rgba(74, 150, 64, 0.12);
  transform: translateY(-3px);
}

.contact-card .cc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: rgba(74, 150, 64, 0.12);
  border: 1px solid rgba(74, 150, 64, 0.25);
}

.contact-card .cc-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-card .cc-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-all;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo-mss {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
}

.footer-brand .logo-mss span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-tagline {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(202, 139, 40, 0.1);
  border: 1px solid rgba(202, 139, 40, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '→';
  color: var(--accent);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  background: rgba(74, 150, 64, 0.12);
  border-color: var(--border-accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes floatOrb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes gridPulse {

  0%,
  100% {
    opacity: 0.03;
  }

  50% {
    opacity: 0.06;
  }
}

.anim-fade-up {
  animation: fadeUp 0.7s ease forwards;
}

.anim-fade-up-1 {
  animation: fadeUp 0.7s 0.1s ease both;
}

.anim-fade-up-2 {
  animation: fadeUp 0.7s 0.2s ease both;
}

.anim-fade-up-3 {
  animation: fadeUp 0.7s 0.3s ease both;
}

.anim-fade-up-4 {
  animation: fadeUp 0.7s 0.4s ease both;
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grid background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* Mesh gradient blob */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.6;
}

/* =====================================================
   DARK SECTION
   ===================================================== */
.section-dark {
  background: rgba(0, 0, 0, 0.2);
}

.section-accent-bg {
  background: linear-gradient(135deg, rgba(74, 150, 64, 0.07) 0%, rgba(202, 139, 40, 0.04) 100%);
}

/* =====================================================
   TAG / BADGE
   ===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-green {
  background: rgba(74, 150, 64, 0.14);
  color: var(--accent);
  border: 1px solid rgba(74, 150, 64, 0.3);
}

.badge-blue {
  background: rgba(26, 78, 130, 0.18);
  color: #5B8EC9;
  border: 1px solid rgba(26, 78, 130, 0.35);
}

.badge-gold {
  background: rgba(202, 139, 40, 0.14);
  color: var(--accent-gold);
  border: 1px solid rgba(202, 139, 40, 0.3);
}

/* =====================================================
   PRODUCT GRID
   ===================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.product-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: var(--transition);
}

.product-item::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.5rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.product-item:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* Service detail section */
.service-detail {
  padding: 60px 0;
}

.service-detail:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  :root {
    --nav-height: 70px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-services {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .page-hero {
    min-height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .card {
    padding: 24px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* --- Image Utilities --- */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.relative {
  position: relative;
}

/* Ensure this exists or is not duplicated, technically it was in line 91 but safe to reiterate or ensure usage */
.relative-z2 {
  position: relative;
  z-index: 2;
}

/* Absolute Background Image wrapper */
.absolute-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.absolute-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  /* Subtle by default */
  filter: saturate(0.8) contrast(1.1);
}

/* darker overlay for some sections */
.absolute-bg.overlay-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-dark), transparent 50%, var(--bg-dark));
  z-index: 1;
}

/* Specific modifier for hero brightness */
/* Service Card Images - replacing icons or adding to them */
.service-card-image {
  height: 160px;
  width: 100%;
  margin: -40px -32px 24px;
  /* Pull to edges */
  width: calc(100% + 64px);
  object-fit: cover;
  opacity: 0.8;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  transition: var(--transition);
}

.service-card:hover .service-card-image {
  transform: scale(1.05);
  opacity: 1;
}

/* Specific modifier for hero brightness */
.hero .absolute-bg img,
.page-hero .absolute-bg img {
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}