@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*  ==========================================================================
    Common Styles
    ========================================================================== */

.image-container {
    position: relative;
    width: 100%;
   
    height: 450px;
    background-image: url('./img/exp1.webp'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    border-radius: 0px;
    overflow: hidden;
    display: flex;
   
    
  }
  
  .title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  }
  
  .title {
    color: #fff;
    font-size: 48px;
    /* font-weight: bold; */
    text-align: center;
    margin: 0;
  }
  
/* Dropdown container */
.dropdown {
  width: 100%;
  max-width: 400px; /* Adjust the max-width as needed */
  border-radius: 8px;
  margin-left: 1100px; 
  margin-top: 50px;
  position: relative; /* Ensure positioning for dropdown content */
}

/* Dropdown button */
.dropdown-btn {
  width: 100%;
  padding: 10px 20px;
  font-size: 20px;
  background-color: #fefeff12;
  color: rgb(254, 248, 248);
  border: none;
  cursor: pointer;
  border-radius: 40px;
  max-width: 150px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-height: 200px; /* Set a max-height to make it scrollable */
  overflow-y: auto; /* Enable vertical scrolling */
  border-radius: 10px;
  opacity: 0; /* Initially hidden */
  transform: translateY(-20px); /* Slide up effect */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Animation */
}

/* Fancy scrollbar styling */
.dropdown-content::-webkit-scrollbar {
  width: 8px;
}

.dropdown-content::-webkit-scrollbar-track {
  background: #f1f1f1; /* Scrollbar track background */
}

.dropdown-content::-webkit-scrollbar-thumb {
  background-color: #e0a031; /* Scrollbar handle color */
  border-radius: 10px; /* Round handle */
  border: 2px solid #f1f1f1; /* Optional: Border around handle */
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
  background-color: #b97f29; /* Darker color on hover */
}

/* Submenu item styles */
.submenu-item {
  padding: 6px 8px;
  cursor: pointer;
  text-align: left;
}

.submenu-item a {
  text-decoration: none;
  color: #333;
  display: block;
  width: 100%;
  padding: 5px;
}

/* Hover effect for submenu items */
.submenu-item:hover {
  background-color: #f0f0f0;
}

/* Show dropdown content when .show class is added */
.show {
  display: block;
  opacity: 1; /* Fade-in effect */
  transform: translateY(0); /* Drop down smoothly */
  border-radius: 10px;
}

/* Transition for dropdown button hover */
.dropdown-btn:hover + .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 20px; /* Space between grid items */
    width: 100%; /* Container width */

    padding: 10px;
    height: 80vh;
    background-color: white;
  
  }
  @media (min-width: 800px) and (max-width: 850px) { 
    .grid-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* Two equal columns */
      gap: 20px; /* Space between grid items */
      width: 100%; /* Container width */
      max-width: 1500px; /* Max width */
      padding: 10px;
      height: 45vh;
      background-color: white;
    
    }
  }
  
  .grid-item {
    display: flex;
    flex-direction: column;
    border-radius: 2px;
    overflow: hidden;
  }
  
  .image-link {
    display: block;
    width: 100%;
    height: 600px; /* Fixed height for image section */
    text-decoration: none; /* Remove underline from links */
  }
  
  .image-section {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }
  
  .image1 {
    background-image: url('img/p4.1.webp'); /* Replace with your image URL */
  }
  
  .image2 {
    background-image: url('img/expertise/architect1.2.jpg'); /* Replace with your image URL */
  }
    
  .image3 {
    background-image: url('img/expertise/architect1.3.jpg'); /* Replace with your image URL */
  }
    
  .image4 {
    background-image: url('img/project7/website\ 1.webp'); /* Replace with your image URL */
  }
  .image5 {
    background-image: url('img/project10/website\ 1.webp'); /* Replace with your image URL */
  }
  .image6 {
    background-image: url('img/project13/website\ 1\ \(1\).jpg'); /* Replace with your image URL */
  }
  .image7 {
    background-image: url('img/project14/website\ 2.jpg'); /* Replace with your image URL */
  }
  .image8 {
    background-image: url('img/project12/website\ 1.jpg'); /* Replace with your image URL */
  }
  .image9 {
    background-image: url('img/project20/website\ 1.jpg'); /* Replace with your image URL */
  }
  .image10 {
    background-image: url('img/project24/meraki\ website\ 1.jpg'); /* Replace with your image URL */
  }
  .content-section {
    padding: 20px;
    background-color: #ffffff;
  }
  
  .content-title {
    margin: 0;
    font-size: 24px; 
    color: #333;
  }
  
  .content-text {
    margin: 10px 0 0;
    font-size: 16px;
    color: #666;
  }

  /* Responsive styles for small screens */
@media screen and (max-width: 768px) {
  .image-container {
      height: 300px; /* Reduce height for smaller screens */
  }

  .title {
      font-size: 32px; /* Adjust font size for smaller screens */
  }

  .dropdown-btn {
      font-size: 16px; /* Adjust font size for dropdown button */
      max-width: 120px; /* Reduce max width */
  }

  .grid-container {
      grid-template-columns: 1fr; /* Single column layout */
      gap: 10px; /* Reduce gap between items */
      height: auto; /* Adjust height to fit content */
  }

  .image-link {
      height: 300px; /* Adjust height for images */
  }

  .content-section {
      padding: 15px; /* Adjust padding for smaller screens */
  }

  .content-title {
      font-size: 20px; /* Adjust font size for titles */
  }

  .content-text {
      font-size: 14px; /* Adjust font size for text */
  }
}

/* Responsive styles for extra small screens (mobile devices) */
@media screen and (max-width: 480px) {
  .image-container {
      height: 200px; /* Further reduce height for extra small screens */
  }

  .title {
      font-size: 24px; /* Further adjust font size for smaller screens */
  }

  .dropdown-btn {
      font-size: 14px; /* Further adjust font size for dropdown button */
      max-width: 100px; /* Further reduce max width */
  }

  .grid-container {
      padding: 5px; /* Further reduce padding for mobile devices */
  }

  .content-section {
      padding: 10px; /* Further adjust padding for mobile devices */
  }

  .content-title {
      font-size: 18px; /* Further adjust font size for titles */
  }

  .content-text {
      font-size: 12px; /* Further adjust font size for text */
  }
}
/* Responsive styles for smaller screens */
@media screen and (max-width: 1024px) {
  .dropdown {
      margin: 30px auto 0; /* Reduce top margin for smaller screens */
      max-width: 350px; /* Adjust max width */
  }
}

@media screen and (max-width: 768px) {
  .dropdown {
      margin: 20px auto 0; /* Further reduce top margin */
      max-width: 300px; /* Further reduce max width */
  }
}

@media screen and (max-width: 480px) {
  .dropdown {
      margin: 10px auto 0; /* Reduce top margin for mobile devices */
      max-width: 250px; /* Further adjust max width */
  }
}


/* Anchor Tag Styling */
.expertise-link {
  position: absolute; /* Absolute positioning within the overlay */
  padding-right: 1300px;
  top: 20px; /* Position from the top */
  right: 20px; /* Position from the right */
  color: #fff; /* White text color */
  font-size: 18px; /* Font size for the link text */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Bold text for emphasis */
  cursor: pointer; /* Pointer cursor to indicate it's clickable */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover Effect for the Anchor Tag */
.expertise-link:hover {
  color:  #eec762; /* Change text color on hover */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .title {
    font-size: 32px; /* Smaller font size for smaller screens */
  }

  .expertise-link {
    font-size: 16px; /* Adjust font size for smaller screens */
    top: 10px; /* Adjust position for smaller screens */
    right: 10px; /* Adjust position for smaller screens */
  }
}

@media (max-width: 1400px) {

  .expertise-link {
    position: absolute; /* Absolute positioning within the overlay */
    padding-right: 1150px;
    top: 20px; /* Position from the top */
    right: 20px; /* Position from the right */
    color: #fff; /* White text color */
    font-size: 18px; /* Font size for the link text */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Bold text for emphasis */
    cursor: pointer; /* Pointer cursor to indicate it's clickable */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
  }
}


 /*///////////////////////////// filter tab  /////////////////////////////////////////*/

  /* Basic styling for the page header */
  .page-header {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.page-content button {
    padding: 10px 30px;
    background-color: #ffee0008;
    color: white;
    border: none;
    cursor: pointer;
    left: 400px;

    font-size: 16px;
    margin-top: 80px;
    border-radius: 30px;
    border: 2px solid rgb(79, 78, 78);
}
@media (max-width: 980px) {
  .page-content button {
    padding: 10px 30px;
    background-color: #ffee0008;
    color: white;
    border: none;
    cursor: pointer;
    left: 300px;

    font-size: 16px;
    margin-top: 80px;
    border-radius: 30px;
    border: 2px solid rgb(79, 78, 78);
}

}

@media (max-width: 768px) {

  .page-content button {
    padding: 10px 30px;
    background-color: #ffee0008;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    left: 0;
    margin-top: 20px;
    border-radius: 30px;
    border: 2px solid rgb(79, 78, 78);
}
}

.page-content button:hover {
    background-color: #40403e;
}

/* Filter Menu styling */
.filter-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 0;
    background-color: rgba(79, 79, 79, 0.916);
    overflow: hidden;
    transition: height 0.5s ease;
    z-index: 1000;
}

.filter-container.open {
    height: 80vh;
}

.filter-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
}

.filter-menu li {
    margin: 20px 0;
}

.filter-menu li a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.filter-menu li a:hover {
    color:  #eec762;
}

/* Close button styling */
.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    background: none;
    border: none;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

.close-btn:hover {
    color:  #eec762;
}

/* Responsive styling */
@media (max-width: 768px) {
    .filter-menu li a {
        font-size: 20px;
    }

    .close-btn {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .filter-menu li a {
        font-size: 18px;
    }

    .close-btn {
        font-size: 20px;
    }
}