*{
    padding: 0;
      margin: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
  }

/* Default styles for desktop */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar .logonav img {
    width: 130px;
    margin-left: 20px;
    padding: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links > a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease, border 0.3s ease;
}

.nav-links > a:hover {
    color: #ddd;
    transform: scale(1.1);
    border: 1px solid #fff;
    padding: 5px;
}

.cart-count {
    background-color: red;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.cart-count:hover {
    transform: scale(1.2);
}

/* .user-dropdown-content {
    position: absolute;
    top: 65%;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 1%;
} */

/* .user-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
} */

/* .user-dropdown-content a:hover {
    background-color: #ddd;
} */

/*  */
.user-dropdown-content {
    display: none; /* Hide dropdown by default */
    position: absolute; /* Position it below the user link */
    background-color: white; /* Background color */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Optional shadow */
    z-index: 1; /* Ensure it appears above other content */
}

.user-dropdown-content a {
    display: block; /* Make links block elements */
    padding: 10px; /* Add some padding */
    color: #333; /* Text color */
    text-decoration: none; /* Remove underline */
}

.user-dropdown-content a:hover {
    background-color: #f1f1f1; /* Change background on hover */
}

.userNav {
    position: relative; /* Position relative to allow absolute positioning of dropdown */
}
/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 10px;
    }

    .navbar .logonav img {
        width: 100px;
        margin-left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        /* background:#333; */

    }

    .nav-links > a {
        margin: 5px 0;
        padding: 8px 10px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links > a:hover {
        transform: none;
        border: none;
    }

    .user-dropdown-content {
        right: 5%;
        width: calc(100% - 20px);
    }
}
/*  */
.hamburger {
    display: none; /* Hide by default */
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: #000;
    margin: 3px 0;
}

.nav-links {
    display: flex; /* Show links in a row */
}

@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }

    .nav-links {
        display: none; /* Hide links by default on mobile */
        flex-direction: column; /* Stack links vertically */
        width: 100%;
        /* background-color: white; Optional: background color */
    }

    .nav-links.active {
        display: flex; /* Show links when active */
    }
}
/* Responsive styles for very small screens */
@media (max-width: 480px) {
    .navbar {
        padding: 5px;
    }

    .navbar .logonav img {
        width: 80px;
    }

    .nav-links > a {
        font-size: 14px;
        padding: 6px 8px;
    }

    .cart-count {
        font-size: 10px;
        top: -5px;
        right: -5px;
    }
}



/*  */
  /* buy,sell, giveaway */
  .containerB {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.cardsB {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
@media (min-width: 640px) {
    .cardsB {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .cardsB {
        grid-template-columns: repeat(3, 1fr);
    }
}
.cardB {
    /* background-color: #fff; */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.cardB:hover {
    animation: funnyAnimationB 0.5s ease-in-out;
}
.cardB img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    animation: graphicAnimationB 2s infinite;
}
.card-titleB {
    font-size: 1.8em;
    margin: 20px 0;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: #084c7f;
}
.card-descriptionB {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}
.cardB a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
/* .cardsB a:hover {
    opacity: 0.8;
} */
.cardsB .buyB {
    background-color: #4299e1;
    color: #333;
}
.cardsB .sellB {
    background-color: #48bb78;
}
.cardsB .giveawayB {
    background-color: #f56565;
}
@keyframes funnyAnimationB {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
@keyframes graphicAnimationB {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* imp */
.containerI {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.sectionI {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpI 1s forwards;
}
.sectionI h2 {
    font-size: 2em;
    margin: 0;
    padding: 20px;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpI 1s forwards 0.5s;
}
.section-contentI {
    display: flex;
    align-items: flex-start;
    padding: 20px;
}
.sectionI img {
    width: 30%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-right: 20px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpI 1s forwards 1s;
}
.sectionI .contentI {
    width: 70%;
}
.sectionI .contentI p {
    margin: 0 0 10px;
    line-height: 1.8;
    color: #555;
    font-size: 1.1em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpI 1s forwards 1.5s;
}
.sectionI .contentI p:first-child {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}
.sectionI .contentI p span {
    color: #007BFF;
    font-weight: bold;
}
.sectionI .contentI p::before {
    content: "• ";
    color: #007BFF;
    font-weight: bold;
}
@keyframes fadeInUpI {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .section-contentI {
        flex-direction: column;
        align-items: center;
    }
    .sectionI img {
        width: 100%;
        margin: 0 0 20px 0;
    }
    .sectionI .contentI {
        width: 100%;
    }
}
/* benfits */
.section-benefits {
    position: relative;
    text-align: center;
    color: #333;
    /* padding: 10px 0; */
    padding: 10px;
    /* max-width: 1300px; */
    /* margin: auto; */
    background-color: #eaedef;
/* height: auto; */
/* border: 2px solid; */
}
.section-benefits h2 {
    font-size: 2.5em;
    padding: 5px 20px;
    /* border-radius: 10px; */
    display: inline-block;
    animation: fadeInDownb 1s ease-in-out;
    /* border: 2px solid red; */
}
.content-benefits {
    padding:0 20px;
    color: #333;
    animation: fadeInb 1s ease-in-out;
    /* border-radius: 10px; */
    /* border: 2px solid red; */
}
.content-benefits p {
    margin: 10px 0;
    animation: fadeInb 1s ease-in-out;
}
.content-benefits strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    animation: fadeInb 1s ease-in-out;
}
@keyframes fadeInb {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInDownb {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUpb {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeftb {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRightb {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
.benefit-item {
    display: flex;
    align-items: center;
    /* margin-bottom: 20px; */
    animation: fadeIn 1s ease-in-out;
    transition: transform 0.3s ease-in-out;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    max-width: 1300px;
    margin: 10px auto;
}
.benefit-item img {
    margin-right: 15px;
    width: 100px;
    height: auto;
    border-radius: 10px; /* Add border radius here */
    animation: slideInLeft 1s ease-in-out;
}
.benefit-item.evenb {
    flex-direction: row-reverse;
}
.benefit-item.evenb img {
    margin-right: 0;
    margin-left: 15px;
    animation: slideInRight 1s ease-in-out;
}
.benefit-item h3 {
    color: #007BFF; /* Change the color here */
    animation: fadeInUp 1s ease-in-out;
}
.benefit-item:hover {
    transform: scale(1.05);
}
.btn-toggleb {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    animation: fadeInUp 1s ease-in-out;
}
.btn-toggleb:hover {
    background-color: #0056b3;
}
.extra-contentb {
    display: none;
}
/* values */
.values {
    margin-top: 40px;
    margin-bottom: 20px;
    background: #eaedef;
    padding: 20px;
  }
  
  .values h2 {
    /* font-size: 1.5rem; */
    /* color: #000; */
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .values-item {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.5s ease-in-out;
  }
  
  .values-item:hover{
    transform: scale(1.05);
  }
  .values-item h4 {
    font-size: 1.2rem;
    color: rgb(187, 187, 77);
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .values-item p {
    font-size: 0.9rem;
    color: #555;
  }
  /* scuccess stories */
  .categories {
    padding: 40px 20px;
    background: #e0e0e0;
  }

  .categories h2 {
    text-align: center;
    color: #ff6b35;
    font-size: 2.5em;
  }

  .categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
  }

  .category-card {
    background: white;
    width: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .category-card:hover {
    transform: scale(1.05);
  }

  .category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

  .category-card h3 {
    padding: 15px;
    text-align: center;
    font-size: 1.2em;
    color: #333;
  }

  

  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
      text-align: center;
    }

    .hero img {
      margin-bottom: 20px;
    }

    .categories-grid {
      flex-direction: column;
      align-items: center;
    }
  }
  /*  */
  
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 40px;
    position: relative;
    overflow: hidden;
  }
  .footer::before, .footer::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    animation: animate 20s linear infinite;
  }
  .footer::after {
    animation-delay: 10s;
  }
  @keyframes animate {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
  }
  .footer .container1 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
  }
  .footer .logo1 {
    flex: 1;
    margin: 20px;
    /* animation: bounce1 2s infinite; */
  }
  .footer .logo1 img {
    max-width: 250px;
  }
  @keyframes bounce1 {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
  }
  .footer .about1, .footer .quick-links, .footer .contact-info1 {
    flex: 1;
    /* margin: 20px 0; */
  }
  .footer h3{
    color: #f39c12;
  }
  .footer .about1 p {
    line-height: 1.6;
  }
  .footer .quick-links ul, .footer .contact-info1 ul {
    list-style: none;
    padding: 0;
  }
  .footer .quick-links ul li, .footer .contact-info1 ul li {
    margin-bottom: 10px;
  }
  .footer .quick-links ul li a, .footer .contact-info1 ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer .quick-links ul li a:hover, .footer .contact-info1 ul li a:hover {
    color: #f39c12;
  }
  .footer .contact-info1 ul li {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer .contact-info1 ul li i {
    margin-right: 10px;
  }
  .footer .social-icons1 {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .footer .social-icons1 a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s;
  }
  
  .footer .social-icons1 a:hover {
    color: #f39c12;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
  }
  /* login form */
  .login-container {
    background-color: #FBF7F4;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 700px;
    text-align: center;
    width: 500px;
    padding: 20px;
    transform: translate(100%,20%);
    z-index: 5;
    display: none;
}
.login-container h1 {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 20px;
}
.login-container input[type="text"],
.login-container input[type="password"],
.login-container input[type="email"],
.login-container input[type="number"] {
    width: 300px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #E3DFDE;
    border-radius: 5px;
    font-size: 1em;
    background-color: #f8f9fa;
}
.login-container a {
    color: #a1683a;
    text-decoration: none;
    font-size: 0.9em;
}
.login-container a:hover {
    text-decoration: underline;
}
.login-container .terms {
    font-size: 0.8em;
    color: #6C9A8B;
    margin: 20px 0;
    text-align: center;
}
.login-container .terms a {
    color: #a1683a;
}
.login-container button {
    background-color: #E3DFDE;
    color: #a1683a;
    border: 1px solid #a1683a;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
}
.login-container button:hover {
    background-color: #a1683a;
    color: #E3DFDE;
}
.login-container .create-account {
    margin-top: 20px;
    font-size: 0.9em;
    text-align: center;
}
.login-container .create-account a {
    cursor: pointer;
}
.hidden {
    display: none;
}
.create-account-container {
    width: 700px;
    padding: 20px;
    background-color: #E3DFDE;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.welcome-message {
    font-size: 1.5em;
    color: #6C9A8B;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* login page sdcond part 

.container {
    font-family: Arial, sans-serif;
    background-color: #FBF7F4;
    color: #6C9A8B;
    text-align: center;
    padding: 50px;
}
.signup-form {
    margin: 20px 0;
}
.signup-form input[type="email"] {
    padding: 10px;
    width: 300px;
    border: 1px solid #6C9A8B;
    border-radius: 5px;
    margin-right: 10px;
    background-color: #E3DFDE;
    color: #6C9A8B;
}
.signup-form input[type="submit"] {
    padding: 10px 20px;
    border: 1px solid #6C9A8B;
    border-radius: 5px;
    background-color: #a1683a;
    color: #FBF7F4;
    cursor: pointer;
}
.signup-form input[type="submit"]:hover {
    background-color: #EED2CC;
}
.terms {
    margin-top: 10px;
    font-size: 14px;
}
.terms a {
    color: #a1683a;
    text-decoration: none;
}
.social-icons {
    margin: 30px 0;
}
.social-icons i {
    font-size: 24px;
    color: #a1683a;
    margin: 0 10px;
    cursor: pointer;
}
.footer-links {
    margin: 20px 0;
}
.footer-links a {
    color: #6C9A8B;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}
.footer-bottom {
    margin-top: 20px;
    font-size: 12px;
}
.footer-bottom a {
    color: #6C9A8B;
    text-decoration: none;
    margin: 0 10px;
}
.footer-bottom a:hover {
    text-decoration: underline;
} */
