* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Archivo Narrow", sans-serif;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 20px;
}

nav {
    flex: 1;
    text-align: right;
}

nav ul {
    display: inline-block;
    list-style-type: none;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

a {
    text-decoration: none;
    color: #000;
}

p {
    color: #000000;
}

.container {
    max-width: 1500px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row {
    display: flex;            /* Use flexbox for rows */
    align-items: flex-start; /* Align items to the top of the row */
    flex-wrap: wrap;         /* Allow columns to wrap to the next line */
    justify-content: space-between; /* Distribute space evenly */
}

.col-2 {
    flex-basis: 45%;         /* Columns take up 45% of the row */
    min-width: 300px;        /* Minimum width for columns */
}

.col-2 img {
    max-width: 100%;
    padding: 50px 0;        /* Padding above and below images */
}

.col-2 h1 {
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}

.btn {
    display: inline-block;
    background: #025ca5;
    color: #fff;
    margin: 30px 0;
    padding: 8px 30px;
    border-radius: 30px;
}

.header {
    background: radial-gradient(#ffffff, #ffffff);
}

.header .row {
    margin-top: 50px;
}

.categories {
    margin: 70px 0;
}

.col-3 {
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
    box-sizing: border-box;   /* Ensures padding is included in width calculation */
}

.col-3 img {
    width: 100%;              /* Make images responsive */
    max-height: 230px;       /* Set a maximum height */
    object-fit: contain;      /* Keep the entire image visible, no cropping */
}

.small-container {
    max-width: 1080px;       /* Maximum width for small container */
    margin: auto;            /* Center align the container */
    padding: 0 25px;         /* Padding on the left and right */
}

.col-4 {
    flex-basis: 25%;         /* Columns take up 25% of the row */
    padding: 10px;           /* Padding around each column */
    min-width: 200px;        /* Prevents columns from getting too small */
    margin-bottom: 50px;     /* Space below each column */
    box-sizing: border-box;   /* Ensure padding is included in width calculation */
    transition: transform 0.5s;
}

.col-4 img {
    width: 100%;             /* Make images responsive */
    height: 250px;           /* Set a fixed height for all images */
    object-fit: contain;     /* Ensure the whole image is visible */
    display: block;          /* Prevent extra space below images */
}

.title {
    text-align: center;
    margin: 0 auto 80px;    /* Center title */
    position: relative;
    line-height: 60px;
    color: #000000;
}

.title::after {
    content: '';
    background: #025ca5;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h4 {
    color: #000;
    font-weight: normal;
    font-size: 18px;
}

.col-4 p {
    font-size: 14px;
}

.col-4:hover {
    transform: translateY(-5px);
}



.footer{
    background: #606a6d;
    color: #fff;
    font-size: 14px;
    padding: 60px 0 20px;
    
}

.footer p{
    color: #fff;
}
.footer h3{
    color: #fff;
}

.footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4{
    min-width: 250px;
    margin-bottom: 20px;
}
.footer-col-1{
    flex-basis: 30%;
}
.footer-col-2{
    flex: 1;
    text-align: center;
}
.footer-col-2 img{
    width: 180px;
    margin-bottom: 20px;
}
.footer-col-3, .footer-col-4{
    flex-basis: 12%;
    
}
ul{
    list-style-type: none;
}
.footer hr {
    border: none;
    background: #fff;
    height: 1px;
    margin: 20px;
}

.menu-icon{
    width: 28px;
    margin-left: 20px;
    display: none;
}


/*--------- products -----------*/

.row2{
    justify-content: space-between;
    margin: 100px auto 50px;
}
select{
    border: 1px solid #025ca5;
    padding: 5px;
}
select:focus{
    outline: none;
}

.sort-filter {
    display: flex;
    justify-content: flex-end;  /* Aligns the dropdown to the right */
    margin-bottom: 20px;        /* Adds space between the dropdown and the product list */
}

.sort-filter select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #025ca5;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
}

.page-btn{
    margin: 0 auto 80px;
}

.page-btn span{
    display: inline-block;
    border: 1px solid #025ca5;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.page-btn span:hover{
    background-color: #025ca5;
}

@media (max-width: 800px) {
    
    nav ul{
        position: absolute;
        top: 70;
        left: 0;
        background: #000000;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.7s;
    }
    nav ul li{
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    nav ul li a{
        color: #fff;
    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }

    .col-4 {
        flex-basis: 50%;      /* 2 columns on medium screens */
    }
}

@media (max-width: 480px) {
    .col-4 {
        flex-basis: 100%;     /* 1 column on small screens */
    }
}

/*media query for less than 600 screen size*/

@media only screen and (max-width: 600px){
    .row{
        text-align: center;
    }
    .col-2, .col-3, .col-4{
        flex-basis: 100%;
    }
}
/* Styling for the "Contact Us" button */
.btn {
    display: inline-block;
    background: #025ca5;
    color: #fff;
    margin: 30px 0;
    padding: 8px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #01457a; /* Darker blue on hover */
}
