/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #f8f8f8;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: normal;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles - Matching Completed project page */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background-color 0.5s ease;
}

.logo img {
  height: 70px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation Links - Matching Completed project page */
nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}

.nav-links li {
  position: relative;
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 10px 5px;
  position: relative;
  transition: color 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links li.active a::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  min-width: 200px;
  z-index: 100;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-menu li {
  margin: 0;
  width: 100%;
}

.dropdown-menu a {
  padding: 10px 20px;
  display: block;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu a::after {
  display: none;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.4s;
  border-radius: 3px;
}

/* Hamburger animation */
.bar.active:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.bar.active:nth-child(2) {
  opacity: 0;
}

.bar.active:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Simplified Full-Screen Image Slider - Fixed blinking issue */
.slider-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
  visibility: hidden;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Welcome Section */
.welcome-section {
  padding: 80px 0;
  text-align: center;
  background-color: #fff;
}

.welcome-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.welcome-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #333;
}

.welcome-section p {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
  font-size: 1.1rem;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #4CAF50;
}

.footer-column p, .footer-column li {
  color: #aaa;
  margin-bottom: 10px;
}

.footer-column a {
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #fff;
}

.social-media {
  display: flex;
  gap: 15px;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background-color: #4CAF50;
  transform: translateY(-5px);
}

.social-media i {
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #333;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 20px 0;
}

.footer-bottom p {
  color: #aaa;
  margin-bottom: 10px;
}

.footer-bottom i {
  color: #e74c3c;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .welcome-section h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    gap: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    display: none;
  }
  
  .nav-links.active {
    display: flex;
    height: calc(100vh - 80px);
    overflow-y: auto;
  }
  
  .nav-links li {
    width: 100%;
    margin: 0;
  }
  
  .nav-links a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .hamburger {
    display: flex;
  }
  
  .welcome-section {
    padding: 60px 0;
  }
  
  .welcome-section h2 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stats-container {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .welcome-section h2 {
    font-size: 1.8rem;
  }
  
  .welcome-section p {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .stats-container {
    gap: 30px;
  }
}