/* ===== VARIABLES ===== */
:root {
  --forest: #228B22;
  --forest-light: #2E8B57;
  --forest-dark: #1a6b1a;
  --sky: #87CEEB;
  --sky-light: #ADD8E6;
  --earth: #D2691E;
  --gold: #FFD700;
  --dark: #333333;
  --gray: #808080;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.5s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
}

.navbar.scrolled .nav-container {
  max-width: 1024px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  padding: 0.5rem 1.5rem;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  transition: color 0.5s ease;
}

.navbar.scrolled .logo-text {
  color: var(--dark);
}

.logo-accent {
  color: var(--forest);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: rgba(51, 51, 51, 0.8);
}

.nav-links a:hover {
  color: white;
}

.navbar.scrolled .nav-links a:hover {
  color: var(--forest);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--forest);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 50%;
}

.nav-right {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.navbar.scrolled .lang-toggle {
  color: var(--dark);
}

.lang-toggle:hover {
  background: rgba(34, 139, 34, 0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  background: var(--forest);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--forest-dark);
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  background: white;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--dark);
}

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  color: var(--dark);
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: rgba(34, 139, 34, 0.1);
  color: var(--forest);
}

.lang-toggle-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: var(--dark);
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.lang-toggle-mobile:hover {
  background: rgba(34, 139, 34, 0.1);
  color: var(--forest);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ABOUT SECTION ===== */
.about {
  position: relative;
  padding: 6rem 0;
  background: white;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.05), transparent);
  clip-path: polygon(0 0, 60% 0, 40% 100%, 0 100%);
}

.about-grid {
  display: grid;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.experience-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(34, 139, 34, 0.1);
  text-align: center;
}

.exp-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest);
}

.exp-text {
  font-size: 0.875rem;
  color: var(--gray);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(34, 139, 34, 0.1);
  color: var(--forest);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  width: fit-content;
}

.badge.bg-sky {
  background: rgba(135, 206, 235, 0.2);
  color: #1e6b8c;
}

.about-content h2 {
  font-size: 1.75rem;
  color: var(--dark);
}

.about-content p {
  color: var(--gray);
  line-height: 1.7;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.check {
  width: 20px;
  height: 20px;
  background: var(--forest);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(245, 245, 245, 0.5);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(34, 139, 34, 0.05);
}

.stat-item svg {
  margin: 0 auto 0.5rem;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ===== DOMAINS SECTION ===== */
.domains {
  padding: 6rem 0;
  background: linear-gradient(to bottom, white, rgba(245, 245, 245, 0.3));
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--dark);
  margin: 1rem 0;
}

.section-header p {
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

.domains-grid {
  display: grid;
  gap: 1.5rem;
}

.domain-card {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.5s ease;
}

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

.domain-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(to right, var(--forest), var(--forest-light));
  transition: width 0.5s ease;
}

.domain-card:hover::after {
  width: 100%;
}

.domain-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.domain-card:hover .domain-icon {
  transform: scale(1.1);
}

.domain-icon.bg-earth {
  background: rgba(210, 105, 30, 0.1);
  color: var(--earth);
}

.domain-icon.bg-forest {
  background: rgba(34, 139, 34, 0.1);
  color: var(--forest);
}

.domain-icon.bg-red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.domain-icon.bg-green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.domain-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.domain-card:hover h3 {
  color: var(--forest);
}

.domain-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
  padding: 6rem 0;
  background: white;
}

.solutions-accordion {
  display: none;
  height: 500px;
  gap: 0.5rem;
}

.solutions-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .solutions-accordion {
    display: flex;
  }
  
  .solutions-mobile {
    display: none !important;
  }
}

.solution-panel {
  position: relative;
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s ease;
}

.solution-panel.active {
  flex: 3;
}

.solution-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.solution-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.solution-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.solution-gradient.bg-forest {
  background: linear-gradient(to top, #228B22, #2E8B57);
}

.solution-gradient.bg-sky {
  background: linear-gradient(to top, #87CEEB, #ADD8E6);
}

.solution-gradient.bg-red {
  background: linear-gradient(to top, #ef4444, #f87171);
}

.solution-gradient.bg-earth {
  background: linear-gradient(to top, #D2691E, rgba(210, 105, 30, 0.8));
}

.solution-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.solution-panel.active img {
  transform: scale(1);
}

.solution-panel:not(.active) img {
  transform: scale(1.1);
}

.solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.solution-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
}

.solution-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.5s ease;
}

.solution-panel.active .solution-icon {
  transform: scale(1);
}

.solution-panel:not(.active) .solution-icon {
  transform: scale(0.75);
}

.solution-content h3 {
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  transition: all 0.5s ease;
}

.solution-panel.active .solution-content h3 {
  font-size: 1.5rem;
}

.solution-panel:not(.active) .solution-content h3 {
  font-size: 1.125rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.solution-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s ease;
}

.solution-panel.active .solution-details {
  max-height: 200px;
  opacity: 1;
}

.solution-details p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.solution-features span {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: white;
}

/* Mobile Solutions */
.solutions .container::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 1023px) {
  .solutions-accordion {
    display: none !important;
  }
  
  .solutions-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .solution-card-mobile {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  
  .solution-card-mobile .solution-image {
    height: 200px;
    position: relative;
  }
  
  .solution-card-mobile .solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .solution-card-mobile .solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  }
  
  .solution-card-mobile .solution-content-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .solution-icon-mobile {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
  }
  
  .solution-card-mobile .solution-content-mobile h3 {
    font-size: 1rem;
    color: white;
    margin: 0;
    font-weight: 600;
  }
  
  .solution-body-mobile {
    padding: 1.25rem;
    background: white;
  }
  
  .solution-body-mobile p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .solution-features-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .solution-features-mobile span {
    padding: 0.25rem 0.75rem;
    background: rgba(34, 139, 34, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--forest);
  }
}

/* ===== TECHNOLOGIES SECTION ===== */
.technologies {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0.3), white);
  overflow: hidden;
}

#techCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.tech-card {
  position: relative;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.5s ease;
}

.tech-card:hover {
  box-shadow: var(--shadow-lg);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(to bottom left, rgba(135, 206, 235, 0.1), transparent);
  border-bottom-left-radius: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-icon {
  width: 56px;
  height: 56px;
  background: rgba(135, 206, 235, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  margin-bottom: 1rem;
  transition: all 0.5s ease;
}

.tech-card:hover .tech-icon {
  background: var(--sky);
  color: white;
  transform: scale(1.1);
}

.tech-card h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.tech-card:hover h3 {
  color: var(--sky);
}

.tech-card p {
  font-size: 0.8125rem;
  color: var(--gray);
}

.tech-cta {
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.tech-cta p {
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.tech-cta a {
  color: var(--forest);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-cta a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: var(--dark);
  color: white;
  padding-top: 6rem;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: 64px;
  fill: white;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.footer-contact div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== PROJECTS PAGE ===== */
.projects-page {
  padding-top: 120px;
  padding-bottom: 60px;
  background: white;
  min-height: 100vh;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--forest-dark);
}

.projects-timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-line-container {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  display: none;
}

.timeline-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.timeline-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: var(--forest);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow);
  z-index: 10;
  display: none;
}

.project-item {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
}

.project-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-image:hover img {
  transform: scale(1.05);
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span {
  padding: 0.25rem 0.75rem;
  background: rgba(34, 139, 34, 0.1);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.project-content h3 {
  font-size: 1.25rem;
  color: var(--dark);
}

.project-content p {
  color: var(--gray);
  line-height: 1.7;
}

.project-content a {
  color: var(--forest);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.project-content a:hover {
  text-decoration: underline;
}

.cta-section {
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.05), rgba(135, 206, 235, 0.05));
  padding: 4rem 0;
  margin-top: 4rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .timeline-line-container,
  .timeline-dot {
    display: block;
  }
  
  .project-item {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
  
  .project-item.right .project-image {
    order: 2;
  }
  
  .project-item.right .project-content {
    order: 1;
    text-align: right;
  }
  
  .project-item.right .project-tags {
    justify-content: flex-end;
  }
  
  .project-item.right .project-content a {
    justify-content: flex-end;
  }
  
  .project-image img {
    height: 300px;
  }
  
  .project-content h3 {
    font-size: 1.5rem;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

@keyframes drawLine {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-links,
  .nav-right {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.125rem;
  }
  
  .about-content h2 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
  
  .domains-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .solutions-accordion {
    display: flex;
  }
  
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--forest);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--forest-dark);
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(34, 139, 34, 0.2);
}
