:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #e67e22;
  --text-color: #333;
  --light-bg: #f5f6fa;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

/* Header & Navigation */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('https://images.unsplash.com/photo-1522771739844-6a9f6d5f14af?w=1200&auto=format&fit=crop&q=80')
              center/cover no-repeat;
  height: 100vh;
  color: var(--white);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.hero-content {
  text-align: center;
  padding-top: 10vh;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* Products Section */
.products {
  padding: 5rem 5%;
  background-color: var(--light-bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card h3, .product-card p, .product-card .price {
  padding: 0.5rem 1rem;
}

.price {
  color: var(--accent-color);
  font-size: 1.25rem;
  font-weight: bold;
}

/* Features Section */
.features {
  padding: 5rem 5%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
          margin: 0;
        padding: 0;
        box-sizing: border-box;
  
  
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 8px;
  
          margin: 0;
        padding: 0;
        box-sizing: border-box;
}

/* Contact Section */
.contact {
  padding: 5rem 5%;
  background-color: var(--light-bg);
}

.contact-form {
  max-width: 800px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1rem;
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 0.5rem;
}

textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 5% 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.social-links a {
  color: var(--white);
  text-decoration: none;
  margin-right: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Common Styles */
h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  margin-top: 3rem;
  color: var(--primary-color);
}

.btn {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  width: max-content;
  margin: 1rem;
  text-decoration: none;
}

.btn:hover {
  background-color: #d35400;
}

.video-container {
        max-width: 100%;
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
    }

    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover; /* Adjusts video fit */
    }

    /* Ensure video does not exceed viewport width on mobile */
    video {
        display: block;
        max-width: 100%;
    }


/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  nav {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    margin-top: 1rem;
  }
  
  .nav-links a {
    margin: 0 1rem;
  }
}