:root {
    --vertex-primary: #006d5b; /* Deep teal */
    --vertex-secondary: #00916e; /* Bright teal */
    --vertex-accent: #28a745; /* Green accent */
    --vertex-bg: #f8fafc; /* Light background */
    --vertex-gray: #4a4a4a; /* Dark gray for text */
    --vertex-light-gray: #e9ecef; /* Light gray */
    --vertex-gradient: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%); /* Full gradient coverage */
    --vertex-cream: #f9f9f7;
    --vertex-border: #dee2e6;
    --vertex-blue: #1e40af;
    --whiteish-bg: #f9fbfd;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--vertex-gradient); /* Ensure full coverage */
    color: var(--vertex-gray);
    margin: 0;
    padding: 0; /* Remove any default padding */
    overflow-x: hidden; /* Prevent horizontal overflow */
    min-height: 100vh; /* Ensure body covers full viewport height */
    position: relative; /* Ensure proper stacking context */
    scroll-behavior: smooth;
    line-height: 1.6;
}

section {
    transition: opacity 0.6s ease, transform 0.6s ease;
}
section.hidden {
    opacity: 0;
    transform: translateY(40px);
}
section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */

.sell-polymers .buy-polymers {
    padding: 5rem 0;
    background: var(--vertex-gradient); /* Match body background */
}

/* Move btn-submit styling outside specific section context */
.btn-submit {
    background: var(--vertex-accent);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    text-decoration: none; /* Ensure anchor tags behave as buttons */
    display: inline-block; /* Ensure proper block-level rendering */
}

.btn-submit:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.hero,
.hero-bg {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(0, 109, 91, 0.8), rgba(0, 145, 110, 0.6));
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    background: linear-gradient(90deg, rgba(0, 109, 91, 0.8), rgba(0, 145, 110, 0.6)), url('assets/images/background.jpg') no-repeat center/cover;
}
.hero_home {
        background: linear-gradient(rgba(0, 109, 91, 0.7), rgba(0, 145, 110, 0.5)), url('assets/images/team-placeholder.jpg') no-repeat center center/cover;
        padding: 100px 0;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        position: relative;
        color: #fff;
        overflow: hidden;
    }
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-bg::before {
    background: rgba(0, 0, 0, 0.2);
}
.hero-bg::after {
    background: url('assets/images/team-placeholder.jpg') no-repeat right top;
    background-size: contain;
    opacity: 0.08;
    animation: float 6s infinite ease-in-out;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero h1,
.hero-bg h1,
.hero-bg .display-5 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}
.hero p,
.hero-bg p {
    font-size: 1.2rem;
    /* max-width: 800px; */
    margin: 0 auto 30px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.hero-bg .h3 {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--vertex-gray);
}
.hero .quotation_form {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.hero-bg img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
    max-height: 400px;
}
.hero-bg img:hover {
    transform: translateY(-8px);
}
.hero-bg:hover {
    transform: scale(1.02);
}
.hero .btn{
    background: var(--vertex-accent);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}
.hero .btn:hover{
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

@media (max-width: 1024px) {
    .hero-bg h1,
    .hero-bg .display-5 { font-size: 2.8rem; }
    .hero-bg p { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .hero,
    .hero-bg { padding: 80px 0; border-radius: 0; }
    .hero h1,
    .hero-bg h1,
    .hero-bg .display-5 { font-size: 2.2rem; }
    .hero p,
    .hero-bg p { font-size: 1rem; }
    .hero-bg .h3 { font-size: 1.2rem; }
    .hero-bg img { max-height: 250px; margin-top: 20px; }
    /* .row.align-items-center { flex-direction: column-reverse; } */
    .hero .btn,
    .btn-submit { font-size: 0.9rem; padding: 10px 20px; }
}
@media (max-width: 480px) {
    .hero .row { flex-direction: column-reverse; }
    .hero .col-md-6 { margin-top: 20px; }
    .hero h1,
    .hero-bg h1,
    .hero-bg .display-5 { font-size: 1.8rem; }
    .hero p,
    .hero-bg p { font-size: 0.9rem; }
}

/* Ensure correct order on mobile */
@media (max-width: 767.98px) {
    .hero .row {
        flex-direction: column;
    }
    .hero .order-1 { order: 1; }
    .hero .order-2 { order: 2; }
}

/* Remove any conflicting rule */
@media (max-width: 768px) {
    .hero .row.align-items-center {
        flex-direction: column !important;
    }
}

/* Navbar */
.navbar {
    background: var(--whiteish-bg);
    padding: 8px 0;
    transition: background 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.1);
}
.navbar-nav .nav-item {
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link {
    color: var(--vertex-gray);
    font-weight: 500;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}
.navbar-nav .nav-link i {
    margin-right: 6px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--vertex-secondary);
    transform: translateY(-2px);
}
.navbar-nav .nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--vertex-secondary);
    transition: width 0.3s ease, left 0.3s ease;
}
.navbar-nav .nav-item:hover::after {
    width: 100%;
    left: 0;
}
.navbar-nav .nav-item .nav-link i.fas.fa-phone-alt,
.navbar-nav .nav-item .nav-link i.fab.fa-whatsapp {
    color: var(--vertex-accent);
    transition: color 0.3s ease;
}
.navbar-nav .nav-item .nav-link:hover i.fas.fa-phone-alt,
.navbar-nav .nav-item .nav-link:hover i.fab.fa-whatsapp {
    color: var(--vertex-secondary);
}
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}
.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 768px) {
    .navbar-nav .nav-item { margin: 8px 0; }
    .navbar-nav .nav-link { padding: 6px 10px; }
    .navbar-nav .nav-item.d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-nav .nav-item.d-flex .nav-link { margin: 4px 0; }
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: #fff;
}
.content-section h2 {
    font-size: 1.8rem;
    color: var(--vertex-primary);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}
.content-section h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--vertex-secondary);
    bottom: -8px;
    left: 0;
    transition: width 0.3s ease;
}
.content-section h2:hover::after {
    width: 70px;
}
.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}
.content-section a {
    color: var(--vertex-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}
.content-section a:hover {
    color: var(--vertex-secondary);
    text-decoration: underline;
}
.content-section .list-group-item {
    background: transparent;
    border: none;
    padding: 8px 0;
    font-size: 1rem;
    color: #555;
}
.content-section .text-muted {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .content-section { padding: 40px 0; }
    .content-section h2 { font-size: 1.5rem; }
    .content-section p { font-size: 1rem; }
    .content-section .list-group-item { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .content-section h2 { font-size: 1.3rem; }
    .content-section p { font-size: 0.95rem; }
}

/* About Section */

/* Custom styles for the download button */
.brouche_button {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    border: 2px solid var(--vertex-secondary); /* Using vertex-secondary from your theme */
    color: var(--vertex-secondary);
    transition: all 0.3s ease;
    text-transform: none; /* Avoids Bootstrap's default uppercase */
}

.brouche_button i {
    font-size: 0.9rem; /* Matches text size for consistency */
    vertical-align: middle;
}

.brouche_button:hover {
    background-color: var(--vertex-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 145, 110, 0.2);
}

.brouche_button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 145, 110, 0.3);
}

.supply_text {
     text-align: center;
}

.about-section {
    padding: 100px 0;
    background: #fff;
}
.about-section h2 {
    font-size: 2.5rem;
    color: var(--vertex-primary);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}
.about-section h3 {
    font-size: 1.8rem;
    color: var(--vertex-gray);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
}
.about-section p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
.about-section .img-fluid {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}
.about-section .img-fluid:hover {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .about-section h2 { font-size: 2.2rem; }
    .about-section h3 { font-size: 1.6rem; }
}
@media (max-width: 768px) {
    .about-section { padding: 80px 0; }
    .about-section .row { flex-direction: column-reverse; }
    .about-section .img-fluid { margin-top: 20px; }
    .about-section h2 { font-size: 2rem; }
    .about-section h3 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .about-section h2 { font-size: 1.8rem; }
    .about-section h3 { font-size: 1.2rem; }
}

/* Who We Are Section */
.who-we-are {
    padding: 80px 0;
    background: #fff;
}
.who-we-are h3 {
    color: var(--vertex-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}
.who-we-are p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}
.who-we-are .image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.who-we-are .image-wrapper img {
    transition: transform 0.4s ease;
}
.who-we-are .image-wrapper:hover img {
    transform: scale(1.1);
}
.who-we-are .btn {
    background: var(--vertex-secondary);
    border: none;
    /* padding: 12px 30px; */
    transition: all 0.3s ease;
}
.who-we-are .btn:hover {
    background: #007f5d;
    color: #fff;
}

/* Team Section */
.team-section {
    padding: 60px 0;
    background: var(--vertex-bg);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 90%;
    margin: 0 auto;
}
.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    padding: 20px;
    animation: fadeUp 0.8s ease forwards;
}
.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}
.team-card:hover img {
    transform: scale(1.1);
}
.team-card h5 {
    font-size: 1.3rem;
    color: var(--vertex-gray);
    margin-bottom: 5px;
}
.team-card p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}
.team-card .social-links {
    margin-top: 10px;
}
.team-card .social-links a {
    color: var(--vertex-secondary);
    margin: 0 8px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.team-card .social-links a:hover {
    color: var(--vertex-accent);
}
.team-card .card-icon {
    font-size: 1.5rem;
    color: var(--vertex-secondary);
    cursor: pointer;
    margin-top: 10px;
    transition: color 0.3s ease;
}
.team-card .card-icon:hover {
    color: var(--vertex-accent);
}

@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .team-card img { width: 130px; height: 130px; }
}
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
}


/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--vertex-bg); /* Light background from your theme */
    position: relative;
    overflow: hidden;
}

.services-section h2 {
    font-size: 2.5rem;
    color: var(--vertex-primary);
    position: relative;
    margin-bottom: 40px;
}

.services-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--vertex-secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.services-section h2:hover::after {
    width: 80px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--vertex-light-gray);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #fff 70%, var(--vertex-light-gray));
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px; /* Increased height to accommodate larger image */
}

.service-img {
    max-width: 120px; /* Larger image size */
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(20%); /* Subtle grayscale for modern effect */
    border-radius: 18px;
}

.service-card:hover .service-img {
    transform: scale(1.1);
    filter: grayscale(0); /* Full color on hover */
}

.service-card h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--vertex-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    min-height: 60px; /* Ensure consistent card height */
}

.service-card .btn-primary {
    background: var(--vertex-secondary);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 120px; /* Fixed width for uniformity */
}

.service-card .btn-primary:hover {
    background: #007f5d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 145, 110, 0.3);
}

@media (max-width: 768px) {
    .services-section { padding: 40px 0; }
    .service-card { padding: 15px; }
    .service-img { max-width: 100px; }
    .service-card h5 { font-size: 1.2rem; }
    .service-card p { font-size: 0.95rem; }
    .service-card .btn-primary { width: 100px; padding: 8px 15px; }
}

@media (max-width: 480px) {
    .services-section h2 { font-size: 2rem; }
    .service-img { max-width: 80px; }
    .service-card h5 { font-size: 1.1rem; }
    .service-card p { font-size: 0.9rem; }
    .row-cols-lg-3 { 
        flex-direction: column; /* Stack columns vertically */
        row-gap: 20px; /* Add vertical spacing between stacked items */
    }
}


/* Products Section */
.products-section {
    padding: 100px 0;
    background: #fff;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-in-out;
}
.section-header h2 {
    font-size: 40px;
    color: var(--vertex-primary);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.section-header p {
    color: #666;
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
}
.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}
.product-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-bottom: 2px solid var(--vertex-light-gray);
}
.product-card:hover img {
    transform: scale(1.1);
}
.product-card .card-body {
    padding: 25px;
    text-align: center;
    background: #fafafa;
}
.product-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--vertex-gray);
    text-transform: capitalize;
}
.product-card p {
    font-size: 15px;
    color: #777;
    min-height: 50px;
    line-height: 1.5;
}
.card-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.card-actions a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}
.btn-rate {
    background: var(--vertex-secondary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 145, 110, 0.2);
}
.btn-rate:hover {
    background: #007f5d;
    box-shadow: 0 6px 15px rgba(0, 145, 110, 0.3);
}
.btn-quote {
    border: 2px solid var(--vertex-secondary);
    color: var(--vertex-secondary);
    background: #fff;
}
.btn-quote:hover {
    background: var(--vertex-secondary);
    color: #fff;
}
.category-section {
    margin-bottom: 100px;
    animation: fadeUp 1s ease;
}
.category-section:not(:last-child)::after {
    content: "";
    display: block;
    width: 90%;
    margin: 60px auto 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .product-card img { height: 200px; }
}
@media (max-width: 768px) {
    .products-section { padding: 80px 0; }
    .section-header h2 { font-size: 30px; }
    .section-header p { font-size: 15px; }
    .products-grid { width: 95%; gap: 20px; }
    .product-card img { height: 180px; }
    .product-card .card-body { padding: 15px; }
    .card-actions a { padding: 8px 15px; font-size: 13px; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* Featured Products Section */
.featured-products {
    padding: 80px 0;
    background: var(--vertex-bg); /* Light background from theme */
    position: relative;
    overflow: hidden;
}

.featured-products h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 40px;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--vertex-secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.featured-products h2:hover::after {
    width: 80px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-img {
    width: 100%;
    height: 200px; /* Increased height for larger images */
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(90%);
}

.product-card:hover .product-img {
    transform: scale(1.05);
    filter: brightness(100%);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-text {
    font-size: 1rem;
    min-height: 50px; /* Ensure consistent card height */
}

.btn-light-orange {
    background: #FFC107;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #333; /* Darker text for contrast */
}

.btn-light-orange:hover {
    background: #FFCA28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-dark {
    background: var(--vertex-primary);
    border: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: #004d41;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 109, 91, 0.3);
}

@media (max-width: 768px) {
    .featured-products { padding: 40px 0; }
    .product-img { height: 180px; }
    .card-title { font-size: 1.2rem; }
    .card-text { font-size: 0.95rem; }
    .col-md-6 { width: 100%; }
}

@media (max-width: 480px) {
    .featured-products h2 { font-size: 2rem; }
    .product-img { height: 150px; }
    .card-title { font-size: 1.1rem; }
    .card-text { font-size: 0.9rem; }
    .col-lg-3 { width: 100%; }
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #fff;
}
.how-it-works img {
    transition: transform 0.4s ease;
    max-width: 120px;
}
.how-it-works:hover img {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .how-it-works { padding: 40px 0; }
}

/* Buy/Sell Polymers Section */
.buy-polymers img,
.sell-polymers img {
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}
.buy-polymers img:hover,
.sell-polymers img:hover {
    transform: translateY(-8px);
}
.buy-polymers .list-unstyled li,
.sell-polymers .list-unstyled li {
    margin-bottom: 12px;
    animation: fadeInUp 1.2s ease-out;
}
@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Steps Section */
.step-image {
    background: var(--vertex-cream);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    overflow: hidden;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.step-image:hover {
    transform: scale(1.15);
}
.step-image img {
    max-width: 80px;
    height: auto;
    transition: transform 0.4s ease;
}
.step-image:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .step-image { width: 60px; height: 60px; }
    .step-image img { max-width: 60px; }
}

/* Form Section */
.form-card,
.quotation_form {
    padding: 50px;
    background: white;
    animation: cardPop 1s ease-out;
}
@keyframes cardPop {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.form-label {
    font-weight: 600;
    color: var(--vertex-gray);
    animation: fadeIn 1s ease-in;
}
.form-control {
    border-radius: 10px;
    border: 2px solid var(--vertex-border);
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
    border-color: var(--vertex-accent);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.2);
    outline: none;
}
.form-control.invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.2);
}
.form-check-input:checked {
    background-color: var(--vertex-accent);
    border-color: var(--vertex-accent);
}
.invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
    animation: shake 0.5s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.spinner-border {
    margin-right: 8px;
    color: var(--vertex-accent);
}
.contact-form .form-control {
    border-radius: 8px;
    border-color: var(--vertex-light-gray);
}
.contact-form .form-control:focus {
    border-color: var(--vertex-secondary);
    box-shadow: 0 0 5px rgba(0, 145, 110, 0.3);
}

@media (max-width: 768px) {
    .form-card,
    .quotation_form { padding: 20px; }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #fff;
}
.contact-section h1 {
    font-size: 2.5rem;
    color: var(--vertex-primary);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}
.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.contact-card h3 {
    font-size: 1.8rem;
    color: var(--vertex-gray);
    font-weight: 600;
    margin-bottom: 20px;
}
.contact-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}
.contact-card .social-links a {
    color: var(--vertex-secondary);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.contact-card .social-links a:hover {
    color: var(--vertex-accent);
}
.contact-form .btn-primary {
    background: var(--vertex-secondary);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}
.contact-form .btn-primary:hover {
    background: #007f5d;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-section { padding: 50px 0; }
    .contact-section h1 { font-size: 2rem; }
    .contact-card { padding: 15px; }
    .contact-card h3 { font-size: 1.5rem; }
    .contact-form .form-control { padding: 10px; }
    .contact-form .btn-primary { padding: 10px; }
}
@media (max-width: 480px) {
    .contact-section .row { flex-direction: column; }
    .contact-card { margin-bottom: 20px; }
}

/* Address Section */
.address-section {
    padding: 40px 0;
    background: var(--vertex-bg);
    text-align: center;
}
.address-section h2 {
    font-size: 2rem;
    color: var(--vertex-primary);
    font-weight: 700;
    margin-bottom: 20px;
}
.address-section p {
    font-size: 1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .address-section h2 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
    .address-section h2 { font-size: 1.5rem; }
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}
.map-section h2 {
    font-size: 2rem;
    color: var(--vertex-primary);
    font-weight: 700;
    margin-bottom: 20px;
}
.map-section iframe {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .map-section h2 { font-size: 1.8rem; }
    .map-section iframe { height: 300px; }
}
@media (max-width: 480px) {
    .map-section h2 { font-size: 1.5rem; }
    .map-section iframe { height: 250px; }
}

/* Supply Section */
.supply-section {
    padding: 60px 0;
    background: #fff;
}
.supply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 90%;
    margin: 0 auto;
}
.supply-card {
    background: var(--vertex-light-gray);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}
.supply-card:hover {
    background: var(--vertex-secondary);
    color: #fff;
    transform: translateY(-5px);
}

/* Stats Section */


.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #c4c4c2ff 0%, #f1f0efff 100%);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
.animated-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.3) 0%, transparent 50%);
    animation: floatBackground 12s ease-in-out infinite alternate;
    z-index: 0;
    opacity: 0.7;
}
@keyframes floatBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, -50px); }
}
.stats-section h2 {
    font-size: 2.5rem;
    color: var(--vertex-gray);
    font-weight: 700;
    margin-bottom: 40px;
}
.stats-section .col-6 h3 {
    font-size: 2.5rem;
    color: var(--vertex-primary);
    transition: all 0.6s ease;
}
.stats-section .col-6 p {
    font-size: 1.1rem;
    color: #1e293b;
}

@media (max-width: 768px) {
    .stats-section { padding: 40px 0; }
    .stats-section h2 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .stats-section { padding: 50px 0; }
    .stats-section h2 { font-size: 1.8rem; }
    .stats-section .col-6 h3 { font-size: 2rem; }
}

/* FAQ Section */
.faq-container {
    max-width: 1000px;
    margin: 80px auto 40px;
    padding: 0 20px;
}
.faq-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--vertex-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}
.faq-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--vertex-accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { width: 50px; }
    50% { width: 70px; }
}
.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}
.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
.faq-question {
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--vertex-gray);
    transition: background 0.4s ease;
}
.faq-question:hover {
    background: var(--vertex-light-gray);
    color: var(--vertex-blue);
}
.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: #ddd;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: all 0.5s ease;
    padding: 0 30px;
    line-height: 1.8;
    color: #666;
    font-size: 1.1rem;
}
.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 25px 30px;
}
.faq-icon {
    font-size: 24px;
    transition: transform 0.4s ease, color 0.3s ease;
    color: var(--vertex-secondary);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--vertex-accent);
}
.faq-answer p {
    margin: 0 0 15px;
    font-weight: 400;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-container { margin: 40px auto; padding: 0 10px; }
    .faq-title { font-size: 2rem; margin-bottom: 30px; }
    .faq-question { font-size: 1rem; padding: 15px 20px; }
    .faq-answer { font-size: 0.95rem; }
}

/* Footer */
.footer {
    border-top-right-radius: 22px;
    border-top-left-radius: 22px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: #1a2b3c;
    padding: 40px 0 20px;
}
.footer h5 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--vertex-secondary);
    font-weight: bold;
}
.footer p {
    font-size: 1rem;
    color: #d1d5db;
}
.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer a:hover {
    color: var(--vertex-accent);
    transform: translateY(-2px);
}
.footer .fab {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.footer .fab:hover {
    color: var(--vertex-accent);
}
.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}
.footer .text-center img {
    transition: transform 0.3s ease;
}
.footer .text-center img:hover {
    transform: scale(1.05);
}

/* Sticky Contact Icons */
.contact-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--vertex-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.contact-icons a:hover {
    background: var(--vertex-secondary);
    transform: scale(1.1);
}
.contact-icons .phone i,
.contact-icons .whatsapp i {
    color: #fff;
    font-size: 1.5rem;
}
.contact-icons .whatsapp {
    background: #25D366;
}
.contact-icons .whatsapp:hover {
    background: #1DAF3A;
}

@media (max-width: 768px) {
    .footer { padding: 30px 0 10px; }
    .footer h5 { font-size: 1.3rem; }
    .footer p { font-size: 0.95rem; }
    .footer .col-md-4 { margin-bottom: 20px; }
    .footer .text-center img { width: 120px; }
    .contact-icons { bottom: 10px; right: 10px; }
    .contact-icons a { width: 40px; height: 40px; }
    .contact-icons .phone i,
    .contact-icons .whatsapp i { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .footer h5 { font-size: 1.2rem; }
    .footer p { font-size: 0.9rem; }
    .footer .text-center img { width: 100px; }
    .contact-icons a { width: 35px; height: 35px; }
}

/* General Card Styles */
.card {
    border: 1px solid var(--vertex-border);
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.card-img-top {
    transition: transform 0.3s ease;
}
.card-img-top:hover {
    transform: scale(1.05);
}
.bg-light-orange {
    background-color: #FFC107 !important;
}
.btn-light-orange {
    background-color: #FFC107;
    border-color: #FFC107;
}
.btn-light-orange:hover {
    background-color: #FFCA28;
    border-color: #FFCA28;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}