/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Section */
header {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    height: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 2rem;
    color: #28a745;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #28a745;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #28a745;
    border-radius: 7px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #28a745;
    color: white;
}

/* What We Do Section */
#whatwedo {
    display: flex;
    height: 100vh;
    align-items: center;
    background: linear-gradient(135deg, #28a745, #4CAF50, #ffffff);
    margin-top: 80px; /* To offset the fixed header */
}

.content-left {
    width: 50%;
    text-align: center;
    padding: 20px;
    color: white;
}

.content-left h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.content-left p {
    font-size: 2rem;
    color: #ffffff;
}

.moving-images-container {
    width: 50%;
    overflow: hidden;
    height: 100%;
}

.moving-images {
    display: flex;
    height: 100%;
    animation: scrollImages 15s linear infinite;
}

.moving-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slow Down the Movement */
@keyframes scrollImages {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Products Section */
#products {
    background: #f8f8f8;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

#products h2 {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 40px;
}

.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    width: 400px; /* Increase width */
    height: 400px; /* Increase height */
    perspective: 1000px;
    position: relative;
}

.product-card .product-image, .product-card .product-info {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}


.product-card .product-image {
    transform: rotateY(0deg);
}

.product-card .product-info {
    transform: rotateY(180deg);
}

.product-card:hover .product-image {
    transform: rotateY(-180deg);
}

.product-card:hover .product-info {
    transform: rotateY(0deg);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
