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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #2E2E2E; /* Anthracite background */
  color: #FFFFFF; /* White text */
  line-height: 1.6;
  scroll-behavior: smooth; /* Enables smooth scrolling in supported browsers */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
header {
  background-color: #1C1C1C;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

header h1 {
  font-size: 28px;
  font-weight: 700;
}

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

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #FFFFFF;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

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

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #FFFFFF;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
}

.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 800px;
}

.hero-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-content h2 {
    font-size: 56px;
  }
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 15px 30px;
  color: #FFFFFF;
  background-color: transparent;
  border: 2px solid #FFFFFF;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.btn::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  z-index: -1;
  transition: left 0.4s ease;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: #2E2E2E;
}

.btn i {
  margin-left: 10px;
  transition: margin-left 0.4s ease;
}

.btn:hover i {
  margin-left: 15px;
}

/* Secondary Button */
.btn-secondary {
  border-color: #FFFFFF;
  color: #FFFFFF;
  margin-top: 15px;
}

.btn-secondary:hover {
  background-color: #FFFFFF;
  color: #2E2E2E;
}

/* Services Section */
.services-section {
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.service-item {
  background-color: #1C1C1C;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-item i {
  font-size: 40px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.service-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.service-item p {
  font-size: 16px;
  color: #CCCCCC;
}

/* About Us Section */
.about-section {
  padding: 60px 0;
  text-align: center;
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
}

form {
  max-width: 600px;
  margin: 40px auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background-color: #1C1C1C;
  border: none;
  border-bottom: 2px solid #444444;
  color: #FFFFFF;
  font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #777777;
}

.form-group textarea {
  resize: none;
  height: 150px;
}

form .btn {
  width: 100%;
  text-align: center;
}

/* Footer Styles */
footer {
  background-color: #1C1C1C;
  text-align: center;
  padding: 20px 0;
}

footer p {
  color: #777777;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .burger {
    display: block;
  }
}

/* Active Navigation */
.nav-active {
  display: flex !important;
}

/* Link Fade Animation */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Burger Toggle Animation */
.burger.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
  opacity: 0;
}

.burger.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
