/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9; /* Lighter background for better contrast */
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background-color: #ffffff;
    color: #333;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease-in-out;
    width: 100%;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    max-height: 60px;
    margin-right: 15px;
    transition: transform 0.3s ease-in-out;
}
.logo img:hover {
    transform: scale(1.1);
}
.brand h1 {
    font-size: 1.7rem; /* Increased size for emphasis */
    margin: 0;
    font-weight: bold;
    color: #4CAF50;
    letter-spacing: 1px; /* Adds elegance */
}
.brand p {
    font-size: 0.9rem;
    margin: 0;
    color: #777;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}
.nav-links li {
    display: inline;
}
.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 15px;
    transition: 0.3s;
    border-radius: 5px;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease-in-out;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: #4CAF50;
}

/* Hero Section */
.hero {
    background-image: url('hero-bg.jpg'); /* Path to your background image */
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out;
}
.hero h1 {
    font-size: 3.5rem; /* Larger font size for impact */
    margin: 0;
    font-weight: bold;
    letter-spacing: 2px;
    animation: slideIn 1s ease-in-out;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Adds depth */
}
.hero p {
    font-size: 1.6rem;
    margin: 20px 0 10px;
    animation: slideIn 1.2s ease-in-out;
}
.hero .subtext {
    font-size: 1.4rem;
    margin: 10px 0 30px;
    color: #e0f7e0;
}
.cta-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease-in-out;
    animation: fadeIn 1.5s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}
.cta-button:hover {
    background-color: #45a049;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 80px 40px; /* Increased padding for spacing */
    margin: 40px auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    text-align: center;
}
section img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}
section img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}
section h2 {
    color: #4CAF50;
    font-size: 2.5rem; /* Larger heading for emphasis */
    margin-bottom: 20px;
    letter-spacing: 1px;
}
section p {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
}
section ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}
section ul li {
    font-size: 1.2rem;
    padding: 10px 0;
    transition: 0.3s;
    border-left: 4px solid transparent; /* Placeholder for hover effect */
}
section ul li:hover {
    color: #4CAF50;
    font-weight: bold;
    border-left: 4px solid #4CAF50; /* Adds a green border on hover */
}
/* Past Experiences Section */
#experience {
    padding: 60px 40px;
    margin: 40px auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    display: flex; /* Enable flexbox for layout */
    flex-direction: row; /* Arrange items horizontally */
    align-items: flex-start; /* Align items at the top */
    gap: 40px; /* Add spacing between text and image */
}

#experience .section-content {
    flex: 1; /* Allow the content to take up available space */
}

#experience .section-image {
    max-width: 400px; /* Set a maximum width for the image */
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

#experience .section-image:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

#experience ul.property-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#experience ul.property-list li {
    font-size: 1.1rem;
    padding: 10px 0;
    transition: 0.3s;
}

#experience ul.property-list li:hover {
    color: #4CAF50;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    #experience {
        flex-direction: column; /* Stack items vertically on smaller screens */
        text-align: center; /* Center-align text */
        align-items: center; /* Center-align items */
    }

    #experience .section-image {
        max-width: 100%; /* Make the image full-width on smaller screens */
        margin-bottom: 20px; /* Add spacing below the image */
    }

    #experience .section-content {
        text-align: left; /* Align text left for better readability */
    }
}

/* Partners Section */
.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}
.partner-logos img {
    max-width: 120px;
    margin: 10px;
    transition: transform 0.3s ease-in-out;
    filter: grayscale(100%); /* Grayscale effect */
}
.partner-logos img:hover {
    transform: scale(1.1);
    filter: grayscale(0); /* Remove grayscale on hover */
}

/* Footer Section */
footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    width: 100%;
}
footer a {
    color: #e0f7e0;
    text-decoration: none;
    font-weight: bold;
}
footer a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }
    .logo {
        margin-bottom: 10px;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links a {
        padding: 8px 12px;
    }
    .hero {
        height: 400px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .hero .subtext {
        font-size: 1rem;
    }
    section {
        padding: 40px 20px;
        margin: 20px auto;
    }
    section h2 {
        font-size: 2rem;
    }
    section p {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero .subtext {
        font-size: 0.9rem;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}