* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/100?text=CowPattern') repeat;
    opacity: 0.1;
    z-index: -1;
}

/* Navigation Bar */
.navbar {
    /* background-color: rgb(221, 63, 63); */
    background-color: #ff7a00;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.logo img {
    width: auto;
    height: 90px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffca28;
}

.cart-icon i {
    margin-right: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
}
.contact-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-form input, .contact-form textarea {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
}
.contact-form button {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    background-color: #ffca28;
    color: #333;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ffb300;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

/* About Section */
.about {
    padding: 50px;
    text-align: center;
    background-color: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2e7d32;
}

.about p {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

/* Products Section */
.products {
    padding: 50px;
    background-color: #f5f5f5;
    text-align: center;
}

.products h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #2e7d32;
}

.product-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.product-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 0 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 0;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.product-card h3 {
    font-size: 24px;
    margin: 15px 0;
}

.product-card p {
    font-size: 18px;
    color: #2e7d32;
    margin-bottom: 10px;
}

.view-more {
    display: inline-block;
    background-color: #ffca28;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
}

.view-more:hover {
    background-color: #ffb300;
}

.add-to-cart {
    background-color: #2e7d32;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

.add-to-cart:hover {
    background-color: #1b5e20;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

.modal-content label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    text-align: left;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.quantity-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

#modal-unit {
    font-size: 14px;
    color: #333;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Content and Video Section */
.content-video, .video-content {
    padding: 50px;
    background-color: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content-video-container, .video-content-container {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-video .content, .video-content .content {
    flex: 1;
    text-align: left;
}

.content-video h2, .video-content h2 {
    font-size: 36px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.content-video p, .video-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.content-video .btn, .video-content .btn {
    background-color: #ffca28;
    color: #333;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.content-video .btn:hover, .video-content .btn:hover {
    background-color: #ffb300;
}

.content-video .video, .video-content .video {
    flex: 1;
}

.section-video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.9);
}

/* Mission and Vision Section */
.mission-vision {
    padding: 50px;
    text-align: center;
    background-color: #f5f5f5;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mission-vision h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #2e7d32;
}

.mission-vision-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.mission, .vision {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 2px solid #ffca28;
}

.mission-vision-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.mission h3, .vision h3 {
    font-size: 24px;
    color: #2e7d32;
    margin-bottom: 15px;
}

.mission p, .vision p {
    font-size: 18px;
}

/* Footer */
.footer {
    /* background-color: rgb(221, 63, 63); */
    background-color: #ff7a00;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.social-links i {
    padding: 10px;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #030b5f;
}

.fbg{
    background-color: #333;
    /* padding: 0px 10px; */
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-text h2 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .modal-content {
        max-width: 450px;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgb(221, 63, 63);
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        height: 60vh;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .about, .products, .content-video, .video-content, .mission-vision {
        padding: 20px;
        margin: 10px;
    }

    .product-slider {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card {
        min-width: 80%;
        margin-bottom: 20px;
    }

    .content-video-container, .video-content-container {
        flex-direction: column;
    }

    .section-video {
        height: 200px;
    }

    .mission-vision-container {
        flex-direction: column;
    }

    .mission-vision-img {
        height: 150px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
        max-height: 70vh;
    }

    .modal-content img {
        height: 150px;
    }
}

@media screen and (max-width: 480px) {
    .logo img {
        height: 80px;
    }

    .hero {
        height: 50vh;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
    }

    .about h2, .products h2, .content-video h2, .video-content h2, .mission-vision h2 {
        font-size: 28px;
    }

    .about p, .products p, .content-video p, .video-content p, .mission p, .vision p {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-width: 90%;
    }

    .product-card h3 {
        font-size: 20px;
    }

    .product-card p {
        font-size: 16px;
    }

    .section-video {
        height: 150px;
    }

    .mission h3, .vision h3 {
        font-size: 20px;
    }

    .mission-vision-img {
        height: 120px;
    }

    .view-more {
        padding: 8px 15px;
        font-size: 14px;
    }

    .modal-content {
        padding: 10px;
        max-height: 60vh;
    }

    .modal-content h3 {
        font-size: 20px;
    }

    .modal-content p {
        font-size: 14px;
    }

    .modal-content img {
        height: 120px;
    }
}
/*Our Meat Products*/
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}
.subproduct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}
.category-card, .product-card {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background: #fff;
    border-radius: 5px;
}
.category-card img, .product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.subproduct-title {
    font-size: 1.5em;
    margin: 20px 0;
    text-align: center;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: white;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    border-radius: 10px;
}
.add-to-cart, .view-subproducts {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    .nav-links.active {
        flex-direction: column;
    }
    .subproduct-grid {
        grid-template-columns: 1fr;
    }
}
/* Contact Us Section */
.contact-section {
  padding: 50px 20px;
  background-color: #fff;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-section h2 {
  text-align: center;
  font-size: 36px;
  color: rgb(221, 63, 63);
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contact-form {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
}

.contact-form .form-row {
  display: flex;
  gap: 15px;
}

.contact-form button {
  background-color: rgb(221, 63, 63);
  color: #fff;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: rgb(180, 40, 40);
}

.contact-info {
  flex: 1 1 35%;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2e7d32;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-info a {
  color: #030b5f;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info .social-links {
  margin-top: 20px;
}

.contact-info .social-links h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-info .social-links a {
  font-size: 24px;
  margin-right: 10px;
  color: rgb(43, 3, 113);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form .form-row {
    flex-direction: column;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 15px;
  }
}

