/* ==========================================================================
   PROMAM - DESIGN SYSTEM & STYLING
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-green: #16a34a;       /* Forest green representing land & growth */
  --primary-green-hover: #15803d;
  --primary-blue: #0284c7;        /* Trustworthy engineering/sky blue */
  --primary-blue-hover: #0369a1;
  --accent-gold: #eab308;         /* Warm sunshine yellow for highlights */
  --accent-gold-hover: #ca8a04;
  
  --bg-light: #f8fafc;            /* Clean light slate background */
  --bg-white: #ffffff;
  --bg-dark: #0f172a;             /* Premium dark slate */
  --bg-dark-accent: #1e293b;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  
  --border-color: #e2e8f0;
  
  /* Fonts */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Montserrat', system-ui, -apple-system, sans-serif;
  
  /* Container & Shadows */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 20px rgba(22, 163, 74, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 6rem 0;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

/* Button & UI elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Header section
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 2.8rem;
  height: 2.8rem;
}

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

.brand-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-blue);
  line-height: 1;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-green);
}

.nav-desktop {
  display: flex;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width var(--transition-fast);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--text-dark);
  position: relative;
  transition: background var(--transition-fast);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: all var(--transition-normal);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Menu toggle animation when active */
.menu-toggle.active .hamburger {
  background-color: transparent;
}
.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Mobile Side Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right var(--transition-normal) cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.active {
  right: 0;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 6rem;
  background: radial-gradient(circle at 10% 20%, rgba(22, 163, 74, 0.03) 0%, rgba(2, 132, 199, 0.03) 90%), var(--bg-white);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10 L90 10 L90 90 L10 90 Z' fill='none' stroke='rgba(148, 163, 184, 0.05)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  opacity: 0.6;
  pointer-events: none;
}

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

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-title .highlight {
  color: var(--primary-green);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

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

/* Visual stack on the right of hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.visual-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  position: absolute;
  transition: transform var(--transition-normal);
}

.main-card {
  width: 280px;
  height: auto;
  z-index: 2;
  text-align: center;
  border-bottom: 4px solid var(--primary-blue);
  animation: float 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-card .logo-emblem {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 1.25rem !important;
}

.main-card .logo-emblem img {
  width: 80px !important;
  height: 80px !important;
  display: block !important;
  margin: 0 auto !important;
}

.main-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.main-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.floating-card-1 {
  width: 220px;
  display: flex;
  align-items: center;
  gap: 1rem;
  left: -20px;
  top: 40px;
  z-index: 3;
  animation: float-reverse 7s ease-in-out infinite;
}

.floating-card-2 {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 1rem;
  right: -10px;
  bottom: 50px;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.card-icon {
  font-size: 1.75rem;
  padding: 0.5rem;
  background-color: rgba(22, 163, 74, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card-1 strong, .floating-card-2 strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.floating-card-1 span, .floating-card-2 span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

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

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  background-color: var(--bg-white);
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  line-height: 1;
}

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

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-title-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 163, 74, 0.2);
}

.service-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-sm);
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary-green);
  color: var(--text-light);
}

.service-icon {
  width: 2rem;
  height: 2rem;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.why-us-content {
  max-width: 550px;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.feature-badge {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

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

/* Custom Technical Mapping graphic representing agricultural engineering */
.why-us-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-graphic {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 380px;
  background-color: var(--bg-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(22, 163, 74, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 163, 74, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

.scanner-line {
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(180deg, transparent, var(--primary-green));
  top: 0;
  animation: scan 4s linear infinite;
  box-shadow: 0 0 10px var(--primary-green);
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.pin-1 { top: 30%; left: 40%; }
.pin-2 { top: 60%; left: 75%; }

.pin::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

.graphic-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 5rem;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.emblem-wrapper {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 320px;
}

.emblem-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-mission {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.mission-box {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  border-left: 4px solid var(--primary-green);
  box-shadow: var(--shadow-sm);
}

.mission-box h5 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.mission-box p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(2, 132, 199, 0.05);
  border-radius: var(--radius-full);
  top: -100px;
  right: -100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  position: relative;
  z-index: 2;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-white {
  color: var(--text-light);
}

.text-white-opacity {
  color: var(--text-light-muted);
  margin-bottom: 2.5rem;
}

.font-light {
  color: var(--primary-green);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--bg-dark-accent);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contact-method-item:hover {
  transform: translateX(5px);
  border-color: rgba(22, 163, 74, 0.3);
}

.contact-icon {
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method-item strong {
  display: block;
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-method-item span {
  color: var(--text-light-muted);
  font-size: 0.88rem;
}

.map-preview {
  margin-top: 1rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.92rem;
}

.map-link:hover {
  color: var(--text-light);
}

.map-link .arrow {
  transition: transform var(--transition-fast);
}

.map-link:hover .arrow {
  transform: translateX(5px);
}

/* Contact Lead Form */
.contact-form-wrapper {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

.lead-form input, 
.lead-form select, 
.lead-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.lead-form input:focus, 
.lead-form select:focus, 
.lead-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
  background-color: #0b111e;
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin-top: 1.25rem;
}

.footer-links-col h4 {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    height: 350px;
    margin-top: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .why-us-image-container {
    order: -1;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-visual {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .nav-desktop, .header-cta {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-large {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-mission {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Optimize Hero Visual stack on mobile to prevent overlapping */
  .hero-visual {
    height: 380px;
    width: 100%;
    max-width: 320px;
    margin: 2rem auto 0;
  }

  .main-card {
    width: 240px;
    padding: 1.25rem;
  }

  .main-card .logo-emblem {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 1rem !important;
  }

  .main-card .logo-emblem img {
    width: 60px !important;
    height: 60px !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .floating-card-1 {
    width: 180px;
    left: -15px;
    top: 20px;
    padding: 0.75rem 1rem;
  }

  .floating-card-2 {
    width: 170px;
    right: -15px;
    bottom: 30px;
    padding: 0.75rem 1rem;
  }

  .card-icon {
    font-size: 1.3rem;
    padding: 0.4rem;
  }
}
