*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: white;
    color: black;
}

.nav-bar{
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    min-height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background-color: white;
    border-bottom: 1px solid #e9e9e9;
    padding: 12px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-bar .logo {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
    color: #ff7043;
    white-space: nowrap;
}

.nav-bar form {
    flex: 1;
    max-width: 600px;
    min-width: 200px;
    margin: 0 10px;
}

@media screen and (max-width: 768px) {
    .nav-bar {
        padding: 10px 4%;
        gap: 10px;
    }
    
    .nav-bar form {
        order: 3;
        margin: 5px 0;
        min-width: 100%;
    }

    form #Search-bar {
        max-width: 100%;
    }

    button {
        margin: 2px 0;
    }
}

form #Search-bar{
    background-color: rgb(245, 245, 245);
    border: 1px solid #e0e0e0;
    height: 45px;
    width: 100%;
    max-width: 450px;
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}
form #Search-bar:focus {
    outline: none;
    border-color: #ff7043;
    box-shadow: 0 0 0 2px rgba(255,112,67,0.1);
}
button{
    height: 40px;
    width: 95px;
    border-radius: 25px;
    padding: 8px 25px;
    margin: 2px 10px 5px;
    background-color: #ff7043;
    border: none;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
button:hover{
    background-color:  #e64a19;
}
.home-section{
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
}
.card-container{
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 15px;
}

@media screen and (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        width: 100%;
        padding: 10px;
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .card-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        padding: 10px 15px;
    }
}

.card{
    height: auto;
    min-height: 280px;
    border: 1px solid #e9e9e9;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: white;
    margin: 0 auto;
    width: 100%;
    max-width: 350px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
img{
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

@media screen and (max-width: 480px) {
    img {
        height: 200px;
    }
}

h4{
    padding: 12px 15px 8px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
}

p{
    padding: 0 15px 12px;
    color: #6d6d6d;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    line-height: 1.5;
}
.icon{
    padding: 0 15px 15px;
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer {
    background-color: #f8f8f8;
    padding: 60px 0 20px;
    margin-top: 50px;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 5%;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-logo {
    color: #ff7043;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    padding: 0;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.socials {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.socials a {
    color: #666;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
}

.socials a:hover {
    color: #ff7043;
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 112, 67, 0.1);
}

.footer-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #ff7043;
}

.footer-section.links ul {
    list-style: none;
    columns: 2;
    column-gap: 30px;
}

.footer-section.links ul li {
    margin-bottom: 15px;
    break-inside: avoid;
}

.footer-section.links ul li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-section.links ul li a:hover {
    color: #ff7043;
    transform: translateX(5px);
}

.footer-section.contact i {
    width: 25px;
    color: #ff7043;
    margin-right: 10px;
}

.footer-section.contact p {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    color: #888;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .socials {
        justify-content: center;
    }

    .footer-section.links ul {
        columns: 1;
    }

    .footer-section.links ul li a {
        justify-content: center;
    }

    .footer-section.contact p {
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        gap: 25px;
        padding: 0 15px;
    }

    .socials {
        gap: 15px;
    }

    .socials a {
        width: 35px;
        height: 35px;
    }
}