/* Products Page Styles */
.products-home {
    padding: 120px 20px 80px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.products-home .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.products-home .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #0056b3, #00a8cc);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #0056b3, #00a8cc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-card p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.product-card .hero-btn {
    padding: 12px 30px;
    font-size: 1rem;
    background: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
    box-shadow: none;
    transition: all 0.3s ease;
}

.product-card .hero-btn:hover {
    background: #0056b3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .products-home {
        padding-top: 100px;
    }
    
    .products-home .section-title {
        font-size: 2rem;
    }
}

/* Product Detail Pages (GDP, SGF, Ecorec) */
.product-page {
    padding-top: 100px; /* Fix fixed header overlap */
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.product-hero-gdp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.product-hero-text {
    flex: 1;
}

.product-hero-title {
    font-size: 3rem;
    color: #0056b3;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-hero-subtitle {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
}

.product-hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-hero-actions {
    display: flex;
    gap: 15px;
}

.hero-btn-secondary {
    background-color: transparent;
    border: 2px solid #0056b3;
    color: #0056b3;
}

.hero-btn-secondary:hover {
    background-color: #f0f8ff;
    color: #0056b3;
}

.product-hero-image {
    flex: 1;
    text-align: center;
}

.product-hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Overview Section */
.product-overview {
    background-color: #f8f9fa;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.product-overview-text {
    flex: 1;
    max-width: 600px;
}

.product-overview-image {
    flex: 1;
    max-width: 500px;
}

.product-overview-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Benefits Section */
.product-benefits {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #00a8cc;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Features Section */
.product-features-gdp {
    padding: 80px 20px;
    background-color: #fff;
}

.product-features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.product-features-layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.product-features-list {
    flex: 1;
    min-width: 300px;
}

.product-features-list h3 {
    color: #0056b3;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.product-features-list ul {
    list-style: none;
    padding-left: 0;
}

.product-features-list ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.product-features-list ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.product-features-side {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-image-box img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-note-box {
    background-color: #e9f7fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #00a8cc;
}

.product-note-box h4 {
    color: #00819c;
    margin-bottom: 10px;
}

/* Gallery Section */
.product-gallery {
    padding: 80px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.product-gallery-text {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #666;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-item span {
    display: block;
    margin-top: 10px;
    font-weight: 500;
    color: #555;
}

/* CTA Final */
.product-cta-final {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0056b3, #004494);
    color: #fff;
    text-align: center;
}

.product-cta-final .section-title {
    color: #fff;
    margin-bottom: 20px;
}

.product-cta-final .section-title::after {
    background: #fff;
}

.product-cta-final p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.product-cta-final .hero-btn {
    background-color: #ff9f1c;
    border: none;
}

.product-cta-final .hero-btn:hover {
    background-color: #e68a00;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .product-hero-gdp, .product-overview, .product-features-layout {
        flex-direction: column;
        text-align: center;
    }

    .product-hero-actions {
        justify-content: center;
    }
    
    .product-features-list ul {
        text-align: left;
    }
}
