/* Base Styles */
:root {
  /* Light Mode Colors */
  --primary-color-light: #f59e0b;
  --primary-light-light: #fbbf24;
  --primary-dark-light: #d97706;
  --secondary-color-light: #1e293b;
  --dark-color-light: #0f172a;
  --light-color-light: #f8fafc;
  --gray-color-light: #64748b;
  --gray-dark-light: #334155;
  --gray-light-light: #cbd5e1;
  --bg-color-light: #f4f6fa;
  --text-color-light: #1e293b;
  --card-bg-light: #ffffff;
  --card-border-light: #e2e8f0;

  /* Dark Mode Colors */
  --primary-color-dark: #fbbf24;
  --primary-light-dark: #facc15;
  --primary-dark-dark: #eab308;
  --secondary-color-dark: #1e293b;
  --dark-color-dark: #0f172a;
  --light-color-dark: #f8fafc;
  --gray-color-dark: #94a3b8;
  --gray-dark-dark: #64748b;
  --gray-light-dark: #475569;
  --bg-color-dark: #0f172a;
  --text-color-dark: #f8fafc;
  --card-bg-dark: #1e293b;
  --card-border-dark: #334155;

  /* Default to Light Mode */
  --primary-color: var(--primary-color-light);
  --primary-light: var(--primary-light-light);
  --primary-dark: var(--primary-dark-light);
  --secondary-color: var(--secondary-color-light);
  --dark-color: var(--dark-color-light);
  --light-color: var(--light-color-light);
  --gray-color: var(--gray-color-light);
  --gray-dark: var(--gray-dark-light);
  --gray-light: var(--gray-light-light);
  --bg-color: var(--bg-color-light);
  --text-color: var(--text-color-light);
  --card-bg: var(--card-bg-light);
  --card-border: var(--card-border-light);

  --gradient-gold: linear-gradient(
    to right,
    var(--primary-light),
    var(--primary-color)
  );
  --gradient-dark: linear-gradient(
    to right,
    var(--dark-color),
    var(--secondary-color)
  );
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
  --primary-color: var(--primary-color-dark);
  --primary-light: var(--primary-light-dark);
  --primary-dark: var(--primary-dark-dark);
  --secondary-color: var(--secondary-color-dark);
  --dark-color: var(--dark-color-dark);
  --light-color: var(--light-color-dark);
  --gray-color: var(--gray-color-dark);
  --gray-dark: var(--gray-dark-dark);
  --gray-light: var(--gray-light-dark);
  --bg-color: var(--bg-color-dark);
  --text-color: var(--text-color-dark);
  --card-bg: var(--card-bg-dark);
  --card-border: var(--card-border-dark);
}

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

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  display: inline-block;
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.025em;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.text-center {
  text-align: center;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
  padding: 0;
  position: relative;
}

.theme-toggle-track {
  width: 3rem;
  height: 1.5rem;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
  transition: var(--transition);
}

.theme-toggle-thumb {
  position: absolute;
  left: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: 1;
}

.dark-mode .theme-toggle-thumb {
  transform: translateX(1.5rem);
}

.theme-toggle i {
  font-size: 0.75rem;
  color: var(--text-color);
  z-index: 0;
}

.dark-mode .theme-toggle i.fa-moon {
  color: var(--primary-color);
}

.light-mode .theme-toggle i.fa-sun {
  color: var(--primary-color);
}

.header-buttons {
  display: flex;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  letter-spacing: 0.025em;
}

.btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--dark-color);
  box-shadow: var(--shadow);
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--light-color);
  border: 1px solid var(--light-color);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

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

.btn-light:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background-color: #fff;
  box-shadow: none;
}

.dark-mode #header {
  background-color: transparent;
  backdrop-filter: none;
}

#header.scrolled {
  background-color: #fff;
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
}

.dark-mode #header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
}

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

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

.logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
}

.logo span {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 2rem;
}

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

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.quote-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--gradient-gold);
  color: var(--dark-color);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

.quote-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

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

.quote-btn:hover i {
  transform: translateX(4px);
}

.quote-btn:active {
  transform: translateY(0);
}

.desktop-btn {
  display: none;
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1.25rem;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 1001;
  transition: right 0.3s ease-in-out;
  box-shadow: var(--shadow-lg);
}

.dark-mode .mobile-nav {
  background-color: var(--dark-color);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-container {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-nav-close {
  align-self: flex-end;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-color);
}

.mobile-nav a:hover {
  color: var(--primary-light);
}

.mobile-nav-buttons {
  display: flex;
  margin-top: 2rem;
  gap: 1rem;
  align-items: center;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/constructure.png");
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
}

.hero p {
  font-size: 1.125rem;
  color: var(--gray-light-light);
  margin-bottom: 2rem;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gray-light-light);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.wheel {
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

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

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--bg-color);
}

.dark-mode .about {
  background: linear-gradient(to bottom, var(--bg-color), var(--card-bg));
}

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

.about-image {
  position: relative;
  flex: 1;
}

.image-decoration {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: rgba(245, 158, 11, 0.15);
  border-radius: var(--border-radius);
  z-index: -1;
}

.top-left {
  top: -1.5rem;
  left: -1.5rem;
}

.bottom-right {
  bottom: -1.5rem;
  right: -1.5rem;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.feature-list {
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.icon-circle i {
  font-size: 0.75rem;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: var(--bg-color);
}

.dark-mode .services {
  background: linear-gradient(to bottom, var(--card-bg), var(--bg-color));
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(245, 158, 11, 0.15);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  color: var(--primary-color);
  font-size: 1.5rem;
}

.service-card:hover .service-icon {
  background-color: rgba(245, 158, 11, 0.25);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

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

.service-card p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.service-features span {
  font-size: 0.875rem;
  color: var(--gray-color);
}

/* Projects Section */
.projects {
  padding: 6rem 0;
  background: var(--bg-color);
}

.dark-mode .projects {
  background: linear-gradient(to bottom, var(--bg-color), var(--card-bg));
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
  background-color: var(--card-bg);
}

.project-image {
  height: 60%;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.5),
    transparent
  );
  padding: 1.5rem;
  color: white;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-category {
  font-size: 0.875rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.project-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--light-color);
}

.project-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.project-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-specs span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.project-specs i {
  color: var(--primary-color);
}

/* Stats Section */
.stats {
  padding: 6rem 0;
  background: var(--card-bg);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/placeholder.svg?height=1080&width=1920") center/cover
    no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-color);
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: linear-gradient(
    to right,
    var(--primary-dark),
    var(--primary-color)
  );
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/placeholder.svg?height=1080&width=1920") center/cover
    no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--light-color);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(245, 158, 11, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background-color: rgba(245, 158, 11, 0.25);
  transform: scale(1.1);
}

.contact-text h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--gray-color);
  margin-bottom: 0;
}

.social-links h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--card-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-color);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: rgba(245, 158, 11, 0.25);
  color: var(--primary-color);
  transform: translateY(-5px);
}

.contact-form {
  flex: 1;
}

.contact-form form {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-color);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  color: var(--text-color);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

/* Footer */
.footer {
  background-color: var(--card-bg);
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-services a {
  color: var(--gray-color);
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--gray-color);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  color: var(--gray-color);
  font-size: 0.875rem;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow-md);
  z-index: 99;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-item.active {
  opacity: 1;
  transform: translateX(0);
}

/* Media Queries */
@media (min-width: 576px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }

  .desktop-btn {
    display: inline-flex;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .about-content {
    flex-direction: row;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-content {
    flex-direction: row;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .scroll-top,
  .mobile-nav,
  .hero-buttons {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #000;
    page-break-after: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  img {
    max-width: 100% !important;
  }
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--light-color);
  padding: 8px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}
