* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
  }
  
  :root {
    --bg-color:  #ffffff; /*later on we can switch it*/ 
    --second-bg-color:  #bcbcbc;
    --text-color: #28262b;
    --second-color: #989898;
    --primary-color:var(--second-color)
    --main-color: #f4ebd0;
    --big-font: 5rem;
    --h2-font: 1rem;
    --p-font: 1rem;
  }
   
  h1 {
    font-family: 'Lato', sans-serif;
    font-weight: bold;
  }
  
  html{ scroll-behavior: smooth;}
  a { color: var(--primary-color); }
  a:hover { color: var(--second-bg-color); }
  
  /*
  @media (min-width: 544px) {}
  @media (min-width: 768px) {}
  @media (min-width: 992px) {}
  @media (min-width: 1200px) {}
  @media (min-width: 1400px) {}
  @media (min-width: 1600px) {}
  */
  
  /* Custom Container */
  
  body {
  background: #FBF0F6;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  background-color: #fff;
  }
  
  /* Style for the loading spinner container */
  .loading-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  }

  /* Style for the "Cube Design" text */
  .cube-design-text {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
  font-family: 'Roboto';
  font-weight: 500;
  }

  /* Style for the loading spinner */
  .spinner {
  border: 4px solid rgba(0, 0, 0, 0.3);
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  }

  /* Animation keyframes for the spinner */
  @keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
  }

  .container-custom {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
  }
  
  @media (min-width: 1200px) {
    .container-custom {  width: 1140px;  }
  }
  
  @media (min-width: 1400px) {
    .container-custom {  width: 1340px;  }
  }
  
  @media (min-width: 1600px) {
    .container-custom {  width: 1520px;  }
  }
  

  @media(max-width: 991px) {
    .sidebar{
      background-color: rgba(1, 1, 1, 0.9);
     }
  }
  
  /* Main Header */
  .header {
    z-index: 2;
  }
   
  /* CSS to make the hamburger icon thinner and black */
  .navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='12' viewBox='0 0 16 16' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v1A1.5 1.5 0 0 1 14.5 4H1.5A1.5 1.5 0 0 1 0 2.5v-1zm0 6A1.5 1.5 0 0 1 1.5 6h13A1.5 1.5 0 0 1 16 7.5v1A1.5 1.5 0 0 1 14.5 10H1.5A1.5 1.5 0 0 1 0 8.5v-1zm0 6A1.5 1.5 0 0 1 1.5 12h13A1.5 1.5 0 0 1 16 13.5v1A1.5 1.5 0 0 1 14.5 16H1.5A1.5 1.5 0 0 1 0 14.5v-1z'/></svg>");
    background-size: 16px;
  }
  
   
/* Default style for the expanded menu items (black) */
.nav-link {
  color: black;
}

/* Style for the expanded menu items in mobile when sidebar is open (white) */
.sidebar-open .nav-link {
  color: white;
}


   .nav-link:hover{
    color: red;
   }

 
  .transparent-navbar {
  background-color: transparent;
  }
  
  /* CSS for dark navbar */
  .dark-navbar {
  background-color: #333; /* Replace this with your desired dark background color */
  /* You may also want to adjust the text color to make it visible on the dark background */
  color: white; /* For example, set the text color to white */
  }
  
  .navbar {
  height: 50px; /* Adjust the height as per your requirement */
  }
  
  
  .dropdown-nav__closeNavBtn {
    position: absolute;
    top: 20px;
    right: 16px;
    background-color: rgbA(255,255,255,0.6);
  }
  
  .dropdown-nav__container {
    height: 100vh;
    padding: 0 1rem;
  }
   
   
   
  
  @keyframes bounce {
  from{
      transform: translateY(0px);
  }
  to{
      transform: translateY(-10px);
  }
  }
   
  
  section {
    padding: 160px 15% 120px;
  }
   
  
   
  /* services section */
  
  .services {
    background: var(--second-bg-color);
  }
  
  .main-text {
    text-align: center;
  }
  
  .main-text p {
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 15px;
  }
  
  .main-text h2 {
    font-size: 32px;
    line-height: 1;
  }
  
  .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 5rem;
  }
  
  .box {
    background: var(--bg-color);
    padding: 35px 45px;
    border-radius: 8px;
    transition: all .45s ease;
  }
  
  .s-icons i {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .box h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
  }
  
  .box p {
    color: var(--second-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
  }
  
  .read {
    display: inline-block;
    padding: 8px 18px;
    background: #333333;
    color:var(--second-color);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all .45s ease;
  }
  
  .read:hover {
    letter-spacing: 1px;
    background: #ffffff99;
    color: var(--text-color);
  }
  
  .box:hover {
    transform: translateY(-8px);
    cursor: pointer;
  }
  
  .projects-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 5rem;
    }
  
   
  .row {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .row img {
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
  }
  
  .layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.1), var(--second-bg-color));
    position: absolute;
    border-radius: 8px;
    left:0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    transition: height 0.5s;
  }
  
  .layer h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
     font-family: 'Montserrat', sans-serif;
  }
  
  .layer p {
    color: var(--text-color);
    font-weight: bold;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
  }
  
  .layer i{
    color: var(--main-color);
    margin-top: 20px;
    font-size: 20px;
    background: var(--text-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  
  .row:hover img{ 
    transform: scale(1.1);
  }
  
  .row:hover .layer{
    height: 100%;
  }
  
   
   
  
  /*responsive layout*/
  
  @media (max-width: 1480px) {
   
    section{
      padding: 110px 3% 60px;
    }
     
  }
  
  @media (max-width: 1100px){
    :root{
      --big-font: 4rem;
      --h2-font: 2.5rem;
      --p-font: 1rem;
      transition: .1s;
    }
     
  }
  
  .footer {
    padding: 40px 0;
    background-color: #fff;
  }
  
  .footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: #4b4c4d;
  }
  
  .footer .social a {
    font-size: 24px;
    color: inherit;
    border: 1px solid #ccc;
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 8px;
    opacity: 0.75;
  }
  
  .footer .social a:hover {
    opacity: 0.9;
  }
  
  .footer ul{
    margin-top: 0;
    padding: 0;
    list-style: none;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
  }
  
  .footer ul li a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
  }
  
  .footer ul li {
    display: inline-block;
    padding: 0 15px;
  }
  
  .footer ul li a:hover {
    opacity: 1;
  }
  
  .footer .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
  }

  .parallax-header {
    background: linear-gradient(
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.8)), url("http://127.0.0.1:5500/cubedesignV2/img/basamakp.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax-content {
    background-color: rgba(0, 0, 0, 0); /* Make the content background transparent */
    z-index: 1; /* Ensure content appears above the background */
    position: relative;
 }
 

.parallax-content h3 {
    font-family: 'Lato';
    font-weight: 400;
    margin: 0 20px;
 }

/* Add any other styles as needed */


.header-content {
    padding: 100px 0 150px 0;
}

@media (min-width: 410px) {
    .parallax-header h3 {
        text-align: center;
        margin-right: 20px;
        height: 50vh;
    }
}
 

  .section-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-family: 'Lato';
    gap: 20px; 
  }

  .section-info h3,p {
    font-family: 'Lato';
   }

  .value-container-i {
    text-align: center;
    font-family: 'Lato';
    display: grid;
  grid-template-areas: 
    "icon"
    "heading"
    "text";
  }
  
  /* Optional: Style the icons and values as needed */
  .icon {
    grid-area: icon;
    font-size: 30px; /* Adjust the size of the icons as needed */
  }

 /* Media query for small screens (max-width: 576px) */
    @media (max-width: 576px) {
    .section-info {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .value-container-i {
      text-align: center;
      margin-bottom: 20px; /* Add some spacing between the values when stacked */
    }
  }
  

  .about-the-project{
    background: #ededed;
    text-align: center; /* Center-align the content within the container */
  }

  .about-the-project h4{
    font-size: 16px;
    font-family: 'Lato';
    line-height: 1.8;
    text-align: justify;
    margin: 0 auto; /* Center-align the paragraphs within the container */

  }

  .about-the-project p{
    font-size: 14px;
    line-height: 1.8;
    font-family: 'Lato',sans-serif;
    text-align: justify;
    max-width: 800px; /* Set a maximum width for the paragraphs */
    margin: 0 auto; /* Center-align the paragraphs within the container */

  }


  .image-container {
    text-align: center; /* Center the image horizontally */
    margin-top: 20px; /* Add some space between the paragraph and the image */
    margin-bottom: 20px;
  }
   
  .image-container img {
    width: 100%; /* Make the image width equal to the width of the paragraph */
    max-width: 100%; /* Ensure the image does not exceed its original width */
    height: auto; /* Maintain the aspect ratio and adjust the height accordingly */
  }
  
  .row-images {
    display: flex; /* Use flexbox to create a row layout */
    flex-wrap: wrap; /* Allow images to wrap to the next line on smaller screens */
    justify-content: center; /* Center the images horizontally within the container */
    margin-top: 20px; /* Add some space between the second paragraph and the images */
  }
  
  .row-images img {
    width: calc(50% - 10px); /* Set each image to occupy 50% of the container width with some spacing between them */
    margin: 5px; /* Add some spacing between the images */
    max-width: 100%; /* Ensure the images do not exceed their original width */
    height: auto; /* Maintain the aspect ratio and adjust the height accordingly */
  }

  /* Media query for larger screens (min-width: 768px) */
@media (min-width: 768px) {
    .about-the-project p,h4 {
      max-width: 600px; /* Reduce the maximum width of the paragraphs for larger screens */
    }
  
    .row-images img {
        width: calc(50% - 10px); /* Set each image to occupy 50% of the container width with some spacing between them */
      }
  }

  /* Media query for smaller screens (max-width: 767px) */
@media (max-width: 767px) {
    .row-images img {
      width: calc(100% - 10px); /* Set each image to occupy 100% of the container width with some spacing between them */
    }
  }

  .section-credits {
    display: flex; /* Use flexbox to create a row layout */
    flex-wrap: wrap; /* Allow the elements to wrap to the next line on smaller screens */
    justify-content: space-between; /* Space the elements equally along the container */
  }

  .section-credits h3,p{
    font-family: 'Lato';
  }
  
  .value-container{
    flex-basis: 48%; /* Set the initial width of each value-container, leaving some space between them */
    margin-bottom: 20px; /* Add some spacing between the value-containers */
  }
  
  /* Media query for smaller screens (max-width: 767px) */
  @media (max-width: 767px) {
    .section-credits {
      flex-direction: column; /* Stack the elements one below the other on smaller screens */
    }
  
    .value-container {
      flex-basis: 100%; /* Set the width of each value-container to 100% on smaller screens to occupy the full width */
    }
  }
  

  .section-otherprojects {
    background-color: #ededed;
  }
  
  .value-container {
    text-align: center; /* Center the content within the container */
  }
  
  .value-container h3 {
    margin-bottom: 10px; /* Add some spacing below the heading */
    border-bottom: 2px solid #000; /* Add a bottom border to the heading */
    display: inline-block; /* Make the heading inline, so it wraps around the text */
  }
  
  .row {
    display: flex; /* Use flexbox to create a row layout */
    flex-wrap: wrap; /* Allow the elements to wrap to the next line on smaller screens */
    justify-content: space-between; /* Space the elements equally along the container */
    margin-bottom: 20px; /* Add some spacing between the rows */
  }
  
  .row img {
    width: 100%; /* Make the images occupy the full width of the parent container */
    max-width: 100%; /* Ensure the images do not exceed their original width */
    height: auto; /* Maintain the aspect ratio and adjust the height accordingly */
    margin-bottom: 10px; /* Add some spacing below each image */
  }
  
  .layer {
    text-align: center; /* Center the content within the container */
  }
  
  .layer h5 {
    margin-bottom: 5px; /* Add some spacing below the subheading */
  }
  
  /* Media query for smaller screens (max-width: 767px) */
  @media (max-width: 767px) {
    .row {
      flex-direction: column; /* Stack the elements one below the other on smaller screens */
    }
  
    .row img {
      width: 100%; /* Set the images to occupy the full width of the parent container on smaller screens */
    }
  }
  
  /* Media query for larger screens (min-width: 768px) */
  @media (min-width: 768px) {
    .row {
      flex-wrap: nowrap; /* Prevent wrapping of "row" elements on larger screens */
    }
  
    .row img {
      width: calc(33.33% - 10px); /* Set each image to occupy 33.33% of the container width with some spacing between them */
      margin-right: 10px; /* Add spacing between the images */
    }
  }
  
  /* ... (existing CSS code) ... */

/* Add media query for small screens (max-width: 767px) */
@media (max-width: 767px) {
    /* Adjust the font size for smaller screens */
    :root {
      --big-font: 3.5rem;
      --h2-font: 2rem;
      --p-font: 0.9rem;
    }
  
    /* Adjust the padding for the header content on smaller screens */
    .header-content {
      padding: 60px 0 80px 0;
    }
  
    /* Center the social icons and adjust their size on smaller screens */
    .footer .social {
      text-align: center;
      padding-bottom: 25px;
    }
  
    .footer .social a {
      font-size: 20px;
      width: 35px;
      height: 35px;
      line-height: 33px;
      margin: 0 6px;
    }
  
    /* Center-align the footer links on smaller screens */
    .footer ul {
      text-align: center;
    }
  
    /* Set the image width to 100% on smaller screens to make it responsive */
    .row img,
    .image-container img {
      width: 100%;
    }
  
    /* Adjust the spacing between the paragraphs and images on smaller screens */
    .about-the-project h4,
    .about-the-project p,
    .row-images img {
      margin: 15px auto;
    }
  
    /* Adjust the width and margin of value-containers on smaller screens */
    .value-container {
      flex-basis: 100%;
      margin-bottom: 30px;
    }
  
    /* Stack the elements one below the other on smaller screens in section-credits */
    .section-credits {
      flex-direction: column;
    }
  
    /* Set the width of each value-container to 100% on smaller screens */
    .value-container {
      flex-basis: 100%;
    }
  
    /* Set each image to occupy 100% of the container width with some spacing between them */
    .row-images img {
      width: calc(100% - 10px);
    }
  
    /* Stack the elements one below the other on smaller screens in section-otherprojects */
    .section-otherprojects {
      flex-direction: column;
    }
  
    /* Center-align the content within the container on smaller screens */
    .value-container-i {
      text-align: center;
      margin-bottom: 20px;
    }
  
    /* Set the width of each value-container to 100% on smaller screens */
    .value-container-i {
      flex-basis: 100%;
    }
  
    /* Adjust the maximum width of the paragraphs for smaller screens in about-the-project */
    .about-the-project p,
    .about-the-project h4 {
      max-width: 100%;
    }
  
    /* Set each image to occupy 100% of the container width with some spacing between them */
    .row-images img {
      width: 100%;
      margin: 5px 0;
    }
  }
  
  /* Add media query for medium-sized screens (min-width: 768px) */
  @media (min-width: 768px) {
    /* Adjust the padding for sections on medium-sized screens */
    section {
      padding: 120px 5% 80px;
    }
  
    /* Set each image to occupy 33.33% of the container width with some spacing between them on medium-sized screens */
    .row img {
      width: calc(33.33% - 10px);
      margin-right: 10px;
    }
  }
  
  /* Add media query for larger screens (min-width: 992px) */
  @media (min-width: 992px) {
    /* Adjust the padding for sections on larger screens */
    section {
      padding: 160px 10% 120px;
    }
  
    /* Set each image to occupy 50% of the container width with some spacing between them on larger screens */
    .row img {
      width: calc(50% - 10px);
      margin-right: 10px;
    }
  }
  
  /* Add media query for extra-large screens (min-width: 1400px) */
  @media (min-width: 1400px) {
    /* Increase the width of the custom container on extra-large screens */
    .container-custom {
      width: 1340px;
    }
  }
  
  /* ... (existing CSS code) ... */
  

  /*language toggle*/
 

/* CSS for the globe icon */
.globe-icon {
  font-size: 24px; /* Adjust the size as needed */
  transition: transform 0.3s ease-in-out; /* Animation duration and easing */
}

/* CSS for the rotating animation */
.rotate {
  transform: rotate(180deg); /* Rotate the globe icon */
}

 
#switchLanguage {
  font-size: 16px;
  color: black;
  transition: transform 0.3s ease-in-out;
}

/* Style for the globe icon (white) on screens with a maximum width of 768px */
@media (max-width: 768px) {
  #switchLanguage {
      color: white;
  }
}

/* Style for the globe icon (white) on screens with a maximum width of 768px */
@media (max-width: 1180px) {
  #switchLanguage {
      color: white;
  }
}

#switchLanguage.clicked {
  transform: rotate(180deg);
}
