/* Base styles and CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --primary-color: #64945d;
    --primary-dark: #188640;
    --text-dark: #1a3c40;
    --text-light: #555;
    --bg-light: #f8f9fa;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    left: 0;
    transform: none;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-radius: 0;
    margin-top: 0;
    box-shadow: var(--shadow);
}

/* Responsive navigation adjustments */
@media (max-width: 1350px) {
    nav {
        padding: 15px 30px;
    }

    .nav-links {
        gap: 25px;  /* Reduce gap between links */
    }

    .nav-links a {
        font-size: 14px;  /* Slightly smaller font */
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 15px;  /* Further reduce gap */
    }
    .nav-links a {
        font-size: 12px;  /* Slightly smaller font */
    }
}

@media (max-width: 840px) {
    nav {
        padding: 5px 10px;
    }

    .nav-links {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .logo img {
        height: 40px;  /* Slightly smaller logo for mobile */
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger to X animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    padding-top: 80px;
    z-index: 1000;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a.active {
    color: var(--primary-color);
    background-color: rgba(34, 197, 94, 0.05);
}

/* Planet link special styling */
.mobile-nav a[href*="planet"] {
    color: var(--primary-color);
    padding: 15px 20px;
}

.mobile-nav .star-field {
    display: none; /* Hide stars in mobile menu for simplicity */
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    nav {
        padding: 10px 20px;
        width: 100%;
        left: 0;
        transform: none;
        border-radius: 0;
    }

    .logo img {
        height: 45px;
    }

    /* Show mobile menu when active */
    .mobile-nav.active {
        display: block;
    }

    /* Prevent body scroll when menu is open */
    body.no-scroll {
        overflow: hidden;
    }
}

/* Animation for mobile menu items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
}

.mobile-nav.active a {
    animation: slideIn 0.3s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
}

/* Improved touch targets for mobile */
.mobile-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prevent scrolling when menu is open */
body.no-scroll {
    overflow: hidden;
}

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

.logo img {
    height: 75px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: nowrap;  /* Prevent wrapping */
}

/* Navigation link styles */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 10px;  /* Consistent padding */
}

/* Underline animation for nav links */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Special styles for "FOR THE PLANET" link */
.nav-links a[href*="planet"] {
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 5px 10px;  /* Consistent padding */
}

/* Add constant background glow on hover */
.nav-links a[href*="planet"]:hover {
    background: radial-gradient(
        ellipse at center,
        rgba(34, 197, 94, 0.15) 0%,
        rgba(34, 197, 94, 0.08) 50%,
        transparent 80%
    );
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.4),
                 0 0 60px rgba(34, 197, 94, 0.3),
                 0 0 90px rgba(34, 197, 94, 0.2);
    padding: 5px 15px;  /* Increased horizontal padding */
}

/* Remove the animated text glow */
.nav-links a[href*="planet"]:hover {
    animation: none;
}

/* Remove underline animation for planet link */
.nav-links a[href*="planet"]::after {
    display: none;
}

/* Remove underline from mobile navigation */
.mobile-nav a::after {
    display: none;
}

/* Remove underline animation from logo */
.logo a::after {
    display: none;
}

/* Remove button styling from contact link */
.contact-btn {
    background-color: transparent;
    color: #333 !important;
    padding: 0;
    border-radius: 0;
    font-weight: 500;
}

.contact-btn:hover {
    background-color: transparent;
    color: #333 !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/index_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 35vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 100%;
    padding: 0 20px;
    padding-top: 200px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

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

/* Scroll Down Button Styles */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
}

.scroll-down:hover {
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Products Overview Section */
.products-overview {
    padding: 100px 0; /* Increased padding */
    background-color: var(--bg-light);
    text-align: center;
}

.products-overview h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 30px; /* Increased margin */
}

.products-overview > p {
    max-width: 800px;
    margin: 0 auto 60px; /* Increased margin */
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
    padding: 0 20px;
}

/* Product Types Grid */
.product-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-type-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 400px;
}

.product-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 15px;
}

.product-type-card:hover::before {
    opacity: 1;
}

.product-type-card .image-container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.product-type-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-type-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    padding-bottom: 40px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    color: white;
    transform: translateY(calc(100% - 80px));
    transition: transform 0.4s ease;
}

.product-type-card:hover .content {
    transform: translateY(0);
}

.product-type-card h4 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: left;
}

.product-type-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-align: left;
}

.product-type-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Detailed Products Section (Staggered Grid) */
.products-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 30px;
}

/* Keep all the staggered product card styles */
.product-card {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    margin-bottom: 80px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.card-image-container a {
    display: block;
    height: 100%;
}

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

.card-image-container a:hover .card-image {
    transform: scale(1.05);
}

.card-header a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.card-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .product-type-card {
        height: 350px; /* Slightly reduced height for tablets */
    }
}

@media (max-width: 768px) {
    .products-container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .product-card {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .card-image-container {
        min-height: 250px;
        clip-path: none;
        border-radius: 15px 15px 0 0;
    }

    .card-content {
        padding: 25px 20px;
    }

    .card-header h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .card-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .features-list, 
    .applications-list {
        padding: 20px;
        background: #f8faf9;
        border-radius: 12px;
    }

    .list-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    ul li {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

/* Updated Footer Styles */
.footer {
    background-color: #ffffff;
    padding: 60px 20px 80px;
    /* position: relative; */
    overflow: hidden;
    text-align: left;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    
    padding-right: 340px;
}

.footer h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 600;
    text-wrap-mode: nowrap;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    margin-top: 0;
}


.addresses-right {
    position: absolute;
    right: 0;
    top: 0;
    /* width: 70%; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 70px;
    text-align: right;
    padding-left: 40px;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}


.footer-contact-section {
    position: relative;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
}

.contact-info {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.copyright {
    color: var(--text-light);
    font-size: 14px;
}

.footer-page-links {
    position: absolute;
    right: 450px;
    top: 0;
    width: 300px;
    text-wrap-mode: nowrap;
    text-align: left;
    padding-right: 20px;
    padding-left:20px;
    /* height: 100%; */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-page-link-text {
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 15px;
    font-weight: 100;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

.footer-page-link-text:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.footer-page-link-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-page-link-text:hover::after {
    width: 100%;
}

/* Responsive styles for footer page links */
@media (max-width: 1024px) {
    .footer-page-links {
        position: static;
        width: 100%;
        padding: 30px 0;
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: none;
    }

    .footer-page-link-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .footer-page-links h6 {
        margin-bottom: 5px;
    }

    .footer-page-link-text {
        font-size: 18px;
    }
}

.address-block {
    margin-bottom: 40px;
}

.address-block h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
    margin-top: 0;
}

.social-links {
    display: flex;
    justify-content: flex-start; /* Changed from center */
    gap: 25px;
    margin-bottom: 40px;
}

.social-links a {
    color: var(--text-light);
    font-size: 22px;
    text-decoration: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    justify-content: flex-start; /* Changed from center */
    gap: 10px;
    flex-wrap: wrap;
    
}

.contact-item, .contact-item-phone {
    display: flex;
    align-items: center;
    gap: 9px;
    text-wrap-mode: nowrap;
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover, .contact-item-phone:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 18px;
    color: var(--primary-color);
}

.contact-item span, .contact-item-phone span{
    font-size: 15px;
    font-weight: 500;
}

.contact-item-phone i {
    font-size: 18px;
    color: var(--primary-color);
    transform : rotate(100deg);
}

.footer-nav {
    display: flex;
    justify-content: flex-start; /* Changed from center */
    gap: 30px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

.copyright {
    text-align: left; /* Changed from center */
    color: var(--text-light);
    font-size: 14px;
    margin-top: 30px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 40px; /* Reset padding for mobile */
    }

    .footer-content {
        min-height: auto; /* Remove minimum height on mobile */
    }

    .footer h2 {
        font-size: 2rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start; /* Changed from center */
        gap: 15px;
    }

    .social-links {
        gap: 20px;
    }

    .social-links,
    .footer-nav,
    .copyright {
        justify-content: flex-start;
        text-align: left;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-logo img {
        width: 200px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
}

/* Star field styles */
.star-field {
    position: absolute;
    width: 150%;
    height: 150%;
    left: -25%;
    top: -25%;
    pointer-events: none;
}

.star {
    position: absolute;
    color: var(--primary-color);
    font-size: 7px;
    opacity: 0;
}

/* Smooth star animation without scaling */
@keyframes starGlow {
    0% { opacity: 0; }
    20% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

/* Position stars in a circular pattern around text - adjusted positions */
.s1 { left: -5px; top: -3px; }
.s2 { right: -5px; top: -3px; }
.s3 { left: 30%; top: -5px; }
.s4 { left: -6px; top: 30%; }
.s5 { right: -6px; top: 30%; }
.s6 { left: -5px; bottom: -3px; }
.s7 { right: -5px; bottom: -3px; }
.s8 { left: 25%; bottom: -5px; }
.s9 { left: -8px; top: 15%; }
.s10 { right: -8px; top: 15%; }

/* Sequential star animations with longer duration */
.nav-links a[href*="planet"]:hover .s1 { animation: starGlow 6s infinite 0s; }
.nav-links a[href*="planet"]:hover .s2 { animation: starGlow 6s infinite 2s; }
.nav-links a[href*="planet"]:hover .s3 { animation: starGlow 6s infinite 4s; }
.nav-links a[href*="planet"]:hover .s4 { animation: starGlow 6s infinite 6s; }
.nav-links a[href*="planet"]:hover .s5 { animation: starGlow 6s infinite 8s; }
.nav-links a[href*="planet"]:hover .s6 { animation: starGlow 6s infinite 10s; }
.nav-links a[href*="planet"]:hover .s7 { animation: starGlow 6s infinite 12s; }
.nav-links a[href*="planet"]:hover .s8 { animation: starGlow 6s infinite 14s; }
.nav-links a[href*="planet"]:hover .s9 { animation: starGlow 6s infinite 16s; }
.nav-links a[href*="planet"]:hover .s10 { animation: starGlow 6s infinite 18s; }

/* Text glow effect */
.nav-links a[href*="planet"] {
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 5px 10px;  /* Consistent padding */
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 8px rgba(34, 197, 94, 0.2); }
    50% { text-shadow: 0 0 12px rgba(34, 197, 94, 0.3); }
}

.nav-links a[href*="planet"]:hover {
    animation: textGlow 3s ease-in-out infinite;
    padding: 5px 15px;
}

/* Application Section Styles */
.applications-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.application-card {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    margin-bottom: 80px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.application-card:nth-child(even) {
    grid-template-columns: 55% 45%;
}

.card-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: #89c297;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.application-card:nth-child(even) .card-image-container {
    order: 2;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.card-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-header h2 {
    font-size: 42px;
    color: #1b4332;
    margin-bottom: 25px;
    font-weight: 600;
}

.card-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.benefits-list, .applications-list {
    background: #f8faf9;
    padding: 25px;
    border-radius: 15px;
}

.list-title {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

ul li {
    color: #555;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

ul li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.footer-page-links-list h6 {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .application-card,
    .application-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .card-image-container,
    .application-card:nth-child(even) .card-image-container {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        min-height: 400px;
        order: 1;
    }

    .card-content {
        padding: 40px 30px;
    }

    .card-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-image-container {
        min-height: 300px;
    }
}

/* Add spacing for fixed navbar */
main {
    padding-top: 120px;  /* Increased padding to account for fixed nav */
    min-height: 100vh;
    background-color: #fff;
}

/* Adjust application container top margin */
.applications-container {
    max-width: 1400px;
    margin: 0 auto;  /* Changed from 40px auto */
    padding: 0 30px;
}

/* Adjust first card's top margin */
.application-card:first-child {
    margin-top: 0;
}

/* About Page Styles */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-section {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-section:nth-child(2) { animation-delay: 0.2s; }
.about-section:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Overview Section */
.overview-section h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
}

.overview-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Mission and Values Section */
.mission-block {
    margin-bottom: 60px;
    padding: 40px;
    background: #f8faf9;
    border-radius: 15px;
}

.mission-block h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    padding: 30px;
    background: #f8faf9;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.value-card h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Products and Services Section */
.capacity-block {
    text-align: center;
    margin: 40px 0;
}

.capacity-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.capacity-number small {
    font-size: 24px;
    margin-left: 10px;
}

.service-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-content {
        padding: 40px;
    }

    .values-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .overview-section h1 {
        font-size: 32px;
    }

    .lead-text {
        font-size: 18px;
    }

    .capacity-number {
        font-size: 56px;
    }
}

/* Contact Page Layout */
.contact.section-bg {
    padding: 60px 20px;
    background: #f8f9fa;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-title p {
    color: var(--text-light);
    font-size: 18px;
}

.contact-layout {
    display: flex;
    gap: 60px;
    align-items: stretch; /* Make both columns same height */
}

/* Left Side */
.contact-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.info-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Map Section */
.maps-container {
    width: 100%;
    height: 292px;
    border-radius: 12px;
    margin-top:20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-box p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

/* Right Side - Form */
.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%; /* Make form fill container */
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 2px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Services Grid in Form */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.service-option {
    position: relative;
}

.service-option input[type="radio"] {
    display: none;
}

.service-option label {
    display: block;
    padding: 12px 15px;
    text-align: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    margin: 0;
    color: #4b5563;
    font-weight: 500;
}

.service-option input[type="radio"]:checked + label {
    background: #ffffff;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-option label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Form Button */
.contact-form button, .products-container button{
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover, .products-container button:hover {
    background: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-left, 
    .contact-right {
        width: 100%;
    }

    .maps-container {
        height: 350px;
    }

    .info-boxes {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .contact.section-bg {
        padding: 40px 15px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .maps-container {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-box, 
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-option label {
        padding: 10px;
    }
}

/* Footer CTA Section */
.footer {
    background-color: #ffffff;
    padding: 60px 20px;
    padding-bottom: 0px;

    color: var(--text-light);
}

.footer-cta {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.footer-cta h2 {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-cta p {
    font-size: 20px;
    color: rgba(255, 0, 0, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

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

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

.footer-logo {
    position: relative;
    left: -30px;
    top: 60px;
    transform: translateY(-50%);
}

.footer-logo img {
    height: auto;
    width: 350px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-cta {
        text-align: center;
        align-items: center;
    }

    .footer-cta h2 {
        font-size: 36px;
    }

    .footer-cta p {
        font-size: 18px;
    }

    .footer-logo {
        position: relative;
        transform: none;
        margin-top: 30px;
    }

    .footer-logo img {
        height: 80px;
    }
}

/* Planet page styles */
.planet-container {
    width: 100%;
    height: 100vh;
    background: url('../img/planting_doodle_for_web.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: -80px;
    position: relative;
}

.planet-content {
    width: 800px; /* Fixed width for the content */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.impact-statement {
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tree-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    animation: floatIcon 3s ease-in-out infinite;
}

.impact-statement h1 {
    font-size: 4.5rem;
    color: #1a3c40;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-text {
    font-size: 3.5rem;
    color: #22553d;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-text span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding: 0 10px;
}

.highlight-text span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(34, 197, 94, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.tagline {
    font-size: 1.8rem;
    color: #4a5568;
    margin-bottom: 50px;
    font-weight: 400;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.3);
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive styles */
@media (max-width: 768px) {
    .impact-statement h1 {
        font-size: 3rem;
    }

    .highlight-text {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .tree-icon {
        font-size: 4rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* Tablet and Mobile styles */
@media (max-width: 1024px) {
    .planet-container {
        background: url('../img/planting_doodle_for_mob.png') no-repeat center center;
        background-size: cover;
    }
    
    .planet-content {
        width: 90%; /* Responsive width for mobile */
        max-width: 600px;
    }
    
    .impact-statement {
        padding: 40px 30px;
    }
}

/* Updated Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Navigation adjustments */
    nav {
        padding: 10px 15px;
        width: 100%;
    }

    .logo img {
        height: 45px; /* Smaller logo for mobile */
    }

    /* Hero section adjustments */
    .hero {
        padding-top: 25vh;
    }

    .hero h1 {
        font-size: 42px; /* Smaller heading for mobile */
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 24px;
        padding: 0 15px;
    }

    /* Products overview adjustments */
    .products-overview {
        padding: 60px 0;
    }

    .products-overview h1 {
        font-size: 32px;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .product-types {
        padding: 0 15px;
    }

    .product-type-card {
        height: 250px; /* Shorter cards for mobile */
    }

    .product-type-card h4 {
        font-size: 22px;
    }

    /* Application section adjustments */
    .application-card {
        margin-bottom: 40px;
    }

    .card-content {
        padding: 30px 20px;
    }

    .card-header h2 {
        font-size: 28px;
    }

    /* Footer adjustments */
    .footer {
        padding: 40px 15px 30px;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start; /* Changed from center */
        gap: 15px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: flex-start; /* Changed from center */
        gap: 20px;
        padding: 15px;
    }

    /* Planet page adjustments */
    .planet-container {
        margin-top: -60px;
        height: auto;
        min-height: 100vh;
        padding: 80px 15px;
    }

    .impact-statement {
        padding: 30px 20px;
    }

    .impact-statement h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .highlight-text {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .tagline {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* Additional breakpoint for smaller phones */
@media (max-width: 480px) {
    /* Navigation */
    .logo img {
        height: 35px;
    }

    /* Hero section */
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 20px;
    }

    /* Products overview */
    .product-type-card {
        height: 200px;
    }

    .product-type-card h4 {
        font-size: 20px;
    }

    /* Contact section */
    .contact-item, .contact-item-phone {
        padding: 8px 15px;
    }

    .contact-item span, .contact-item-phone span {
        font-size: 13px;
    }

    /* Footer */
    .footer h2 {
        font-size: 24px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Navigation */
    nav {
        width: 90%;
        padding: 15px 25px;
    }

    .logo img {
        height: 60px;
    }

    /* Hero section */
    .hero h1 {
        font-size: 72px;
    }

    .hero p {
        font-size: 30px;
    }

    /* Products overview */
    .product-type-card {
        height: 300px;
    }

    /* Application cards */
    .card-content {
        padding: 40px 30px;
    }

    /* Contact section */
    .contact-info {
        flex-wrap: wrap;
        justify-content: flex-start; /* Changed from center */
        gap: 20px;
    }
}

/* Fix for mobile menu */
.mobile-nav {
    padding-top: 100px; /* Increased padding to account for fixed nav */
}

.mobile-nav a {
    font-size: 20px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Improved touch targets for mobile */
.nav-links a,
.footer-nav a,
.contact-item,
.contact-item-phone,
.social-links a {
    padding: 10px;
    min-height: 44px; /* Minimum touch target size */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix for mobile form elements */
input,
textarea,
select,
button {
    font-size: 16px !important; /* Prevents zoom on focus in iOS */
    max-width: 100%;
    border-radius: 8px;
}

/* Improve spacing for mobile */
.section-content,
.info-box,
.contact-form {
    padding: 20px;
    margin-bottom: 20px;
}

/* Fix for mobile images */
img {
    max-width: 100%;
    height: auto;
}

/* Application Section Styles - Mobile Enhancements */
@media (max-width: 768px) {
    /* Adjust main padding for mobile */
    main {
        padding-top: 80px;
    }

    /* Card layout improvements */
    .application-card,
    .application-card:nth-child(even) {
        grid-template-columns: 1fr;
        margin: 20px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    /* Image container improvements */
    .card-image-container,
    .application-card:nth-child(even) .card-image-container {
        min-height: 250px;
        clip-path: none;
        border-radius: 15px 15px 0 0;
        order: 1;
    }

    .card-image {
        height: 250px;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
    }

    /* Content improvements */
    .card-content {
        padding: 25px 20px;
        order: 2;
    }

    .card-header h2 {
        font-size: 28px;
        margin-bottom: 15px;
        text-align: center;
    }

    .card-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: left;
    }

    /* Benefits and Applications grid */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefits-list, 
    .applications-list {
        padding: 20px;
        border-radius: 12px;
        background: #f8faf9;
    }

    .list-title {
        font-size: 18px;
        margin-bottom: 12px;
        text-align: center;
        color: var(--primary-color);
    }

    ul li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    ul li::before {
        font-size: 14px;
        top: 2px;
    }

    /* Add card hover effect */
    .application-card {
        transition: transform 0.3s ease;
    }

    .application-card:active {
        transform: scale(0.98);
    }
}

/* Additional mobile refinements */
@media (max-width: 480px) {
    .application-card {
        margin: 15px;
    }

    .card-image-container {
        min-height: 200px;
    }

    .card-image {
        height: 200px;
    }

    .card-header h2 {
        font-size: 24px;
    }

    .card-content {
        padding: 20px 15px;
    }

    /* Add smooth scroll behavior */
    html {
        scroll-behavior: smooth;
    }

    /* Improve touch targets */
    ul li {
        padding: 8px 0 8px 25px;
        margin-bottom: 5px;
    }
}

/* Add loading animation for images */
.card-image {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .product-types {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .product-type-card {
        height: auto;
        min-height: 250px;
    }

    .product-type-card .image-container {
        height: 200px;
    }

    .product-type-card .content {
        position: relative;
        transform: none;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
        padding: 20px;
    }

    .product-type-card h4 {
        font-size: 22px;
        margin-bottom: 10px;
        word-wrap: break-word;
    }

    .product-type-card p {
        font-size: 14px;
        line-height: 1.5;
        opacity: 1;
        transform: none;
        margin-bottom: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .product-type-card:hover {
        transform: none;
    }

    .product-type-card:hover .content {
        transform: none;
    }

    .product-type-card:hover img {
        transform: none;
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .product-type-card .image-container {
        height: 180px;
    }

    .product-type-card .content {
        padding: 15px;
    }

    .product-type-card h4 {
        font-size: 20px;
    }

    .product-type-card p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Adjust container padding */
    .products-overview {
        padding: 40px 10px;
    }

    .products-overview h1 {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .products-overview > p {
        font-size: 14px;
        padding: 0 15px;
        margin-bottom: 30px;
    }
}

/* Constant sparkling effect for planet page */
.planet-page-stars .star {
    opacity: 0;
    animation: twinkle-constant 4s infinite; /* Increased from 2s to 4s */
}

/* Adjusted delays to spread out over longer period */
.planet-page-stars .s1 { animation-delay: 0.0s; }
.planet-page-stars .s2 { animation-delay: 0.4s; }
.planet-page-stars .s3 { animation-delay: 0.8s; }
.planet-page-stars .s4 { animation-delay: 1.2s; }
.planet-page-stars .s5 { animation-delay: 1.6s; }
.planet-page-stars .s6 { animation-delay: 2.0s; }
.planet-page-stars .s7 { animation-delay: 2.4s; }
.planet-page-stars .s8 { animation-delay: 2.8s; }
.planet-page-stars .s9 { animation-delay: 3.2s; }
.planet-page-stars .s10 { animation-delay: 3.6s; }

@keyframes twinkle-constant {
    0%, 100% { opacity: 0; }
    25%, 75% { opacity: 0.3; } /* Added middle states for smoother transition */
    50% { opacity: 0.7; } /* Reduced max opacity for subtlety */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .addresses-right {
        position: static;
        width: 80%;
        text-align: left;
        padding-left: 0;
        margin-top: 40px;
        padding-top: 40px;
        padding-bottom: 0; /* Reset padding for mobile */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Product Detail Page Styles */
.product-detail {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-detail h2 a,
.product-detail h4 a,
.product-detail p a,
.product-detail li a {
    text-decoration: none;
    color: inherit;
}

.product-detail .key-features a,
.product-detail .applications a {
    text-decoration: none;
    color: inherit;
}

.product-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
}

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

.product-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.product-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.product-hero-content p {
    font-size: 20px;
    max-width: 600px;
    line-height: 1.6;
}

.product-stats {
    margin-bottom: 60px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.stat-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 60px;
}

.product-features h2,
.product-applications h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

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

.feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h4 {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 15px;
}

.feature p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.applications-list {

    gap: 30px;
}

.application-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.application-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.application-item h4 {
    color: var(--text-dark);
    font-size: 24px;
    margin-bottom: 15px;
}

.application-item p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Product Detail Page Responsive Styles */

@media (min-width: 1200px) {
    .product-hero{
        height: 400px;
    }
}
@media (max-width: 1024px) {
    .product-hero {
        flex-direction: column;
    }

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

    .product-hero-content {
        padding: 20px;
        text-align: center;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .applications-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 10px;
    }

    .product-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .product-hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .stat-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .applications-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-features h2,
    .product-applications h2 {
        font-size: 1.75rem;
        margin: 30px 0 20px;
    }

    .feature h4,
    .application-item h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-hero-content h1 {
        font-size: 1.75rem;
    }

    .product-hero img {
        max-height: 300px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .feature,
    .application-item {
        padding: 15px;
    }

    .feature i,
    .application-item i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
}

/* Page Header Styles */
.page-header {
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.page-header h1 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1em;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-header {
        margin: 20px auto;
        padding: 15px;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
    
    .page-header p {
        font-size: 1em;
    }
}

/* Specification Table Styles */
.spec-table {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-size: 16px;
}

.spec-table th,
.spec-table td {
    padding: 18px 24px;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.spec-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.spec-table tr:first-child td {
    background-color: #f8f9fa;
}

.spec-table td:first-child {
    font-weight: 500;
    color: var(--text-dark);
    background-color: #f8f9fa;
    width: 25%;
    min-width: 200px;
}

.spec-table td {
    min-width: 140px;
    background-color: white;
}

/* Container for table scroll */
.product-stats {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding: 0 15px;
}

/* Table Responsive Styles */
@media (max-width: 1200px) {
    .spec-table {
        margin: 2rem auto;
        font-size: 15px;
    }
    
    .spec-table th,
    .spec-table td {
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .spec-table {
        font-size: 14px;
    }

    .spec-table th {
        font-size: 15px;
    }

    .spec-table th,
    .spec-table td {
        padding: 12px 15px;
    }

    .spec-table td:first-child {
        min-width: 160px;
    }

    .spec-table td {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .product-stats {
        margin: 0 -15px;
    }

    .spec-table {
        margin: 1rem 0;
        font-size: 13px;
    }

    .spec-table th,
    .spec-table td {
        padding: 10px 12px;
    }

    .spec-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        box-shadow: 2px 0 4px rgba(0,0,0,0.1);
    }
}