/* Colors */
:root {
  --primary-color: #5ab2ff;
  --white-color: white;
  --black-color: black;
  --procurement-color: #c5c1a5;
  --development-color: #a3d6c4;
  --quality-color: #e6d8a5;
}

/* Scroll */
html {
  scroll-behavior: smooth;
}

/* Background and Image Styles */
.full-page-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.background-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.new-background-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 1.5rem;
}

/* Hero */
.content,
.new-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white-color);
  top: 50%;
  transform: translateY(-50%);
}

.content h1,
.new-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.new-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.new-content button {
  margin: 0 0.5rem;
}

/* Button Styles */
.btn-light-blue {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 25px;
  padding: 0.5rem 2rem;
  border: 2px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn-light-blue:hover {
  background-color: var(--white-color);
  border-color: var(--white-color);
  color: var(--primary-color);
}

/* Navbar Styles */
.nav-link {
  color: var(--black-color);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 10px;
  margin-left: 10px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--black-color) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: transform 0.3s;
  transform: scaleX(0);
  transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(0.6);
}

.navbar {
  background-color: transparent;
  transition: background-color 0.3s;
}

.navbar.scrolled {
  background-color: var(--white-color);
}

/* How can we help Section */
.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--black-color);
}

.section-text {
  font-size: 1.125rem;
  color: var(--black-color);
}

/* Cards Section */
.cards-background {
  background-color: #f0f0f0;
  padding: 3rem 0;
}

.card-container {
  display: flex;
  align-items: stretch;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  height: 150px;
  flex-direction: row;
}

.card-title {
  padding: 1rem;
  color: var(--white-color);
  font-weight: bold;
  flex: 0 0 350px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.card-content {
  padding: 2rem;
  background-color: var(--white-color);
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.card-procurement .card-title {
  background-color: var(--procurement-color);
}

.card-development .card-title {
  background-color: var(--development-color);
}

.card-quality .card-title {
  background-color: var(--quality-color);
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  .image-text-section {
    display: none;
  }

  .navbar {
    background-color: var(--white-color);
  }

  .nav-link:hover::after {
    transform: scaleX(0);
  }

  .nav-link.active::after {
    transform: scaleX(1);
  }

  .card-container {
    flex-direction: column;
    height: auto;
  }

  .card-title {
    flex: 0 0 auto;
    height: auto;
    text-align: center;
    padding: 1rem;
  }

  .card-content {
    padding: 1rem;
    text-align: center;
  }

  .section-title {
    text-align: center;
    margin-bottom: 1rem;
  }
  .row {
    text-align: center;
  }

  .img-fluid {
    margin-bottom: 60px;
  }

  .footer-logo {
    margin-bottom: 20px;
  }
}

/* Footer */
.footer {
  background-color: #f0f0f0;
  color: #212529;
  padding: 4rem 0;
}

.footer .footer-logo img {
  max-width: 100%;
}

.footer .footer-content h5 {
  margin-bottom: 1rem;
}

.footer .footer-socials {
  text-align: right;
}

.footer .footer-socials a {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #212529;
}

.footer .footer-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
  font-size: 0.875rem;
}

/* History - about.php */
.history-background {
  background-color: #f0f0f0;
  padding: 3rem 0;
  border-radius: 8px;
}

.services-section .section-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.services-section p {
  margin-bottom: 2rem;
}

.dark-img {
  filter: brightness(50%);
}

.custom-link {
  text-decoration: none; /* Removes the underline */
  color: inherit; /* Inherits the color from the parent element or choose a specific color */
}

.custom-link:hover {
  color: inherit; /* Ensures the color stays the same on hover */
  text-decoration: underline; /* You can decide to underline on hover if desired */
}
