.main {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.594), rgba(255, 255, 255, 0.297)), url("../image/hero.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: cover;
    height: 100vh;
    width: 100%;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    color: white;
    position: relative;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: #f39c12;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
    border-radius: 3px;
}

.main-card,
.explore,
.cow {
    margin-top: 100px;
}

.main-card .card {
    border: none;
}

.cow-sec {
    margin-top: 100px;
}

.cow-sec .cow-img {
    background: url("../image/cow-image.jpeg");
    background-position: center;
    background-size: cover;
    height: 500px;
    width: 100%;
}

/* Card hover scale */
.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.03);
}

/* Overlay */
.cart-card {
    margin-top: 100px;
}

.cart-card .card {
    border: none;
}

.cart-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 35, 49, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-card .product-card:hover .overlay {
    opacity: 1;
}

.cart-card .overlay .btn {
    padding: 10px 20px;
    font-size: 1rem;
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-card h2 {
    color: #012331;
}

.stat-card p {
    color: #555;
    font-weight: 500;
}


.explore .img-card {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.explore .img-card:hover {
    transform: scale(1.03);
}

.explore .img-card .card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: filter 0.3s ease;
}

.explore .img-card:hover .card-img {
    filter: blur(4px) brightness(0.7);
}

.explore .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.explore .img-card:hover .overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.4);
}

.explore .overlay .btn {
    padding: 10px 20px;
    font-size: 1rem;
}

footer {
    background-color: #121212;
}

footer a:hover {
    text-decoration: underline;
}

footer h5 {
    margin-bottom: 15px;
    font-weight: 600;
}

#newsletterFeedback {
    color: #f39c12;
    font-weight: 500;
}

.contact {
    background: url("../image/contact.jpg") center center/cover no-repeat;
}

.dotted-input {
    border: 2px solid #121212;
    border-radius: 0px;
    padding: 12px;
    transition: all 0.3s ease;
}

.dotted-input:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: none;
}

button.btn-primary {
    background: #121212;
    border: none;
    transition: 0.3s;
}

button.btn-primary:hover {
    background: #f39c12;
}

form p,
#formFeedback {
    font-weight: 500;
}

.products {
    background: url("../image/products.jpg") center center/cover no-repeat;
}

.about {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.594), rgba(255, 255, 255, 0.297)), url("../image/aboutbg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: cover;
}

.product .card {
    border: none;
}

.product .product-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.product .product-card img {
    transition: transform 0.3s ease, filter 0.3s ease;
    height: 200px;
}

.product .product-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.85);
}

.product .card-title {
    font-weight: 600;
    color: #012331;
}

.product .card-text {
    color: #555;
}

.product .fw-bold {
    color: #f39c12;
    font-size: 1.1rem;
}



/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 60px;
        height: calc(100vh - 60px);
        width: 100%;
        background-color: #012331;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }
}