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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 40px 0;
}

h2 {
    margin-bottom: 20px;
}

/* Header Styles */
header {
    background-color: #4CAF50;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: white;
}

nav ul li a.active, 
nav ul li a:hover {
    color: #f0c808;
}

.phone a {
    font-weight: bold;
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 0;
    }
    
    .phone {
        order: 2;
    }
}

/* Hero Section */
.hero {
    background-image: url('images/ScreenShorts.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: left;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.hero-content {
    max-width: 60%;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #f0c808;
}

.hero p {
    font-size: 16px;
    line-height: 1.6;
}

.hero-image {
    max-width: 35%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* About Us Section */
.about-us {
    padding: 60px 0;
    background-color: #FFEB3B;  /* Yellow background */
}

.main-heading {
    text-align: center;
    position: relative;
    padding-bottom: 40px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-heading h2 {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

.main-heading h2 {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.main-heading h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 150%;
    height: 4px;
    background: #4CAF50;
    animation: slideIn 0.8s ease-out forwards;
}

.main-heading h3 {
    font-size: 32px;
    color: #333;
    margin: 20px 0 10px;
    font-weight: 600;
}

.main-heading p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    font-style: italic;
    margin-top: 10px;
}

.about-content {
    padding: 20px 0;
}

.info-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.first-row {
    gap: 20px;
}

.about-image {
    flex: 0.8;
    max-width: 30%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.about-title {
    flex: 1;
    padding-right: 20px;
}

.main-heading {
    text-align: left;
    position: relative;
    padding-bottom: 20px;
}

.main-heading h2 {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.main-heading h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4CAF50;
    transform: scaleX(0);
    transform-origin: left;
    animation: slideIn 0.8s ease-out forwards;
}

.main-heading h3 {
    font-size: 32px;
    color: #333;
    margin: 20px 0 10px;
    font-weight: 600;
}

.main-heading p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    font-style: italic;
    margin-top: 10px;
}

@keyframes slideIn {
    to {
        transform: scaleX(1);
    }
}

.about-content {
    padding: 20px 0;
}

.info-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.info-card {
    flex: 1;
    background: #4CAF50;  /* Green background */
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    min-width: 300px;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Make all text in cards white */
.info-card p,
.info-card span,
.office-details p,
.company-history p,
.service-center p,
.license-item span,
.license-grid,
.license-item {
    color: #FFFFFF !important;
}

.info-card strong {
    color: #FFFFFF !important;
    font-weight: 600;
}

.service-center p,
.company-history p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #FFFFFF !important;
}

/* Ensure all headings in cards are white */
.info-card h3,
.office-details h3,
.company-profile h3,
.service-center h3,
.company-history h3,
.products-list h3,
.license-details h3 {
    color: #FFFFFF !important;
}

.product-list-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.centered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.centered-list li {
    margin: 12px 0;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    padding-left: 5px;
}

.info-card h3 {
    color: #FFFFFF !important; /* Force white color */
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    text-align: center;
    width: 100%;
}

.card-content {
    height: calc(100% - 60px);
    padding-top: 10px;
}

.office-address {
    font-size: 16px;
    line-height: 1.8;
    color: #f0f0f0;
}

.compact-card {
    padding: 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.office-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-details {
    height: 300px;  /* Match Brief History card height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.weighbridge-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.weighbridge-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-profile {
    flex: 1.2;
}

.service-center {
    flex: 0.8;
}

.info-card h3 {
    font-size: 24px;
    color: #4CAF50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

.info-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.info-card table td {
    padding: 12px;
    border-bottom: 1px solid #e6e6e6;
}

.service-details {
    width: 100%;
    display: flex;
    justify-content: center;
}

.service-details .centered-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: center;
    width: 100%;
}

.service-details .centered-list li {
    margin: 12px 0;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    padding-left: 5px;
}

.service-details h4 {
    color: #4CAF50;
    margin-bottom: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-details ul li:before {
    content: '✓';
    color: #4CAF50;
    position: absolute;
    left: 0;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.license-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.license-item span {
    color: #FFFFFF !important;
}

.license-item span:first-child {
    font-weight: bold;
}

.view-all-licenses {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.view-all-licenses:hover {
    background: #388E3C;
}

.company-motto {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: #4CAF50;
    border-radius: 15px;
    color: white;
    font-style: italic;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.company-motto p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add animation delay for each row */
.first-row { animation-delay: 0.2s; }
.second-row { animation-delay: 0.4s; }
.third-row { animation-delay: 0.6s; }
.company-motto { animation: fadeInUp 0.5s ease-out 0.8s forwards; }

.company-info table td:first-child {
    font-weight: bold;
    width: 40%;
    color: #333;
}

.company-info ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.company-info ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

.company-motto {
    text-align: center;
    font-style: italic;
    background: #4CAF50 !important;
    color: white !important;
    padding: 20px !important;
}

.company-motto p {
    color: white !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-content {
        padding: 15px;
    }

    .company-info table td {
        display: block;
        width: 100%;
    }

    .company-info table td:first-child {
        width: 100%;
        background: #f0f0f0;
    }
}

/* Products Section */
.products {
    padding: 60px 0;
    background-color: #4CAF50; /* Green background for Products section */
}

.products-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: white; /* White text for better contrast on green background */
}

/* Weigh Bridge Section */
.weighbridge-section {
    margin-bottom: 60px;
}

.weighbridge-section h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: white;
}

.weighbridge-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.weighbridge-container {
    display: flex;
    animation: scrollWeighbridge 60s linear infinite;
    width: max-content;
}

.weighbridge-container:hover {
    animation-play-state: paused;
}

@keyframes scrollWeighbridge {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 5)); /* Exactly 5 cards */
    }
}

.weighbridge-container .product-card,
.other-products-container .product-card {
    flex: 0 0 280px;
    margin-right: 20px;
    height: 400px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
}

.weighbridge-container .product-card img,
.other-products-container .product-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.weighbridge-container .product-info,
.other-products-container .product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.weighbridge-container .product-info h3,
.other-products-container .product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.weighbridge-container .product-info ul,
.other-products-container .product-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.weighbridge-container .product-info li,
.other-products-container .product-info li {
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Weigh Bridge specific styles */
.weighbridge-container .product-card {
    background-color: white;
}

/* Other Products specific styles */
.other-products-container .product-card {
    background-color: #FFEB3B;
    border: 1px solid #FBC02D;
}

.other-products-container .product-info h3 {
    color: #333;
}

.other-products-container .product-info li {
    color: #555;
}

/* Other Products Section */
.other-products-section {
    padding: 2rem 0;
    background: #4CAF50;  /* Green background */
    overflow: hidden;
}

/* WEIGHING SCALES Subsection */
.weighing-scales-section {
    padding: 2rem 0;
    background: #4CAF50;  /* Green background */
    overflow: hidden;
}

.weighing-scales-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
}

.weighing-scales-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.weighing-scales-container {
    display: flex;
    gap: 2rem;
    animation: slideWeighingScales 60s linear infinite;
    width: max-content;
}

.weighing-scales-container:hover {
    animation-play-state: paused;
}

@keyframes slideWeighingScales {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 3)); /* Exactly 3 cards */
    }
}

.weighing-scales-section .product-card {
    background: #ffe600 !important;
    color: #008000 !important;
    flex: 0 0 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px !important;
    max-height: 400px !important;
    height: 340px !important;
    padding: 36px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.weighing-scales-section .product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 24px;
}

.weighing-scales-section .product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.weighing-scales-section .product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: left;
}

.weighing-scales-section .product-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weighing-scales-section .product-info li {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.other-products-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: white;  /* Changed to white for better contrast on green */
    font-size: 2rem;
}

.other-products-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.other-products-container {
    display: flex;
    gap: 2rem;
    animation: slideOtherProducts 60s linear infinite;
    width: max-content;
}

.other-products-container:hover {
    animation-play-state: paused;
}

@keyframes slideOtherProducts {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 10));
    }
}

.other-products-section .product-card {
    max-height: 260px;
    min-height: 180px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.other-products-section .product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.other-products-section .product-info {
    text-align: center;
}

.other-products-section .product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: left;
}

.other-products-section .product-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-products-section .product-info li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

/* Remove the old grid styles */
.products-grid {
    display: none;
}

/* Product Card Styles */
.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.product-info ul {
    list-style: none;
    padding: 0;
}

.product-info li {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

/* Price Section */
.price {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.price h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.price-card {
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
}

.price-image {
    background-color: #f0f0f0;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
}

.price-content {
    padding: 15px;
}

.price-content h3 {
    margin-bottom: 5px;
}

.date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.pagination {
    display: flex;
    justify-content: space-between;
    max-width: 300px;
    margin: 0 auto;
    margin-top: 40px;
}

.pagination a {
    color: #333;
    padding: 8px 16px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #f0c808;
    color: white;
}

/* Achievements Section */
.achievements {
    padding: 60px 0;
    text-align: center;
    background-color: #FFEB3B;  /* Yellow background */
}

.achievements h2 {
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.achievements h3 {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: bold;
    color: #000;
}

.achievement-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.achievement-card {
    background-color: #4CAF50;  /* Green background */
    border-radius: 10px;
    padding: 30px;  /* Increased padding to accommodate larger icons */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;  /* Ensure minimum width for better layout */
}

.achievement-icon {
    color: white;  /* White icon color for better contrast on green background */
    font-size: 40px;  /* Increased icon size */
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);  /* Slight white background for better visibility */
    border-radius: 50%;
    margin-right: 15px;
}

.achievement-content {
    color: white;  /* White text for better contrast on green background */
}

.achievement-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: white;  /* White text for better contrast on green background */
}

.achievement-content p {
    font-size: 16px;
    color: white;  /* White text for better contrast on green background */
}

/* Footer */
footer {
    background-color: #000;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    flex: 0 0 20%;
}

.footer-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.footer-logo p {
    text-align: center;
    color: #4094d7;
    font-weight: bold;
}

.footer-info {
    flex: 0 0 40%;
    color: #fff;
    line-height: 1.8;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-map {
    flex: 0 0 30%;
}

.footer-map img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 4px;
}

.social-icons-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 10px auto;
    max-width: 300px;
}

.social-links a {
    display: inline-block;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s;
}

.social-links a:hover img {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    padding: 15px 0;
    background-color: #f5f5f5;
    color: #333;
}

.copyright p {
    font-size: 14px;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .about-us .container {
        flex-direction: column;
    }
    
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .product-card {
        flex: 0 0 calc(33.333% - 15px);
    }
    
    .achievement-cards {
        gap: 30px;
    }
    
    .achievement-card {
        width: 280px;
        padding: 25px 25px 25px 60px;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-logo, .footer-info {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-map {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .footer-map img {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .about-us .container {
        gap: 20px;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .price-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-cards {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .achievement-card {
        width: 100%;
        max-width: 320px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .weighbridge-container {
        animation: scrollWeighbridge 45s linear infinite;
    }
    
    .other-products-container {
        animation: scrollOtherProducts 35s linear infinite;
    }
}

@media (max-width: 576px) {
    .product-card {
        flex: 0 0 calc(100% - 15px);
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-links img {
        width: 20px;
        height: 20px;
    }
    
    .weighbridge-container {
        animation: scrollWeighbridge 35s linear infinite;
    }
    
    .other-products-container {
        animation: scrollOtherProducts 25s linear infinite;
    }
}

.client-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 380px;
    min-height: 180px;
    transition: box-shadow 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.client-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.13);
    transform: translateY(-5px) scale(1.03);
}

.client-card img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
}

.client-card p {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .client-cards {
        gap: 20px;
    }
    
    .client-card {
        width: 300px;
        min-height: 160px;
        padding: 20px 15px;
    }
    
    .client-card img {
        width: 100px;
        height: 100px;
    }
    
    .client-card p {
        font-size: 0.9rem;
    }
}

/* Our Clients Section */
.clients {
    background-color: #FFEB3B;
    padding: 60px 0 40px 0;
    text-align: center;
    overflow: hidden;
}

.clients h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.client-slider {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.client-cards-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.client-cards {
    display: flex;
    gap: 40px;
    animation: slideCards 120s linear infinite;
    width: max-content;
}

@keyframes slideCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 30)); /* Updated for new card width */
    }
}

.client-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 50px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    min-height: 220px;
    transition: box-shadow 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.client-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.13);
    transform: translateY(-5px) scale(1.03);
}

.client-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 18px;
}

.client-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

@media (max-width: 768px) {
    .client-slider {
        padding: 0;
    }
    
    .client-cards {
        gap: 28px;
    }
    
    .client-card {
        width: 200px;
        min-height: 160px;
        padding: 30px 10px 25px 10px;
    }
    
    .client-card img {
        width: 70px;
        height: 70px;
    }
}

.products h2 {
    text-align: center;
    width: 100%;
    color: white;
}

.weighbridge-features {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: auto;
    overflow: visible;
}

.weighbridge-features p {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    position: relative;
    padding-left: 1.2rem;
    text-align: justify;
}

.weighbridge-features p:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

.weighbridge-features p:last-child {
    margin-bottom: 0;
}

.weighbridge-section .product-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: visible;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

.weighbridge-section .product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
}

/* Slider Navigation */
/* .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 4;
    transition: background-color 0.3s ease;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
} */