/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00a665;
    --secondary-color: #008652;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --max-width: 1200px;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation styles */
.top-nav {
    background-color: #00a665 !important;
    color: var(--white);
    padding: 8px 20px;
}

.nav-left {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Button styles */
.btn-primary {
    background-color: #00a665 !important;
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-color: #00a665 !important;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary {
    color: #00a665;
    padding: 12px 24px;
    border: 2px solid #00a665 !important;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero .subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

/* Trusted organizations section */
.trusted-orgs {
    padding: 60px 20px;
    text-align: center;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 40px auto;
}

/* Value proposition section */
.value-prop {
    background-color: var(--light-gray);
    padding: 80px 20px;
}

.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

/* Solutions grid */
.solutions-grid {
    padding: 80px 20px;
    text-align: center;
}

.solutions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 40px auto;
}

.solution-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.solution-card img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Footer styles */
.main-footer {
    background-color: #00a665 !important;
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dropdown styles */
.has-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-width: 300px;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-section h3 {
    margin-bottom: 15px;
}

.dropdown-section ul {
    list-style: none;
}

.dropdown-section ul li {
    margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .solutions-container {
        grid-template-columns: 1fr;
    }
}
