:root {
  --primary: #0E9E25;
  --secondary: #08F3FA;
  --accent: #00CC00;
  --highlight: #CEFC7B;
  --soft: #93CCC1;
  --text: #1A1A1A;
  --text-light: #555;
  --bg: #FFFFFF;
  --bg-alt: #F5F9F7;
  --gradient: linear-gradient(135deg, #0E9E25, #00CC00);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 50px;
}

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

.nav a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

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

.lang-switch {
  display: flex;
  gap: 10px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid #ddd;
}

.lang-switch a {
  font-size: 14px;
  opacity: 0.6;
}

.lang-switch a.active,
.lang-switch a:hover {
  opacity: 1;
  font-weight: 600;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  transition: 0.3s;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(14,158,37,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(14,158,37,0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,158,37,0.1), rgba(8,243,250,0.1));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* SECTIONS */
section {
  padding: 100px 0;
}

section:nth-child(even) {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}

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

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* SECTORS */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sector-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
}

.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.sector-card:hover img {
  transform: scale(1.1);
}

.sector-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
}

.sector-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.sector-content p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

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

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, #056616 0%, #0a7a1d 50%, #034d10 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.8);
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.8);
}

.cta-banner .btn {
  background: white;
  color: var(--primary);
}

.cta-banner .btn:hover {
  background: var(--highlight);
}

/* TECH PAGE */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.tech-item {
  display: flex;
  gap: 25px;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.tech-item-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-item-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

.tech-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.tech-item p {
  color: var(--text-light);
}

/* ABOUT */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.about-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 30px;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* CONTACT PAGE */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.contact-item {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-item-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-item-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-item p {
  color: var(--text-light);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.5rem;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-alt);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.modal-close:hover {
  background: #ddd;
}

.modal-body {
  padding: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

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

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

.checkbox-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-submit {
  width: 100%;
  margin-top: 10px;
}

/* FOOTER */
.footer {
  background: var(--text);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.95rem;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: white;
  opacity: 0.7;
  margin-bottom: 10px;
  transition: opacity 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s;
  }
  
  .nav.active {
    transform: translateY(0);
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid #eee;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .features-grid,
  .steps-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transition: bottom 0.3s ease;
  max-width: 90%;
  text-align: center;
}

.toast-show {
  bottom: 30px;
}

.toast-success {
  background: linear-gradient(135deg, #0E9E25 0%, #0a7a1d 100%);
}

.toast-error {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
}

@media (max-width: 768px) {
  .toast {
    font-size: 14px;
    padding: 14px 20px;
    max-width: 85%;
  }

  .toast-show {
    bottom: 20px;
  }
}
