:root {
  /* Tetrad color scheme */
  --primary-color: #3498db; /* Blue */
  --secondary-color: #e74c3c; /* Red */
  --tertiary-color: #2ecc71; /* Green */
  --quaternary-color: #f39c12; /* Orange */
  
  /* Darker variants for hover effects */
  --primary-dark: #2980b9;
  --secondary-dark: #c0392b;
  --tertiary-dark: #27ae60;
  --quaternary-dark: #d35400;
  
  /* Light variants for backgrounds */
  --primary-light: #ebf5fb;
  --secondary-light: #fadbd8;
  --tertiary-light: #e8f8f5;
  --quaternary-light: #fef5e7;
  
  /* Neutral colors */
  --neutral-dark: #333333;
  --neutral-medium: #777777;
  --neutral-light: #f5f5f5;
  --white: #ffffff;
  --black: #222222;
  
  /* Shadows for neuromorphism */
  --shadow-light: rgba(255, 255, 255, 0.8);
  --shadow-dark: rgba(0, 0, 0, 0.1);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--neutral-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--neutral-dark);
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-sm);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  color: var(--neutral-medium);
}

/* Neuromorphic Elements */
.neuromorphic {
  background: var(--neutral-light);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 16px var(--shadow-dark), 
             -8px -8px 16px var(--shadow-light);
  padding: var(--space-md);
  transition: all 0.3s ease;
}

.neuromorphic:hover {
  box-shadow: 12px 12px 20px var(--shadow-dark), 
             -12px -12px 20px var(--shadow-light);
}

.neuromorphic-inset {
  background: var(--neutral-light);
  border-radius: var(--radius-md);
  box-shadow: inset 6px 6px 12px var(--shadow-dark), 
              inset -6px -6px 12px var(--shadow-light);
  padding: var(--space-md);
}

/* Buttons */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 4px 4px 8px var(--shadow-dark), 
             -4px -4px 8px var(--shadow-light);
  background: var(--neutral-light);
  color: var(--neutral-dark);
  margin: var(--space-xs);
}

.btn:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 12px var(--shadow-dark), 
             -6px -6px 12px var(--shadow-light);
}

.btn:active, 
button:active, 
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), 
              inset -4px -4px 8px var(--shadow-light);
}

.btn.primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 4px 4px 8px rgba(52, 152, 219, 0.3), 
             -4px -4px 8px rgba(255, 255, 255, 0.5);
}

.btn.primary:hover {
  background: var(--primary-dark);
  box-shadow: 6px 6px 12px rgba(52, 152, 219, 0.4), 
             -6px -6px 12px rgba(255, 255, 255, 0.6);
}

.btn.secondary {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: 4px 4px 8px rgba(231, 76, 60, 0.3), 
             -4px -4px 8px rgba(255, 255, 255, 0.5);
}

.btn.secondary:hover {
  background: var(--secondary-dark);
  box-shadow: 6px 6px 12px rgba(231, 76, 60, 0.4), 
             -6px -6px 12px rgba(255, 255, 255, 0.6);
}

/* Form Elements */
input, 
textarea, 
select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: var(--space-md);
  border: none;
  border-radius: var(--radius-sm);
  background: var(--neutral-light);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), 
              inset -4px -4px 8px var(--shadow-light);
  font-family: 'Work Sans', sans-serif;
  transition: all 0.3s ease;
}

input:focus, 
textarea:focus, 
select:focus {
  outline: none;
  box-shadow: inset 6px 6px 10px var(--shadow-dark), 
              inset -6px -6px 10px var(--shadow-light);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--neutral-dark);
}

/* Card Styles */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-dark), 
             -8px -8px 16px var(--shadow-light);
  transition: all 0.3s ease;
  margin-bottom: var(--space-md);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 24px var(--shadow-dark), 
             -12px -12px 24px var(--shadow-light);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

.card-content {
  padding: var(--space-md);
  width: 100%;
  text-align: center;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: var(--space-sm) 0;
  transition: all 0.3s ease;
}

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

.logo h1 {
  margin: 0;
  font-size: 1.8rem;
}

.logo a {
  color: var(--primary-color);
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: var(--space-md);
}

.main-nav ul li a {
  color: var(--neutral-dark);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

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

.main-nav ul li a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  background-color: var(--neutral-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Features Section */
.features {
  padding: var(--space-xl) 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--neutral-light);
  box-shadow: 8px 8px 16px var(--shadow-dark), 
             -8px -8px 16px var(--shadow-light);
  transition: all 0.3s ease;
}

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

.feature-icon {
  margin: 0 auto var(--space-md);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

/* Process Section */
.process {
  padding: var(--space-xl) 0;
  background: linear-gradient(to right, var(--primary-light), var(--tertiary-light));
  position: relative;
}

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  border-radius: var(--radius-sm);
}

.process-step {
  position: relative;
  display: flex;
  margin-bottom: var(--space-xl);
}

.process-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 0 0 8px var(--neutral-light);
}

.step-content {
  width: 45%;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 16px var(--shadow-dark), 
             -8px -8px 16px var(--shadow-light);
}

/* Projects Section */
.projects {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.project-card {
  height: 100%;
}

.project-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.project-card h3 {
  color: var(--secondary-color);
  margin-bottom: var(--space-sm);
}

.project-card .btn {
  margin-top: var(--space-md);
  align-self: center;
}

/* Clientele Section */
.clientele {
  padding: var(--space-xl) 0;
  background: linear-gradient(to right, var(--quaternary-light), var(--secondary-light));
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  box-shadow: 4px 4px 10px var(--shadow-dark);
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: 6px 6px 15px var(--shadow-dark);
}

.clientele-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

/* Resources Section */
.resources {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.resource-card {
  height: 100%;
}

.resource-card .card-content {
  text-align: center;
}

.read-more {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

/* Sustainability Section */
.sustainability {
  padding: var(--space-xl) 0;
  background: linear-gradient(to right, var(--tertiary-light), var(--primary-light));
}

.sustainability-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.sustainability-text {
  flex: 1;
  min-width: 300px;
}

.sustainability-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 12px 12px 24px var(--shadow-dark), 
             -12px -12px 24px var(--shadow-light);
}

.sustainability-actions {
  margin-top: var(--space-lg);
}

.action-item {
  margin-bottom: var(--space-md);
}

.action-item h3 {
  color: var(--tertiary-color);
  margin-bottom: var(--space-xs);
}

/* Insights Section */
.insights {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.insight-card {
  height: 100%;
}

.insight-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.insight-card h3 {
  color: var(--quaternary-color);
}

/* News Section */
.news {
  padding: var(--space-xl) 0;
  background: linear-gradient(to right, var(--secondary-light), var(--quaternary-light));
}

.news-slider {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.news-item {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 8px 8px 16px var(--shadow-dark), 
             -8px -8px 16px var(--shadow-light);
}

.news-date {
  font-size: 0.9rem;
  color: var(--neutral-medium);
  margin-bottom: var(--space-xs);
}

.news-item h3 {
  color: var(--secondary-color);
  margin-bottom: var(--space-sm);
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.testimonial-item {
  flex: 1;
  min-width: 300px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 8px 8px 16px var(--shadow-dark), 
             -8px -8px 16px var(--shadow-light);
}

.testimonial-content {
  position: relative;
  padding: var(--space-md);
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: -10px;
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: 'Georgia', serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: var(--space-md);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin-right: var(--space-sm);
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  margin: 0;
  color: var(--primary-color);
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--neutral-medium);
}

/* Contact Section */
.contact {
  padding: var(--space-xl) 0;
  background: linear-gradient(to right, var(--neutral-light), var(--primary-light));
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.contact-info, 
.contact-form {
  flex: 1;
  min-width: 300px;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 16px var(--shadow-dark), 
             -8px -8px 16px var(--shadow-light);
}

.info-item {
  margin-bottom: var(--space-md);
}

.info-item h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.form-group {
  margin-bottom: var(--space-md);
}

/* Footer */
.footer {
  padding: var(--space-xl) 0 var(--space-md);
  background: var(--neutral-dark);
  color: var(--white);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-column {
  flex: 1;
  min-width: 150px;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--space-xs);
}

.footer-column ul li a {
  color: var(--neutral-light);
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(to right, var(--primary-light), var(--tertiary-light));
}

.success-container {
  max-width: 600px;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 12px 12px 24px var(--shadow-dark), 
             -12px -12px 24px var(--shadow-light);
}

.success-icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: var(--space-md);
}

.success-container h1 {
  color: var(--tertiary-color);
  margin-bottom: var(--space-md);
}

/* Privacy & Terms Pages */
.page-content {
  padding: 100px var(--space-md) var(--space-xl);
}

.page-content .container {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 8px 8px 16px var(--shadow-dark), 
             -8px -8px 16px var(--shadow-light);
}

.page-content h1 {
  margin-bottom: var(--space-lg);
  color: var(--primary-color);
}

.page-content h2 {
  color: var(--secondary-color);
  margin: var(--space-lg) 0 var(--space-md);
}

/* Animation Particles */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .process-timeline::before {
    left: 30px;
  }
  
  .process-step {
    flex-direction: row !important;
  }
  
  .step-number {
    left: 30px;
  }
  
  .step-content {
    width: calc(100% - 80px);
    margin-left: 80px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: var(--space-md) 0;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  .main-nav ul li {
    margin: var(--space-xs) 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .stat-item {
    width: 50%;
  }
  
  .sustainability-content {
    flex-direction: column-reverse;
  }
  
  .sustainability-image {
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn, button, input[type="submit"] {
    padding: 10px 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin: var(--space-xs) 0;
  }
  
  .stat-item {
    width: 100%;
  }
}