
:root {
    --primary-color: #3d89bb;
    
    
}


* {
    margin: 0;
    padding: 0;
    font-family: "Poppins";
    font-style: normal;

}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    
}



header {
    background-color: #1f1e1ece;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.86);
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 1000;
    border: 1.5px solid #00000031;
    border-radius: 0.2rem;
    
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Fixed alignment issue */
    padding: 0.3rem 5%;
}

.logo {
    font-size: 1rem;
    font-weight: bold;
    width: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 4rem;
    font-size: 20px;
    
}

nav ul li a {
    position: relative;
    text-decoration: none;
    color: #accbee;
    font-size: larger;

}

/* Underline effect for nav items */
nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -3px; /* Adjust space between text and underline */
    left: 0;
    width: 0%; /* Initially hidden */
    height: 2px; /* Thickness of underline */
    background-color: #accbee; /* Color of underline */
    transition: width 0.4s ease-in-out; /* Smooth animation */
}

/* Hover effect to show underline */
nav ul li a:hover::after,
nav ul li a:focus::after {
    width: 100%; /* Full-width underline on hover/focus */
}


main {
    padding-top: 50px;
}

section {

    padding: 0;
}

h2 {
    text-align: center;
    margin-bottom: 1.8rem;
    font-size: 3rem;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
   
}

.hero video {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;

}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.545);
    padding: 2rem;
    border-radius: 10px;
    color: #fff;
}

.hero-baseinfo {
    
    display: flex; /* Use Flexbox for side-by-side layout */
    justify-content: space-between; /* Space blocks evenly across the full width */
    align-items: center; /* Align blocks vertically in the center */
    text-align: center; /* Center-align the text inside the blocks */
    gap: 20px; /* Add spacing between the blocks */
    width: 100%; /* Ensure it takes the full width of the container */
    
}

.info-block {
    position: relative;
    flex: 1; /* Ensure equal width for both blocks */
    display: flex; /* Use Flexbox for centering content inside */
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center-align content horizontally */
    justify-content: center; /* Center-align content vertically */
    padding: 20px; /* Add padding for appearance */
    box-sizing: border-box; /* Include padding in width calculation */
    text-align: center; /* Center-align the text */
    border: 1.5px solid var(--primary-color);
    
}

.info-block i {
    font-size: 25px; /* Adjust icon size */
}

.info-block a {
    font-size: 20px; /* Adjust font size */
    text-decoration: none; /* Remove underline */
    
}

.info-block p {
    font-size: x-large;
    font-weight: bold;
    margin-top: -20px;
    
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    
}

.hero-content p {
    margin-top: -20px;
    font-size: x-large;
    font-weight: bolder;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-left: 4.5rem;
}

.about-content img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 13%;
}


/* -----------------------------------------Products Section----------------------------------------------------- */
#products {
    
    padding: 2rem 5%;
    border-radius: 1rem;
    color: var(--primary-color);
    box-sizing: border-box; /* Ensures padding doesn't affect layout */
}

#products h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    
}

button.category-btn{
    font-size: 1.2rem;
}

.category-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}

.item-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}
.item-box {
    margin: 10px;
    width: calc(20% - 20px);
    text-align: center;
    transition: transform 0.3s ease-in-out; /* Smooth transition for item zoom effect */
}

.item-box:hover {
    transform: scale(1.07); /* Slight zoom effect on item hover */
}

.item-box img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.order-btn{
    font-size: large;
    margin-bottom: 20px;
}

.close-category {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background-color: #3e8e41;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

.close-category:hover {
    background-color: #c63030b0;
}




/* ------------------Contact Section----------------------------------  */
.contact-content {
    display: flex;
    justify-content: space-between;
    
}
.about-text h3 {
    font-size: 2rem;
}

.about-text p{
    font-size: 1.2rem;
}


form {
    padding-right: 4rem;
    width: 45%;
}

input {
    width: 100%;
    font-size: x-large;
    color: var(--primary-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 0.2rem solid #000;
    border-radius: 15px;
    border-color: var(--primary-color);
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}
textarea{
    width: 100%;
    font-size: 23px;
    color: var(--primary-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 0.2rem solid #000;
    border-radius: 15px;
    min-height: 200px;
    max-height: 400px;
    border-color: var(--primary-color);
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}

button {
    background-color: var(--primary-color);
    width: 9rem;
    height: 3.2rem;
    color: #000000;
    border: 1px solid #000;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 1rem;
    font-size: large;
}

.contact-info {
    width: 45%;
    padding-left: 5rem;
    font-size: larger;
}

.contact-info p {
    font-weight: 400;
}

footer {
    background-color: #3d89bb;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
}

.social-links {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(31, 30, 30, 0.273);
    padding: 1rem 0.5rem;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 500;
}

.social-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
    transition: color 0.3s ease;
    
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    .about-content, .contact-content {
        flex-direction: column;
    }

    .category, form, .contact-info {
        width: 100%;
        
    }
}



/*-------------------Mobile View----------------------------------------------*/

@media (max-width: 510px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        
    }

    html, body {
        width: 100%;
        overflow-x: hidden;
        
    }


    nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0%;
    
    }

    nav ul {
        display: flex;
        list-style: none;
        justify-content: center;
        margin-top: -15px;
        
        
    }


    nav ul li {
        
        text-align: center;
        margin: 10%;
        font-size: 15px;
        
    }
    
    nav ul li a {
        position: relative;
        color: #accbee;
        text-decoration: none;
       
    }

    .logo {
        width: 100%;
        font-size: 1.5rem;
    }

    .hero {
    width: 100%;
    margin-top: -130px;
    margin-bottom: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 10;
    overflow: hidden;
}

    .hero video {

        width: 100%;
        height: 70%;
        object-fit: cover;
    }

    .hero-content {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -30%);
        background-color: rgba(0, 0, 0, 0.521);
        padding: 1rem;
        border-radius: 10px;
        color: #fff;
        
        
    }

    .hero-content h1{
        font-size: 40px;
    }
    


    .hero-content p {
        font-size: 18px;
    }

    .hero-baseinfo{
     display: flex;
    flex-direction: column;
    
    }

    .info-block { 
    display: flex;
    width: 100%;
    }
    
    .info-block i {
        font-size: 25px; /* Adjust icon size */
    }
    
    .info-block a {
        font-size: 20px; /* Adjust font size */
        text-decoration: none; /* Remove underline */
        
    }
    
    .info-block p {
        font-size: large;
        font-weight: bold;
        margin-top: -20px;
        
    }

    
    
    
/* --------------ABOUT SECTION---------- */
    #about {
        padding-top: 10%;
        z-index: 20;
        
    }

    #about h2 {
        
        font-size: 30px;
        border: 1.5px solid #000;
        border-radius: 20px;
        text-align: center;
        margin-top: 20px !important;
        width: 200px;
        background: #efc44d3a;
        
        

    }
     
    .about-content {
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        width: 100%;
        
    }
    
    
    
    /* .about-content h2 {
        font-size: 2rem;
        text-align: center;
        
    } */

    .about-content img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 13%;
    }

    .about-text h3 {
        text-align: center;
        

    }

    .about-text p {
        text-align: center;
        font-size: 1.3rem;
    }

    #products {
        padding-top: 12%;
        width: 100%;
    }

    #products h2 {
        font-size: 1.5rem;
        text-align: center;
        text-align: center;
        border: 1.5px solid #000;
        background: #efc44d3a;
        border-radius: 20px;
        width: 240px;
        
    }

    button.category-btn{
        font-size: 17px;
    }

    .category-items,
    .item-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .item-box {
        margin: 10px 0;
        width: calc(50% - 20px);
        text-align: center;
    }

    .item-box img {
        width: 80%;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
    }

    #contact {
        padding-top: 10%;
        z-index: 20;
    }

    #contact h2 {
        font-size: 1.9rem;
        text-align: center;
        text-align: center;
        border: 1.5px solid #000;
        background: #efc44d3a;
        border-radius: 20px;
        width: 240px;
        
    }

    .contact-info p{
        display: flex;
        justify-content: flex-start;
        text-align: left;
    }


    .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        
        width: 100%;
    }

    form {
        padding: 0;
        width: 100%;
        margin-top: 30px;
    }

    input{
        border: 0.1rem solid var(--primary-color);
    }

    textarea {
        border: 0.1rem solid var(--primary-color);

    }

    button {
        font-weight: 500;
    }
    .contact-info {
        padding: 0;
        width: 100%;
    }

    .contact-info i{
        margin-right: 10px;
    }
    .contact-info p{
        align-items: center;
        text-align: center;
    }

    
    footer {
        padding: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .category {
        flex: 1 1 100%;
    }

    #products h2 {
        font-size: 2rem;
    }
}




@media (max-width: 450px) {
     * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        
    }

    html, body {
        width: 100%;
        overflow-x: hidden;
        
    }


    nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0%;
    
    }

    nav ul {
        display: flex;
        list-style: none;
        justify-content: center;
        margin-top: -15px;
        
        
    }


    nav ul li {
        
        text-align: center;
        margin: 10%;
        font-size: 15px;
        
    }
    
    nav ul li a {
        position: relative;
        color: #accbee;;
        text-decoration: none;
        font-weight: 500;
       
    }

    .logo {
        width: 100%;
        font-size: 1.5rem;
    }

    .hero {
    width: 100%;
    margin-top: -130px;
    margin-bottom: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 10;
    overflow: hidden;
}

    .hero video {

        width: 100%;
        height: 70%;
        object-fit: cover;
    }

    .hero-content {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -30%);
        background-color: rgba(0, 0, 0, 0.521);
        padding: 1rem;
        border-radius: 10px;
        color: #fff;
        
        
    }

    .hero-content h1{
        font-size: 40px;
    }
    


    .hero-content p {
        font-size: 18px;
    }

    

    #about {
        padding-top: 10%;
        z-index: 20;
        
    }

    #about h2 {
        
        font-size: 30px;
        border: 1.5px solid #000;
        border-radius: 20px;
        text-align: center;
        margin-top: -50px;
        width: 200px;
        background: #efc44d3a;
        
        

    }
     
    .about-content {
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        width: 100%;
        
    }
    
    
    
     .about-content h2 {
        font-size: 2rem;
        text-align: center;
        
    }

    .about-content img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 13%;
    }

    .about-text h3 {
        text-align: center;
        

    }

    .about-text p {
        text-align: center;
        font-size: 1.3rem;
    }

    #products {
        padding-top: 12%;
        width: 100%;
    }

    #products h2 {
        font-size: 1.5rem;
        text-align: center;
        text-align: center;
        border: 1.5px solid #000;
        background: #efc44d3a;
        border-radius: 20px;
        width: 240px;
        
    }

    button.category-btn{
        font-size: 17px;
    }

    .category-items,
    .item-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .item-box {
        margin: 10px 0;
        width: calc(50% - 20px);
        text-align: center;
    }

    .item-box img {
        width: 80%;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
    }

    #contact {
        padding-top: 10%;
        z-index: 20;
    }

    #contact h2 {
        font-size: 1.9rem;
        text-align: center;
        text-align: center;
        border: 1.5px solid #000;
        background: #efc44d3a;
        border-radius: 20px;
        width: 240px;
        
    }

    .contact-info p{
        display: flex;
        justify-content: flex-start;
        text-align: left;
    }


    .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        
        width: 100%;
    }

    form {
        padding: 0;
        width: 100%;
    }

    .contact-info {
        padding: 0;
        width: 100%;
    }

    .contact-info i{
        margin-right: 10px;
    }
    .contact-info p{
        align-items: center;
        text-align: center;
    }

    
    footer {
        padding: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .category {
        flex: 1 1 100%;
    }

    #products h2 {
        font-size: 2rem;
    }
} 