/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    flex-wrap: wrap;
}

nav img {
    max-width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

nav img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #3498db, #2980b9);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

nav h1 {
    font-size: 1.5em;
    color: #2c3e50;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0 0!important;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide1 {
    background-image: url('images/Avocado & Kiwi Farming.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
}

.slide2 {
    background-image: url('images/Coffee & Pepper Plantations.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
      object-fit: cover;
}

.slide3 {
    background-image: url('images/Ginger & Turmeric Processing.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
      object-fit: cover;
}

.slide4 {
    background-image: url('images/Strawberry Cultivation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
      object-fit: cover;
}

.slide5 {
    background-image: url("images/Maize-to-Starch Project.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
      object-fit: cover;
}

/* About page hero */
.about-hero {
   background: linear-gradient(135deg, #0a7700 0%, #3497f8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 6%;
    height: 50vh !important;
}

/* Services page hero */
.services-hero {
    background: linear-gradient(135deg, #0a7700 0%, #3497f8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 6%;
    height: 50vh!important;
}

/* Layout page hero */
.layout-hero {
    background: linear-gradient(135deg, #0a7700 0%, #3497f8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top:6%;
    height: 50vh !important;
}

/* Gallery page hero */
.gallery-hero {
    background: linear-gradient(135deg, #0a7700 0%, #3497f8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 6%;
    height: 50vh !important;
}

/* Contact page hero */
.contact-hero {
    background: linear-gradient(135deg, #0a7700 0%, #3497f8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 50vh!important;
    margin-top:6%;
   
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slide-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* Sections */
section {
    padding: 100px 0;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

#welcome {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

#welcome h2 {
    color: #fff;
    margin-bottom: 20px;
}

#welcome p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

#about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

#services, #layout, #gallery {
    background: #fff;
}

#contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8em;
    font-weight: 700;
    position: relative;
}

.about-icon::before {
    content: '👥';
}

.services-icon::before {
    content: '🌾';
}

.layout-icon::before {
    content: '🗺️';
}

.gallery-icon::before {
    content: '📸';
}

.contact-icon::before {
    content: '📞';
}

h2::before {
    display: block;
    font-size: 1.5em;
    margin-bottom: 10px;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    margin: 20px auto;
    border-radius: 2px;
}

#about h2 {
    color: #fff;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

/* About */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.about-cards .card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.about-cards .card:hover {
    transform: translateY(-5px);
}

.about-cards h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.about-cards p, .about-cards li {
    font-size: 1em;
    margin-bottom: 10px;
}

.about-cards ul {
    list-style: none;
    padding: 0;
}

.about-cards li {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 8px;
}

.about-cards strong {
    color: #ffd700;
}

/* Values Section */
#values {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.values-icon::before {
    content: '💎';
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Layout */
#layout {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.layout-icon::before {
    content: '🏗️';
}

#layout h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

#layout p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

#layout ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

#layout li {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #3498db;
    transition: transform 0.3s ease;
}

#layout li:hover {
    transform: translateY(-5px);
}

#layout a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

#layout a:hover {
    text-decoration: underline;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #fff;
}

.contact-info .contact-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

input, textarea {
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
    transform: scale(1.02);
}

textarea {
    height: 120px;
    resize: vertical;
}

.btn[type="submit"] {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

/* Map */
.map-container {
    margin-top: 40px;
    text-align: center;
}

.map-container h3 {
    margin-bottom: 20px;
    color: #fff;
}

.map-container iframe {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 40px 0;
    font-weight: 300;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.footer-column h4 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #3498db;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5em;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    z-index: 1001;
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 10px;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }

    .slide-content {
        padding: 20px;
        width: 90%;
    }

    .slide-content h1 {
        font-size: 2em;
    }

    .slide-content p {
        font-size: 1em;
    }

    h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .prev, .next {
        padding: 8px;
        font-size: 1em;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.8em;
    }

    .slide-content p {
        font-size: 0.9em;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    h2 {
        font-size: 1.8em;
    }

    .btn {
        padding: 10px 20px;
        margin: 5px;
        font-size: 0.8em;
    }

    .service img {
        height: 120px;
    }

    .map-container iframe {
        height: 250px;
    }

    .contact-info h3 {
        font-size: 1.2em;
    }

    .contact-info p {
        font-size: 0.9em;
    }
}