/* Global Styles */
:root {
  --primary-color: #44496a;
  --secondary-color: #313656;
  --accent-color: #f7b731;
  --text-color: #333;
  --light-text: #f8f9fa;
  --bg-color: #fff;
  --light-bg: #f8f9fa;
  --dark-bg: #333;
  --border-color: #e9e9e9;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'sans-serif', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
}

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

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section and Slider */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.slider-container {
  height: 100%;
  position: relative;
}

.slider {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--light-text);
  border-radius: 10px;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 8px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--accent-color);
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-card .icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.service-card p {
  margin-bottom: 20px;
}

.service-card ul li {
  padding: 5px 0;
  position: relative;
  padding-left: 25px;
}

.service-card ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

/* Projects Section */
.projects {
  padding: 100px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.project-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

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

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 139, 70, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .overlay {
  opacity: 1;
}

.project-link {
  background-color: white;
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-link:hover {
  background-color: var(--accent-color);
  color: white;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.project-content p {
  margin-bottom: 20px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #777;
}

.project-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  text-align: center;
}

.stat {
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-text {
  font-size: 1rem;
  color: #777;
}

.about-values h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.values-list li {
  display: flex;
  margin-bottom: 25px;
}

.values-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 20px;
}

.values-list h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--secondary-color);
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-details li {
  display: flex;
  margin-bottom: 25px;
}

.contact-details i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 20px;
}

.contact-details h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.social-links {
  margin-top: 40px;
  display: flex;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-right: 15px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
}

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

.btn-submit {
  width: 100%;
}

/* Footer Section */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 15px;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-services ul li a {
  color: #ddd;
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-form .btn {
  border-radius: 0 5px 5px 0;
  padding: 0 15px;
}

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

/* Media Queries */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .slide-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .about-stats {
    flex-direction: column;
  }

  .stat {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .slide-content h2 {
    font-size: 1.8rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}