*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins';
}
#header{
    width: 100%;
    height: 100vh;
    background-image:url(images/muddassirmain.jpg);
    background-size: cover;
    background-position: center;

}
.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    width: 100px;
    cursor: pointer;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 15px;
}
li ul {
    display: none;
    position: absolute;
    background-color: #ffffffcb;
    list-style: none;
    padding: 0;
    border-radius: 5px;
}

li:hover ul {
    display: block;
}

li ul li {
    display: block;
}
#sidemenu ul li a{
    color: #080808;
    font-size: 16px;
    font-weight: 600;
}


nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;  
    position: relative; 
}
nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff004f;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 50%;
}
.header-text{
    margin-top: 50px;
    font-size: 50px;
    margin-left: -600px;
}
.header-text h1{
    margin-top: 200px;
    font-size: 120px;
    margin-bottom: -40px;
    margin-left: 110px;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #080808;
    color: #fff;
    padding: 10px 20px; 

}
.container1{
    padding: 10px 10%;
}
#FWork{
    padding: 50px 0;
    padding-bottom: 50px;
}
#RWork{
    padding: 50px 0;
    padding-bottom: 50px;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6),#ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}




.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
}
.btn:hover{
    background: #ff004f;
}
.btn.btn2{
    display: inline-block;
    background: #ff004f;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

nav .fas{
    display: none;
    
}

@media only screen and (max-width:700px){
    #header{
        background-image: url(images/muddassirmain1.jpg);
    }
    .header-text h1{
        margin-top: 40px;
        font-size: 60px;
        margin-bottom: -20px;
        margin-right: -500px;
    }
    .header-text p{
        font-size: 30px;
        margin-right: -600px;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }
    
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 1;
    }
    nav ul li{
        display: block !important;
        margin: 25px;
    }

    nav ul .fas{
        position: absolute !important;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
 
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .about-col-1 img{
        width: 100%;
        margin-left: 0.2rem;
        margin-top: 1rem;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
}


/*research*/


#header1{
    width: 100%;
    height: 50vh;
    background-image:url(images/research.png);
    background-size: cover;
    background-position: center;

}

.header1-text h1{
    margin-top: 50px;
    font-size: 80px;
    text-align: center;
}
.research-section {
    background-color: #080808;
    padding: 20px 0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.research-heading {
    color: #ababab;
}
.card-heading{
    color: #080808;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    margin-top: 20px;
    width: 100%;

}

.card {
    background-color: #e9e9e9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
    width: 100%;
    max-width: 400px;

    
}

.card:hover {
    transform: scale(1.05);
}

.card-heading {
    font-size: 18px;
    margin-bottom: 10px;
}

.card-link {
    color: #ff004f;
}

.card-link a {
    text-decoration: none;
    color: inherit;
}

.card-link a:hover {
    text-decoration: underline;
}

.containerR{
    padding: 60px 10%;
}

.containerR h2{
    color: #6488ec;
}
.containerR h3{
    color: #6488ec;
}
.containerR a{
    color: #fff;
}
.containerR a:hover{
    color: #ff004f;
}
.containerR .card-link{
    padding-top: 15px;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #fff;
}
.back-link2 {
    display: block;
    text-align: center;
    background-color: #ff004f;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 40px;
    margin-bottom: -40px;
    margin-left: 125px;
    width: 200px;
}

.back-link2:hover {
    background-color: #b54769;
}

@media only screen and (max-width: 700px) {
    #header1 {
        background-size: cover;
        width: 100%; 
        height: 40vh;
    }

    .header1-text h1 {
        margin-top: 40px;
        font-size: 36px;
    }
    .cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 20px;
        margin-top: 20px;
        width: 400px;
    }
    .back-link2 {
        margin-bottom: -40px;
        margin-left: 90px;
        width: 200px;
    }    
}


/*teachers*/

#header2{
    width: 100%;
    height: 50vh;
    background-image:url(images/Teachers.png);
    background-size: cover;
    background-position: center;

}

.header2-text h1{
    margin-top: 50px;
    font-size: 80px;
    text-align: center;
}

.work{
    background-color: #080808;
    padding: 20px 0;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.card-content{
    color: #080808;
}
.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    margin-top: 20px;
}
.card{
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
    width: 100%;
    max-width: 300px;
}
.card:hover {
    transform: scale(1.05);
}

.card-content {
    font-size: 18px;
    margin-bottom: -10px;
}

.card-content {
    color: #080808;
}

.card-content a {
    text-decoration: none;
    color: #ff004f;
}
.card-content a h1{
    padding-top: 20px;
    color: #080808;
}
.card-content a:hover {
    text-decoration: underline;
}
.card-wrapper .card .img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    transform: none;

}
.TeacherP{
    padding: 60px 10%;
}
.TeacherP a{
    color: #fff;
}
.TeacherP a:hover{
    color: #ff004f;
}
.TeacherP .card-link{
    padding-top: 15px;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #fff;
}
.TeacherP p{
    margin-left: 200px;
    margin-top: -150px;
}
.TeacherP img{
    max-width: 150px;
    max-height: 150px;
}
.TeacherP .card-link{
    margin-top: 20px;
}
.back-link1{
    display: block;
    text-align: center;
    background-color: #ff004f;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 40px;
    margin-bottom: -40px;
    margin-left: 125px;
    width: 250px;
}

.back-link1:hover {
    background-color: #b54769;
}
@media only screen and (max-width: 700px) {
    #header2 {
        background-size: cover;
        width: 100%; 
        height: 40vh;
    }

    .header2-text h1 {
        margin-top: 40px;
        font-size: 36px;
    }
    .back-link1 {
        margin-bottom: -40px;
        margin-left: 55px;
        width: 250px;
    }
    .TeacherP p{
        margin-left:0px;
        margin-top: 0px;
    }
    .TeacherP img{
        width: 150px;
        margin-left: 60px;
    }

}

/*about*/

#header3{
    width: 100%;
    height: 50vh;
    background-image:url(images/about.png);
    background-size: cover;
    background-position: center;

}

.header3-text h1{
    margin-top: 50px;
    font-size: 80px;
    text-align: center;
}

#sidemenu .dropdown a i {
    margin-left: 8px;
}

#about{
    padding: 20px 0;
    color: #ababab;
    margin-right: 10px;
}

.imageEN1 img {

	display: flex;
	max-width: 50%;
	float: right;
	position: relative;
	padding-left: 10px;
}

.imageEN2 img {

	display: flex;
	max-width: 20%;
	float: left;
	position: static;
	padding-left: 10px;
}


.content h2 {
    padding-top: 20px;
    color: #b54769; 
    font-size: 24px;
    font-weight: 600;
}

.content h3 {
    color: #6488ec; 
    font-size: 20px;
    padding-top: 8px;
}
.content h4 {
    color: #b3b847; 
    font-size: 15px;
    padding-top: 8px;
}

.content p {
    color: #fff; 
    font-size: 15px;
    padding-top: 2px;
}
.row1{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
/*.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 80%;
    border-radius: 15px;
    /*margin-left: 7rem;
    margin-top: 7rem;
}*/
.about-col-2{
    flex-basis: 100%;
    margin-right: 1rem;
}
.sub-title{
    font-size: 50px;
    font-weight: 600;
    color: #fff;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
    color: #fff;
}
.tab-links{
    margin-right: 45px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 50%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: #b54769;
    font-size: 14px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
@media only screen and (max-width: 700px) {
    #header3 {
        width: 100%; 
        height: 40vh;
}

    .header3-text h1 {
        font-size: 36px; 
        margin-top: 40px; 
    }

    /*.about-col-1 img {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        border-radius: 0; 
    }*/

    .tab-titles {
        flex-wrap: wrap;
        justify-content: center;
        margin: 10px 0;
    }

    .tab-links {
        margin: 5px;
        font-size: 15px;
        background-color: #ff004f; 
        color: #fff; 
        padding: 5px 15px;
        border-radius: 5px;
        cursor: pointer;
        justify-content: space-around;
    }

    .tab-links::after {
        display: none; 
    }
}

/* Trainings */
#header9{
  width: 100%;
  height: 50vh;
  background-image:url(images/testimonial.png);
  background-size: cover;
  background-position: center;
}

.header9-text h1{
  margin-top: 50px;
  font-size: 80px;
  text-align: center;
}

.pink-glow {
  text-shadow: 0 0 5px #ff66b2, 0 0 10px #ff66b2, 0 0 15px #ff66b2;
}

/* Grid */
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 per row on desktop */
  gap: 20px;
  justify-items: center;
  padding: 30px;
}

/* Card */
.TRpost-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  background: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column; /* image + info stack */
}

/* Responsive image area (no fixed px height) */
.image-wrapper{
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 10;     /* responsive height based on width */
  overflow: hidden;
}

.image-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: contain;        /* show full image */
  display: block;
}

/* Hover zoom */
.TRpost-card:hover { transform: scale(1.05); }

/* Overlay on the CARD (your finalized approach) */
.TRpost-card::after{
  content: "Click for Details";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(rgba(0,0,0,0.6), #ff004f);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: height 0.5s ease, opacity 0.5s ease;
  pointer-events: none; /* never block clicks */
}

/* Desktop hover */
.TRpost-card:hover::after{ height: 50%; opacity: 1; }

/* Touch support: show overlay on tap */
.TRpost-card:active::after{ height: 50%; opacity: 1; }

/* Info (title/org/date) */
.TRinfo{
  padding: 12px 16px;
  text-align: center;
}
.TRinfo h3{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: bold;
  color: #080808; /* black */
}
.TRinfo .org{
  color: #ff004f; /* pink */
  font-weight: bold;
  margin: 0 0 6px;
}
.TRinfo p{
  margin: 0;
  font-size: 14px;
  color: #080808; /* black (as in your last CSS) */
}

/* ---------- Responsive ---------- */
@media (max-width: 700px){
  .header9-text h1{
    margin-top: 30px;
    font-size: 36px;
  }

  .training-grid{
    grid-template-columns: 1fr;   /* 1 per row on phones */
    gap: 16px;
    padding: 16px;
  }

  .TRpost-card{
    max-width: 100%;
    border-radius: 10px;
  }

  .image-wrapper{
    aspect-ratio: 4 / 3;         /* a bit taller on small screens */
  }

  /* smaller overlay on small screens so it doesn't cover info too much */
  .TRpost-card:hover::after,
  .TRpost-card:active::after{
    height: 30%;
  }
}


/*Testimonial*/
#header8{
    width: 100%;
    height: 50vh;
    background-image:url(images/testimonial.png);
    background-size: cover;
    background-position: center;

}

.header8-text h1{
    margin-top: 50px;
    font-size: 80px;
    text-align: center;
}

.pink-glow {

    text-shadow: 0 0 5px #ff66b2, 0 0 10px #ff66b2, 0 0 15px #ff66b2;
}

/*Article*/
#header4{
    width: 100%;
    height: 50vh;
    background-image:url(images/article.png);
    background-size: cover;
    background-position: center;

}

.header4-text h1{
    margin-top: 50px;
    font-size: 80px;
    text-align: center;
}
#Article{
    padding: 50px 0;
    padding-bottom: 50px;
}
.article-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.article{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.article img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer1{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6),#b54769);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer1 h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer1 a{
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.article:hover img{
    transform: scale(1.1);
}
.article:hover .layer1{
    height: 100%;
}

@media only screen and (max-width: 700px) {
    #header4 {
        width: 100%; 
        height: 40vh;
}

    .header4-text h1 {
        font-size: 36px; 
        margin-top: 40px; 
    }
}

/*Media*/

#header5{
    width: 100%;
    height: 50vh;
    background-image:url(images/media.png);
    background-size: cover;
    background-position: center;

}

.header5-text h1{
    margin-top: 50px;
    font-size: 80px;
    text-align: center;
}
.mediaa {
    background-color: #080808;
    padding: 20px 0;
}

.containermedia {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.media-content {
    color: #080808;
}

.media-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 10px;
    margin-top: 20px;
}

.media {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
    max-width: 300px;
    margin-bottom: 10px;
}

.media:hover {
    transform: scale(1.05);
}

.media-content {
    font-size: 18px;
    margin-bottom: -10px;
}

.media-content {
    color: #080808;
}

.media-content a {
    text-decoration: none;
    color: #ff004f;
}

.media-content a h1 {
    padding-top: 20px;
    color: #080808;
}

.media-content a:hover {
    text-decoration: underline;
}

.media-wrapper .media .media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    transform: none;
}


@media only screen and (max-width: 700px) {
    #header5 {
        width: 100%; 
        height: 40vh;
}

    .header5-text h1 {
        font-size: 36px; 
        margin-top: 40px; 
    }
}

/*News & Updates*/

#header6{
    width: 100%;
    height: 50vh;
    background-image:url(images/news.png);
    background-size: cover;
    background-position: center;

}

.header6-text h1{
    margin-top: 50px;
    font-size: 80px;
    text-align: center;
}

#update-heading {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

#update-list {
    list-style: none;
    padding: 0;
}

#update-list h4 {
    font-size: 18px;
    color: #6488ec;
}

#update-list p {
    font-size: 15px;
    color: #fff;
}

#update-list .update-date {
    margin-right: 10px;
    font-size: 13px;
    color: #ababab;
}

#update-list .line {
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

#updates-card {
    padding: 20px;
    background-color: #262626;
    border: 1px solid #262626;
    border-radius: 5px;
    margin: 20px 0;
    max-width: 1000px;
    margin: 20px auto;
}



@media only screen and (max-width: 700px) {
    #header6 {
        width: 100%; 
        height: 40vh;
}

    .header6-text h1 {
        font-size: 36px; 
        margin-top: 40px; 
    }
}


/*Photos*/

#header7{
    width: 100%;
    height: 50vh;
    background-image:url(images/photos.png);
    background-size: cover;
    background-position: center;
}

.header7-text h1{
    margin-top: 50px;
    font-size: 80px;
    text-align: center;
}

.img-gallery{
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.img-gallery img{
    width: 100%;
    cursor: pointer;
}
.img-gallery img:hover{
    transform: scale(0.99);
    border-radius: 20px;
    box-shadow: 0 32px 75px rgba(68,77,136,0.2);
}
.full-img{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.full-img img{
    width: 90%;
    max-width: 500px;
}
.full-img span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.albums {
    background-color: #080808;
    padding: 20px 0;
}

.containeralbum {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.album-content {
    color: #080808;
}

.album-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 10px;
    margin-top: 20px;
}

.album {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
    max-width: 300px;
    margin-bottom: 10px;
}

.album:hover {
    transform: scale(1.05);
}

.album-content {
    font-size: 18px;
    margin-bottom: -10px;
}

.album-content {
    color: #080808;
}

.album-content a {
    text-decoration: none;
    color: #ff004f;
}

.album-content a h1 {
    padding-top: 20px;
    color: #080808;
}

.album-content a:hover {
    text-decoration: underline;
}

.album-wrapper .album .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    transform: none;
}

.back-link {
    display: block;
    text-align: center;
    background-color: #ff004f;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 40px;
    margin-bottom: -40px;
    margin-left: 125px;
    width: 200px;
}

.back-link:hover {
    background-color: #b54769;
}

@media only screen and (max-width: 700px) {
    #header7 {
        width: 100%; 
        height: 40vh;
}

    .header7-text h1 {
        font-size: 36px; 
        margin-top: 40px; 
    }
    .back-link {
        margin-bottom: -40px;
        margin-left: 90px;
        width: 200px;
    }
}

.active a {
    text-decoration: underline;
    text-decoration-color: #ff004f;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.5em;
}
.no a{
    text-decoration: none;
}






.sidebar1 {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%; /* Ensures it adapts to screen width */
    color: white;
}

.tab-titles1 {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    justify-content: center; /* Center tabs */
    gap: 5px;
    width: 100%;
}

.tab-links1 {
    background: #000000;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(238, 255, 1);
    white-space: nowrap; /* Prevents text from wrapping */
}

.tab-links1 i {
    margin-right: 5px;
}

.tab-links1:hover,
.active-link1 {
    background: #444;
    color: #fafafa;
    
}

.tab-contents1 {
    display: none; /* Hide all tab content initially */
    background: #333;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;

    color: rgb(255, 255, 255);
}

.active-tab1 {
    display: block; /* Only the active tab content will be shown */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .tab-titles1 {
        flex-wrap: wrap; /* Allows tabs to wrap on smaller screens */
    }

    .tab-links1 {
        font-size: 12px;
        padding: 8px 12px;
    }
}


/* special only for profile links card */
.card.research-profile-card {
  background-color: #fff;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 0 15px rgba(255, 0, 79, 0.1);
  border: 2px solid #ff004f;
  max-width: 720px; /* smaller width */
  margin-left: auto;
  margin-right: auto;
}

.card.research-profile-card .card-heading {
  font-size: 24px;
  color: #080808;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center; /* centered heading */
}

.research-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.research-icons a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #080808;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.research-icons a:hover {
  color: #ff004f;
  border-color: #ff004f;
  text-shadow: 0 0 8px rgba(255, 0, 79, 0.8);
  background-color: #fff0f5;
}

.research-icons i {
  color: #ff004f;
  font-size: 20px;
}
