/* Topbar */
header {
  font-size: 0.9rem;
}

/* Navbar */
.navbar {
  padding: 1rem;
}

.navbar-brand img {
  height: 60px;
}
.text-Color {
  color: #d0b824;
}

.btn-Color {
  text-decoration: none;
  color: white;
  margin: 0 5px; /* Reduce margin to avoid overflow */
  width: 170px; /* Adjust width for better fit */
  height: 45px; /* Adjust height for better fit */
  background-color: #d0b824;
  border-radius: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

/* About Us Section */
h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* img {
  border-radius: 10px;
} */

/* Supply Chain Section */
.bg-light {
  background-color: #f8f9fa !important;
}

.social-icons a {
  text-decoration: none;
  color: white;
  margin: 0 5px; /* Reduce margin to avoid overflow */
  width: 30px; /* Adjust width for better fit */
  height: 30px; /* Adjust height for better fit */
  background-color: #d0b824;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: #d0b824;
}

.social-icons i {
  font-size: 0.875rem; /* Reduce font size for better fit */
}

/* DropDown Icon*/
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: #d0b824 !important; /* Yellow color on hover or active */
}

.navbar-nav li a {
  color: #000;
}

/* Dropdown menu hover effect */
.dropdown-menu {
  display: none;
}

.dropdown:hover .dropdown-menu {
  /* display: block; */
  margin-top: 0; /* Ensures dropdown doesn't have an offset */
}

/* Custom button styles */
.navbar .btn-dark {
  background-color: #000;
  border-color: #000;
}

.navbar .btn-dark:hover {
  background-color: #000;
  color: #000;
}

/* Ensure the logo scales correctly */
.navbar-logo {
  width: 200px;
  /* max-width: 150px; */
  height: auto;
}

/* Custom styles for the navbar on small screens */
.navbar {
  padding: 0.75rem 1rem;
}

/* Fix spacing and avoid button overlap in responsive view */
.navbar-toggler {
  margin-left: auto;
}

.nav-link.active {
  font-weight: bold;
  color: #000; /* Make the active link black */
}
@media (max-width: 768px) {
  .navbar-logo {
    width: 100px; /* Slightly smaller for tablets and medium screens */
  }
}

/* Button styling for 'Connect With Us' */
.btn-black {
  background-color: #000;
  border: none;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.btn-black:hover {
  background-color: #444;
}

.bg-container-1 {
  background-image: url("../assets/images/Frame\ 23.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
  height: 80vh;
}

.bg-container-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}

.bg-container-2 {
  background-image: url("../assets/images/Frame\ 24.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
  height: 70vh;
}
.bg-container-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}
.bg-container-3 {
  background-image: url("../assets/images/Frame\ 25.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
}

.bg-container-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}

.bg-container-4 {
  background-image: url("../assets/images/Frame\ 21.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
}
.bg-container-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}

.bg-container-5 {
  background-image: url("../assets/images/Frame\ 22.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
}

.bg-container-6 {
  background-image: url("../assets/images/Frame\ 26.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
}

.bg-container-7 {
  background-image: url("../assets/images/Frame\ 20.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
}
.bg-container-8 {
  background-image: url("../assets/images/Frame\ 27.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
}

.container {
  padding: 2rem;
}

h1 {
  color: #fddb3a; /* Yellow color for heading */
  font-weight: bold;
}

/* Button styles for letters */
.letter-buttons .btn {
  margin: 0.2rem;
  background-color: #555; /* Dark button background */
  color: white;
  font-weight: bold;
}

.letter-buttons .btn.active {
  background-color: #fddb3a; /* Active letter in yellow */
  color: black;
}

/* Glossary content box */
.glossary-content {
  background-color: white;
  color: black;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
}

/* Background theme similar to the image */
.glossary-background {
  /* background: linear-gradient(to bottom right, #333 0%, #111 100%); */
  padding: 2rem;
  border-radius: 10px;
}

.effect li a {
  color: white;
  text-decoration: none;
  /* transition: color 0.3s ease; */
}

.effect li a:hover {
  color: gold;
  /* transition: color 0.3s ease; */
}

/* Adjust responsive layout */
@media (max-width: 768px) {
  .letter-buttons {
    text-align: center;
  }
}

/*Footer Section      */
.footer {
  background-color: #222;
  padding: 40px 0;
}

.footer h5 {
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #fff; /* Ensure headings are visible */
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  text-decoration: none;
  color: #aaa !important; /* Ensure initial color is applied */
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #d0b824 !important; /* Ensure hover color is applied */
}

.footer .text-warning {
  color: #d0b824 !important;
}

.footer .text-muted {
  color: #999 !important;
}

.footer i {
  margin-right: 8px;
  color: #ccc !important; /* Ensure initial color is applied */
  transition: color 0.3s ease;
}

.footer i:hover {
  color: #d0b824 !important; /* Ensure hover color is applied */
}

.footer a {
  color: #ccc !important; /* Ensure initial color is applied */
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #d0b824 !important; /* Ensure hover color is applied */
}

.footer .fab {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.footer .fab:hover {
  color: #d0b824 !important; /* Ensure hover color is applied */
  transform: scale(1.2); /* Zoom-in effect */
}

.footer .me-3 {
  margin-right: 1rem !important;
}

.icon-link {
  display: inline-block; /* Ensures the border wraps the content */
  padding: 10px 15px; /* Padding around the icons */
  border: 2px solid #fff; /* White border, you can change color */
  border-radius: 4px; /* Optional: make corners rounded */
  text-align: center; /* Center the icon inside the border */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.icon-link:hover {
  background-color: #fff; /* Change background on hover */
  color: #000; /* Change icon color on hover */
  border-color: #000; /* Change border color on hover */
}

.icon-link i {
  font-size: 1.2rem; /* Adjust icon size if needed */
}

/* Adjust margin for responsiveness */
/* @media (max-width: 767.98px) {
  .d-flex > .w-100 {
    margin-bottom: 20px;
  }
} */

@media (max-width: 1100px) {
  .supply-chain-section img {
    /* border-radius: 20px; */
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
  }
}

@media (min-width: 768px) {
  .rounded-left-corner {
    max-width: 90%; /* Slightly larger image, but not breaking layout */
  }
}

@media (max-width: 768px) {
  .supply-chain-section .col-md-6 {
    text-align: center;
  }
}

/* Custom margin for text on larger screens */
@media (min-width: 768px) {
  .about-section .me-lg-4 {
    margin-right: 2rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
    margin-top: 10px;
  }

  /* Reduce margin for small screens */
  .social-icons a {
    margin: 0 3px;
    width: 28px; /* Reduce width */
    height: 28px; /* Reduce height */
  }

  .me-3 {
    margin-right: 0.5rem !important;
  }

  .ms-3 {
    margin-left: 0.5rem !important;
  }
}
