@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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');
@import url('https://fonts.googleapis.com/css2?family=Allerta&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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');
@import url('https://fonts.googleapis.com/css2?family=Allerta&family=Allura&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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');
@import url('https://fonts.googleapis.com/css2?family=Allerta&family=Allura&family=Archivo:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; 
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
}

.navbar {
    width: 100%;
    background-color: white;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 0.1rem 2rem;
    position: fixed; /* Optional: Fix navbar at the top */
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px; /* Center content with max width */
    margin: 0 auto;
}

.logo{
    margin-left:5%;
}

.logo img {
    width: 120px; /* Adjust logo size */
}

.menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem; 
    margin-right: 40%;
}

.menu-items li {
    list-style: none;
}

.menu-items a {
    text-decoration: none;
    color: black;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.menu-items a:hover {
    color: #379AE6;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Position below the parent item */
    left: 0;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    border-radius: 0.5rem;
    z-index: 999;
    min-width: 200px; /* Consistent dropdown width */
}

.dropdown-menu li {
    padding: 0.8rem 1.5rem;
    white-space: nowrap; /* Prevent text wrapping */
}

.dropdown-menu li a {
    color: black;
    font-size: 1.5rem;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    color: #379AE6;
    background-color: white;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.home-container{
    min-height: 90vh;
    width: auto;
    background-image: url('image/a-z.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 1%;
    margin-bottom: 10%;
}

.home-page{
    display: flex;
    flex-direction: column;
    height: 100%;
    font-size: 1.9em;
}
.home-text{
    padding: 7% 0 0 0;
    font-size: 4rem;
}

.heading{
    color: white;
    padding: 7% 0 0 5%;
    text-align: left;
    font-family: 'Allerta';
}

.description{
    color: white;
    font-family: 'Inter';
    font-size: 1.7rem;
    text-align: left;
    padding-left: 5%;
}

.shop-button{
    padding: 0 0 0 5%;
}

.btn{
    display: inline-block;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    margin-top: 1em;
    font-weight: 500;
    font-size: 1.2rem;
}

.button{
    color: white;
    background: #379AE6;
    text-decoration: none;
    transition: transform 0.3s ease; 

}

.button:hover{
    transform: scale(1.05);

}
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
}
.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
}
.card img {
    width: 100%;
    height: auto;
}
.card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.original-price {
    text-decoration: line-through;
    color: gray;
    margin-right: 8px;
    font-size: 1.2em;
}

.discounted-price {
    color: #379AE6;
    font-weight: bold;
    font-size: 1.2em;
}

.card p {
    font-size: 1rem;
    color: #777;
}
.card a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}
.pagination {
    text-align: center;
    margin-top: 20px;
}
.pagination button {
    margin: 0 5px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.pagination button:hover {
    background-color: #0056b3;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block; 
    text-align: center;
}

.product-link:hover {
    opacity: 0.9; 
}

.view-details {
    text-decoration: none;
    color: #379AE6;
    font-weight: bold;
}

.view-details:hover {
    text-decoration: underline;
}

footer {
    background-color: #1D2128;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 10%;
    width: 100%;
    min-height: 42vh;
    font-family: 'Inter';
}


.footer-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: row;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-contact{
    text-align: left;
    padding-right: 8em;
}

.footer-logo img {
    width: 20vw;
    height: auto;
}


.footer-contact h3 {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 0.8em;
}

.footer-menu{
    padding: 9% 0 0 15%;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    display: inline;
    margin: 0 1em 0 1em;
}

.footer-menu ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1em;
}

.footer-menu ul li a:hover {
    text-decoration: underline;
}


.footer-bottom-wrapper {
    border-top: 1px solid #555555; 
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}


.footer-bottom {
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    font-size: 1.2rem;
}
.hamburger {
    display: none;
}
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 0.5vh;
        cursor: pointer;
        position: absolute;
        left: 2.5vw;
        top: 50%; 
        transform: translateY(-50%);
    }

    .hamburger span {
        display: block;
        height: 0.5vh;
        width: 5vw;
        background-color: #333;
        border-radius: 0.2vw;
    }

    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .menu-items {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: absolute;
        top: 8vh;
        left: 0;
        width: 60%;
        background-color: #fff;
        padding: 2vh 2vw;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        min-height: calc(100vh - 8vh);
        overflow-y: auto;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-items li {
        width: 100%;
        text-align: left;
    }

    .menu-items a {
        font-size: 4.2vw;
        padding: 1vh 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        padding-left: 2vw;
    }

    .dropdown-menu li a {
        padding: 1vh 0;
        font-size: 4.2vw;
    }

    .home-container{
        min-height: 90vh;
        width: auto;
        background-image: url('image/a-z.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-top: 1%;
    }

    .home-text{
        padding: 50% 0 0 0;
        font-size: 2.7rem;
    }
    
    .description{
        font-size: 1.6rem;
    }

    .text{
        font-size: 3.3rem;
    }

    .footer-menu{
        display: none;
    }

    .footer-bottom-wrapper{
        margin-top: 40%;
    }

    .footer-logo img{
        width: 70vw;
        margin-top: 10%;
        margin-left: 10%;
    }

    .footer-contact{
        padding-left: 4.5em;
        text-align: center;
        padding-right: 0;
    }

    
}