:root {
  --primary: #004857;
  --secondary: #01758e;
}

@font-face {
  font-family: "AgenorNeue-Regular";
  src: url("../fonts/AgenorNeue-Regular.woff");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "AgenorNeue-Regular";
  color: var(--secondary);
}

h1,
h2,
h3 {
  color: var(--primary);
}

ul {
  list-style: none;
}

li {
  position: relative;
  padding-left: 24px;
  padding-bottom: 10px;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  background-image: url("../img/icons/Bullet.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.narrow {
  max-width: 900px;
}

.section {
  padding: 60px 0;
}

.light {
  background: #f5f7f8;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  height: 72px;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* NAV */
.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */
.hero {
  height: 90vh;
  background: url("../img/hero.jpg") center/cover no-repeat;
}

#services {
  padding-top: 0px;
}

.hero-overlay {
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero-overlay * {
  color: #fff;
}

.hero-tagline {
  margin-top: 20px;
  font-size: 18px;
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* CARDS */
.card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-card:hover {
  background: var(--primary);
  color: #fff;
}

.hover-card:hover > h3{
  color: #fff;
}

/* VISION ICON */
.vms-icon {
  width: 60px;
  margin-bottom: 15px;
}

/* ISO */
.iso-box {
  border: 2px solid var(--primary);
  padding: 25px;
  text-align: center;
  font-weight: bold;
}

/* CLIENTS */
.client-slider {
  overflow: hidden;
}

.client-track {
  display: flex;
  gap: 60px;
  animation: scroll 18s linear infinite;
}

.client-slider:hover .client-track {
  animation-play-state: paused;
}

.client-item {
  flex: 0 0 auto;
  width: 220px;                /* standard card width */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-item img {
  max-width: 100%;
  max-height: 80px;            /* STANDARDIZED LOGO HEIGHT */
  object-fit: contain;
  display: block;
  margin-top: auto;
  margin-bottom: auto;
}

.client-item p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.3;
  min-height: 36px;            /* equal text block height */
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* FORM */
.contact-form-icons {
  display: flex;
  justify-content: space-between;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
}

.form-success {
  display: none;
  color: green;
  text-align: center;
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 30px;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
}

/* MOBILE */
@media (max-width: 900px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
  }

  .logo {
    height: 52px;
  }

  .contact-form-icons {
    display: block;
  }
}