/* ==========================
   Global Base Styles
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #0f172a;
  color: #fff;
  overflow-x: hidden; /* ✅ Prevents side scroll issue */
  line-height: 1.6;
}

a {
  color: #00bfa6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==========================
   Navigation Bar
========================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px); /* ✅ premium blur */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.brand-name {
  font-weight: bold;
  font-size: 1.3rem;
  color: #00bfa6;
}

.navbar nav a {
  color: #fff;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: #00bfa6;
}

/* ==========================
   Hero Section
========================== */
.hero {
  height: 75vh;
  background: url("images/hero-bg.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 5rem;
}

.hero .overlay {
  background-color: rgba(15, 23, 42, 0.65);
  padding: 2rem;
  border-radius: 12px;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: #e2e8f0;
}

.btn {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  margin-top: 1rem;
  display: inline-block;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #00bfa6;
}

/* ==========================
   Focus Section
========================== */
.focus {
  text-align: center;
  background: #111b2f;
  padding: 2rem 1rem;
}

.focus h2 {
  color: #00bfa6;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.focus p {
  font-size: 1.1rem;
  color: #cbd5e1;
}

/* ==========================
   Sections
========================== */
.section {
  padding: 4rem 1.5rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

/* Industries Section Fix */
ul {
  list-style: disc inside; /* ✅ restored bullets */
  padding-left: 0;
}

li {
  margin: 0.5rem 0;
}

/* ==========================
   Cards (Solutions)
========================== */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: #1e293b;
  border-radius: 12px;
  width: 280px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.card h3 {
  color: #00bfa6;
  margin-top: 0.75rem;
}

/* ==========================
   Industries Section (1 Row)
========================== */
.industry-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: nowrap; /* ✅ Force one line */
#  overflow-x: auto;  /* ✅ Allow smooth horizontal scroll on small screens */
  padding-bottom: 1rem;
}

.industry-card {
  background-color: #1e293b;
  border-radius: 12px;
  width: 240px; /* ✅ Slightly smaller so all 4 fit in one line */
  flex-shrink: 0;
  padding: 1.2rem 1rem 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.industry-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 4px #00bfa6);
}

.industry-card h3 {
  color: #00bfa6;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.industry-card p {
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.4;
}


/* ==========================
   Contact Form (Fix)
========================== */
.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  max-width: 500px;
  margin: 1rem auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
  background-color: #e2e8f0;
  color: #0f172a;
  resize: none;
}

.contact button {
  background-color: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact button:hover {
  background-color: #00bfa6;
}

.contact p {
  margin-top: 1rem;
}

/* ==========================
   Footer
========================== */
footer {
  background-color: #0f172a;
  text-align: center;
  padding: 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ==========================
   Responsive Layout
========================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    flex-direction: column;
  }

  .navbar nav a {
    margin: 0.5rem;
  }

  .focus h2 {
    font-size: 1.5rem;
  }
}


/* ------------------------------
   MOBILE RESPONSIVE FIXES (UPDATED)
------------------------------ */
@media (max-width: 768px) {
  /* Navbar fix */
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
  }

  .navbar nav {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar nav a {
    display: inline-block;
    margin: 0.5rem 0.75rem;
    font-size: 16px;
  }

  .logo img {
    height: 50px; /* smaller logo on mobile */
  }

  /* Hero section */
  .hero {
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 7rem 1.5rem 4rem 1.5rem;
  }

  .hero .overlay {
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 90%;
  }

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

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

  .hero .btn {
    font-size: 15px;
    padding: 10px 18px;
  }

  /* Card sections */
  .cards,
  .industry-grid {
    flex-direction: column;
    align-items: center;
  }

  .card,
  .industry-card {
    width: 90%;
    margin-bottom: 1rem;
  }

  /* Adjust focu*
