.res-head {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    position: relative;
}

.res-head-bg {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1)), url('../research/movie.gif');
    background-size: cover;
    background-position: center;
}

.res-head h1 {
    font-size: 4rem;
    color: aliceblue;
    text-align: center;
    position: relative;
    z-index: 10;
}
.research{
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    position: relative;
    padding: 2%;
}
.research-intro{
   display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    font-size: 1.2rem;
    width: 80%;
    margin: 30px auto;
/*    background: #1a1a1a;*/
    padding: 30px;
    color: aliceblue;
    border-radius: 12px;
    text-align: center;
    line-height: 1.5;
}
.container {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: auto;
    box-sizing: border-box;
}

.tabs-header {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    height:80px; 
}

.tab-button {
    align-content: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 100%;
}

.tab-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #99e6ff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button:hover,
.tab-button.active-n {
    color: #30FF76;
    background:#6a6a6a;
    font-weight: 800;
    border-radius: 10px 10px 0 0;
}
.tab-button.active-n{
    border: ;
    border-bottom: 2px solid #30FF76;
}

.tab-button.active-n::after {
    transform: scaleX(1);
}

.tab-button:hover {
    background-color: #5a5a5a;
}
.tabs-content{
    background: #1a1a1a;
    border-left: 2px solid #30FF76;
}
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active-n {
    display: block;
}

.content-inner {
    display: block;
/*    flex-direction: column;*/
/*    align-content: center;*/
/*    justify-content: center;*/
    width: 100%;
    height: auto;
    gap: 25px;
    padding: 30px;
}

.content-inner h2 {
    font-size: 2em;
    color: #30FF76;
    margin-top: 0;
    border-bottom: 2px solid #70FA9C;
    padding-bottom: 10px;
}

.content-text {
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #8392A8;
    padding: 10px
}
.content-text p{
    padding: 20px 0
}

.content-media {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    height: 400px;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    color: aliceblue;
}

.content-media img {
    max-height: 250px;
    width: auto;
    margin:20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.content-media div{
  display: flex;
    max-width: 400px;
    height: 100%;
    position: relative;
    flex-direction: column;
    justify-content: center;
}
.content-media span{
    text-align: center;
    color: #8392A8;
    width: 90%;
    margin: 0 auto;
}
.content-pub{
    display: flex;
    flex-direction: column;
}
.content-pub ul{
    list-style: none;
    padding: 30px;
}
.content-pub ul a{
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.content-pub li{
    padding: 10px;
    font-size: 1.1rem;
    color: #8392A8;
}
.content-pub li span{
    color: #30FF76
}
.content-pub li:hover{
    background-color: #222;
    font-weight: bolder;
}
/*Scroll to top button customization*/
.scroll-content::after{
    border: 5px solid #70FA9C;
    border-right: transparent;
    border-bottom: transparent;
}
.scroll-arrow{
    color: #70FA9C;
}
.progress-ring-circle{
    stroke:#70FA9C;        
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .content-inner {
        flex-direction: row;
    }

    .content-text {
        flex: 2;
    }

    .content-media {
        flex: 1;
        flex-direction: column;
    }
}