/* Base Variables and Reset */
:root {
  /* Primary Colors */
  --primary-color: #2c6ecb;
  --primary-dark: #1a4d99;
  --primary-light: #5498ff;
  
  /* Split-Complementary Colors */
  --accent-1: #e64a19;
  --accent-1-dark: #bf360c;
  --accent-1-light: #ff7043;
  
  --accent-2: #00796b;
  --accent-2-dark: #004d40;
  --accent-2-light: #26a69a;
  
  /* Neutral Colors */
  --dark: #1a1a2e;
  --gray-dark: #333545;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --light: #f8fafc;
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-sm);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
}

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

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

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

ul {
  list-style-type: none;
}

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

/* Section Styles */
.section {
  padding: var(--space-lg) 0;
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: var(--radius-sm);
}

.section-header p {
  color: var(--gray);
  font-size: 1.125rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: none;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(1px);
}

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

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

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

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

button, input[type='submit'] {
  font-family: var(--font-body);
  cursor: pointer;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  padding: 1rem 0;
  backdrop-filter: blur(10px);
}

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

.logo a {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
}

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

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

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

.nav-list a:hover::after {
  width: 100%;
}

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

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 180px 0 100px;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

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

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

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: var(--space-md);
  color: white;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-slow), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.card-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

/* Statistics Section */
.statistics {
  background-color: var(--primary-color);
  color: white;
  padding: var(--space-lg) 0;
}

.statistics .section-header h2,
.statistics .section-header p {
  color: white;
}

.statistics .section-header h2::after {
  background-color: white;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: var(--space-md);
  text-align: center;
}

.stat-item {
  flex: 1;
  min-width: 200px;
  padding: var(--space-md);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
  line-height: 1;
}

.stat-item p {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.team-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-slow), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.team-card .card-image {
  height: 320px;
}

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

.position {
  color: var(--accent-1);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

/* Projects Section */
.projects-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

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

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
}

.timeline-marker {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(44, 110, 203, 0.3);
}

.timeline-content {
  width: 45%;
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-date {
  color: var(--accent-1);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* Sustainability Section */
.sustainability-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.sustainability-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.sustainability-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.sustainability-text ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.sustainability-text li {
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: var(--space-sm);
}

.sustainability-text li::before {
  content: '•';
  color: var(--accent-2);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* External Resources Section */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.resource-card {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.resource-card h3 {
  color: var(--accent-2-dark);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.resource-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  margin-top: var(--space-sm);
  position: relative;
  padding-right: 20px;
}

.resource-link::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-normal);
}

.resource-link:hover::after {
  transform: translateY(-50%) translateX(5px);
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
}

.news-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.news-card .card-image {
  position: relative;
  width: 100%;
  height: 200px;
}

.news-date {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-top-right-radius: var(--radius-sm);
}

.news-card .card-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card h3 {
  color: var(--dark);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-normal);
}

.news-card:hover h3 {
  color: var(--primary-color);
}

.news-link {
  margin-top: auto;
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  position: relative;
  padding-right: 20px;
  align-self: flex-start;
}

.news-link::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-normal);
}

.news-link:hover::after {
  transform: translateY(-50%) translateX(5px);
}

/* Press Section */
.press-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.press-item {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 350px;
  transition: transform var(--transition-normal);
}

.press-item:hover {
  transform: translateY(-5px);
}

.press-logo {
  margin-bottom: var(--space-sm);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.press-quote {
  font-style: italic;
  color: var(--gray);
}

/* Contact Section */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

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

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

.contact-form-container {
  flex: 2;
  min-width: 400px;
}

.contact-form {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

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

input, textarea, select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-normal);
}

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

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

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

.footer-info {
  flex: 2;
  min-width: 300px;
}

.footer-logo {
  margin-bottom: var(--space-sm);
}

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

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

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

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

.footer-links-column a {
  color: var(--gray-light);
  transition: color var(--transition-normal);
}

.footer-links-column a:hover {
  color: white;
}

.footer-social {
  flex: 1;
  min-width: 200px;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.social-links a {
  color: var(--gray-light);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  background-color: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  color: white;
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

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

/* Success Page */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--space-md);
}

.success-content {
  max-width: 600px;
}

.success-icon {
  font-size: 4rem;
  color: var(--accent-2);
  margin-bottom: var(--space-md);
}

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
}

.terms-content, .privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Animation Classes for AOS */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
  .timeline-content {
    width: 80%;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 auto;
  }
  
  .projects-timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .sustainability-content {
    flex-direction: column;
  }
  
  .sustainability-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .contact-form-container {
    min-width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .footer-links {
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-md) 0;
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .press-item {
    max-width: 100%;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

.py-1 { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.py-2 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-3 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-4 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }

.px-1 { padding-left: var(--space-xs); padding-right: var(--space-xs); }
.px-2 { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-3 { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-4 { padding-left: var(--space-lg); padding-right: var(--space-lg); }

.modal-container{
  display: none !important;
}
.mobile-menu-toggle{
  display: none !important;
}