/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #002f34;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
 header {
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
} 

.header-container{
    display: flex;
    gap:0px;
     padding: 0px 10px;
    flex-direction: column;
}

.head{
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    align-items: center;
}

.olx-logo {
    width: 70px;
    color: #000000;
    height: auto;
}

.nav-tabs {
    display: flex;
    gap: 25px;
    padding-left: 20px;
}

.tab {
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tab.active i {
    border-radius: 30px;
    color: #303030;
    background-color: #e9e9e9;
}

.location-selector {
    display: flex;
    align-items: center;
    align-items: baseline;
    justify-content: space-between;
    width: 250px;
    padding: 7px 15px;
    border: 2px solid #e5eaeb;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.location-selector span{
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: baseline;
}
.search-container {
    flex: 1;
    display: flex;
    margin: 0 15px;
    max-width: 700px;
}

.search-container input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5eaeb;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    background-color: #002f34;
    color: white;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    font-weight: 700;
    font-size: 16px;
    color: #002f34;
}

.sell-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background-image:url('assets/asset\ 1.svg');
    color: #002f34;
    width: 100px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center ;
    gap: 6px;
    border-radius: 30px;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.2s;
}

.sell-btn:hover {
    background-color: #002f34;
    color: white;
}

/* Categories Navigation */
.categories-nav {
    background-color: white;
    padding: 10px 0;
}

.categories-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
}

.categories-list::-webkit-scrollbar {
    height: 0;
}

.categories-list li a {
    font-size: 14px;
    color: #002f34;
    font-weight: 400;
}

.categories-list li a.active {
    font-weight: 700;
}

/* Banner Ad */
.banner{
    padding: 15px 20%;
    margin: 0 auto;
    background-color: white;
}

.banner img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 24px;
    font-weight: 500;
    color: #002f34;
}

.view-more {
    font-size: 14px;
    color: #002f34;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* All Categories Section */
.all-categories {
    background-color: white;
    padding: 20px 0;
    margin-bottom: 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.category-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(241, 241, 241);
    font-size: 34px;
}

.category-icon.mobile {
    background-color: #ffce32;
}

.category-icon.vehicles {
    background-color: #3a77ff;
}

.category-icon.property {
    background-color: #ff5636;
}

.category-icon.property-rent {
    background-color: #23e5db;
}

.category-icon.electronics {
    background-color: #3a77ff;
}

.category-icon.bikes {
    background-color: #23e5db;
}

.category-icon.business {
    background-color: #3a77ff;
}

.category-icon.services {
    background-color: #ff5636;
}

.category-icon.jobs {
    background-color: #ffce32;
}

.category-icon.animals {
    background-color: #ffce32;
}

.category-icon.furniture {
    background-color: #3a77ff;
}

.category-icon.fashion {
    background-color: #23e5db;
}

.category-icon.books {
    background-color: #ff5636;
}

.category-icon.kids {
    background-color: #3a77ff;
}

.category-item span {
    font-size: 15px;
    color: #002f34;
    font-weight: 600;
}

/* Product Sections */
.product-section {
    background-color: white;
    padding: 20px 0;
    margin-bottom: 20px;
}

.view-more{
    font-weight: bold;
    font-size: 16px;
    color: #3a77ff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 180px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-icon {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.product-details {
    padding: 12px;
    border-top:1px solid #c9c9c9;
}

.price {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: #002f34;
    margin-bottom: 5px;
}

.title {
    font-size: 14px;
    color: #002f34;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location, .time {
    font-size: 12px;
    color: #777;
}

/* App Download Section */
.app-download {
    background-color: #f7f8f9;
    padding: 0px;
}

.app-content {
    padding-top: 50px;
    display: flex;
gap: 40px;
    align-items: center;
  
}

.app-image img {
    width: 100%;
    height: 100%;
}

.app-info {
    display: flex;
        flex-wrap: wrap;
    gap: 30px;
}
.app-info .app-info-1{
    border-right: 1px solid #303030;
}
.app-info .app-info-1 h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-info .app-info-1 p {
    font-size: 16px;
    margin-bottom: 15px;
}

.app-links p {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-buttons {
    display: flex;
    gap: 10px;
}

.app-buttons img {
    height: 40px;
    width: 120px;
}

/* Footer */
footer {
    background-color: #ebeeef;
}

.footer-top {
    padding: 40px 0;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #002f34;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    font-size: 12px;
    color: #002f34;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.social-icons a {
    font-size: 20px;
    color: #002f34;
}

.app-store-links {
    display: flex;
    gap: 5px;
    flex-direction: row;
}

.app-store-links a img{
    width: 80px;
}

.footer-bottom {
    background-color: #002f34;
    color: white;
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-columns {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}