/* Global Styles */
:root {
    --primary-color: #1b4d2e;
    /* Deep Forest Green */
    --primary-light: #2e7d32;
    --secondary-color: #d4af37;
    /* Metallic Gold */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Nav */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    position: relative;
}

.logo img {
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 16px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.contact-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 40px;
    background: url('SaifyAgroVentures_files/banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-attachment: fixed;
    /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 77, 46, 0.8), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    background-color: #e5bd3f;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.5);
    color: #fff;
}

/* SVG Wave */
.custom-shape-divider-bottom-1679058692 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1679058692 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom-1679058692 .shape-fill {
    fill: #FFFFFF;
}

/* About Section */
.about {
    padding: 20px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

.about p {
    font-size: 20px;
    color: #555;
    line-height: 1.8;
}



.category-title {
    text-align: center;
    font-size: 32px;
    margin: 50px auto 30px auto;
    color: var(--primary-color);
    position: relative;
    display: block;
    width: fit-content;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--secondary-color);
}

/* Products Section */
.products {
    background-color: var(--light-bg);
    padding: 0px 20px;
    position: relative;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin: 50px auto 70px auto;
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 320px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.product-info {
    padding: 35px;
    text-align: center;
    position: relative;
    background: var(--white);
}

.product-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-info p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.product-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* Features/Services */
.features {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 42px;
    margin-bottom: 60px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.feature-item {
    flex: 1 1 300px;
    padding: 40px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item h3 {
    margin-top: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #aeaeae;
    padding: 80px 20px 20px;
    font-family: var(--font-body);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    text-align: center;
}

.footer-col h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links a {
    display: block;
    color: #aeaeae;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 30px;
    color: #666;
    font-size: 14px;
}

/* Process Section */
.process {
    padding: 0px 20px;
    background: #fff;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 32px;
    transition: all 0.3s;
}

.feature-item:hover .icon-circle {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}



/* Animations */
.reveal {
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
        background: #fff;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
    }

    /* Hamburger Animation to 'X' */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Sliding Sidebar Menu */
    .nav-links {
        display: flex !important;
        /* Force flex to allow transform transition */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        padding-top: 80px;
        /* Space for Close Button */
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        text-align: left;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
        /* Staggered effect */
    }

    .nav-links li a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 18px;
        font-weight: 500;
        color: var(--text-color);
        transition: all 0.2s;
    }

    .nav-links li a:hover {
        background-color: #f8f9fa;
        padding-left: 30px;
        /* Slight slide on hover */
        color: var(--primary-color);
    }

    .nav-links .contact-btn {
        margin: -10px 25px;
        display: inline-block;
        text-align: center;
        width: calc(100% - 50px);
    }

    .hero-content {
        padding: 25px;
        margin: 0 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title,
    .category-title {
        font-size: 26px;
        position: static;
        transform: none;
        display: block;
        margin: 30px auto;
        width: auto;
        max-width: 90%;
        line-height: 1.4;
    }

    .category-title {
        margin-top: 40px;
        border-bottom: 2px dashed var(--secondary-color);
        padding-bottom: 5px;
        width: fit-content;
    }

    .products,
    .about,
    .features,
    .process,
    .certificates {
        padding: 60px 20px;
    }
}

/* Certificates Section */
.certificates {
    padding: 0px 20px;
    background-color: var(--light-bg);
}

.certificates-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certificate-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.certificate-card:hover .cert-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.certificate-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.certificate-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.cert-btn {
    padding: 10px 25px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cert-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .certificates {
        padding: 60px 20px;
    }
}

/* Values Section */
.values {
    padding: 0px 20px;
    background-color: var(--white);
    position: relative;
}

.values-container {
    max-width: 1000px;
    margin: 0 auto;
}

.values-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.value-item {
    padding: 30px;
    background: #fff;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 0 20px 20px 0;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
}

.value-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.value-summary {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    font-style: italic;
    font-size: 18px;
    color: var(--primary-color);
    padding: 20px;
    border-top: 1px solid #eee;
}

/* Update About typography */
.about p {
    margin-bottom: 20px;
    text-align: justify;
}

@media (max-width: 768px) {
    .values-content {
        grid-template-columns: 1fr;
    }

    .value-item {
        border-radius: 10px;
        border-left: none;
        border-top: 4px solid var(--secondary-color);
    }
}

/* Catalogue Section */
.catalogue {
    padding: 0px 20px;
    background-color: var(--light-bg);
}

.catalogue-container {
    max-width: 1200px;
    margin: 0 auto;
}

.catalogue-category {
    margin-bottom: 60px;
}

.category-header {
    font-size: 28px;
    color: var(--primary-color);
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.spec-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f3;
    transition: all 0.3s;
    height: 100%;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.spec-card h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: 100%;
}

.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.spec-table th,
.spec-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f2f2f2;
    text-align: left;
}

.spec-table th {
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    background-color: #f8f9fa;
    border-top: 1px solid #f2f2f2;
}

/* First Column (Parameters) Specific Styling */
.spec-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    background-color: #fff;
    width: 35%;
}

.spec-table tr:nth-child(even) td:not(:first-child) {
    background-color: #fafbfd;
}

.spec-table tr:last-child td {
    border-bottom: none;
}

.spec-table tr:hover td:not(:first-child) {
    background-color: #f0f7f0;
}