/* ============================================
   FOREMAN TECHNOLOGIES LTD - Main Stylesheet
   Brand Colors: Charcoal Gray, Lime Green, White
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2d2d2d;        /* Charcoal gray */
  --accent: #8bc34a;         /* Lime green */
  --accent-dark: #6a9c2e;    /* Darker lime */
  --accent-light: #c5e1a5;   /* Light lime */
  --blue: #1565c0;           /* Trust blue */
  --blue-light: #1e88e5;     /* Lighter blue */
  --red: #d32f2f;            /* Alert red */
  --white: #ffffff;
  --light-bg: #f5f7f2;       /* Very light gray-green */
  --light-gray: #f0f0f0;
  --mid-gray: #888888;
  --dark-text: #222222;
  --body-font: 'Inter', 'Segoe UI', Arial, sans-serif;
  --heading-font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark-text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--accent-dark);
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: #444;
}

.lead {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
}

.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: #ccc;
}

.section-light {
  background: var(--light-bg);
}

.section-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
}

.section-accent h2,
.section-accent h3,
.section-accent p {
  color: var(--white);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex {
  display: flex;
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-dark .section-tag {
  background: rgba(139,195,74,0.2);
  color: var(--accent-light);
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 2px;
  margin: 16px auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,195,74,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: #444;
  border-color: #444;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-light);
  transition: all var(--transition);
}

#navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.nav-logo img {
  height: 54px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-dark);
  background: var(--accent-light);
}

.nav-cta {
  margin-left: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3a3a3a 100%);
  position: relative;
  overflow: hidden;
  padding-top: 75px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(139,195,74,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(21,101,192,0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(211,47,47,0.05) 0%, transparent 30%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,195,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,195,74,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(139,195,74,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.hero-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(139,195,74,0.5);
  transform: translateY(-4px);
}

.hero-card .icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero-card h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--accent);
  color: var(--white);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(139,195,74,0.4);
}

.hero-badge strong {
  font-size: 1.2rem;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--accent);
  padding: 28px 0;
}

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

.stat-item h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 4px;
}

.stat-item p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 500;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent-light);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.card-icon.blue {
  background: linear-gradient(135deg, #bbdefb, #1e88e5);
}

.card-icon.red {
  background: linear-gradient(135deg, #ffcdd2, #e53935);
}

.card-icon.dark {
  background: linear-gradient(135deg, #eeeeee, #616161);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--light-gray);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, #444 100%);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.service-card-header::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(139,195,74,0.15);
}

.service-card-header .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.service-card-header h3 {
  color: var(--white);
}

.service-card-body {
  padding: 24px;
}

.service-card-body ul {
  list-style: none;
}

.service-card-body ul li {
  padding: 6px 0;
  color: #555;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-card-body ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Product Cards ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--light-gray);
  text-align: center;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.product-card-img {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--accent-light) 100%);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.product-card-body {
  padding: 20px;
}

.product-card-body h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.product-card-body p {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 14px;
}

.product-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* ---------- Why Choose Us ---------- */
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--light-gray);
}

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

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-item h4 {
  color: var(--primary);
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.92rem;
  color: #666;
  margin: 0;
}

/* ---------- Project Cards ---------- */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.project-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, #444 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent);
}

.project-card-body {
  padding: 24px;
}

.project-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.project-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.project-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: #888;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #111 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,195,74,0.1), transparent 70%);
}

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--primary);
}

.contact-info-item p,
.contact-info-item a {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #222 100%);
  padding: 120px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 10% 80%, rgba(139,195,74,0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(21,101,192,0.08) 0%, transparent 40%);
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin: 0;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb span {
  color: rgba(255,255,255,0.4);
}

/* ---------- About Page ---------- */
.about-visual {
  position: relative;
  padding: 20px;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #444 100%);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.about-img-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  text-align: center;
}

.about-img-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.about-img-badge span {
  font-size: 0.8rem;
  font-weight: 500;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.value-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---------- Partners / Logos ---------- */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-weight: 700;
  color: var(--mid-gray);
  font-size: 0.9rem;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.partner-logo:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent-light);
  line-height: 0;
  position: absolute;
  top: 30px;
  right: 24px;
  font-family: Georgia, serif;
}

.testimonial p {
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-author h5 {
  font-size: 0.9rem;
  color: var(--primary);
  margin: 0;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: #888;
}

/* ---------- Footer ---------- */
footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.footer-contact-item span:first-child {
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-item span:last-child {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- Alert / Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left: 4px solid var(--accent);
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(139,195,74,0.4);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 16px;
    border-radius: var(--radius);
  }

  .nav-cta {
    margin: 10px 0 0;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card-grid {
    max-width: 360px;
    margin: 0 auto;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    display: none;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    padding: 22px;
  }

  .contact-form {
    padding: 24px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Utility ---------- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.tag-green { background: var(--accent-light); color: var(--accent-dark); }
.tag-blue { background: #bbdefb; color: var(--blue); }
.tag-red { background: #ffcdd2; color: var(--red); }

.hidden { display: none !important; }
