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

:root {
    --primary-color: #00ff6e;
    --secondary-color: #007BFF;
    --accent-color: #FFDF00;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    --header-height: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fafafa;
    position: relative;
}

p {
    font-family: 'Lora', serif;
}

/* 3D Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    transition: all 0.4s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 15px;
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: rotate(10deg) scale(1.1);
}

.container-head {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #000, #006400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.navbar {
    display: flex;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar li {
    margin: 0 20px;
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.navbar a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    margin-top: var(--header-height);
    position: relative;
    z-index: 1;
}
/* Hero Section */
.hero {
    height: calc(100vh - var(--header-height));
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive height adjustments */
@media (max-width: 1200px) {
    .hero {
        height: calc(100vh - var(--header-height));
    }
}

@media (max-width: 992px) {
    .hero {
        height: calc(60vh - var(--header-height));
    }
}

@media (max-width: 768px) {
    .hero {
        height: calc(50vh - var(--header-height));
    }
}

@media (max-width: 576px) {
    .hero {
        height: calc(40vh - var(--header-height));
    }
}

@media (max-width: 480px) {
    .hero {
        height: calc(30vh - var(--header-height));
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #006400, #00ff6e);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 100, 0, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* Products Section */
#products {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.9);
    position: relative;
}

#products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

#products h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.product-carousel {
    display: flex;
    overflow-x: auto;
    padding: 20px 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 300px;
    margin: 0 20px;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    transform: translateY(0);
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.product-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-card p {
    flex: 1;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.buy-button {
    display: inline-block;
    background: linear-gradient(135deg, #0056b3, #007BFF);
    color: white;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}

.buy-button:hover {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.carousel-button {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.carousel-button:hover {
    color: var(--primary-color);
}

/* About Section */
#about {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-item {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.about-image {
    height: 200px;
    overflow: hidden;
}

.about-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-item:hover .about-image-img {
    transform: scale(1.1);
}

.about-text {
    padding: 25px;
    text-align: center;
}

.about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.about-footer {
    width: 90%;
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.about-footer p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.contact-form {
    flex: 1 1 500px;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

form input, form textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Lora', serif;
    resize: vertical;
    transition: all 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 110, 0.2);
    outline: none;
}

form button {
    background: linear-gradient(135deg, #006400, #00ff6e);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover {
    background: linear-gradient(135deg, #00ff6e, #006400);
    box-shadow: 0 5px 15px rgba(0, 100, 0, 0.4);
    transform: translateY(-3px);
}

.contact-info {
    flex: 1 1 300px;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    margin-right: 15px;
    min-width: 24px;
    color: var(--primary-color);
}

.social-media {
    margin-top: 30px;
}

.social-media h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--text-color);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
    text-align: center;
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* 3D Elements & Animations */
.product-3d-container {
    perspective: 1000px;
}

.rotate-on-hover {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.product-card:hover .rotate-on-hover {
    transform: rotateY(10deg) rotateX(5deg);
}

.floating-element {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .product-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .container-head {
        font-size: 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar.active {
        right: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar li {
        margin: 0;
        width: 100%;
    }
    
    .navbar a {
        display: block;
        padding: 15px 30px;
        border-bottom: 1px solid #eee;
    }
    
    .navbar a::after {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .product-carousel {
        padding: 20px 10px;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
    
    .logo {
        height: 40px;
    }
    
    .container-head {
        font-size: 18px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 30px;
    }
    
    #products h2, #about h2, #contact h2 {
        font-size: 2rem;
    }
    
    .product-card {
        flex: 0 0 85%;
        margin: 0 10px;
    }
    
    .about-item {
        flex: 1 1 100%;
    }
}