﻿:root {
    --primary: #f5a623;
    --accent: #8e5d1b;
    --bg: #fffaf0;
    --text: #333;
    --light: #fdf3e7;
    --dark: #2e1e0f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ========== HEADER STYLING ========== */
header {
    background-color: var(--primary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Container for everything inside header */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Hamburger */
#menu-toggle {
    display: none;
}

.hamburger {
    font-size: 2rem;
    cursor: pointer;
    display: none;
    color: white;
}

/* Navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-wrap: wrap;
    gap: 20px;
}

    .navbar a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

        .navbar a:hover {
            color: #ffe;
        }

/* Buttons */
.btn-nav {
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar .subscribe {
    background-color: white;
    color: var(--primary) !important;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
}

    .navbar .subscribe:hover {
        background-color: var(--accent);
        color: white !important;
    }

.subscribe:hover {
    background-color: var(--accent);
    color: white;
}

.navbar .login {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

    .navbar .login:hover {
        background-color: var(--accent);
        border-color: var(--accent);
        color: white;
    }

.login:hover {
    background-color: white;
    color: var(--primary);
}

/* Language Selector */
.language-selector select {
    padding: 6px;
    border-radius: 4px;
    border: none;
    font-weight: bold;
    background-color: white;
    color: var(--primary);
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 30px;
        top: 18px;
    }

    .navbar,
    .language-selector {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #menu-toggle:checked ~ .header-container .navbar,
    #menu-toggle:checked ~ .header-container .language-selector {
        display: flex;
    }

    .navbar a,
    .btn-nav {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .language-selector {
        margin-top: 10px;
        padding-bottom: 10px;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    background: url('Images/01.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

    .hero-content h2 {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* ========== GENERAL SECTIONS ========== */
section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

/* ========== TRIBUTE SECTION ========== */
.tribute {
    overflow: visible;
    padding-top: 60px;
}

.tribute-img-wrapper {
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 24px;
    background-color: #fff;
    width: max-content;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .tribute-img-wrapper:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    }

    .tribute-img-wrapper img {
        width: 220px;
        height: 280px;
        object-fit: cover;
        border-radius: 20px;
        display: block;
    }



/* ========== ACHIEVEMENTS SECTION ========== */
.achievements {
    background-color: var(--light);
    text-align: center;
    border-radius: 10px;
    padding: 40px;
    margin-top: 40px;
}

    .achievements h3 {
        font-size: 1.8rem;
        color: var(--accent);
    }

    .achievements p {
        font-size: 1.1rem;
        margin-top: 15px;
    }

/* ========== FOOTER ========== */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

    footer p {
        margin: 10px 0;
    }

    footer a {
        color: var(--primary);
        text-decoration: none;
        margin: 0 8px;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: white;
        }


/* ========== SCROLL TO TOP ========== */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background-color: var(--primary);
    border: none;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
    z-index: 999;
}

    #scrollTopBtn img {
        width: 28px;
        height: 28px;
    }

.awards-impact {
    background-color: #fffaf0;
    padding: 60px 20px;
    text-align: center;
}

    .awards-impact h3 {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 40px;
    }

.impact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.impact-item {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

    .impact-item:hover {
        transform: scale(1.02);
    }

    .impact-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
        border-radius: 12px;
    }

    .impact-item h4 {
        font-size: 1.8rem;
        color: var(--primary);
        margin-bottom: 5px;
    }

    .impact-item p {
        font-size: 1.1rem;
        color: var(--accent);
        font-weight: 500;
    }

.cta-section {
    background-color: var(--light);
    padding: 60px 20px;
    text-align: center;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

    .cta-section h2 {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 15px;
    }

    .cta-section p {
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto 30px;
        color: var(--text);
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-cta.primary {
        background-color: var(--primary);
        color: white;
    }

        .btn-cta.primary:hover {
            background-color: var(--accent);
        }

    .btn-cta.outline {
        border: 2px solid var(--primary);
        color: var(--primary);
        background-color: transparent;
    }

        .btn-cta.outline:hover {
            background-color: var(--primary);
            color: white;
        }

.services-section {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

    .services-section h3 {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 40px;
    }

.services-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    width: 280px;
    background-color: var(--light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-card img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .service-card h4 {
        font-size: 1.3rem;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 1rem;
        color: var(--text);
    }

.achievements {
    background-color: var(--light);
    text-align: center;
    padding: 80px 20px;
    margin-top: 60px;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

    .achievements h3 {
        font-size: 2.2rem;
        color: var(--accent);
        margin-bottom: 40px;
    }

.achievement-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    width: 200px;
}

/* Preloader Overlay */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

    #preloader.hidden {
        opacity: 0;
        pointer-events: none;
    }

.loader {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.chicken-emoji {
    font-size: 3rem;
    animation: bounce 1.4s infinite;
    margin-bottom: 15px;
}

.loading-text {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 500;
    animation: pulse 1.6s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* About Page Section Styling */
.about-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

    .about-section h3 {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 20px;
    }

    .about-section p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        color: var(--text);
    }

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

    .mission-vision .column {
        flex: 1;
        min-width: 280px;
        max-width: 400px;
    }

    .mission-vision h4 {
        font-size: 1.5rem;
        color: var(--primary);
        margin-bottom: 10px;
    }

.values-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

    .values-list li {
        background-color: var(--light);
        padding: 12px 20px;
        border-radius: 8px;
        font-weight: 600;
        color: var(--accent);
        font-size: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

.mission-vision {
    background-color: var(--light);
    padding: 60px 20px;
    text-align: center;
}

    .mission-vision h3 {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 40px;
    }

.mission-vision-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.mission-vision .column {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    text-align: left;
}

    .mission-vision .column h4 {
        font-size: 1.4rem;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .mission-vision .column p {
        font-size: 1rem;
        color: var(--text);
    }

p.justify {
    text-align: justify;
}

.services-banner {
    background: url('Images/services-banner.jpg') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

    .services-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

    .services-banner h2 {
        position: relative;
        z-index: 2;
        font-size: 2.5rem;
    }

.services-section {
    padding: 60px 20px;
    text-align: center;
}

.services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    width: 300px;
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-card img {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .service-card h4 {
        color: var(--primary);
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 1rem;
        color: var(--text);
        text-align: justify;
    }

.cta-section {
    background-color: var(--light);
    text-align: center;
    padding: 60px 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-cta {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-cta.primary {
        background-color: var(--primary);
        color: white;
    }

        .btn-cta.primary:hover {
            background-color: var(--accent);
        }

    .btn-cta.outline {
        border: 2px solid var(--primary);
        color: var(--primary);
        background-color: transparent;
    }

        .btn-cta.outline:hover {
            background-color: var(--primary);
            color: white;
        }


.team-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 👈 2 per row */
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.team-card {
    background-color: #fdf3e7;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .team-card img {
        width: 160px;
        height: 160px;
        object-fit: cover;
        object-position: 50% 20%;
        border-radius: 50%;
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .team-card:hover img {
        transform: scale(1.05);
    }

    .team-card h4 {
        margin: 10px 0 5px;
        font-size: 1.25rem;
        color: var(--accent);
        white-space: normal;
        word-wrap: break-word;
    }

    .team-card p {
        font-size: 1rem;
        font-weight: 500;
        color: var(--text);
    }



.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    justify-content: center;
}

.contact-box {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .contact-form h4 {
        color: var(--accent);
        margin-bottom: 10px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
    }

    .contact-form button {
        padding: 12px;
        background-color: var(--primary);
        color: white;
        font-weight: 600;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .contact-form button:hover {
            background-color: var(--accent);
        }

.contact-details h4 {
    color: var(--accent);
    margin-bottom: 20px;
}

.contact-group {
    margin-bottom: 18px;
    font-size: 1rem;
    text-align: left;
    line-height: 1.4;
}

    .contact-group a {
        color: var(--primary);
        text-decoration: none;
    }

        .contact-group a:hover {
            text-decoration: underline;
        }

.map-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--light);
}

    .map-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
        color: var(--accent);
    }

.map-container {
    max-width: 900px;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Background for login page */
/* Fix for sticky header overlapping login */
/* =====================
   LOGIN PAGE STYLING
   ===================== */

.login-body {
    background: url('Images/farm-bg.jpg') center/cover no-repeat;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    padding-top: 120px; /* Add room for sticky header */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Login Card Wrapper */
.login-wrapper {
    background-color: rgba(255, 250, 240, 0.95);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    max-width: 440px;
    width: 90%;
    margin: 0 auto;
}

/* Card */
.login-card {
    text-align: center;
}

/* Header Section */
.login-header h2 {
    margin: 10px 0 5px;
    font-size: 1.9rem;
    color: var(--accent);
}

.login-header p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
}

/* Form Styling */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

    .login-form label {
        font-weight: 600;
        color: var(--dark);
    }

    .login-form input {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
        background-color: white;
        width: 100%;
    }

    .login-form button {
        margin-top: 10px;
        padding: 12px;
        font-size: 1.1rem;
        font-weight: bold;
        background-color: var(--primary);
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .login-form button:hover {
            background-color: var(--accent);
        }

/* Footer Links */
.login-footer {
    margin-top: 20px;
    font-size: 0.95rem;
    text-align: center;
}

    .login-footer a {
        text-decoration: none;
        color: var(--primary);
        font-weight: 500;
    }

        .login-footer a:hover {
            text-decoration: underline;
        }



/* ==========================
   Subscription Page Styles
   ========================== */

.subscription-page {
    text-align: center;
}

    .subscription-page .intro {
        font-size: 1.1rem;
        margin-top: 10px;
        color: #444;
        margin-bottom: 30px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

.plan-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.plan-card {
    background-color: #fffaf0;
    border: 1px solid #eee;
    padding: 30px 20px;
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .plan-card:hover {
        transform: translateY(-5px);
    }

    .plan-card h3 {
        color: var(--accent);
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .plan-card .price {
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .plan-card ul {
        list-style: none;
        padding: 0;
        text-align: left;
        margin-bottom: 20px;
    }

        .plan-card ul li {
            padding: 6px 0;
            border-bottom: 1px solid #f3e5c4;
        }

.plan-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .plan-btn:hover {
        background-color: var(--accent);
    }

.plan-card.featured {
    border: 2px solid var(--accent);
    background-color: #fff3e0;
}


/* ========== USER DROPDOWN MENU ========== */
.user-dropdown {
    position: relative;
    display: inline-block;
}

    .user-dropdown .user-name {
        cursor: pointer;
        font-weight: 600;
        color: white;
        padding: 6px 14px;
        border-radius: 6px;
        background-color: transparent;
    }

    .user-dropdown:hover .dropdown-menu {
        display: block;
    }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background-color: white;
    color: var(--text);
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 1000;
    overflow: hidden;
}

    .dropdown-menu li {
        border-bottom: 1px solid #eee;
    }

        .dropdown-menu li:last-child {
            border-bottom: none;
        }

    .dropdown-menu a {
        display: block;
        padding: 10px 16px;
        text-decoration: none;
        color: var(--text);
        transition: background-color 0.3s ease;
    }

        .dropdown-menu a:hover {
            background-color: var(--light);
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .user-dropdown {
        width: 100%;
    }

        .user-dropdown .user-name {
            display: block;
            width: 100%;
            padding: 12px 0;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background-color: transparent;
        }

    .dropdown-menu {
        position: static;
        background-color: #fffaf0;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

        .dropdown-menu a {
            padding: 12px;
            border-top: 1px solid #eee;
        }
}


input.plan-btn[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background-color: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    input.plan-btn[type="submit"]:hover {
        background-color: var(--accent);
    }

.table-centered {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    border-spacing: 0;
}

    .table-centered th,
    .table-centered td {
        text-align: center;
        padding: 12px 16px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .table-centered thead {
        background-color: #fff2db;
        font-weight: 600;
    }

    .table-centered tbody tr:nth-child(even) {
        background-color: #fdf3e7;
    }

    .table-centered tbody tr:hover {
        background-color: #fce9cd;
        transition: background 0.2s ease-in-out;
    }

@media (max-width: 768px) {
    .table-centered {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .achievements {
        padding: 20px 10px;
    }
}
