/************************************** common_section ***********************************/
.cust_container {
    width: 100%;
    max-width: 1100px;
    padding: 0 10px;
    margin: auto;
}

.py-60 {
    padding: 60px 0;
}

.title {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 40px;
}

.title h3 {
    font-family: 'Inter_28pt-SemiBold';
    font-size: 40px;
    color: var(--secondary);
}

.line {
    width: 95px;
    height: 4px;
    background-color: var(--primary);
    margin-left: 16px;
}

/************************************** end_common_section ***********************************/

/************************************** index ***********************************/
.past_project_sections {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

.past_project_section_box {
    position: relative;
    width: 100%;
    flex-grow: 0;
    flex-shrink: 1;
    transition: max-width 0.5s ease, flex-grow 0.5s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    align-items: stretch;
}

.past_project_section_box a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.past_project_section_box a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.past_project_img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    flex-grow: 1;

}

.past_project_sections .past_project_section_box {
    transition: max-width 0.5s ease, flex-grow 0.5s ease;
}

.past_project_sections .past_project_section_box:first-child {
    flex-grow: 1;
    flex-shrink: 1;
    max-width: 100%;
    height: auto;
}



.past_project_sections .past_project_section_box:hover {
    flex-grow: 1;
    flex-shrink: 1;
    max-width: 100%;
}
.past_project_section_box:hover .past_project_name{
    bottom: 50%;
}
.past_project_name {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translate(-50%, 50%) ;
    z-index: 1;
    transition: all .5s;
}

.past_project_name h3 {
    font-family: 'Inter_28pt-SemiBold';
    text-transform: uppercase;
    color: var(--tertiary);
    white-space: nowrap;
}

.past_project_section_box a {
    height: 100%;
}

/************************************** end_index ***********************************/

/************************************** category_details ***********************************/
.breadcrumb h3{
    color: var(--grey);
    font-size: 16px;
}
.breadcrumb h3 span{
    color: var(--primary);
}
.breadcrumb{
    padding-bottom: 40px;
}
.category_details_body_sections_box{
    padding: 16px 16px 24px 16px;
    border: 1px solid #E5E5E5;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 8px;
    width: 100%;
}

.category_details_body_sections{
    margin-bottom: 24px;
    display: flex;
    flex-direction: row;
    gap: 24px;
}
.category_details_body_sections_box_img img{
    width: 100%;
    border-radius: 8px;
    height: 261px;
    object-fit: cover;
}
.category_details_body_sections_box_detils{
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.category_details_body_sections_box_detils h3{
    font-family: 'Inter_24pt-Medium';
    color: var(--text_color);
    font-size: 20px;
    text-transform: uppercase;
}
.category_details_body_sections_box a{
    text-decoration: none;
}
/************************************** end_category_details ***********************************/

/************************************** details ***********************************/
.details_section{
    padding: 16px 16px ;
    border: 1px solid #E5E5E5;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 8px;
    width: 100%;
}
.details_content{
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 20px;
}
.details_img{
    width: 100%;
    max-width: 490px;
    border-radius: 16px;
    height: 312px;
    object-fit: cover;
}
.details_title h3{
    font-family: 'Inter_28pt-SemiBold';
    text-transform: uppercase;
    font-size: 34px;
}
.details_title p{
    font-size: 18px;
    width: 100%;
    max-width: 570px;
    color: var(--text_color);
    margin: 24px 0;
}
.more_details_box{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}
.more_details_box h4{
    font-family: 'Inter_28pt-SemiBold';
    color: var(--text_color);
    font-size: 18px;
    margin-left: 15px;
}
.galler_section{
    padding-top: 40px;
}
.galler_section .title h3{
    font-size: 24px;
}
.gallery{
    width: 100%;
}
.galery_images{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}
.load_more_btn{
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.load_more_btn a{
    font-family: 'Inter_28pt-SemiBold';
    display: inline-block;
    padding: 12px 12px;
    background-color: #EFEFEF;
    font-size: 16px;
    text-decoration: none;
    color: var(--text_color);
    border-radius: 8px;
}
.map_section{
    padding-top: 40px;
}
.map_section .title{
    padding-bottom: 0;
}
.map_section .title h3{
    font-size: 24px;
}
.map_small_text{
    color: var(--text_color);
    font-size: 16px;
    margin-top: 16px;
}
.map_small_text span{
    color: var(--primary);
}
/************************************** end_details ***********************************/


/************************************** responsive ***********************************/
@media (max-width: 1399.98px) {
    .py-60 {
        padding: 50px 0;
    }

    .title h3 {
        font-size: 36px;
    }
    .galery_images {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 1199.98px) {
    .py-60 {
        padding: 40px 0;
    }

    .title h3 {
        font-size: 34px;
    }

    .title {
        padding-bottom: 20px;
    }

    .past_project_sections {
        gap: 10px;
    }
}

@media (max-width: 991.98px) {
    .header_section {
        padding: 10px 0;
    }

    .logo img {
        width: 150px;
    }

    .py-60 {
        padding: 30px 0;
    }

    .title h3 {
        font-size: 30px;
    }

    .past_project_sections {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }

    .past_project_name h3 {
        font-size: 22px;
        white-space: wrap;
    }

    .past_project_section_box {
        max-width: 100%;
    }

    .past_project_sections:hover .past_project_section_box:not(:hover) {
        max-width: 100%;
    }

    .past_project_sections:hover .past_project_section_box:not(:hover) .past_project_name {
        transform: translate(-50%, -50%) rotate(0deg);
        bottom: 5%;
    }

    .past_project_name h3 {
        text-align: center;
        font-size: 18px;
    }

    .past_project_name {
        position: absolute;
        bottom: 5%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(0deg);
        z-index: 1;
    }
    .category_details_body_sections{
        flex-direction: column;
    }
    .category_details_body_sections_box_detils {
        padding-top: 10px;
    }
    .breadcrumb {
        padding-bottom: 10px;
    }
    .category_details_body_sections{
        gap: 10px;
    }
    .category_details_body_sections_box {
        padding: 10px 10px 10px 10px;
    }
    .category_details_body_sections_box_detils h3 {
        font-size: 18px;
    }
    .category_details_body_sections {
        margin-bottom: 10px;
    }
    .details_content{
        flex-direction: column;
        align-items: flex-start;
    }
    .details_img{
        margin-bottom: 20px;
    }
    .details_title h3 {
        font-size: 28px;
    }
    .details_title p {
        font-size: 16px;
        max-width: 100%;
        margin: 14px 0;
    }
    .galery_images {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .galery_images {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


@media (max-width: 767.98px) {
    .logo img {
        width: 120px;
    }

    .py-60 {
        padding: 20px 0;
    }

    .title h3 {
        font-size: 26px;
    }

    .line {
        width: 80px;
        height: 3px;
        margin-left: 10px;
    }
    .category_details_body_sections_box_detils h3 {
        font-size: 16px;
    }
    .more_details{
        flex-direction: column;
        align-items: flex-start;
    }
    .more_details_box h4 {
        font-size: 16px;
        margin-left: 10px;
    }
    .more_details_box{
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {}

@media (max-width: 425px) {}

/************************************** end-responsive ***********************************/