/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    padding-top: 60px;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #ffffff;
    padding: 1.5rem;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
}

.top-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 1rem;  /* Reduced padding from 3rem */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 2px;  /* Reduced gap */
    margin-right: auto;
    padding-left: 0;  /* Remove any left padding */
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 100%;
    margin-left: 0;  /* Remove any left margin */
}

.logo span {
    font-size: 29px !important;
    margin-left: 1px!important;  /* Removed left margin */
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1b8a3d;
    border-radius: 5px;
}

/* Navigation and Dropdown Styles */
.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    position: relative;
    z-index: 9999;
}

.nav-links a {
    color: #1b8a3d;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #157033;
}

.dropdown {
    position: relative;
    z-index: 9999;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    margin-top: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    border: 1px solid rgba(27, 138, 61, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content a {
    color: #333 !important;
    padding: 12px 20px;
    display: block;
    font-size: 14px !important;
    font-weight: normal !important;
    text-transform: none;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

.nav-link::after {
    content: '▼';
    display: inline-block;
    margin-left: 5px;
    font-size: 10px;
    vertical-align: middle;
}

/* Industry Section Styles */
.industry-section {
    background-color: #1b8a3d;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.industry-description {
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.6;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 4rem;
}

.industry-item {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.industry-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 138, 61, 0.7);
}

.industry-item span {
    position: relative;
    color: white;
    z-index: 1;
}

/* Footer Styles */
.footer {
    background-color: #1b8a3d;
    color: #fff;
    padding: 4rem 2rem;
    font-family: Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: bold;
}

.footer-brand p {
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: white;
    color: #1b8a3d;
    transform: translateY(-3px);
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #1b8a3d;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* Slider Styles */
.slider-container {
    position: relative;
    margin-top: 20px;
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27, 138, 61, 0.8);
    border: 2px solid white;
    color: white;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.slider-nav button:hover {
    background: #1b8a3d;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(27, 138, 61, 0.3);
}

.prev { left: 30px; }
.next { right: 30px; }

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
}

/* Feature Products Section */
.feature-products {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #1b8a3d, #157033);
    color: white;
}

.feature-products h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.feature-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    color: white;
    font-size: 1.4rem;
    margin: 1rem 0;
    font-weight: 600;
    line-height: 1.4;
}

.product-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-top: 1rem;
}

/* Slider Styles */
.slider-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    margin: 0;
}

.slider {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 25%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.slide img {
    width: 50%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Grid Item Styles */
.grid-item {
    background: white;
    border: 2px solid #1b8a3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 600px;
    height: auto;
    box-shadow: 0 4px 15px rgba(27, 138, 61, 0.1);
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(27, 138, 61, 0.2);
    border-color: #157033;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 138, 61, 0.1), rgba(46, 204, 113, 0.2));
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.grid-item:hover::before {
    top: 0;
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.grid-item:hover img {
    transform: scale(1.05);
    filter: contrast(1.1);
    box-shadow: 0 12px 30px rgba(27, 138, 61, 0.3);
}

.grid-item h3 {
    position: relative;
    color: #1b8a3d;
    font-size: 1.4rem;
    margin: 15px 0 5px 0;
    text-align: center;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-products h2 {
        font-size: 2.2rem;
    }
}

/* Industries Section */
.industries-we-work {
    padding: 50px 0;
    text-align: center;
    background-color: #ffffff;
}

.industries-we-work h2 {
    color: #1b8a3d;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.industry-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    place-items: center;
}

.industry-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    margin: 0 auto;
}

.circle-icon {
    width: 80px;
    height: 80px;
    background-color: #1b8a3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    margin: 0 auto;
}

.industry-box p {
    color: #1b8a3d;
    font-weight: 500;
}

/* Table Styles */
.grid-item table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

.grid-item table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.grid-item table td {
    padding: 3px 6px;
}

.grid-item table td:first-child {
    color: #333;
    width: 35%;
}

.grid-item table td:last-child {
    color: #333;
}

.grid-item .description {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    margin-top: 10px;
    width: 100%;
    box-shadow: none;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #1b8a3d;
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .industry-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
}

/* Slider Styles */
.slider-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    margin: 0;
}

.slider {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Grid Item Styles */
.grid-item {
    background: white;
    border: 2px solid #1b8a3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 600px;
    height: auto;
    box-shadow: 0 4px 15px rgba(27, 138, 61, 0.1);
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(27, 138, 61, 0.2);
    border-color: #157033;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 138, 61, 0.1), rgba(46, 204, 113, 0.2));
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.grid-item:hover::before {
    top: 0;
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.grid-item:hover img {
    transform: scale(1.05);
    filter: contrast(1.1);
    box-shadow: 0 12px 30px rgba(27, 138, 61, 0.3);
}

.grid-item h3 {
    position: relative;
    color: #1b8a3d;
    font-size: 1.4rem;
    margin: 15px 0 5px 0;
    text-align: center;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-products h2 {
        font-size: 2.2rem;
    }
}
