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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

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

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a365d;
}

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

nav a {
  text-decoration: none;
  color: #1a365d;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #2b4f8f;
}

nav a.active {
  color: #2b4f8f;
  border-bottom: 2px solid #2b4f8f;
}

section {
  padding: 5rem 10%;
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  opacity: 0.9;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  transform: translateY(-50%);
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: white;
  transform: scale(1.2);
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1a365d;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  padding: 2rem;
  background: #f8fafc;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card h3 {
  color: #1a365d;
  margin-bottom: 1rem;
}

.about {
  background-color: #f8fafc;
}

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

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature h3 {
  color: #1a365d;
  margin-bottom: 0.5rem;
}

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

.contact-info {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 8px;
}

.contact-info h3 {
  color: #1a365d;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  padding: 2rem;
  background: #1a365d;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Products Page Specific Styles */
.products-page {
  padding-top: 120px;
}

.products-page h1 {
  text-align: center;
  color: #1a365d;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.product-category {
  margin-bottom: 4rem;
}

.product-category h2 {
  color: #2b4f8f;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-detail {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-detail h3 {
  color: #1a365d;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.product-detail ul {
  list-style: none;
}

.product-detail ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.product-detail ul li::before {
  content: "•";
  color: #2b4f8f;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links {
    margin-top: 1rem;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 0.8rem 1rem;
  }

  .carousel-nav {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 5%;
  }

  .products-page {
    padding-top: 140px;
  }

  .product-list {
    grid-template-columns: 1fr;
  }
}