:root {
    --primary-color: #2E7D32;
    --secondary-color: #81C784;
    --text-color: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}


/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(46, 125, 50, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
}

/* Certificates Section */
.certificates {
    padding: 80px 20px;
    background-color: var(--white);
}

.certificates h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.certificate-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certificate-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Navigation Styles */
.main-nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Why Us Section */
.why-us-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Header Scroll Effects */
header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    /* .nav-links {
        display: none;
    } */
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .certificate-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Our Factory Section */
.our-factory {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-color);
    font-size: 1.2rem;
}

.factory-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .factory-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .gallery-item img {
        height: 250px;
    }

    .section-description {
        font-size: 1rem;
    }
}

/* Page Header */
.page-header {
    padding: 120px 40px;
    background-color: var(--light-bg);
    margin-top: 80px;
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.header-text {
    flex: 1;
    text-align: left;
}

.header-text h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.header-text p {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.header-features {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: var(--text-color);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.header-image {
    flex: 1;
    max-width: 600px;
}

.header-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Product Section */
.product-section {
    padding: 100px 40px;
    background-color: var(--white);
}

.product-section:nth-child(even) {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.bento-item {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.bento-item.large img {
    height: auto !important;
    width: 100%;
    object-fit: cover;
}

.bento-item.wide img {
    height: auto !important;
    width: 100%;
    object-fit: cover;
}

.bento-item.small img {
    height: auto !important;
    width: 100%;
    object-fit: cover;
}

.bento-item h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.bento-item p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--primary-color);
}

/* Dimensions Table */
.table-container {
    overflow-x: auto;
}

.dimensions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.dimensions-table th,
.dimensions-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.dimensions-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.dimensions-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

/* Printing Options */
.printing-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.printing-option {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
}

.printing-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.printing-option i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.printing-option h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.application-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.application-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.application-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Order Information */
.order-list {
    list-style: none;
    margin: 1.5rem 0;
}

.order-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.order-list i {
    color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1600px) {
    .header-content,
    .bento-grid {
        max-width: 1400px;
    }
}

@media (max-width: 1440px) {
    .header-content,
    .bento-grid {
        max-width: 1200px;
    }
    
    .header-text h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 1200px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header-features {
        justify-content: center;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .page-header {
        padding: 80px 20px;
    }
    
    .product-section {
        padding: 80px 20px;
    }
    
    .header-text h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-item.large {
        grid-column: span 1;
    }
    
    .printing-options,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .header-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        justify-content: center;
    }
}

/* Bottom Navigation */
.products-page .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.products-page .bottom-nav .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.products-page .nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.products-page .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 10px;
}

.products-page .nav-link:hover,
.products-page .nav-link.active {
    color: var(--primary-color);
    background: var(--light-bg);
}

.products-page .nav-link i {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.products-page .nav-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Add padding to main content to prevent overlap with bottom nav */
.products-page main {
    padding-bottom: 80px;
}

/* Responsive Design for Bottom Nav */
@media (max-width: 1600px) {
    .products-page .bottom-nav .container {
        max-width: 1400px;
    }
}

@media (max-width: 1440px) {
    .products-page .bottom-nav .container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .products-page .bottom-nav .container {
        max-width: 1000px;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .products-page .bottom-nav .container {
        max-width: 800px;
    }
    
    .products-page .nav-link {
        padding: 6px 12px;
    }
    
    .products-page .nav-link i {
        font-size: 1.2rem;
    }
    
    .products-page .nav-link span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .products-page .bottom-nav {
        padding: 10px 0;
    }
    
    .products-page .bottom-nav .container {
        padding: 0 15px;
    }
    
    .products-page .nav-list {
        justify-content: space-around;
    }
    
    .products-page .nav-link {
        padding: 5px 10px;
    }
    
    .products-page .nav-link i {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .products-page .nav-link span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .products-page .nav-link span {
        display: none;
    }
    
    .products-page .nav-link i {
        margin-bottom: 0;
        font-size: 1.3rem;
    }
    
    .products-page .nav-link {
        padding: 8px 12px;
    }
} 

.title {
    color: white;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 0.5rem 0;
}

.bottom-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-nav .nav-list {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bottom-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    background: none;
}

.bottom-nav .nav-link i {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    transition: color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
    background: #f5f5f5;
    border-radius: 50%;
    padding: 0.5em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav .nav-link:hover, 
.bottom-nav .nav-link:focus {
    background: #e0f7fa;
    color: #00796b;
    box-shadow: 0 2px 8px rgba(0,121,107,0.08);
    transform: translateY(-2px) scale(1.05);
}

.bottom-nav .nav-link:hover i, 
.bottom-nav .nav-link:focus i {
    color: #fff;
    background: #00796b;
    transform: scale(1.2);
    box-shadow: 0 4px 16px rgba(0,121,107,0.15);
}