* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  /* 6.25% = 1 px  */
  /* 62.5% = 1 rem =  10 px  */
  overflow-x: hidden !important;
}

html body {
  overflow-x: hidden !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Here is our headings are defined  */

/* styles.css */

a {
  text-decoration: none !important;
}

.hamburger-menu {
  display: none;
}

.chng-direction {
  display: flex;
  width: 100%;
}

/* Hide menu by default */
.menu-container {
  display: none;
}

.blink {
  color: #ffe600 !important;
}

.responsive-list .sub-heading {
  color: rgb(133, 133, 133) !important;
  font-size: 1.8rem !important;
  margin: 1rem 0;
  text-decoration: underline;
  text-decoration-color: #006aff;
  text-underline-offset: 1rem;
  text-decoration-thickness: 2px;
}

/* Modal Code  */

.modal {
  height: 50vh;
  width: 50%;
  background-color: rgb(149, 149, 149);
  left: 50%;
  transform: translateX(-50%);
  top: 20%;
  z-index: 99;
  position: absolute;
  transition: all 1s ease;
  opacity: 0;
  border-radius: 20px;
}

video {
  height: 100%;
  width: auto;
}

/* Navbar code  */

#navbar-iframe {
  width: 100%;
  border: none;
  position: absolute;
  height: 53px;
  z-index: 1;
}

#navbar-iframe.navbar-active {
  height: 100%;
  z-index: 1;
}

.navbar {
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px) brightness(0.4);
  height: 55px;
  padding: 0px 15px;
  position: fixed;
  top: 0;
  width: 100%;
  transition: transform 0.4s ease-in-out;
  z-index: 500;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar.visible {
  transform: translateY(0);
}

.navbar.mobilestop {
  transform: translateY(0);
}

.logo {
  height: 70px;
  width: 70px;
  background-image: url("images/white-cbs-logo.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.toggle-left {
  height: 80px;
  width: auto;
  margin-left: 60px;
  display: flex;
  align-items: center;
}

.toggle-right {
  height: 80px;
  width: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 0px 15px;
}

.nav-item {
  display: flex;
  align-items: center;
  height: auto;
  position: relative;
  overflow: hidden;
  justify-content: center;
  padding: 17px 0%;
}

.nav-item span {
  font-size: 1.3rem !important;
  font-weight: lighter !important;
}

.nav-item:hover {
  cursor: pointer;
}

.nav-item::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: #006aff;
  transform: translateX(-50%);
  transition: left 0.4s ease;
}

.nav-item:hover::before {
  left: 50%;
  transform: translateX(-50%);
}

.nav-item:not(:hover)::before {
  left: 100%;
  transform: translateX(0);
}

/* Continuous border animation when layout is open */

.nav-item.layout-open::before {
  left: 50%;
  transform: translateX(-50%);
  transition: none;
}

.nav-item span {
  color: white !important;
  padding: 0px 10px;
  font-weight: 550;
}

.arrow {
  background-image: url("/images/down-arrow.webp");
  background-size: contain;
  background-repeat: no-repeat;
  padding: 0px 5px;
  margin-top: 5px;
  height: 10px;
  width: 10px;
  transition: all 0.5s ease-in-out;
}

.shopping-trolley {
  background-image: url("images/shopping-trolley.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 50px;
  width: 50px;
}

/* Drop down code  */

@keyframes moveBall {
  0% {
    bottom: 0;
  }

  100% {
    bottom: 100%;
  }
}

@media (max-width: 768px) {
  .responsive-column {
    flex: 1 1 100%;
  }
}

.responsive-layout {
  display: none;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 0px 10px 0px 10px;
  overflow-x: auto;
  overflow-y: auto;
  backdrop-filter: blur(16px) brightness(0.6);
  position: fixed;
  top: 54px;
  width: 100%;
  z-index: 999;
  border-top: 1px solid gray;
}

/* Close button styles */

.close-button {
  position: absolute;
  top: 10px;
  right: 30px;
  background: none;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #0b6c93;
  margin-top: 10px;
}

.close-button:hover {
  text-shadow: 0 0 5px rgba(255, 255, 255, 1);
}

.responsive-column {
  padding: 20px;
  flex: 1 1 25%;
  box-sizing: border-box;
  min-width: 200px;
}

.column-title {
  color: #006aff !important;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 2rem !important;
}

.responsive-list {
  color: gray;
  margin: 0;
}

.responsive-list li {
  color: white;
  list-style-type: none;
  font-size: 1.5rem;
  padding: 10px 0px;
  transition: padding 0.3s linear;
  cursor: pointer;
}

.responsive-list li:hover {
  padding-left: 10px;
}

.responsive-image {
  display: block;
  margin: 20px 0px 100px 0px;
  max-width: 100%;
  height: auto;
}

.responsive-paragraph {
  margin: 20px 0 0 0;
  color: white;
  font-size: 1.2rem;
}

/* Footer Code  */
/* Basic styling */

#footer {
  width: 100%;
  height: auto;
  border: none;
  display: block;
}

.footer {
  background-color: black;
  padding: 40px 0;
  color: #fff;
  padding: 80px 0px;
}

.footer .container {
  max-width: 85vw;
  margin: 0 auto;
}

.footer .row {
  display: flex;
  justify-content: space-between;
}

.footer-col {
  min-width: 220px;
}

.footer-col h4 {
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  text-transform: capitalize;
  font-weight: 550;
  color: #006aff !important;
  display: flex;
  font-size: 2rem !important;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 20px;
  color: rgb(247, 247, 247);
  text-decoration: none;
  font-size: 1.3rem;
  width: 100%;
  display: flex;
}

.footer-col ul li a {
  color: rgb(247, 247, 247);
  text-decoration: none;
  font-size: 1.3rem;
  text-align: center;
}

.footer-col ul li a:hover {
  padding-left: 10px;
  transition: padding 0.3s linear;
  cursor: pointer;
  border-left: 2px solid #006aff;
}

.social-section {
  border-top: 1px solid grey;
  border-bottom: 1px solid grey;
  padding: 10px 0px;
  /* background-color: #005A44; */
  display: flex;
  justify-content: space-between;
  margin: 50px 0px;
}

.img-text {
  display: flex;
  align-items: center;
  /* background-color: tan; */
  width: auto;
}

.global-img {
  background-image: url("images/footer-global.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 30px;
  width: 30px;
  margin-right: 10px;
}

.img-text p {
  color: white !important;
  font-size: 1.3rem;
}

.footer-left .rights {
  font-size: 1.3rem !important;
}

.social-icons {
  display: flex;
  align-items: center;
  /* background-color: yellow; */
  gap: 10px;
}

.social-icon {
  height: 20px;
  width: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.5s ease;
}

.social-icon:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.fb {
  background-image: url("images/facebook.webp");
}

.linkedin {
  background-image: url("images/linkedin-icon.webp");
}

.instagram {
  background-image: url("images/instagram.webp");
}

.twitter {
  background-image: url("images/twitter.webp");
}

/* Copyright section  */

.copy-sec {
  /* background-color: yellow; */
  display: flex;
}

.footer-left {
  text-align: left;
  width: fit-content;
}

.footer-right {
  flex: 3;
  text-align: right;
  width: max-content;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: end;
}

.footer-links li {
  display: inline;
  margin: 0 10px;
  padding: 8px 0px;
}

.footer-links a {
  font-size: 1.5rem !important;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: none;
  padding-right: 10px;
  transition: padding 0.3s linear;
  cursor: pointer;
  border-right: 2px solid #006aff;
}

@media (max-width: 1170px) {
  .footer .container {
    margin: auto;
    width: 90%;
  }

  .nav-item span {
    font-size: 0.9rem !important;
  }
}

@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 62.5%;
    /* 6.25% = 1 px  */
    /* 50% = 1 rem =  8 px  */
    overflow-x: hidden !important;
  }

  p {
    font-size: 1.7rem !important;
  }

  span {
    font-size: 1.7rem !important;
  }

  /* Hamburger  */

  .navbar {
    padding: 0px;
    justify-content: space-between;
  }

  .nav-item span {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
  }

  .nav-item {
    border-bottom: 1px solid gray;
    width: 100%;
  }

  .nav-item-contact-us,
  .nav-item-about-us,
  .nav-item-career,
  .nav-item-home,
  .nav-item-services,
  .nav-item-portfolio,
  .nav-item-blog {
    border-bottom: 1px solid gray;
    width: 100vw;
  }

  .hamburger-img {
    height: 40px;
    margin-right: 10px;
  }

  .logo {
    margin-left: 10px;
  }

  .chng-direction {
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    overflow-y: scroll;
    flex-direction: column;
  }

  .toggle-left {
    display: none;
    flex-direction: column;
    height: auto;
    width: 100%;
    left: 0;
    margin-left: 0px;
    animation: menu-slide 0.5s ease-in-out;
  }

  .toggle-right {
    display: none;
    flex-direction: column;
    height: auto;
    width: 100%;
    left: 0;
    padding: 0px 0px;
    animation: menu-slide 0.5s ease-in-out;
  }

  .responsive-layout {
    animation: menu-slide 0.5s ease-in-out;
  }

  .responsive-layout {
    flex-wrap: wrap;
    overflow-x: auto;
    overflow-y: auto;
    height: 100vh;
    width: 100vw;
  }

  .responsive-column {
    flex: 1 1 100%;
    min-width: auto;
  }

  @keyframes menu-slide {
    0% {
      left: 100%;
    }

    100% {
      left: 0%;
    }
  }

  .left-text-area h1 {
    padding: 0px 0px 0px 0px;
  }

  .main-text-arrow {
    margin-bottom: 20px;
  }

  .text-arrow {
    padding: 10px 0px;
  }

  .main-text-arrow {
    flex-direction: column;
  }

  .text-arrow-card {
    padding: 0rem;
  }

  .text-arrow-card span {
    font-size: 1rem !important;
  }

  .card {
    min-width: 40vw;
  }

  .footer .row {
    flex-direction: column;
  }

  .footer-col ul li {
    justify-content: center;
  }

  .footer-col h4 {
    justify-content: center;
    align-items: center;
    font-size: 3rem !important;
    font-weight: bold !important;
  }

  .footer-col ul li a {
    font-size: 1.8rem !important;
  }

  .responsive-list li {
    font-size: 2rem !important;
  }

  .column-title {
    font-size: 2.5rem !important;
  }

  .last-column {
    padding-bottom: 150px !important;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 62.5%;
    /* 6.25% = 1 px  */
    /* 43.75% = 1 rem =  7 px  */
    overflow-x: hidden !important;
  }

  .footer-col {
    flex: 0 0 50%;
    /* Two columns on tablets */
  }

  .columns-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
  }

  .column-title {
    font-size: 2rem !important;
    margin-top: 35px;
  }

  .responsive-list li {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  /* F0oter  */

  .footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col h4 {
    display: flex;
    justify-content: center;
  }

  .ul-left {
    align-items: center;
  }

  .responsive-column {
    padding: 0px 0px 0px 20px;
  }
}
