* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #0b0b0b, #141414);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  height: 96px;
  background: #000;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.logo-wrap img {
  height: 18vh; /* 10% of the viewport height */
  width: auto;
}

/* NAV LINKS */
.nav-links a {
  margin-left: 28px;
  font-weight: 500;
  cursor: pointer;
  color: #e5e5e5;
  text-decoration: none;
}

.nav-links a:hover {
  color: #e50914;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 40px;
}

/* TABS */
.tab {
  display: none;
}

.tab.active {
  display: block;
}

/* TEXT */
h1 {
  font-size: 44px;
}

h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.subtitle {
  max-width: 720px;
  color: #b3b3b3;
}

/* LANDING CARDS */
.landing-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.landing-card {
  background: #181818;
  padding: 24px;
  border-radius: 12px;
}

/* SERVICES */
.services-grid {
  display: grid;
  /* This ensures exactly 2 columns on desktop */
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
}
.service-card {
  /* This targets two items per row minus the gap */
  flex: 1 1 calc(50% - 30px); 
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  padding: 16px;
}

/* CONTACT */
form {
  max-width: 420px;
}

input, textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: none;
  background: #222;
  color: #fff;
}

button {
  width: 100%;
  padding: 14px;
  background: #e50914;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

/* CERTIFICATIONS SECTION */
#certifications {
  background: #1a1a1a; /* professional dark background */
  padding: 60px 40px;
  border-radius: 12px;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.cert-card {
  background: #252525; /* card background */
  padding: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cert-card img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.clients-image-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.clients-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


/* Section Heading */
#certifications h2 {
  color: #fff;
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
}


/* FOOTER */
footer {
  background: #000;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #777;
}
main.container {
  flex: 1;
}
@media (max-width: 600px) {
  .services-grid {
    /* This forces 1 column on mobile devices */
    grid-template-columns: 1fr;
  }
}
