/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
body {
    background-color: #f4faf4;
    overflow: auto;
}
/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2d572c;
    padding: 15px 30px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logoimg {
    height: 60px;
    width: auto;
    border-radius: 5px;
}

.logo span {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #a8df8e;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('img/dairyfarm.jpeg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    background: rgba(7, 7, 7, 0.3);
    padding: 20px;
    border-radius: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.button {
    background: #e6870c;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
}

.button:hover {
    background: #a8df8e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #2d572c;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        height: 50vh;
        padding: 30px 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .button {
        font-size: 14px;
        padding: 10px 18px;
         margin-top: 20px;
    }
}
/* Products Section */
.products {
    text-align: center;
    padding: 50px 20px;
}

.products h2 {
    font-size: 2.5rem;
    color: #2d6a4f;
    margin-bottom: 20px;
}

.product-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    background: white;
    padding: 20px;
    width: 350px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    width: 100%;
    border-radius: 10px;
}

.product h3 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.product p {
    font-size: 1rem;
    color: gray;
    margin-bottom: 15px;
}

.btn {
    background: #2d6a4f;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 28px;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background: #1e4a34;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
    }
}
/* About Us Section */
.about-us {
    padding: 80px 10%;
    background-color: #fff;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 40px;
}

.about-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-content {
    max-width: 500px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #2a7a2e;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #2a7a2e;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    background-color: #216021;
}

/* Responsive About Us */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        text-align: center;
    }
}

/* Our Farming Section */
.our-farming {
    text-align: center;
    padding: 60px 10%;
    background-color: #f7f7f7;
}

.our-farming h2 {
    font-size: 2.5rem;
    color: #2c5e1a;
    margin-bottom: 10px;
}

.our-farming p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

/* Farming Grid */
.farming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.farm-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

.farm-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Responsive Farming */
@media (max-width: 768px) {
    .farming-grid {
        grid-template-columns: 1fr;
    }
}
 /* our vision */

.vision-section {
    background: url('img/dairy3.jpg') center/cover no-repeat;
    height: 400px;
    display: flex;
    flex-direction:column;
    text-align:center;
    justify-content: center;
    position: relative;
}

.vision-overlay {
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.vision-content {
    max-width: 700px;
    color: white;
}

.vision-content h2 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 10px;
}

.vision-content p {
    font-size: 20px;
    line-height: 1.6;
}

/* ðŸ”¥ Responsive */
@media (max-width: 768px) {
    .vision-section {
        height: 300px;
    }

    .vision-content h2 {
        font-size: 30px;
    }

    .vision-content p {
        font-size: 16px;
    }
}
/* Mission Section - Modern Design */
.mission-section {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.mission-container {
    max-width: 900px;
    margin: 0 auto;
}

.mission-section h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffdd57;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.mission-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    width: 45%;
    font-size: 18px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease-in-out, background 0.3s;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.mission-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        align-items: center;
    }

    .mission-card {
        width: 90%;
    }

    .mission-section h2 {
        font-size: 32px;
    }
}
/* OUR Team Section - Modern Style */
.team-section {
    background: fff;
    padding: 80px 20px;
    text-align: center;
    color: #333;
}

.team-section h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a1818;
}

.team-intro {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #131212;
}

/* Team Container */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Team Cards */
.team-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 25%;
    transition: transform 0.3s ease-in-out, background 0.3s;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.team-card img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 20px;
    margin-top: 10px;
    color: #1f1e1e;
}

.team-card p {
    font-size: 16px;
    color: #1d1c1c;
}

/* Hover Effects */
.team-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }

    .team-card {
        width: 90%;
    }

    .team-section h2 {
        font-size: 32px;
    }
}
/* FAQ section */
.faq-section {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}

.faq-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #2d572c;
    margin-bottom: 20px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: white;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

.faq-question {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    border: none;
    background: #2d572c;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #236e24;
}

.faq-question span {
    font-size: 22px;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 15px;
    display: none;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    border-top: 1px solid #ddd;
    background: #fff;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-container {
        width: 100%;
    }
}
/* Contact Us Section */
.contact-section {
    background: #ffffff;
    padding: 70px 20px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-left {
    flex: 1;
    padding: 20px;
}

.contact-left h2 {
    font-size: 32px;
    color: #2d572c;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-left p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #2d572c;
    margin-bottom: 15px;
}

.detail-item i {
    font-size: 22px;
    margin-right: 10px;
}

.detail-item a,
.detail-item p {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin: 5px;
}

.contact-right {
    flex: 1;
    padding: 20px;
    background: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #2d572c;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background: #236e24;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        width: 100%;
        text-align: center;
    }
}

/* Footer Section */
.footer {
    background: #2d572c;
    color: white;
    padding: 50px 20px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    padding: 15px;
    min-width: 220px;
}

.footer h2,
.footer h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer p,
.footer a {
    font-size: 16px;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: white;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #c0e7c0;
}

.footer-contact i {
    margin-right: 8px;
}

.footer-social .social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.footer-social .social-icons a {
    color: white;
    font-size: 22px;
    transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: #c0e7c0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    padding-top: 15px;
    font-size: 14px;
    color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }
}
