.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
}


.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 90%;
    /* NEW: prevent full-width overflow */
    word-wrap: break-word;
    /* Ensures long words wrap */
    overflow-wrap: break-word;
    hyphens: auto;
}


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

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
}

.macro-product-section {
    padding: 5rem 0;
    background: var(--background-dark);
    display: flex;
    justify-content: center;
}

.macro-product-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.macro-product-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.macro-product-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.product-cards-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.product-card {
    flex: 1 1 30%;
    border-radius: 15px;
    /* padding: 2rem; */
    max-width: 300px;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: var(--transition);
    background: white;
    border-radius: 15px;
    /* padding: 2.5rem 2rem; */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--secondary-color);
}

.product-card:hover .product-card-header {
    box-shadow: 0 8px 15px var(0, 0, 0, 1);
}


/* .product-card-header:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
} */

.product-card h3 {
    color: var(--coating-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    color: var(--primary-color);
    align-items: center;
    padding: 2rem;
    /* margin-bottom: 1.5rem; */
    font-size: 2rem;
    /* margin-right: 1rem; */
    border-top-left-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-top-right-radius: 15px;
    transition: box-shadow 0.3s ease;
}



.product-card-header i {
    font-size: 2rem;
    color: white;
    margin-right: 1rem;
}

.product-card-header h2 {
    font-size: 1.5rem;
    color: white;
}


.product-card-feature-list {
    list-style: none;
    padding: 2rem;
    margin: 0;
}

.product-card-feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    font-weight: 500;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: padding-left 0.3s ease;

}


.product-card-feature-list li>a {
    /* text-decoration: none; */
    /* color: var(--text-color); */
    transition: color 0.3s ease;
    font-weight: 500;
}

.product-card-feature-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;

}


.product-card-feature-list li:last-child {
    border-bottom: none;
}

.product-card-feature-list li:hover>a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 550;
}

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


/* Conversion Section */
.contact-section-cards {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: black;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-content>p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

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

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--bio-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


/* Color System Section */
.color-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.color-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.color-info {
    padding-right: 2rem;
}

.color-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.color-features {
    margin-bottom: 2rem;
}

.color-features ul {
    list-style: none;
    padding: 0;
}

.color-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.color-features i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.color-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

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

.color-image:hover img {
    transform: scale(1.05);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.sample-request-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sample-request-button i {
    font-size: 3rem;
}

.sample-request-button span {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

.sample-request-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* Responsive Typography and Layout Tweaks */
@media (max-width: 1037px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .macro-product-content h2,
    .contact-content h2 {
        font-size: 2.2rem;
    }

    .macro-product-content p,
    .contact-content>p {
        font-size: 1rem;
    }

    .color-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .product-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .product-card-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .product-card-feature-list {
        padding-left: 1.2rem;
        font-size: 1rem;
        line-height: 1.4;

    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content h2 {
        font-size: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .macro-product-content h2,
    .contact-content h2 {
        font-size: 2rem;
    }

    .macro-product-content p,
    .contact-content>p {
        font-size: 0.95rem;
    }

    
    .product-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .product-card-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .product-card-feature-list {
        padding-left: 1.2rem;
        font-size: 1rem;
        line-height: 1.4;

    }

    .color-info h2 {
        font-size: 1.8rem;
    }

    .color-info p,
    .color-features li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.6em;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .product-grid {
        gap: 1.5rem;
    }

    .product-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .product-card-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .product-card-feature-list {
        padding-left: 1.2rem;
        font-size: 1rem;
        line-height: 1.4;

    }

    .macro-product-content h2,
    .contact-content h2 {
        font-size: 1.6rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .color-image {
        padding: 1rem;
        min-height: 200px;
    }

    .cta-button,
    .contact-cta {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
    }
}