body, .background-container {
    margin: 0;
    font-family: "Advent Pro", sans-serif;
    background-image: url(7ur.jpg);
  background-size: cover;
  background-position: top; 
}


.main-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden; 
    box-sizing: border-box; 
}



.logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;
    cursor: pointer;
}
.logo img {
    width: 120px;
    height: auto;
        background-color: rgba(77, 119, 49, 0.8);

    padding: 15px 5px;
}

.header-container {
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navigation {
    text-align: center;
}
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin-right: 20px;
}
nav ul li a {
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 750;
    position: relative;
    transition: color 0.3s ease;
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #1d1d1d;
    transition: width 0.3s ease, left 0.3s ease, background-color 0.3s ease;
}
nav ul li a:hover,
nav ul li a:focus,
nav ul li a:active,
nav ul li a.active {
    color: #4d7731;
}
nav ul li a:hover::after,
nav ul li a:focus::after,
nav ul li a:active::after,
nav ul li a.active::after {
    width: 100%;
    left: 0;
    background-color: #4d7731;
}
nav ul li a.active {
    color: #4d7731; 
}

nav ul li a.active::after {
    width: 100%; 
    left: 0;
    background-color: #4d7731; 
}
.content {
    margin-top: 7vh;
margin-left: 50vh;
    width: 100%;
    text-align: center;
    color: #4d7731;
     position: absolute; 
    z-index: 1; 
}
.main-heading, .sub-heading {
    text-align: center;
    color: #4d7731  ;
}
.main-heading {
    font-size: 3em;
    font-weight: 800;
    max-width: 800px;
}

    .pie-chart-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 170px auto;
    border-radius: 50%;
    background: conic-gradient(
        rgba(63, 102, 37, 0.9) 0deg 120deg,  
        rgba(61, 78, 50, 0.9) 120deg 240deg, 
        rgba(76, 145, 30, 0.9) 240deg 360deg 
        );
        }




.segment-text {
    position: absolute;
    width: 100px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 20px;
    }

 
.text1 {
    top: 30%;
    left: 25%;
    transform: translate(-50%, -50%);
    }


.text2 {
    top: 30%;
    right: 25%;
    transform: translate(50%, -50%);
    }

.text3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    }

  
.description {
    font-weight: normal;
    font-size: 0.8em;
    }
@media (max-width: 768px) {
    body, .background-container {
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }

    .main-container {
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
        overflow-x: hidden;
    }

    .logo {
        position: relative;
        display: block;
        text-align: center;
        margin-bottom: 15px;
        top: 0;
        left: 0;
        width: 100%;
    }

    .logo img {
        width: 80px;
        padding: 10px;
        background-color: rgba(77, 119, 49, 0.8);
    }

    .header-container {
        position: relative;
        background-color: rgba(255, 255, 255, 0.9);
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .navigation {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
    }

    nav ul {
        display: inline-block;
        padding: 0 10px;
        justify-content: flex-start;
    }

    nav ul li {
        display: inline-block;
        margin: 0 8px;
    }

    nav ul li a {
        font-size: 14px;
        padding: 5px 0;
    }

    .content {
        margin: 20px auto;
        padding: 20px;
        text-align: center;
        position: relative;
        width: 90%;
        top: 0;
        left: 0;
        transform: none;
    }

    .main-heading {
        font-size: 1.8em;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .pie-chart-container {
        width: 300px;
        margin: 30px auto;
        position: relative;
        display: flex;
        flex-direction: column;
        background: none;
        border-radius: 0;
    }

    .segment-text {
        position: relative;
        width: 90%;
        height: auto;
        margin: 15px auto;
        padding: 15px;
        background-color: rgba(77, 119, 49, 0.8);
        border-radius: 10px;
        color: white;
        font-size: 18px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .text1 {
        order: 1;
    }

    .text2 {
        order: 2;
    }

    .text3 {
        order: 3;
    }

    .description {
        font-size: 16px;
        margin-top: 10px;
    }

    /* Chat window adjustments */
    .chat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
        right: 15px;
        bottom: 15px;
    }

    .chat-window {
        width: 90%;
        max-width: 90%;
        bottom: 70px;
        right: 5%;
    }
}