/* Global Reset and Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.5;
}

/* NAVIGATION */
nav {
  background-color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

nav h1 {
  font-size: 28px;
  color: #fff;
}

nav h1 span {
  color: #2ed8e0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #fdd835;
}

.btn-nav {
  background-color: #fdd835;
  color: #000;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
}
.hero-background {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('/images/background.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* TEXT OVERLAY */
.overlay {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px 30px;
  border-radius: 10px;
  max-width: 90%;
}

.overlay h2 {
  font-size: 38px;
  margin-bottom: 15px;
  color: #fff;
}

.overlay p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #ccc;
}

.btn-main {
  background-color: #fdd835;
  color: #000;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-main:hover {
  background-color: #ffeb3b;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .overlay h2 {
    font-size: 28px;
  }

  .overlay p {
    font-size: 16px;
  }

  .btn-main {
    padding: 10px 20px;
  }
}

.form-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px;
  background-color: #000;
  min-height: 100vh;
}

.form-container {
  background-color: #111;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  max-width: 600px;
  width: 100%;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #fdd835;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ccc;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: none;
  border-radius: 6px;
  background-color: #222;
  color: #fff;
  font-size: 16px;
}

form textarea {
  resize: vertical;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: 2px solid #fdd835;
}

form button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  background-color: #fdd835;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #ffe600;
}
.machine-types {
  background-color: #111;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.machine-types h2 {
  font-size: 32px;
  color: #fdd835;
  margin-bottom: 40px;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* was 220px */
  gap: 24px; /* optional: increase spacing */
  max-width: 1200px; /* optional: allow wider grid */
  margin: 0 auto;
}

.machine-card {
  background-color: #1a1a1a;
  padding: 40px; /* increased padding */
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2a2a2a;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

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

.machine-card img {
  width: 100%;
  height: 260px; /* ⬆️ Increased from 180px */
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
  background-color: #111;
}


.machine-card h3 {
  color: #fdd835;
  font-size: 22px; /* was 20px */
  margin-bottom: 12px;
}

.machine-card p {
  color: #ccc;
  font-size: 16px; /* was 15px */
  line-height: 1.6;
}

.small-hero {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}

.contact-container {
  text-align: center;
}

.contact-details p {
  margin: 8px 0;
  font-size: 1.2rem;
}
.contact-details a {
  color: #ff4d4d;
  text-decoration: none;
}
.contact-details a:hover {
  text-decoration: underline;
}


