.about_menu {
    display: flex;
    justify-content: space-between;
    background-color: var(--btns-bg);
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.menu_links {
    display: flex;
    width: 100%;
    gap: 15px;
}

.selected{
    color: var(--hover-color);
    box-shadow: var(--hover-color);
    box-shadow: 0px 0px 4px 1.5px var(--hover-color);
}

.menu_links {
    margin: 5px;
}
.about_menu button {
    border-radius: 0px;
}

.pass_btns {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 10px;
}

.pass_btns button{
    display: flex;
    align-items: center;
    border-radius: 100%;
    padding: 10px;
    width: 35px;
    height: 35px;
    border: solid 1px;
    border-color: rgb(164, 164, 164);
    font-size: 15px;
}


.wrapper_exp_blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow-y: auto;
    padding-bottom: 110px;
}

.wrapper_exp_blocks::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.wrapper_exp_blocks::-webkit-scrollbar-track {
    background: transparent;
}

.wrapper_exp_blocks::-webkit-scrollbar-thumb {
    background-color: rgb(48, 53, 61);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 10px;
}

.experience-block {
    display: flex;
    align-items: center;
    background-color: var(--btns-bg);
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--btns-bg);
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-block:hover, .form-block:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.experience-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1c1c1f;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.experience-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.experience-details h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: var(--accent-color);
}

.experience-details p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
}

.content_section {
    position: relative; 
    overflow: hidden;
    height: 100%; 
    width: 100%; 
}


.content_wrapper {
    position: relative; 
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%; 
    opacity: 0;
    transform: translateX(100%);
    display: none; 
    transition: none; 
    visibility: hidden;
    width: 100%;
    flex-direction: column;
    gap: 25px;
}


.content_wrapper.visible {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    display: block;
}


.content_wrapper.enter-left {
    animation: slide-in-left 0.3s ease forwards;
}

.content_wrapper.enter-right {
    animation: slide-in-right 0.3s ease forwards;
}

.content_wrapper.exit-left {
    animation: slide-out-left 0.3s ease forwards;
}

.content_wrapper.exit-right {
    animation: slide-out-right 0.3s ease forwards;
}

@keyframes slide-in-left {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out-left {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slide-out-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}




.content {
    display: flex;
    margin: 0px;
    height: 550px;
    gap: 60px;
    width: 100%;
    /*align-items: center;*/
}

.content_section {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;

}

.img_section {
    display: flex;
    align-items: start;
    width: 360px;
    height: 100%;
}

.img_cont {
    border-radius: 10px;  
    min-width: 100%;
    height: 100%;
}

.text_body {
    color: var(--text-color);
    text-decoration: none;
}


.title_content {
    font-weight: 600;
    font-size: 22px;
}

span i{
    color: var(--accent-color);
    font-size: 18px;
    padding-right: 6px;
}



@media (max-width: 1290px) {
    .menu_links button {
        border-radius: 0px;
        padding: 10px 15px;
    }
    
    .menu_links {
        gap: 10px;
    }

}

@media (max-width: 1200px) {
    .content { 
        gap: 35px;
    }
    .text_body {
        font-size: 16px;
    }
    .menu_links button {
        border-radius: 0px;
        padding: 10px 10px;
        font-size: 14px;
    }
    .title_content {
        font-size: 20px;
    }
    .menu_links {
        gap: 10px;
    }
    .experience-block {
        padding: 6px 12px;
    }
    .experience-details h3{
        font-size: 16px;
    }
}


@media (max-width: 1050px) {
    .img_section{
        width: 300px;
    }
    .content {
        height: calc(550px- 80px); 
    }
    .img_cont {
        width: 100%; 
        object-fit: cover; 
        object-position: top; 
        overflow: hidden; 
    }
    .content_wrapper {
        gap: 20px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
        width: 90%;
        gap: 15px;
    }
    
}

@media (max-width: 900px) {
    .about_menu {
        margin-bottom: 12px;
    }
    .menu_links button {
        border-radius: 0px;
        padding: 8px 5px;
        font-size: 12px;
    }
    .pass_btns {
        gap: 3px;
        padding-right: 8px;
    }
    .pass_btns button { 
        width: 28px;
        height: 28px;
    }

    .pass_btns button i{ 
        font-size: 10px;
    }
    .text_body {
        font-size: 14px;
    }
    .img_cont {
        width: 100%; 
    }
    .content {
        height: calc(550px - 130px); 
    }
    .experience-details {
        gap: 5px;
    }
    .experience-details p{
        font-size: 12px;
    }
    .experience-details h3{
        font-size: 15px;
    }
    .gallery-info h3 {
        font-size: 14px;
    }
    .gallery-info p,  .gallery-info span{
        font-size: 12px;
    }
    .content_wrapper {
        gap: 10px;
    }
    .title_content {
        margin: 10px 0px;
    }
 }

 @media (max-width: 800px) {
    .content { 
        gap: 20px;
    }
    .img_section{
        width: 200px;
    }
    .content {
        height: calc(550px - 100px);
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        width: 100%;
        gap: 10px;
    }
  }

  @media (max-width: 700px) {
    .content {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .content_wrapper {
        max-height: 500px;
    }
    .img_section{
        width: 100%;
    }
    .img_cont {
        width: 100%; 
        height: 350px
    }
  }
  @media (max-width: 500px) {
    .text_body{
        font-size: 12px;
    }
    .title_content {
        font-size: 16px;
    }
    .about_menu .pass_btns{
        display: none;
    }
    .menu_links {
        width: 100%;
        justify-content: space-between;
        padding-right: 10px;
        gap: 8px;
    }
    .experience-details h3{
        font-size: 14px;
    }
  }

  @media (max-width: 400px) {
    .menu_links {
        padding-right: 0px;
  }
}
