@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@keyframes slideDown {
    0% {
        top: -50px;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(3rem);
        filter: blur(20px);
        opacity: 0;
    }    
    100% {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }    
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}
  
@keyframes slideInRight {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

@keyframes showBlur {
    0% {
        opacity: 0;
        filter: blur(20px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes displayNone {
    0% {
        backdrop-filter: blur(1.5rem);
    }
    100% {
        backdrop-filter: blur(0);
        display: none;
    }
}

@keyframes scaleDevine {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; } /* Adjust to your text's length */
}

@keyframes indicateScroll {
    from {
        opacity: 0;
        transform: translateY(0);
    } to {
        opacity: 1;
        transform: translateY(1.75rem);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    } 50% {
        transform: translateY(-2rem);
    } 100% {
        transform: translateY(0);
    } 
}

.slideUp {
    animation: slideUp 0.5s ease-in forwards;
}
.slideDown {
    animation: slideDown 1.5s ease-out forwards;
}

.slideLeft {
    animation: slideInLeft 1s ease-in-out forwards;
}
.slideRight {
    animation: slideInRight 1s ease-in-out forwards;
}

.showBlur {
    animation: showBlur 1.5s ease forwards;
}

html {
    scroll-behavior: smooth;
}

:root {
    --header-height: 3rem;

    --primary-color: #229106;
    --secondary-color: #96c93d;
    --body-color: #fafcff;
    --text-color: #3b3b3b;
    --parrot-green: #19b524;

    --body-font: "Poppins", sans-sarif;
    --normal-font-size: 1.2rem;
    --small-font-size: 0.9rem;
    --smaller-font-size: 0.75rem;

    --font-medium: 500;
    --font-semi-bold: 600;

    --grid-gutter: 1.77rem;
    --section-shape-height: 1.625rem;
    --_bottom-offset: calc(var(--section-shape-height)* 0.9);
    --_triangle-w: var(--section-shape-height);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background: var(--body-color);
    overflow: overlay;
}

::-webkit-scrollbar {
    width: 0.25rem;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--parrot-green);
    border-radius: 10px;
}

.reveal_page {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1.5rem);
    animation: displayNone 2s ease 4s forwards;
}
.devine_image {
    display: grid;
    place-items: center;
    animation: scaleDevine 1s ease 3.5s forwards;
}
.devine_image img {
    width: 20rem;
    object-fit: cover;
    opacity: 0;
    animation: showBlur 2s ease 1.6s forwards;
}
.devine_image p {
    text-align: center;
    padding: 1rem;
    color: var(--body-color);
    font-size: 1.5rem;
    font-weight: var(--font-medium);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 1.5s steps(30, end) forwards;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: -50px;
    width: 100%;
    z-index: 100;
    transition: transform 0.5s ease;
    animation: slideDown 1.5s ease-out 4.5s forwards;
}
.hidden {
    transform: translateY(-100%);
}

.nav_logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 2rem;
    margin-top: 0.2rem;
}

.nav_logo img {
    width: 6rem;
    object-fit: cover;
    filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.5));
    border-radius: 5px;
    transition: filter 0.3s ease, width 0.5s ease;
}

.nav_logo img:hover {
    filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.5));
}

.nav_toggle {
    display: none;
    /* toggle will be hidden for larger screens*/
}
.nav_menu {
    font-size: 1rem;
}

.nav_list {
    display: flex;
    column-gap: 1rem;
    list-style: none;
}

.nav_link {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px;
    font-weight: var(--font-medium);
}

.nav_link:hover {
    color: #ffbb33;
}

.dropdown_item {
    position: relative;
    margin-bottom: 0;
    /* margin-top: 0.8rem; */
}

/* Dropdown styles */
.dropdown_button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown_arrow {
    transition: transform 0.3s ease;
}

/* Hide the dropdown content by default */
.dropdown_container {
    left: 0;
    width: max-content;
    height: 0;
    border-radius: 0 0 5px 5px;
    pointer-events: none;
    transition: height 0.2s ease-out, opacity 0.2s ease-out, background-image 1s ease;
}

/* Dropdown links */
.dropdown_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown_link {
    color: var(--secondary-color);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    position: relative;
    transition: background-color 0.3s ease;
}

.main_body {
    position: relative;
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    overflow-x: hidden;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes scaleIn {
    0% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--body-color);
}
.main-content .section_inner {
    height: 100vh;
    margin: 0;
    margin-top: 1.5rem;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-content .company_logo {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-content .company_logo img {
    width: 20rem;
}
.main-content .main_inner {
    position: relative;
    width: 100%;
    height: 18rem;
}
.main-content .equipments_outer {
    position: absolute;
    bottom: 0.5rem;
    height: 18rem;
    margin: 0;
    mask-image: none;
}
.main-content .equipment_details {
    margin: 0.5rem;
    left: max(calc(24rem * 6), 100%);
    transition: transform 0.5s ease;
    animation: scrollX1 30s linear infinite;
}
.main-content .equipment_details:hover {
    cursor: pointer;
    transform: scale(1.05);
}
.main-content .equipment_details img {
    border: 0.15rem solid var(--secondary-color);
    border-radius: 0.2rem;
    object-fit: cover;
    width: 27.5rem;
    height: 15rem;
    margin-right: 0.5rem;
    padding: 0;
}

@keyframes scrollX1 {
    to {
        left: -450px;
    }

    from {
        right: 10;
    }
}

.main-content .slide1 {
    animation-delay: calc(30s / 6 * (6 - 1) * -1);
}

.main-content .slide2 {
    animation-delay: calc(30s / 6 * (6 - 2) * -1);
}

.main-content .slide3 {
    animation-delay: calc(30s / 6 * (6 - 3) * -1);
}

.main-content .slide4 {
    animation-delay: calc(30s / 6 * (6 - 4) * -1);
}

.main-content .slide5 {
    animation-delay: calc(30s / 6 * (6 - 5) * -1);
}

.main-content .slide6 {
    animation-delay: calc(30s / 6 * (6 - 6) * -1);
}

@keyframes slideIn {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateX(-20rem);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

.main_quote,
.main_quote span,
.content p {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-20rem);
    animation: slideIn 1.5s ease-out 4.5s forwards;
}

.content {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    text-align: center;
    word-wrap: break-word;
    padding: 1rem;
}

.main_quote {
    position: relative;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 10px;
    text-align: start;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
}

.main_quote span {
    padding: 0.2rem 0.8rem;
    background-color: var(--parrot-green);
    text-shadow: none;
    font-style: italic;
}

.content p {
    position: relative;
    font-style: italic;
    font-size: 1.25rem;
    text-align: start;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

.header_name {
    text-transform: uppercase;
    color: var(--secondary-color);
    line-height: 2rem;
    font-size: 2rem;
    font-weight: var(--font-medium);
    opacity: 0;
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    animation-delay: 0.2s;
    opacity: 0;
}
.section_inner {
    position: relative;
    max-width: 1440px;
    width: 100%;
    margin: 3.5rem 3.5rem;
}

/* Introduction Section */
.company_intro_outer {
    position: relative;
    min-height: 100vh;
    background-color: var(--body-color);
}
.company_intro_outer .section_inner {
    display: flex;
    justify-content: center;
    align-items: center;
}
.founder_inner {
    position: relative;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.founder_header p {
    text-transform: uppercase;
    line-height: 2rem;
    font-size: 2rem;
    font-weight: var(--font-semi-bold);
    opacity: 0;
    animation: slideIn 1.5s ease-out forwards;
}
.founder_image {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.founder_image img {
    border-radius: 50%;
    object-fit: cover;
    border: 0.2rem solid var(--secondary-color);
}

.founder_name, .founder_text {
    width: max-content;
    border-radius: 0.2rem;
    font-size: 1.5rem;
    font-weight: var(--font-semi-bold);
    color: var(--secondary-color);
    line-height: 1.5rem;
}
.founder_text {
    font-size: var(--small-font-size);
}

.founder_about {
    text-align: start;
    margin: 0 1rem;
}

.founder_about p:not(.founder_name, .founder_text) {
    text-align: justify;
    margin: 1rem 0;
    line-height: 1.5rem;
}

/* Our Management */
.management_outer {
    position: relative;
    min-height: 100vh;
    background-color: var(--body-color);
}

.management_header {
    text-align: center;
}

.management_about {
    position: relative;
    margin: 2rem 0;
}

.m_about {
    text-indent: 5rem;
    text-align: justify;
}
.management_inner .m_about {
    text-indent: 0;
}

.management_names {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.names {
    flex: 0 0 calc(25% - 3rem);
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    animation-fill-mode: forwards; 
    transition: transform 0.3s ease-in;
}
.m_icon {
    color: var(--secondary-color);
    font-size: 2rem;
    margin: 0;
}

.management_names p {
    white-space: nowrap;
    padding: 0.25rem;
    font-size: 1.1rem;
    font-weight: var(--font-semi-bold);
}

.names::after {
    content: '';
    position: absolute;
    left: 1%;
    bottom: -0.25rem;
    width: 100%;
    height: 0.25rem;
    background: var(--secondary-color);
    transform: scaleX(0);
    text-align: center;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.names:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/*-------------*/

/* Completed Projects */

.completed_outer {
    position: relative;
    background-color: var(--body-color);
    width: 100%;
}

.completed_header {
    text-align: center;
    margin-bottom: 1rem;
}


/*---------------*/

/* Project Overview */
.projects_overview_outer {
    min-height: 100vh;
    text-align: center;
    background-color: var(--body-color);
}
.mh_map_outer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
}
.mh_map_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.item_inner {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about_item {
    text-align: start;
    font-size: var(--small-font-size);
    padding: 0.5rem;
}
.about_item .item_header {
    font-weight: var(--font-semi-bold);
}
.item_inner img {
    width: 3rem;
}

image:hover {
    cursor: pointer;   
}

.about_upcoming {
    font-size: 0.75rem;
}

.about_upcoming span {
    padding: 0 0.4rem;
    background-color: var(--secondary-color);
}

/*----------------*/

/*Construction Overview*/

.construction_overview_outer {
    min-height: 100vh;
    position: relative;
    background-color: var(--body-color);
}
.construction_overview_header {
    text-align: center;
}
.construction_data_inner {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden; 
}
.overview_card {
    margin: 0.5rem 0;
    border-radius: 0.25rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items:stretch;
    opacity: 0;
    overflow: hidden;
    background-color: #ededed;
    transition: height 0.3s ease;
}

.cost {
    padding: 0.5rem;
    color: var(--body-color);
    width: 30%;
    height: 100%;
    background-color: var(--secondary-color);
    position: relative;
    text-align: end;
    font-size: 1.25rem;
    z-index: 10;
}
.project_info {
    line-height: 1.5rem;
    font-size: 1rem;
    width: 100%;
    height: 100%;
    padding: 0.5rem 1rem;
    z-index: 0;
    text-align: start;
    position: relative;
}
/*-----------------*/

/* turn over */

.turnover_outer {
    min-height: 100vh;
    position: relative;
    background-color: var(--body-color);
}

.turnover_header {
    text-align: center;
}

.turnover_about {
    margin: 1rem 0;
    text-indent: 2rem;
    text-align: justify;
}

.turnover_chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ------------ */

/* Upcoming Projects */
.upcoming_projects_outer {
    position: relative;
    min-height: 100vh;
    background-color: var(--body-color);
}

.up_projects_header {
    text-align: center;
}

.india_map {
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
}

.land {
    stroke: skyblue;
    stroke-width: 1.5;
    stroke-miterlimit: 1;
}

path:hover {
    cursor: pointer;
    opacity: 0.5;
}

.colour0 {
    fill: var(--parrot-green);
}

.colour1 {
    fill: var(--body-color);
}

.tooltip {
    position: absolute;
    background-color: var(--parrot-green);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 0.2rem;
    font-size: 1rem;
    display: none;
    pointer-events: none;
    z-index: 10;
    width: max-content;
}

/*-------------*/

/* Equipments */

.equipment_portfolio_outer {
    position: relative;
    min-height: 100vh;
    background-color: var(--body-color);
}

.equipment_header {
    text-align: center;
}

.equipments_outer {
    font-size: var(--small-font-size);
    position: relative;
    padding: 0.1rem;
    margin: 2rem 0;
    height: 18rem;
    width: 100%;
    display: grid;
    place-items: center;
    mask-image: linear-gradient(to right,
            hsl(0 0% 0% / 0),
            hsl(0 0% 0% / 1) 20%,
            hsl(0 0% 0% / 1) 90%,
            hsl(0 0% 0% / 0));
}

.equipment_details {
    margin: 0.5rem;
    display: grid;
    place-items: center;
    left: max(calc(20rem * 16), 100%);
    position: absolute;
    border-radius: 0.25rem;
    transition: transform 0.5s ease;
    animation: scrollX 90s linear infinite;
}

.equipment_details img {
    object-fit: cover;
    width: 12.5rem;
    height: 10rem;
    margin-right: 0.5rem;
    padding: 0.5rem;
}

.equipment_about {
    padding: 0.5rem;
    width: 20rem;
    background-color: var(--secondary-color);
    font-size: var(--smaller-font-size);
    border-radius: 0 0 0.25rem 0.25rem;
    color: var(--body-color);
    display: grid;
    place-items: center;
}

.equipment_about p span {
    font-weight: normal;
    text-align: end;
}

.equipment_details:hover {
    cursor: pointer;
    transform: translateY(1rem);
}

@keyframes scrollX {
    to {
        left: -400px;
    }

    from {
        right: 0px;
    }
}

/* formular: calc(animation-delay / totalSlides * (totalSlides - slideNumber) * valueToHandlePositionOfEachSlide) */
.slide1 {
    animation-delay: calc(90s / 16 * (16 - 1) * -1);
}

.slide2 {
    animation-delay: calc(90s / 16 * (16 - 2) * -1);
}

.slide3 {
    animation-delay: calc(90s / 16 * (16 - 3) * -1);
}

.slide4 {
    animation-delay: calc(90s / 16 * (16 - 4) * -1);
}

.slide5 {
    animation-delay: calc(90s / 16 * (16 - 5) * -1);
}

.slide6 {
    animation-delay: calc(90s / 16 * (16 - 6) * -1);
}

.slide7 {
    animation-delay: calc(90s / 16 * (16 - 7) * -1);
}

.slide8 {
    animation-delay: calc(90s / 16 * (16 - 8) * -1);
}

.slide9 {
    animation-delay: calc(90s / 16 * (16 - 9) * -1);
}

.slide10 {
    animation-delay: calc(90s / 16 * (16 - 10) * -1);
}

.slide11 {
    animation-delay: calc(90s / 16 * (16 - 11) * -1);
}

.slide12 {
    animation-delay: calc(90s / 16 * (16 - 12) * -1);
}

.slide13 {
    animation-delay: calc(90s / 16 * (16 - 13) * -1);
}

.slide14 {
    animation-delay: calc(90s / 16 * (16 - 14) * -1);
}

.slide15 {
    animation-delay: calc(90s / 16 * (16 - 15) * -1);
}

.slide16 {
    animation-delay: calc(90s / 16 * (16 - 16) * -1);
}

/*-------------*/

/* Our Services*/
.our_services {
    position: relative;
    min-height: 100vh;
    background-color: var(--body-color);
}

.services_header {
    text-align: center;
}

.about_service {
    position: relative;
    margin: 1rem 0;
    text-indent: 2rem;
    text-align: justify;
}

.service_inner {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    width: 100%;
}
/* .service_inner:nth-child(2) {
    animation-duration: 1s;
} */

.service_name {
    position: absolute;
    font-size: 1rem;
    background-color: var(--secondary-color);
    border-radius: 0 0.2rem 0.2rem 0;
    top: 1rem;
    padding: 0.25rem 1rem;
    color: var(--body-color);
    font-weight: var(--font-medium);
    z-index: 10;
    transition: font-size 0.3s ease-out;
}

.service_body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.service_inner img {
    display: grid;
    place-items: center;
    object-fit: cover;
    width: 100%;
    height: 15rem;
    border: 0.1rem solid var(--secondary-color);
    border-radius: 0.25rem;
}

.service_description {
    display: grid;
    place-items: center;
    color: var(--body-color);
    font-size: var(--normal-font-size);
    line-height: 1.2rem;
    text-align: justify;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

/*------------------*/

/* Our client slider infinite */
.our_clients_outer {
    position: relative;
    min-height: 100vh;
    background-color: var(--body-color);
}

.our_clients_header {
    text-align: center;
}

.clients_info {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;
}
.client {
    opacity: 0;
}
.client img {
    cursor: pointer;
    margin: 1rem;
    width: 9rem;
    object-fit: cover;
    border-radius: 0.25rem;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.client:nth-child(2) {animation-delay: 0.1s;}
.client:nth-child(3) {animation-delay: 0.15s;}
.client:nth-child(4) {animation-delay: 0.2s;}
.client:nth-child(5) {animation-delay: 0.25s;}
.client:nth-child(6) {animation-delay: 0.3s;}
.client:nth-child(7) {animation-delay: 0.35s;}
.client:nth-child(8) {animation-delay: 0.4s;}
.client:nth-child(9) {animation-delay: 0.45s;}

.client img:hover {
    transform: translateZ(-0.5rem);
    box-shadow: 6px 6px 7px rgba(0, 0, 0, 0.5);
}

/* -------------- */
/* Careers section */
.careers_header {
    text-align: center;
}
.careers_outer {
    position: relative;
    background-color: var(--body-color);
}
.career_inner {
    margin-top: 0.75rem;
    text-align: justify;
}
.career_inner a {
    text-decoration: none;
    color: var(--secondary-color);
}
/* -------------- */

/* About Section */
.contact_us {
    position: relative;
    color: var(--body-color);
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}
.contact_us .section_inner {
    margin: 0;
}
.contact_details {
    position: relative;
    width: 100%;
    padding: 0 2rem;
    display: grid;
    place-items: center;
    text-align: center;
}

.contacts {
    margin: 0.5rem;
}
.contacts p {
    font-size: var(--normal-font-size);
}

.contact_header {
    font-weight: var(--font-semi-bold);
    font-size: 1.25rem;
}

.contacts span {
    font-size: 1.25rem;
    text-decoration: underline;
    text-decoration-thickness: 0.05rem;
}

.copyright {
    width: 100%;
    display: grid;
    place-items: center;
}

.copyright p {
    width: 90%;
    text-align: center;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    border-top: 0.1rem solid var(--body-color);
}

@media screen and (min-width: 1024px) {
    .nav {
        padding-right: 6.5rem;
    }
    
    .nav_menu {
        display: flex;
        align-items: center;
        margin: 0;
        gap: 20px;
    }

    .scrolled .nav_menu {
        background: transparent;
    }

    .scrolled .nav_logo img {
        width: 4rem;
    }

    .scrolled {
        background-image: var(--body-color);
    }

    .dropdown_container {
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
    }

    .dropdown_content {
        width: 100%;
    }

    .dropdown_item,
    .nav_link {
        height: 3rem;
    }

    .dropdown_item:hover .dropdown_arrow {
        transform: rotate(180deg);
        /* Rotate the arrow when expanded */
        transition: transform 0.6s;
    }

    /* When hovering over the parent item, show the dropdown */
    .dropdown_item:hover .dropdown_container {
        position: absolute;
        display: block;
        height: max-content;
        pointer-events: initial;
        transform: translate(-10px);
    }
    .dropdown_link::after {
        content: '';
        position: absolute;
        left: 10%;
        bottom: 0;
        width: 80%;
        height: 0.2rem;
        background: #ffbb33;
        transform: scaleX(0);
        transform-origin: bottom left;
        transition: transform 0.3s ease-out;
      }
    
    .dropdown_link:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    
    /* founder section */
    .founder_inner {
        position: relative;
        width: 90%;
    }

    .founder_image img {
        width: 20rem;
        height: 20rem;
    }
    .founder_about {
        padding-left: 1rem;
        border-left: 0.1rem solid var(--secondary-color);
    }
    /*------------------*/

    /*Management Section*/
    
    /*------------------*/

    /* Project Overview */
    .mh_map_info {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }
    /*------------------*/

    /* turnover section */
    #myChart {
        width: 30rem;
    }

    /*------------------*/

    /* Our Services*/
    .service_inner {
        width: 25rem;
        position: relative;
        flex: 0 0 calc(50% - 2rem);
    }

    .service_description {
        position: absolute;
        padding: 0 1rem;
        line-height: 1.5rem;
        transform: translateY(0);
        height: 0%;
        z-index: 5;
        transition: all 0.4s ease;
    }
    .service_description p {
        margin-top: 3rem;
    }
    .service_inner:hover>.service_description {
        height: 100%;
        transform: translateY(-100%);
        backdrop-filter: blur(25px);
    }
    .service_inner:hover>.service_name {
        font-size: 1.5rem;
    }

    /* Completed Section */
    .completed_outer .service_inner:hover>.service_name {
        font-size: 1rem;
    }
    /*-------------------*/
}

/* MEDIA QUERIES */
@media screen and (max-width: 1024px) {
    .nav {
        padding-right: 1.3rem;
        padding-left: 0.5rem;
    }

    .nav_data {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 0.4rem;
        position: relative;
    }

    .nav_logo {
        left: 2rem;
        margin: 0;
    }

    .nav_logo img {
        width: 4rem;
        object-fit: cover;
    }

    .nav_toggle {
        display: block;
        color: var(--secondary-color);
        display: grid;
        place-items: center;
        cursor: pointer;
        position: relative;
    }

    /* .scrolled {
        background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    } */

    .nav_menu {
        position: absolute;
        left: 0;
        opacity: 0;
        width: 100%;
        top: 3.4rem;
        pointer-events: none;
        transition: top 0.2s ease-out, opacity 0.3s ease-out;
    }
    .show_menu {
        opacity: 1;
        pointer-events: initial;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .nav_list {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav_toggle_close {
        display: none;
    }

    .show_icon .nav_toggle_menu {
        display: none;
        transform: rotate(90deg);
    }

    .show_icon .nav_toggle_close {
        font-size: 1rem;
        display: block;
        transform: rotate(90deg);
    }

    .dropdown_item {
        z-index: 1;
    }

    .dropdown_container {
        opacity: 0;
        pointer-events: none;
    }

    .dropdown_arrow {
        margin-right: 1rem;
    }

    .dropdown_list:last-child {
        margin-bottom: 1rem;
    }

    .show_dropdown .dropdown_arrow {
        transform: rotate(180deg);
        /* Rotate the arrow when expanded */
        transition: transform 0.6s;
    }

    .show_dropdown .dropdown_container {
        pointer-events: initial;
        display: block;
        width: 100%;
        opacity: 1;
    }
    .dropdown_link:hover {
        color: #ffbb33;
    }

}

@media screen and (min-width: 720px) and (max-width: 1024px) {
    .section_inner {
        margin: 3.25rem 1rem;
    }

    /* founder section */
    .founder_inner {
        position: relative;
        width: 90%;
    }
    .founder_image img {
        width: 17rem;
        height: 17rem;
    }

    .founder_about {
        padding-left: 1rem;
        border-left: 0.1rem solid var(--secondary-color);
    }
    .founder_words p:not(.founder_name) {
        font-size: var(--small-font-size);
        line-height: 1.25rem;
    }

    /*-----------------*/

    /*Management section*/
    .management_about {
        margin: 2rem 0;
    }
    .management_names {
        justify-content: space-evenly;
        align-items: center;
        margin: 2rem auto;
    }
    .names {
        flex: 0 0 calc(50% - 3rem);
    }
    .names::after {
        width: 75%;
    }
    /*------------------*/

    /* project overview */

    .mh_map_inner svg {
        height: auto;
        width: 30rem;
    }
    .mh_map_outer {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .mh_map_info {
        padding: 2rem;
        position: relative;
        font-size: var(--normal-font-size);
    }
    .item_inner {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .about_item p {
        width: fit-content;
    }
    .about_upcoming p {
        text-align: center;
    }    

    /*-----------------*/
    /* upcoming projects */
    .india_map svg {
        width: 70rem;
        height: auto;
    }
    /*-----------------*/

    /* construction overview */
    .construction_data_inner {
        font-size: var(--small-font-size);
    }
    .overview_card {
        /* margin: 1rem 0; */
        flex-direction: column;
    }

    .cost {
        width: 100%;
        text-align: center;
        font-size: 1.25rem;
    }
    .project_info {
        width: 100%;
        text-align: justify;
    }
    /*------------------*/

    /* turnover section */
    .turnover_outer {
        min-height: 100vh;
    }
    .turnover_about {
        font-size: var(--small-font-size);
        margin: 1rem;
    }
    .turnover_chart {
        margin: 1rem;
    }

    /*------------------*/

    /* our services */

    .our_services {
        min-height: 100vh;
    }
    .about_service {
        margin: 1rem 0;
        text-indent: 1rem;
        font-size: var(--small-font-size);
    }
    .service_inner img {
        object-fit: cover;
        width: 100%;
    }
    .service_description {
        color: var(--text-color);
        font-size: var(--normal-font-size);
        line-height: 1.2rem;
        margin: 0;
    }
    /*------------------*/

}

@media screen and (min-width: 480px) and (max-width: 720px) {

    .section_inner {
        margin: 4.5rem 0.75rem;
    }

    .mouse {
        width: 1.75rem;
        height: 3rem;
        border: 0.15rem solid var(--secondary-color);
        border-radius: 3rem;
        position: absolute;
        bottom: 2rem;
        opacity: 0;
    }
    .mouse::before {
        position: absolute;
        content: "";
        width: 0.3rem;
        height: 0.5rem;
        background-color: var(--secondary-color);
        left: 40%;
        border-radius: 50%;
        animation: indicateScroll 2s ease-in-out infinite;
    }
    
     /* founder section */
    .founder_inner {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .founder_image img {
        width: 20rem;
        height: 20rem;
    }
    .founder_about {
        margin: 1rem 0 0 0;
        border-top: 0.1rem solid var(--secondary-color);
    }

    .founder_words p:not(.founder_name) {
        font-size: var(--small-font-size);
        line-height: 1.25rem;
    }

    /*-----------------*/

    /* Management section */
    .m_about {
        padding: 0.25rem;
        font-size: var(--small-font-size);
        text-indent: 2rem;
    }
    .management_names {
        justify-content: center;
    }
    .names {
        font-size: 1rem;
        flex: 0 0 calc(100% - 2rem);
    }
    .names::after {
        width: 75%;
    }
    /*-----------------*/
    
    /* project overview */

    .mh_map_inner svg {
        height: auto;
        width: 20rem;
    }
    .mh_map_outer {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .mh_map_info {
        padding: 2rem;
        position: relative;
        font-size: var(--small-font-size);
    }
    .item_inner {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .about_item p {
        width: fit-content;
    }

    /*-----------------*/

    /* upcoming projects */   
    .india_map svg {
        width: 50rem;
        height: auto;
    }
    /*-----------------*/

    /* construction overview */
    .construction_data_inner {
        font-size: var(--small-font-size);
    }
    .overview_card {
        flex-direction: column;
    }
    .cost {
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    .project_info {
        font-size: 1rem;
        width: 100%;
        text-align: justify;
    }
    /*------------------*/

    /* turnover section */
    .turnover_outer {
        min-height: 100vh;
    }
    .turnover_about {
        font-size: var(--small-font-size);
        margin: 1rem;
    }
    .turnover_chart {
        margin: 1rem;
    }

    /*------------------*/

    /* our services */

    .our_services {
        min-height: 100vh;
    }
    .about_service {
        margin: 1rem 0;
        text-indent: 1rem;
        font-size: var(--small-font-size);
    }
    .service_inner img {
        object-fit: cover;
        width: 100%;
    }
    .service_description {
        color: var(--text-color);
        font-size: var(--small-font-size);
        line-height: 1.2rem;
        margin: 0;
    }
    /*------------------*/

}

@media screen and (max-width: 480px) {
    ::-webkit-scrollbar {
        width: 0rem;
    }
    
    ::-webkit-scrollbar-track {
        -webkit-box-shadow: none;
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--parrot-green);
        -webkit-box-shadow: none;
    }
    
    ::-webkit-scrollbar-thumb:window-inactive {
        background: none;
    }

    .devine_image p {
        font-size: 1rem;
    }
    .devine_image img {
        width: 15rem;
    }

    .nav_logo img {
        width: 4rem;
    }
    .dropdown_item {
        font-size: 1rem;
    }

    .header_name {
        font-size: var(--normal-font-size);
        padding: 0 0.5rem;
    }
    .quote {
        font-size: var(--smaller-font-size);
        padding: 0 0.5rem;
    }

    .section_inner {
        margin: 4rem 1rem;
    }
    
    /* landing section */
    .main-content .company_logo img {
        width: 13rem;
    }
    .main-content .equipment_details img {
        width: 20rem;
        height: 13rem;
        margin: 0;
        padding: 0;
    }

    .main-content .equipment_details {
        left: max(calc(16rem * 6), 100%);
    }

    .mouse {
        width: 1.75rem;
        height: 3rem;
        border: 0.15rem solid var(--secondary-color);
        border-radius: 3rem;
        position: absolute;
        bottom: 2rem;
        opacity: 0;
    }
    .mouse::before {
        position: absolute;
        content: "";
        width: 0.3rem;
        height: 0.5rem;
        background-color: var(--secondary-color);
        left: 40%;
        border-radius: 50%;
        animation: indicateScroll 2s ease-in-out infinite;
    }
    /*-----------------*/

    /* founder section */
    .founder_inner {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .founder_image img {
        width: 17rem;
        height: 17rem;
    }
    .founder_about {
        margin: 1rem 0 0 0;
        border-top: 0.1rem solid var(--secondary-color);
    }
    .founder_header p {
        text-align: center;
        font-size: 1.5rem;
    }
    .founder_words p:not(.founder_name) {
        font-size: var(--small-font-size);
        line-height: 1.25rem;
    }

    /*-----------------*/

    /* Management section */
    .m_about {
        padding: 0.25rem;
        font-size: var(--small-font-size);
        text-indent: 0;
    }
    .management_names {
        justify-content: center;
    }
    .names {
        font-size: 1rem;
        flex: 0 0 calc(100% - 2rem);
    }
    .names::after {
        width: 75%;
    }
    /*-----------------*/

    /* completed projects */
    .numbertext, .text {
        font-size: var(--small-font-size);
    }

    /*-----------------*/

    /* project overview */

    .mh_map_inner svg {
        height: auto;
        width: 20rem;
    }
    .mh_map_outer {
        flex-direction: column;
        padding: 0 1rem;
    }
    .mh_map_info {
        padding: 1rem;
        position: relative;
    }
    .mh_map_info p {
        font-size: var(--small-font-size);
    }
    .item_inner {
        display: flex;
        align-items: center;
    }
    .about_item p {
        width: 20rem;
    }

    /*-----------------*/

    /* upcoming projects */
    .upcoming_projects_outer {
        min-height: 100vh;
    } 
    .india_map svg {
        width: 40rem;
        height: auto;
    }
    /*-----------------*/

    /* construction overview */
    .construction_data_inner {
        font-size: var(--small-font-size);
    }
    .overview_card {
        flex-direction: column;
        width: 100%;
    }
    .cost {
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    .project_info {
        font-size: var(--small-font-size);
        width: 100%;
        text-align: justify;
    }
    /*------------------*/

    /* turnover section */
    .turnover_outer {
        height: 100vh;
    }
    .turnover_about {
        font-size: var(--small-font-size);
        margin: 0.5rem;
    }

    /*------------------*/

    /* our services */

    .our_services {
        min-height: 100vh;
    }
    .about_service {
        margin: 1rem 0;
        text-indent: 1rem;
        font-size: var(--small-font-size);
    }
    .service_inner img {
        object-fit: cover;
        width: 100%;
    }
    .service_description {
        color: var(--text-color);
        font-size: var(--small-font-size);
        line-height: 1.2rem;
    }
    /*------------------*/
    
    /* our clients */

    .client img {
        margin: 0;
    }
    /*------------------*/

    /* contact us */

    .contacts p, .contacts span {
        font-size: var(--small-font-size);
    }
    /*------------------*/
}

@media screen and (max-width: 390px) {
    .main_quote {
        font-size: 1rem;
    }
    .about_item p {
        width: 15rem;
    }
    .mh_map_inner svg {
        width: 15rem;
    }
    .mh_map_info p {
        font-size: var(--smaller-font-size);
    }
    .about_upcoming {
        font-size: var(--small-font-size);
    }
    .client img {
        width: 7rem;
    }
}
@media screen and (max-width: 325px) {
    .india_map svg {
        width: 15rem;
    }
}