/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1.5s ease-in-out 0.5s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1.5s ease-in-out 1s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Updated Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blurry effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow effect */
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 8px;
}

.navbar .navbar-nav .nav-link:hover {
    color: #2c5530; /* Hover effect with theme color */
}

.navbar-brand {
    font-weight: 700;
    color: #2c5530 !important;
}

/* Updated Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./img/coffee1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-section .btn {
    padding: 15px 30px;
    font-size: 1.25rem;
    background-color: #2c5530;
    border: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-section .btn:hover {
    background-color: #4a7c59;
    transform: translateY(-3px);
}

/* Section Styling */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #2c5530;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4a7c59;
    margin: 15px auto 0;
    border-radius: 2px;
}

.text-center h2:after {
    margin: 15px auto 0;
}

/* About Section */
#about {
    background-color: #f9f9f9;
}

#about p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Coffee Export Section with Background Image */
#coffee-export {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./img/Coffee.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

#coffee-export h2 {
    color: #ffffff;
}

.coffee-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.coffee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.coffee-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.coffee-card:hover img {
    transform: scale(1.05);
}

.coffee-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c5530;
}

.coffee-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* IFA Motors cards */
.ifa-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.ifa-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.ifa-section .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ifa-section .card:hover .card-img-top {
    transform: scale(1.05);
}

.ifa-section .card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c5530;
}

.ifa-section .card-text {
    color: #444;
}

/* Technology Import Section */
#technology-import {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/DataCenter.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

#technology-import h2 {
    color: #ffffff;
}

.tech-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c5530;
}

.tech-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Import Products Section */
#import-products .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

#import-products .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

#import-products .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#import-products .card:hover .card-img-top {
    transform: scale(1.05);
}

#import-products h3 {
    color: #2c5530;
    font-weight: 600;
}

/* Staff Card Styling */
.staff-card {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.staff-photo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #f8f9fa;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.staff-card:hover .staff-photo img {
    border-color: #4a7c59;
    transform: scale(1.05);
}

.staff-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 15px;
    color: #2c5530;
}

.staff-card .position {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Logo Section Styling */
.logo-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.logo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.logo-card img {
    max-width: 100%;
    max-height: 100px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-card:hover img {
    filter: grayscale(0);
}

/* Contact Section */
#contact {
    background-color: #f9f9f9;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #2c5530;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #4a7c59;
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
.footer {
    background-color: #2c5530;
    color: #fff;
    padding: 40px 0 20px;
}

.footer h5 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #d4edda;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .logo-card {
        margin-bottom: 20px;
        height: 120px;
    }
    
    .staff-card, .coffee-card, .tech-card {
        margin-bottom: 20px;
    }
    
    .navbar-nav {
        text-align: center;
    }
}