﻿.dropdown-submenu {
    position: relative;
}

    /* Position submenus below parent items */
    .dropdown-submenu .dropdown-menu {
        position: static !important;
        margin-left: 0;
        margin-top: 0;
        border-radius: 6px;
        display: none !important;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        padding-left: 1rem;
    }

        /* Show submenu on hover */
        .dropdown-submenu:hover > .dropdown-menu,
        .dropdown-submenu .dropdown-menu:hover {
            display: block !important;
            transition: transform 0.5s ease;
        }

    /* Arrow indicator for submenus - pointing down */
    .dropdown-submenu > .dropdown-toggle {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

        .dropdown-submenu > .dropdown-toggle::after {
            content: "";
            border-top: 0.3em solid;
            border-right: 0.3em solid transparent;
            border-bottom: 0;
            border-left: 0.3em solid transparent;
            margin-left: 0.5em;
            transition: transform 0.3s ease;
        }

    /* Rotate arrow when submenu is shown */
    .dropdown-submenu:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Style submenu items */
    .dropdown-submenu > .dropdown-toggle {
        cursor: pointer;
        text-decoration: none;
        color: inherit;
    }

        .dropdown-submenu > .dropdown-toggle:hover {
            background-color: #f8f9fa;
            text-decoration: none;
            transition: transform 0.5s ease;
        }

/* Ensure proper Bootstrap dropdown functionality */
.dropdown-menu {
    display: none;
}

.dropdown.show .dropdown-menu {
    display: block;
}

/* Content text styling */
.content-text {
    font-size: 1.1rem;
    color: #374151;
    text-align: justify;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid #84ba3f;
    background: linear-gradient(135deg, rgba(132, 186, 63, 0.02), rgba(106, 155, 47, 0.02));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #84ba3f;
}

.highlight-section {
    background: linear-gradient(135deg, rgba(132, 186, 63, 0.08), rgba(106, 155, 47, 0.05));
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(132, 186, 63, 0.2);
    position: relative;
    overflow: hidden;
}

    .highlight-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #84ba3f, #6a9b2f);
    }

.highlight-text {
    font-size: 1.05rem;
    color: #1f2937;
    line-height: 1.8;
}

.climate-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #84ba3f, #6a9b2f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(132, 186, 63, 0.05);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid rgba(132, 186, 63, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(132, 186, 63, 0.15);
    }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #6a9b2f;
    display: block;
}

.highlight-stat {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.08));
    border: 2px solid rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}

    .highlight-stat::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #22c55e, #16a34a);
    }

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }

    .container {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .title-effect {
        font-size: 2rem;
    }

    .content-text {
        font-size: 1rem;
        padding: 1rem;
    }

    .highlight-section {
        padding: 1.5rem;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.title-effect {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #84ba3f, #6a9b2f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
/*
    .title-effect::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, #84ba3f, #6a9b2f);
        border-radius: 2px;
    }*/
