/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    height: 100%;
    background-color: #ffffff;
    color: #212529;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bird-image {
    width: 60%;
    height: auto;
    margin-top: 20px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .bird-image {
        width: 80%;
    }
}


.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.product-card h3 {
    font-size: 1.25rem;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #212529;
}

.product-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
}







header {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-brand img {
    height: 52px;
}

.hero-section {
    padding: 10px 0; /* Adjust padding to make it smaller */
    position: relative;
    min-height: 20vh; /* Reduce the min-height to make it smaller */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section .container {
    padding: 20px; /* Adjust padding inside the container if needed */
    animation: fadeInUp 1s ease-out;
    animation-delay: 0.5s;
    animation-fill-mode: both;
    position: relative;
}

.hero-section .display-4 {
    font-weight: 400; /* Change font weight to normal */
    color: #212529;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #6c757d;
    z-index: 2;
}

.bird-image {
    width: 60%; /* Increase size by 10% from the original 50% */
    height: auto;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .bird-image {
        width: 70%; /* Decrease size by 20% from the original 50% */
    }
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(128, 124, 124, 0) 0%, #ffffff 200%);
    z-index: 0;
}

.scroll-icon-section {
    position: relative;
}

.scroll-icon {
    margin-top: 20px; /* Adjust margin as needed */
    cursor: pointer;
    text-align: center;
}

.navbar-light .nav-link {
    color: #212529;
    font-weight: 500;
    font-size: 0.875rem; /* Smaller font size (14px) */

}

.navbar-light .nav-link:hover,
.navbar-light .nav-link:focus {
    color: #495057;
    font-size: 0.875rem; /* Ensure hover state matches */

}

.service-section {
    padding: 60px 0;
}

.service-card {
    background: #f0f0f0; /* Open grey background */
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Initial position */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px; /* Ensure service cards are not too wide */
    margin: 0 auto; /* Center service cards */
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #212529;
    margin-bottom: 15px;
}

.service-card blockquote {
    font-size: 1.25rem;
    font-weight: 300;
    color: #6c757d;
    margin-bottom: 15px;
}

.service-card p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0;
}

.service-card .service-image {
    width: 100px; /* Adjust width as needed */
    height: 100px; /* Adjust height as needed */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.team-section {
    padding: 60px 0;
    border: 2px solid #40E0D0; /* Outline color */
    border-radius: 10px;
    background-color: #f0f0f0; /* Background color similar to service card */
}

.team-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-section h2 {
    color: #212529;
    margin-bottom: 20px;
}

.team-section p {
    color: #6c757d;
    font-size: 1.1rem;
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adjust the gap between logos as needed */
    margin-top: 20px;
}

.client-logo {
    max-width: 80px; /* Adjust the max-width as needed */
    height: auto;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1); /* Slightly increase size on hover */
}

.py-7 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

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

@media (max-width: 768px) {
    #contact .row {
        flex-direction: column;
        text-align: center;
    }

    #contact .col-lg-6 {
        margin-bottom: 20px;
    }
}



/* Ensure product cards have uniform heights in their row */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}



/* Center content inside the product cards */
.product-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Center and resize the product logos */
.product-logo {
    max-width: 100px; /* Standard logo size */
    height: auto;
    margin-bottom: 20px; /* Space between the logo and description */
}

.product-logo-large {
    max-width: 200px; /* Larger logo size for Auditool and Biowaste */
    height: auto;
    margin-bottom: 20px; /* Space between the logo and description */
}


/* GR/EN Button Styles */
.navbar-nav .btn-outline-secondary {
    background-color: #54a4e0; /* Light blue color matching the website */
    color: #ffffff; /* White text color */
    border: none; /* Remove border */
    font-weight: 500; /* Make the text slightly bold */
    padding: 0.5rem 1rem; /* Adjust padding */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover transition */
}

.navbar-nav .btn-outline-secondary:hover,
.navbar-nav .btn-outline-secondary:focus {
    background-color: #54a4e0; /* Slightly darker blue on hover */
    transform: scale(1.05); /* Subtle zoom effect */
    color: #ffffff; /* Ensure the text stays white */
    outline: none; /* Remove focus outline */
}