/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logo img {
  height: 30px; /* adjust to your preference */
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* space between logo and name */
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
}

.company-name {
  color: #fff;
  font-weight: bold;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003366;
  color: #fff;
  padding: 1rem 2rem;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Navbar Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.nav-links a:hover {
  background: #ffcc00;
  color: #003366;
}

.nav-links a.active {
  background: #ffaa00;
  color: #003366;
}

/* Hamburger Menu (hidden on desktop) */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(to right, #004080, #0059b3);
  color: #fff;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
}

.btn {
  background: #ffcc00;
  color: #003366;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #ffaa00;
}

/* Sections */
section {
  padding: 3rem 2rem;
  text-align: center;
}

.about p {
  max-width: 600px;
  margin: auto;
}

/* Card Layout (Services, Products, Blog) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cards {
  display: flex;
  justify-content: center;   /* centers the items */
  gap: 20px;                 /* space between cards */
  flex-wrap: wrap;           /* allows wrapping on smaller screens */
}

.card {
  background: #f4f4f4;
  padding: 1.5rem;
  flex: 1 1 250px; 
  text-align: center;
  border-radius: 8px;
  max-width: 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
  margin-bottom: 1rem;
  color: #003366;
}

.card p {
  margin-bottom: 1rem;
}

.card a {
  text-decoration: none;
  font-weight: bold;
  color: #003366;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Services Cards */
.services-preview {
  padding: 3rem 2rem;
  text-align: center;
}

.services-preview h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #003366;
}

.services-preview .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* fixed 4 per row on large screens */
  gap: 2rem;
}

.services-preview .card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px; /* makes them more vertical */
}

.services-preview .card i {
  color: #003366;
  margin-bottom: 1rem;
}

.services-preview .card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #003366;
}

.services-preview .card p {
  font-size: 1rem;
  color: #555;
  flex-grow: 1; /* makes text stretch nicely */
}

.services-preview .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Mission, Vision, Values Section */
.mvv {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* space between the cards */
  margin: 3rem auto;
  max-width: 1000px;
}

.mvv .card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mvv .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.mvv .card i {
  color: #0077b6; /* your brand accent color */
  margin-bottom: 1rem;
}

.mvv .card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #222;
  font-weight: 600;
}

.mvv .card p,
.mvv .card ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.mvv .card ul {
  list-style: none;
  padding: 0;
}

.mvv .card ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #eee;
}

.mvv .card ul li:last-child {
  border-bottom: none;
}

/* ---------------- CONTACT PAGE ---------------- */
.contact {
  text-align: center;
  padding: 50px 20px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 per row */
  gap: 20px;
  margin-top: 30px;
}

.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #0077b6;
}

.contact-card p {
  font-weight: bold;
  margin-bottom: 8px;
}

.contact-card a, 
.contact-card span {
  color: #333;
  text-decoration: none;
}

.contact-card a:hover {
  color: #0077b6;
  text-decoration: underline;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.email-cards {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.email-cards .card {
  flex: 1;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.email-cards .card i {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
  color: #0073e6;
}

.email-cards .card a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.product-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #003366;
  color: #fff;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #003366;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
    color: #fff;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

.hero-services {
  background: linear-gradient(to right, #003366, #0059b3);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}
.hero-services h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-services p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .services-preview .cards {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets */
  }
}

@media (max-width: 600px) {
  .services-preview .cards {
    grid-template-columns: 1fr; /* stack vertically on mobile */
  }
}

@media (min-width: 768px) {
  .mvv {
    flex-direction: row;
    justify-content: center;
  }

  .mvv .card {
    flex: 1;
    margin: 0 1rem;
  }
}

@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr; /* stack on smaller screens */
  }
}
