/* header styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@500&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
  }
  #header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #E3E6F3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
  }
  
  #img-logo{
    height: 50px;
    width: 100px;
  }
  
  body{
    width: 100%;
  }
  
  #navbar{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #navbar li{
    list-style: none;
    padding: 0 20px;
    position: relative;
  }
  
  #navbar li a{
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: 0.5s ease-in-out;
  }
  
  #navbar li a:hover,
  #navbar li a.active{
    color: #088178;
  }
  
  #navbar li a.active::after,
  #navbar li a:hover::after{
    content: "";
    width: 30px;
    height: 2px;
    background: #088178;
    position: absolute;
    bottom: -4px;
    left: 20px;
  }
  /* newsletter section */
  #newsletter{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    background-position: 20% 30%;
    background-color: #088178;
  }
  
  #newsletter h4{
    font-size: 22px;
    font-weight: 700;
    color: #fff;
  }
  
  #newsletter p{
    font-size: 14px;
    font-weight: 500;
    color: #fff;
  }
  
  #newsletter .form{
    display: flex;
    width: 40%;
  }
  
  #newsletter input{
    height: 3.125rem;
    padding: 0 1.25rem;
    font-size: 14px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 4px;
    outline: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  #newsletter button{
    white-space: nowrap;
    color: #1a1a1a;
    background: #ef3636;
    border-radius: 0;
    padding: 10px;
  }
  
  #newsletter button:hover{
    color: #fff;
    box-shadow: 10px 10px 54px rgba(70, 62, 221, 0.1);
  }
  
  
  /* footer section */
  
  footer{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  footer .col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  
  footer .logo{
    margin-bottom: 30px;
  }
  
  footer h4{
    font-size: 14px;
    padding-bottom: 20px;
  }
  
  footer p{
    font-size: 13px;
    margin: 0 0 8px 0; 
  }
  
  footer a{
    font-size: 13px;
    text-decoration: none;
    color: #222;
    margin-bottom: 10px;
  }
  
  footer .follow{
    margin-bottom: 20px;
  }
  footer .follow i{
    color: #465b52;
    padding-right: 4px;
    cursor: pointer;
  }
  
  footer .follow i:hover,
  footer a:hover{
    color: #088178;
  }
  
  footer .copyright{
    width: 100%;
    text-align: center;
  }
 
  /* cart styling */
 
.main-container{
  max-width: 1200px;
  margin: 0 auto;
}
.main-container > h1{
  padding: 20px 0;
  text-transform: uppercase;
  text-align: center;
}
  .cart-container {
    display: flex;
    padding: 20px;
    /* justify-content:center ;
    padding: 2rem;
    margin-top: 20px;
    height: 200px;
    gap: 20px;
    */
  }
 
  .cart-item{
    display: flex;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border: 1px solid silver;
    flex: 0.75;
  }
  .cart-item:hover{
    border: none;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transform: scale(1.02);
  }
  .cart-item > img{
    width: 300px;
    height: 200px;
    object-fit: cover;
  }
  #Amount{
    padding-bottom: 5 px;
    align-items: center;
  }
  .remove{
    padding-left: 5px;
    margin: 1rem;
    
    /* background: #088178; */
    color: #fff;
  }
  .remove-btn{
    background-color: #088178;
    border: 1px solid #088178;
    border-radius: 10px;
    text-decoration: none;
    padding: 5px;
    color: #fff;

  }
  .remove-btn:hover{
    background-color: #fff;
    color: #000;
  }
  .summary{
    padding-left: 20px;
  }
  .item-details {
    /* border: 1px solid #ccc; */
    padding: 20px;
    border-radius: 5px;
  }
  
  .item-details h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
  }
  
  .item-details p {
    font-size: 1em;
    margin-bottom: 5px;
  }
  
  .action-buttons {
    margin-top: 15px;
  }
  .quantity p{
    display:flex;
  }
  
  /* Additional styling for checkout and continue shopping buttons */
  .checkout-button,
  .continue-shopping-button {
    background-color: #088178;
    border: 1px solid #088178;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
  }
  .continue-shopping-button a{
    text-decoration: none;
    color:inherit; 
  }
  .checkout-button:hover,
  .continue-shopping-button:hover {
    background-color: #fff;
    color: #000;
  }
  .continue-shopping-button a :hover{
    color: #000; 
  }
  /* For mobile devices */
  @media screen and (max-width: 768px) {
    .cart-container {
      flex-direction: column; /* Display items in a column on smaller screens */
      padding: 10px; /* Adjust padding for smaller screens */
    }
  
    .cart-item {
      height: auto; /* Allow items to adjust height based on content */
      margin-bottom: 20px; /* Add space between items */
      border: none; /* Remove border for individual items */
      box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add box shadow for each item */
      transform: none; /* Reset transformation */
      flex-direction: column; /* Change layout to a column for individual items */
    }
  
    .cart-item > img {
      width: 100%; /* Make images occupy full width */
      height: auto; /* Allow images to adjust height */
      object-fit: cover; /* Maintain aspect ratio */
      max-height: 200px; /* Limit max height for images */
    }
  
    .item-details {
      padding: 10px; /* Adjust padding for item details */
    }
  
    .item-details h3 {
      font-size: 1.1em; /* Adjust font size for item titles */
      margin-bottom: 8px; /* Adjust margin for item titles */
    }
  
    .item-details p {
      font-size: 0.9em; /* Adjust font size for item details */
      margin-bottom: 4px; /* Adjust margin for item details */
    }
  
    .remove {
      display: flex; /* Ensure the remove button is displayed */
      align-items: center; /* Align button with other elements */
    }
  
    .remove-btn {
      margin-top: 10px;
      align-self: flex-start;
      position: absolute;
      bottom: 10px;
      right: 10px;
    }
  
    .action-buttons {
      margin-top: 10px; /* Adjust margin for action buttons */
    }
  
    /* Additional styling for checkout and continue shopping buttons */
    .checkout-button,
    .continue-shopping-button {
      padding: 8px 16px; /* Adjust padding for buttons */
      font-size: 0.9em; /* Adjust font size for buttons */
      margin-right: 8px; /* Adjust margin for buttons */
    }
  }


  /* favourite page styling begins here */
 .favorites {
  margin-bottom: 30px;
}

.fav{
  padding: 40px 90px;
  display: flex;
  grid-template-columns: repeat(auto-fit, minimax(220px, auto));
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
#fav-head{
  display: flex;
  justify-content: center;
  font-size: 1.5em;
  text-transform: uppercase;
}
 .fav-card {
  width: 250px;
  height: 460px;
  text-align: center;
  padding: 15px 20px;
  box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
  border: 1px solid #cce7d0;
  border-radius: 4px;
  margin: 10px 5px;
  cursor: pointer;
  
}

.pre-nav-design-icon {
  fill: white; 
  width: 24px; 
  height: 24px; 
  
}
#img-fav{
  border-radius: none;
  overflow: hidden;
  height: auto;
  width: 100%;
  
}


.price {
  font-weight: bold;
  color: #333;
}

.description {
  color: #666;
  margin-bottom: 10px;
}

.add-to-cart, .remove-from-favorites, .empty-favorites {
  background-color: #088178;
  border: 1px solid #088178;
  border-radius: 10px;
  text-decoration: none;
  padding: 5px;
  color: #fff;

}
.add-to-cart, .remove-from-favorites{
  margin: 5px;
}

.add-to-cart:hover, .remove-from-favorites:hover, .empty-favorites:hover {
  background-color: #fff;
  color: #000;
}

.actions a{
  background-color: #088178;
  text-decoration: none;
  border-radius: 10px;
  color: #f2f2f2;
  align-items: center;
  padding: 5px;
  border: 1px solid #088178;
}
.actions a:hover{
  background-color: #fff;
  color: #000;
}
.section-p1{
  padding: 40px 80px;
}
.section-m1{
  margin: 40px 0;
}

button.normal{
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  outline: none;
  transition: 0.2s;
} 
/* For mobile devices */
@media screen and (max-width: 600px) {
  .fav {
    padding: 20px; /* Adjust padding for smaller screens */
    justify-content: center; /* Center-align cards */
  }

  .fav-card {
    width: 100%; /* Allow cards to occupy full width */
    margin: 10px 0; /* Adjust margin for smaller screens */
    height: auto; /* Allow cards to adjust their height */
    box-shadow: none; /* Remove box-shadow for smaller screens */
    border: none; /* Remove border for smaller screens */
  }

  .fav-card img {
    width: 100%; /* Make images occupy full width */
    border-radius: 4px; /* Add border-radius to images */
    margin-bottom: 10px; /* Adjust margin for smaller screens */
  }

  .price {
    margin-top: 5px; /* Adjust margin for smaller screens */
  }

  .description {
    margin-bottom: 15px; /* Adjust margin for smaller screens */
  }

  .add-to-cart,
  .remove-from-favorites,
  .empty-favorites,
  .actions a {
    padding: 8px 20px; /* Adjust padding for smaller screens */
    font-size: 12px; /* Adjust font size for smaller screens */
  }
}


/* About Us page */
header {
  background-color: #f2f2f2;
  text-align: center;
  padding: 20px 0;
}

h1 {
  margin: 0;
  color: #333;
}

.about-website, .team {
  width: 80%;
  margin: 20px auto;
}

h2 {
  color: #333;
}
.team-team {
  background-image: linear-gradient(to bottom right, #F8CFBF, #F5A8A8); /* Replace these color codes with your preferred gradient colors */
}

#team-title{
  display: flex;
  justify-content: center;
}
.team{
  display: flex;
  justify-content: center;
  gap: 20px;
}

.team-member {
  margin-bottom: 30px;
  max-width: 250px;
  height: auto;
}

.team-member img {
  max-width: 100px;
  border-radius: 50%;
  transition: transform 0.3s, border-radius 0.3s;
}

.team-member img:hover {
  border-radius: 70%; /* Increasing border-radius for a rounder effect */
  transform: scale(1.1); /* Adding a slight zoom effect on hover */
}
#mentor-hh{
  display: flex;
  justify-content: center;
  color: #333;
}
.mentor{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.team-mentor{
  margin-bottom: 30px;
  max-width: 400px;
}
.team-mentor img{
  max-width: 100px;
  border-radius: 50%;
  transition: transform 0.3s, border-radius 0.3s;
}

.more-info{
  text-align: center;
}
.readme-btn{
  background-color: #088178;
  text-decoration: none;
  border-radius: 10px;
  color: #f2f2f2;
  align-items: center;
  padding: 5px;
  border: 1px solid #088178;
}
.readme-btn:hover{
  background-color: #fff;
  color: #000;
}
/* For mobile devices */
@media screen and (max-width: 600px) {
  .about-website, .team {
    width: 90%; /* Adjust width for smaller screens */
  }

  .team-member {
    max-width: 100%; /* Allow team member cards to occupy full width */
  }

  .team-member img {
    max-width: 80px; /* Reduce image size for smaller screens */
  }

  .team-mentor {
    max-width: 90%; /* Adjust mentor section width for smaller screens */
  }
}
