/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Light Theme Colors */
  --primary-brown: #8B4513;
  --warm-brown: #A0522D;
  --light-brown: #D2B48C;
  --cream: #F5F5DC;
  --steel-grey: #708090;
  --dark-steel: #2F4F4F;
  --light-steel: #B0C4DE;
  --infrastructure-blue: #4682B4;
  --sustainability-green: #228B22;
  --forest-green: #2E8B57;
  --sage-green: #9CAF88;
  --earth-orange: #CD853F;
  --terracotta: #E2725B;
  --charcoal: #36454F;
  --warm-white: #FEFEFE;
  --soft-grey: #F8F8F8;
  
  /* Theme Variables */
  --bg-primary: var(--warm-white);
  --bg-secondary: var(--soft-grey);
  --bg-tertiary: var(--cream);
  --text-primary: var(--charcoal);
  --text-secondary: var(--steel-grey);
  --border-color: var(--light-steel);
  --card-bg: white;
  --nav-bg: var(--warm-white);
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
}

[data-theme="dark"] {
  /* Dark Theme Colors */
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #262626;
  --text-primary: #f5f5f5;
  --text-secondary: #b3b3b3;
  --border-color: #404040;
  --card-bg: #1f1f1f;
  --nav-bg: rgba(15, 15, 15, 0.95);
  --charcoal: #f5f5f5;
  --steel-grey: #b3b3b3;
  --primary-brown: #D2B48C;
  --warm-white: #0f0f0f;
  --soft-grey: #1a1a1a;
  --cream: #262626;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Navigation */
.navbar {
  background: var(--nav-bg);
  box-shadow: 0 2px 20px rgba(54, 69, 79, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--border-color);
}

[data-theme="dark"] .navbar {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--primary-brown);
}

.nav-logo {
          width: 140px;
          height: 80px;
          object-fit: contain;
      }

.nav-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-brown);
  letter-spacing: -0.5px;
  display: none;
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(135deg, var(--infrastructure-blue), var(--sustainability-green));
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(70, 130, 180, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.theme-toggle {
  background: none;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--infrastructure-blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 8px;
  min-width: 40px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-secondary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-steel) 0%, var(--steel-grey) 50%, var(--infrastructure-blue) 100%);
  background-image: url('./resources/bg-image.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: var(--space-xl) var(--space-sm);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(47, 79, 79, 0.1);
}

[data-theme="dark"] .hero-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.1;
  letter-spacing: -1px;
}

.mobile-break {
  display: none;
}

.hero-highlight {
  color: var(--earth-orange);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: var(--space-xl);
  color: var(--light-steel);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  justify-content: center;
  min-height: 48px;
  white-space: nowrap;
}

.btn-icon {
  font-size: 1em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--earth-orange), var(--terracotta));
  color: white;
  box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--terracotta), var(--warm-brown));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(205, 133, 63, 0.5);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid var(--light-steel);
}

.btn-secondary:hover {
  background: var(--light-steel);
  color: var(--dark-steel);
  border-color: var(--light-steel);
}

.btn-success {
  background: linear-gradient(135deg, var(--sustainability-green), var(--forest-green));
  color: white;
  box-shadow: 0 4px 15px rgba(34, 139, 34, 0.4);
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--forest-green), var(--sustainability-green));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.5);
}

.form-submit {
  width: 100%;
}

/* Section Styles */
section {
  padding: clamp(60px, 10vw, 100px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: var(--space-md);
  color: var(--primary-brown);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Highlights Section */
.highlights {
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-radius: 15px;
  transition: all 0.4s ease;
  background: var(--card-bg);
  box-shadow: 0 5px 20px rgba(54, 69, 79, 0.1);
  border-top: 4px solid var(--infrastructure-blue);
}

[data-theme="dark"] .stat-card {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(54, 69, 79, 0.15);
}

[data-theme="dark"] .stat-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.stat-icon {
  width: clamp(70px, 15vw, 90px);
  height: clamp(70px, 15vw, 90px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: all 0.4s ease;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.stat-icon.award {
  background: linear-gradient(135deg, var(--earth-orange), var(--terracotta));
  color: white;
}

.stat-icon.building {
  background: linear-gradient(135deg, var(--sustainability-green), var(--forest-green));
  color: white;
}

.stat-icon.clock {
  background: linear-gradient(135deg, var(--infrastructure-blue), var(--steel-grey));
  color: white;
}

.stat-icon.users {
  background: linear-gradient(135deg, var(--primary-brown), var(--warm-brown));
  color: white;
}

.stat-icon.check {
  background: linear-gradient(135deg, var(--forest-green), var(--sage-green));
  color: white;
}

.stat-icon.star {
  background: linear-gradient(135deg, var(--earth-orange), var(--terracotta));
  color: white;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
}

.stat-card h3 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  color: var(--primary-brown);
}

.stat-card p {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* Company Introduction */
.company-intro {
  background: var(--bg-tertiary);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.intro-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: var(--space-lg);
  color: var(--primary-brown);
  font-weight: 700;
  line-height: 1.2;
}

.intro-content p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.company-motto {
  font-style: italic;
  color: var(--primary-brown) !important;
  margin-bottom: var(--space-xl) !important;
}

.intro-image {
  position: relative;
  order: -1;
}

.intro-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(54, 69, 79, 0.2);
  aspect-ratio: 16/10;
  object-fit: cover;
}

[data-theme="dark"] .intro-image img {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Projects Section */
.projects {
  background: var(--bg-primary);
}

.project-filters {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.filter-header h2 {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  color: var(--primary-brown);
  font-weight: 600;
}

.filter-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.filter-icon {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.filter-buttons-wrap {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  border: 2px solid transparent;
  font-size: 0.9rem;
  white-space: nowrap;
  min-height: 40px;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, var(--infrastructure-blue), var(--sustainability-green));
  color: white;
  border-color: var(--infrastructure-blue);
  transform: translateY(-1px);
}

.projects-grid {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.project-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(54, 69, 79, 0.1);
  transition: all 0.4s ease;
  border-top: 4px solid var(--infrastructure-blue);
}

[data-theme="dark"] .project-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(54, 69, 79, 0.2);
}

[data-theme="dark"] .project-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-card.hidden {
  display: none;
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-status {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.project-status.ongoing {
  background: linear-gradient(135deg, var(--earth-orange), var(--terracotta));
  color: white;
}

.project-status.completed {
  background: linear-gradient(135deg, var(--sustainability-green), var(--forest-green));
  color: white;
}

.project-content {
  padding: var(--space-lg);
}

.project-content h3 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: var(--space-sm);
  color: var(--primary-brown);
  font-weight: 600;
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
  font-size: 0.95rem;
}

.project-details {
  margin-bottom: var(--space-md);
}

.project-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.project-detail .icon {
  color: var(--infrastructure-blue);
  font-size: 1rem;
  min-width: 1rem;
}

.project-progress {
  margin-top: var(--space-md);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.progress-header span {
  font-size: 0.9rem;
  font-weight: 600;
}

.progress-header .progress-percent {
  color: var(--infrastructure-blue);
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--infrastructure-blue), var(--sustainability-green));
  border-radius: 5px;
  transition: width 0.6s ease;
}

/* statement Section */
.statement {
  background: var(--bg-primary);
}

.statement-grid {
  background: var(--bg-tertiary);
}

.statement-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--card-bg);
  padding: var(--space-xl);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(54, 69, 79, 0.1);
  position: relative;
  transition: all 0.4s ease;
  border-left: 5px solid var(--infrastructure-blue);
}

[data-theme="dark"] .testimonial-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(54, 69, 79, 0.2);
}

[data-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.testimonial-quote {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: 3.5rem;
  color: var(--infrastructure-blue);
  opacity: 0.2;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
  flex-shrink: 0;
}

.testimonial-info h3 {
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.testimonial-company {
  font-size: 0.9rem;
  color: var(--infrastructure-blue);
  font-weight: 600;
}

.testimonial-rating {
  display: flex;
  gap: 0.3rem;
  margin-bottom: var(--space-md);
}

.star {
  color: var(--earth-orange);
  font-size: 1.3rem;
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-project {
  border-top: 2px solid var(--bg-secondary);
  padding-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.testimonial-project span {
  font-weight: 600;
  color: var(--primary-brown);
}

/* Contact Section */
.contact {
  background: var(--bg-primary);
}

.contact-content {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

.contact-info h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: var(--space-xl);
  color: var(--primary-brown);
  font-weight: 700;
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  align-items: flex-start;
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.contact-item:nth-child(2) .contact-icon {
  background: linear-gradient(135deg, var(--infrastructure-blue), var(--steel-grey));
  color: white;
}

.contact-item:nth-child(3) .contact-icon {
  background: linear-gradient(135deg, var(--sustainability-green), var(--forest-green));
  color: white;
}

.contact-item:nth-child(4) .contact-icon {
  background: linear-gradient(135deg, var(--earth-orange), var(--terracotta));
  color: white;
}

.contact-item:nth-child(5) .contact-icon {
  background: linear-gradient(135deg, var(--primary-brown), var(--warm-brown));
  color: white;
}

.contact-details h3 {
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-details a {
  color: var(--infrastructure-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-brown);
}

.contact-form {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: 15px;
  border-top: 5px solid var(--infrastructure-blue);
}

.contact-form h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: var(--space-xl);
  color: var(--primary-brown);
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  background: var(--card-bg);
  color: var(--text-primary);
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--infrastructure-blue);
  box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg);
}

[data-theme="dark"] .footer {
  background: #000;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  color: white;
  font-weight: 600;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand .icon {
  color: var(--earth-orange);
  font-size: 2rem;
}

.footer-section p {
  color: var(--light-steel);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 450px;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--steel-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--earth-orange), var(--terracotta));
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(205, 133, 63, 0.4);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section ul li a {
  color: var(--light-steel);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--earth-orange);
}

.footer-bottom {
  border-top: 2px solid var(--steel-grey);
  padding-top: var(--space-xl);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  color: var(--light-steel);
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--light-steel);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--earth-orange);
}

/* Responsive Design */

/* Tablet and larger mobile */
@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-lg);
  }
  
  .nav-title {
    display: block;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .intro-image {
    order: 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom-content {
    text-align: left;
  }
  
  .footer-links {
    justify-content: flex-end;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background-color: var(--nav-bg);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(54, 69, 79, 0.1);
    padding: var(--space-lg) 0;
    border-top: 2px solid var(--border-color);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }

  [data-theme="dark"] .nav-menu {
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-link {
    display: block;
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-xs) 0;
    font-size: 1.1rem;
  }

  .mobile-break {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .filter-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .filter-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .filter-buttons-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .filter-btn {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    padding: var(--space-sm);
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .statement-container {
    grid-template-columns: 1fr;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .nav-container {
    padding: 0 var(--space-sm);
  }

  .hero {
    padding: var(--space-lg) var(--space-sm);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .stats-grid,
  .statement-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .stat-card,
  .testimonial-card,
  .contact-form {
    padding: var(--space-lg);
  }

  .project-content {
    padding: var(--space-md);
  }

  .testimonial-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .filter-buttons-wrap {
    flex-direction: column;
    width: 100%;
  }

  .filter-btn {
    width: 100%;
  }

  section {
    padding: var(--space-2xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--infrastructure-blue), var(--sustainability-green));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--sustainability-green), var(--infrastructure-blue));
}

/* Focus styles for accessibility */
.btn:focus,
.filter-btn:focus,
.theme-toggle:focus,
.nav-toggle:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--infrastructure-blue);
  outline-offset: 2px;
}

/* High contrast improvements */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000;
  }
  
  [data-theme="dark"] {
    --border-color: #fff;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* For Infra & OM html */
.page-header {
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: center;       
  text-align: center;
  height: 250px;             
  background-color: #161616; 
  margin-bottom: 2rem;       
}

.page-header h1 {
  font-size: 2rem;
  margin: 0.5rem 0;
  color: #cd853f; 
}

.page-header p {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
}
