*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif;
}

html, body{
    width: 100%;
    height: 100%;
}

#main{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#page{
    width: 100%;
    background-color: #44625f;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15vh;
}

#background{
    width: 100%;
    height: 100vh;
    position: absolute;
}
#blur{
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
}

#background video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#nav{
    min-height: 15vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 0 5vw;
    transition: all 0.3s ease;
}

#nav.scrolled {
    min-height: 10vh;
    background-color: rgba(0, 0, 0, 0.8);
}

#nav img{
    height: 100px;
    width: 100px;
    object-fit: cover;
}

#nav .menu{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.menu h1{
    font-size: 20px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    cursor: pointer;
    position: relative;
    padding-bottom: 2px;
}

.menu h1::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease-in-out;
}

.menu h1:hover::after {
    width: 100%;
}

#content{
    width: 100%;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 0 5vw;
    /* background-color: red; */
}

#left{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* max-width: 800px; */
    margin: 0 auto;
    
}

.about-btn {
    padding: 12px 28px;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.about-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s ease;
}

.about-btn:hover {
    color: #000;
}

.about-btn:hover::before {
    width: 100%;
}


#left h1 {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 4vw;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

#content p {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add text selection styling */
#content h1::selection,
#content p::selection {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

#page2 {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to right, #445956 50%, #576664 50%);
    display: flex;
    align-items: center;
    padding: 5vw;
}

.bio-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.bio-content {
    flex: 1;
    color: #fff;
}

.bio-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
}

.bio-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.bio-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.bio-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.bio-links a {
    padding: 12px 28px;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    text-decoration: none;
}

.bio-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s ease;
}

.bio-links a:hover {
    color: #445956;
}

.bio-links a:hover::before {
    width: 100%;
}

.image-container {
    flex: 1;
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}



/* Our Group start */



#page3 {
    width: 100%;
    min-height: auto;
    background-color: #7e8686;
    padding: 5vw 5vw 60px; /* Added bottom padding for spacing from next section */
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.team-member img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.member-name {
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    color: #fff;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: capitalize;
}


.member-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(68, 89, 86, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    text-align: center;
}

.member-details p {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.member-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.member-links a {
    padding: 8px 20px;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 25px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.member-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s ease;
}

.member-links a:hover {
    color: #445956;
}

.member-links a:hover::before {
    width: 100%;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member:hover .member-name {
    transform: translateY(100%);
}

.team-member:hover .member-details {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .group-heading h2 {
        font-size: 2rem;
    }
}


/* Our Group end */



















.group-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

.group-heading h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    position: relative;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    color: #fff;
    transform: translateY(0);
    transition: all 0.5s ease;
    backdrop-filter: blur(5px);
}

.member-name h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.member-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(68, 89, 86, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.member-details p {
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

.member-links {
    display: flex;
    gap: 15px;
}

.member-links a {
    padding: 8px 20px;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 25px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.member-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s ease;
}

.member-links a:hover {
    color: #445956;
}

.member-links a:hover::before {
    width: 100%;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member:hover .member-name {
    background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
    transform: translateY(100%);
}

.team-member:hover .member-details {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

#page4 {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, rgb(92, 109, 106) 0%, #07372e 100%);
    padding: 5vw;
    position: relative;
    padding-top: 80px;

}

.projects-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

.projects-heading h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.projects-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
    display: flex;
    justify-content: center;
}

.projects-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
}

.projects-wrapper::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.project-box {
    width: 400px;
    height: 450px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.project-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.project-box .project-details {
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.project-box:hover .project-details {
    transform: translateY(0);
}

.project-info p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-details {
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-box:hover .project-details {
    opacity: 1;
}

.project-box:hover .project-info p,
.project-box:hover .project-link {
    opacity: 1;
    transform: translateY(0);
}

.project-link {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 25px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s ease;
}

.project-link:hover {
    color: #445956;
}

.project-link:hover::before {
    width: 100%;
}

.project-box:hover img {
    transform: scale(1.1);
}

.project-box:hover .project-info {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #445956;
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }
    
    .projects-wrapper {
        padding: 20px;
        overflow-x: auto;
    }
    
    .projects-container {
        padding: 0 20px;
    }
}

#page5 {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #445956 0%, #2a3d3a 100%);
    padding: 5vw;
    position: relative;
}

.publications-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

.publications-heading h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.publications-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.main-publication {
    flex: 1;
    height: 600px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.main-publication img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.small-publications {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pub-box {
    height: 290px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.pub-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pub-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.pub-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.pub-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.pub-details p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.pub-link {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 25px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pub-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s ease;
}

.pub-link:hover {
    color: #445956;
}

.pub-link:hover::before {
    width: 100%;
}

.main-publication:hover img,
.pub-box:hover img {
    transform: scale(1.1);
}

.main-publication:hover .pub-info,
.pub-box:hover .pub-info {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
}

.main-publication:hover .pub-details,
.pub-box:hover .pub-details {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .publications-container {
        flex-direction: column;
    }
    
    .main-publication {
        height: 400px;
    }
    
    .small-publications {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .small-publications {
        grid-template-columns: 1fr;
    }
    
    .publications-heading h2 {
        font-size: 2.5rem;
    }
}

#page6 {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #576664 0%, #2a3d3a 100%);
    padding: 5vw;
    position: relative;
}

.news-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

.news-heading h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.news-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
    display: flex;
    justify-content: center;
}

.news-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
}

.news-wrapper::-webkit-scrollbar {
    display: none;
}

.news-box {
    min-width: 300px;
    height: 400px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-info {
    padding: 20px;
    color: #fff;
}

.news-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.news-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.news-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-link:hover {
    background: #fff;
    color: #445956;
}

.news-link:hover i {
    transform: translateX(3px);
}

.news-box:hover img {
    transform: scale(1.1);
}

.scroll-btn.news-scroll {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.scroll-btn.news-scroll:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #445956;
}

.news-scroll.scroll-left {
    left: 10px;
}

.news-scroll.scroll-right {
    right: 10px;
}

@media (max-width: 768px) {
    .scroll-btn.news-scroll {
        display: none;
    }
    
    .news-wrapper {
        padding: 20px;
        overflow-x: auto;
    }
    
    .news-container {
        padding: 0 20px;
    }
    
    .news-heading h2 {
        font-size: 2.5rem;
    }
}

.news-ticker-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    margin-bottom: 30px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-ticker {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    color: #fff;
    font-size: 1.1rem;
    padding-right: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker-item i {
    color: #4CAF50;
    font-size: 0.8em;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.top-news-ticker {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    position: absolute;
    top: 15vh;
    left: 0;
    z-index: 999;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-news-ticker.scrolled {
    top: 10vh;
}

.top-ticker-content {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: topTicker 30s linear infinite;
}

.top-ticker-item {
    color: #fff;
    font-size: 0.9rem;
    padding-right: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-ticker-item i {
    color: #4CAF50;
    font-size: 0.8em;
}

@keyframes topTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

#page7 {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #3d4f4d 0%, #1a2928 100%);
    padding: 5vw;
    position: relative;
    overflow: hidden;
}

.collaborators-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
    position: relative;
}

.collaborators-heading h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.collaborators-heading h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.collaborator-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.collaborator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.collaborator-card:hover::before {
    transform: translateX(100%);
}

.collaborator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.collaborator-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.collaborator-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collaborator-card:hover .collaborator-logo img {
    transform: scale(1.1);
}

.collaborator-info {
    text-align: center;
    color: #fff;
}

.collaborator-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.collaborator-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.collaborator-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.collab-link {
    padding: 8px 20px;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.collab-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s ease;
}

.collab-link:hover {
    color: #2a3d3a;
}

.collab-link:hover::before {
    width: 100%;
}

@media (max-width: 1024px) {
    .collaborators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .collaborators-grid {
        grid-template-columns: 1fr;
    }
    
    .collaborators-heading h2 {
        font-size: 2.5rem;
    }
}

#page8 {
    width: 100%;
    background: linear-gradient(135deg, #0f1214 0%, #1a1a1a 100%);
    padding: 5vw 5vw 160px; /* Added enough bottom padding */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}



#page8::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('content/bg.jpg') center/cover;
    opacity: 0.03;
    pointer-events: none;
}

.contact-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 70px;
    position: relative;
    width: 100%;
}

.contact-heading h2 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #a8b8b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.contact-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #4CAF50, #2E7D32);
}

.contact-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 50px;
    margin: 0 auto;
    min-height: 600px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap; /* Add this if not present */
    align-items: flex-start;
}

.contact-details {
    flex: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.contact-details h3 {
    font-size: 2.2rem;
    color: #fff; /* ✅ Make text white */
    margin-bottom: 40px;
    position: relative;
}


.contact-info-group {
    margin-bottom: 35px;
    padding-left: 15px;
    border-left: 2px solid rgba(76, 175, 80, 0.3);
    transition: border-left-color 0.3s ease;
}

.contact-info-group:hover {
    border-left-color: #4CAF50;
}

.contact-info-group h4 {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-group h4 i {
    color: #4CAF50;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.contact-info-group:hover h4 i {
    transform: scale(1.1);
}

.contact-info-group p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 8px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-info-group:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: #4CAF50;
}

.social-link:hover::before {
    opacity: 1;
}

.contact-container {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.contact-form {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    grid-column: 1 / -1;
    padding: 15px 40px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: 15px auto 0;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.submit-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 40px;
    }
    
    .contact-details, 
    .contact-container {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    #page8 {
        padding: 15vw 5vw;
    }

    .contact-heading h2 {
        font-size: 2.8rem;
    }

    .contact-content {
        padding: 0 15px;
    }

    .contact-details,
    .contact-container {
        padding: 30px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
    }
}
a{
    text-decoration: none;
}

@media (max-width: 768px) {

    #content h1 {
        font-size: 8vw;
    }

    .bio-container {
        flex-direction: column;
        text-align: center;
    }

    .bio-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .image-container {
        height: 300px;
        width: 100%;
    }

    .projects-heading h2,
    .news-heading h2,
    .publications-heading h2,
    .collaborators-heading h2,
    .contact-heading h2 {
        font-size: 2.5rem;
    }

    .projects-wrapper {
        gap: 10px;
        padding: 10px;
    }

    .project-box {
        width: 280px;
        height: 350px;
    }

    .scroll-btn {
        display: none; /* Hide scroll buttons on very small screens */
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .contact-details, .contact-container {
        max-width: 100%;
        padding: 20px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .news-box {
        min-width: 260px;
        height: 360px;
    }

    .news-info h3 {
        font-size: 1.2rem;
    }
}



.top-ticker-item a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.ticker-clone {
    animation: topTicker 30s linear infinite;
  }
  

  #page9 {
    width: 100%;
    background: #0f1214;
    padding: 5vw 5vw 2vw;
    color: #fff;
    position: relative; /* This is good */


}


#footer {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;

}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 80px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.footer-column h4 {
    font-size: 1.3rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #4CAF50;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: #4CAF50;
    color: #0f1214;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    .footer-column {
        min-width: unset;
    }

    .footer-social {
        justify-content: center;
    }
}
