/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8f9fa;
    color: #333;
}

/* Header */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 80px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo h2 {
    color: #2e7d32;
    font-size: 32px;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 18px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s;
}

nav ul li a:hover {
    color: #2e7d32;
    text-decoration: underline;
    /* transition:.3s; */
}

.icons{
    display: flex;
    align-items: center;
    font-size: 20px;
    gap: 22px;
}
.search-box{
    display:flex;
    align-items:center;
    background:#f5f5f5;
    border-radius:30px;
    padding:8px 15px;
    margin-right:20px;
}

.search-box input{
    border:none;
    outline:none;
    background:transparent;
    width:180px;
    font-size:15px;
    margin-left:8px;
}

.search-box i,
.search-box span{
    font-size:18px;
    color:#333;
}
.cart{
    position: relative;
    cursor: pointer;
}

#cart-count{
    position: absolute;
    top: -10px;
    right: -10px;
    background: red;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 60px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .icons span {
    margin-left: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: .3s;
} */

.icons span:hover {
    color: #2e7d32;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

#userName {
    color: #525151;
    font-size: 15px;
    /* font-weight:600; */
}

#userlink, #userlink:visited, #userlink:active{
    color: black;
    text-decoration: none;
}
/* About Section */

.about {
    padding: 80px 8%;
    text-align: center;
}

.about h1 {
    color: #2e7d32;
    font-size: 42px;
    margin-bottom: 20px;
}

.about-text {
    max-width: 850px;
    margin: auto;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 60px;
}

/* About Cards */

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-box {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    transition: .3s;
}

.about-box:hover {
    transform: translateY(-10px);
}

.about-box i {
    font-size: 50px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.about-box h2 {
    margin-bottom: 15px;
    color: #222;
}

.about-box p {
    color: #666;
    line-height: 1.7;
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 320px;
    text-align: center;
}

.modal-content h2 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-buttons button {
    width: 45%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

#cancelLogout {
    background: #ccc;
}

#confirmLogout {
    background: #2e7d32;
    color: white;
}

/* Footer */

footer {
    background: #1f1f1f;
    color: #fff;
    padding: 50px 8% 20px;
    margin-top: 70px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-container h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

.footer-container p {
    color: #ddd;
    line-height: 1.8;
}

.footer-container ul {
    list-style: none;
}

.footer-container ul li {
    margin-bottom: 10px;
}

.footer-container ul li a {
    text-decoration: none;
    color: #ddd;
}

.footer-container ul li a:hover {
    color: #4CAF50;
}

footer hr {
    margin: 30px 0;
    border: 1px solid #444;
}

footer p {
   color: #bbb;
}

#para{
    text-align: center;
    color: #bbb;
}
/* Responsive */
/* 
@media(max-width:768px) {

    header {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        margin: 20px 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    .about h1 {
        font-size: 34px;
    }

    .about-text {
        font-size: 16px;
    }

} */
