:root {
    --primary-color: #456228;
    --primary-light: #5a7d35;
    --primary-dark: #2f421b;
    --secondary-color: #f8f9fa;
    --text-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    padding-top: 80px; /* Match navbar height */
}
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        background-position: 60% center;
    }
}
.content-section {
    scroll-margin-top: 80px; /* Prevent fixed navbar overlap */
}
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 60px;
}

.nav-link {
    color: var(--primary-dark);
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.hero-section {
    background: linear-gradient(rgba(69, 98, 40, 0), rgba(69, 98, 40, 0.8)), 
                url('img/slide/akjute.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional for parallax effect */
    color: white;
    height: 100vh; /* Full viewport height */
    min-height: 600px; /* Minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: -80px; /* Adjust if navbar is fixed */
    padding-top: 80px; /* Compensate for fixed navbar */
}

.section-title {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.product-card, .team-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.product-card:hover, .team-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 200px;
    object-fit: cover;
}



.bg-light {
    background-color: var(--secondary-color) !important;
}

.contact-info {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
}

.contact-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 10px;
}

footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 30px 0;
}

/* Clients logo scrolling */
.clients-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.clients-track {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.client-logo {
    display: inline-block;
    margin: 0 40px;
    vertical-align: middle;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
}

.contact-icon {
  color: #0d6efd; /* Match Bootstrap primary color */
  font-size: 1.1rem;
}

.map-container {
  height: 100%;
  min-height: 300px;
}

.contact-info {
  height: 100%;
}

@media (max-width: 767.98px) {
  .map-container {
    margin-top: 1.5rem;
  }
}
.hero-section .btn {
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hero-section .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 767.98px) {
  .hero-section .btn {
    width: 100%;
    max-width: 300px; /* Optional: limits button width on mobile */
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}
/* Product Image Zoom Effect */
.product-img-container {
    overflow: hidden; /* Hide the overflow when image zooms */
    border-radius: 8px 8px 0 0; /* Match your card's border radius */
}

.product-img {
    transition: transform 0.3s ease; /* Smooth zoom transition */
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card:hover .product-img {
    transform: scale(1.1); /* Zoom level on hover */
}

