/* =========================
   Global Styles
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color:#f4f7fb;
    color:#333;
    line-height:1.6;
}

/* =========================
   Navigation Bar
========================= */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    background:#001f3f;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    color:white;
    font-size:32px;
    font-weight:700;
}

.logo img{
    height: 80px;
    width: 80px;
    object-fit:contain;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-size:16px;
    transition:0.3s;
}

nav ul li a:hover{
    color:#66b3ff;
}

/* =========================
   Hero Section
========================= */

.hero{
    height:80vh;

    background:
    linear-gradient(
        rgba(164, 173, 182, 0.231),
        rgba(172, 181, 189, 0.181)
    ),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1600");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:#001f3f;
}

.hero-content{

    max-width:900px;

    padding:40px;

    background:rgba(244, 241, 241, 0.781);

    backdrop-filter:blur(1px);

    border-radius:2px;
}

.hero h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    padding:14px 28px;
    background:#0077cc;
    color:white;
    text-decoration:none;
    border-radius:6px;
    transition:0.3s;
}

.btn:hover{
    background:#005fa3;
}

/* =========================
   Sections
========================= */

.about,
.research{
    padding:70px 80px;
}

.about h1{
    text-align:center;
    margin-bottom:50px;
    color:#001f3f;
}

.about h2,
.research h2{
    color:#001f3f;
    margin-top:40px;
    margin-bottom:20px;
}

/* =========================
   Cards Layout
========================= */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:20px;
    margin-bottom:40px;
}

.card{
    background:white;
    border-radius:12px;
    padding:25px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,0.10);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    margin:0 auto 15px;
}

.card h3{
    color:#001f3f;
    margin-bottom:10px;
}

.card p{
    margin-bottom:10px;
    font-weight:normal;
}

.card a{
    text-decoration:none;
    color:#0077cc;
    font-weight:bold;
}

.card a:hover{
    color:#005fa3;
}

/* =========================
   Research Cards
========================= */

.research .card{
    font-size:18px;
    font-weight:bold;
}

/* =========================
   Lists
========================= */

ul{
    margin-left:30px;
}

li{
    margin-bottom:10px;
}

/* =========================
   Contact Section
========================= */

.contact-box{
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

/* =========================
   Footer
========================= */

footer{
    background:#001f3f;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:50px;
}

/* =========================
   Mobile Responsive
========================= */

@media(max-width:768px){

    nav{
        flex-direction:column;
        padding:20px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        margin-top:15px;
    }

    nav ul li{
        margin:10px;
    }

    .hero h1{
        font-size:36px;
    }

    .hero p{
        font-size:18px;
    }

    .about,
    .research{
        padding:40px 20px;
    }
}
/* =========================
   Group Leader Section
========================= */

.leader-card{

    max-width:1100px;
    margin:40px auto 60px auto;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:50px;

    background:white;

    padding:40px;

    border-radius:15px;

    box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

.leader-image{
    flex-shrink:0;
}

.leader-image img{
    width:250px;
    height:320px;

    border-radius:8px;

    object-fit:cover;
}

.leader-info{
    flex:1;
}

.leader-info h2{
    color:#001f3f;
    margin-bottom:10px;
}

.leader-info h4{
    color:#555;
    margin-bottom:15px;
}

.leader-info p{
    margin-bottom: 0;
    line-height:1.8;
}

.leader-links{
    margin-top:20px;
}

.leader-links a{
    text-decoration:none;
    color:#0077cc;
    font-weight:bold;
    margin-right:20px;
}

.leader-links a:hover{
    color:#005fa3;
}

/* Mobile */

@media(max-width:768px){

    .leader-card{
        flex-direction:column;
        text-align:center;
        padding:25px;
    }

    .leader-image img{
        width:200px;
        height:260px;
    }
}

.about{
    max-width:1400px;
    margin:auto;
}
.research-overview{
    padding:60px 80px;
    text-align:center;
}

.research-overview h2{
    color:#001f3f;
    margin-bottom:40px;
    font-size:36px;
}

.research-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 992px){
    .research-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.research-box{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
    transition:0.3s;
}

.research-box:hover{
    transform:translateY(-5px);
}

.research-box h3{
    color:#001f3f;
    margin-bottom:10px;
}
.home-about{
    max-width:900px;
    margin:80px auto;
    text-align:center;
    padding:0 20px;
}

.home-about h1{
    color:#001f3f;
    font-size:42px;
    margin-bottom:25px;
}

.home-about p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:15px;
}
/* =========================
   Impact Section
========================= */

.impact-section{
    padding:100px 80px;
    text-align:center;
    background:white;
}

.impact-section h2{
    color:#001f3f;
    font-size:42px;
    margin-bottom:25px;
}

.impact-section p{
    max-width:1000px;
    margin:auto;
    font-size:18px;
    line-height:1.8;
    margin-bottom:50px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.stat-box{
    background:#f4f7fb;
    padding:35px;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.stat-box h3{
    font-size:48px;
    color:#001f3f;
    margin-bottom:10px;
}

.stat-box p{
    margin:0;
    font-size:18px;
    font-weight:600;
}
/* =========================
   Footer
========================= */

footer{
    background:#001f3f;
    color:white;
    margin-top:60px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;

    padding:50px 80px;
}

.footer-section h3{
    margin-bottom:15px;
    color:white;
}

.footer-section p{
    color:#d9e6ff;
    line-height:1.8;
}

.footer-section a{
    display:block;
    color:#d9e6ff;
    text-decoration:none;
    margin-bottom:10px;
    transition:0.3s;
}

.footer-section a:hover{
    color:white;
}

/* Logos */

.footer-logos{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.footer-logos img{
    width:90px;
    height:90px;
    object-fit:contain;

    background:white;
    padding:6px;
    border-radius:10px;

    margin:5px;
}

.footer-logos h3{
    margin-top:15px;
}

.footer-logos{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.footer-logos .logo-images{
    display:flex;
    gap:25px;
    justify-content:center;
    align-items:center;
}

.social-links{
    margin-top:20px;
}

.social-links a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#d9e6ff;
    text-decoration:none;
    font-size:17px;
    font-weight:600;
    transition:.3s;
}

.social-links a i{
    font-size:24px;
    color:#0A66C2;   /* LinkedIn blue */
}

.social-links a:hover{
    color:white;
    transform:translateX(5px);
}

.social-icons{
    margin-top:20px;
    display:flex;
    justify-content:center;
    gap:18px;
}

.social-icons a{
    width:45px;
    height:45px;
    border-radius:50%;
    background:rgba(255,255,255,0.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:22px;
    text-decoration:none;
    transition:0.3s ease;
}

.social-icons a:hover{
    background:#0077cc;
    transform:translateY(-3px);
}

.social-icons .fa-linkedin{
    color:#f5f6f8;
}

.social-icons .fa-globe{
    color:#f5f6f8;
}
.fa-envelope{
    color:#f5f6f8;   /* Gmail red */
}
/* Footer Bottom */

footer hr{
    border:none;
    border-top:1px solid rgba(255,255,255,0.2);
}

.footer-bottom{
    text-align:center;
    padding:20px;
    color:#d9e6ff;
    font-size:14px;
}

/* Mobile */

@media(max-width:768px){

    .footer-container{
        padding:40px 20px;
        text-align:center;
    }

}
/* =========================
   Funding Agencies
========================= */

.funding-section{
    background:white;
    padding:80px 40px;
    text-align:center;
}

.funding-section h2{
    color:#001f3f;
    font-size:42px;
    margin-bottom:20px;
}

.funding-section p{
    max-width:900px;
    margin:0 auto 40px auto;
    font-size:18px;
    color:#555;
}

.funding-logos{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    align-items:center;
    justify-items:center;
}

.funding-logos img{
    width:290px;
    height:200px;
    object-fit:contain;

    padding:5px;
    background:white;

    border-radius:10px;

    transition:0.3s;
}

.funding-logos img:hover{
    transform:scale(1.08);
}

/* Mobile */

@media(max-width:768px){

    .funding-logos{
        grid-template-columns:repeat(2,1fr);
    }

    .funding-logos img{
        width:90px;
        height:90px;
    }

}
/* =========================
   Dropdown Menu
========================= */

.dropdown{
    position:relative;
}

.dropdown-menu{

    display:none;

    position:absolute;

    top:100%;
    left:0;

    min-width:220px;

    background:white;

    list-style:none;

    border-radius:8px;

    box-shadow:0 5px 15px rgba(0,0,0,0.15);

    padding:10px 0;

    z-index:999;
}

.dropdown-menu li{
    margin:0;
}

.dropdown-menu li a{

    display:block;

    padding:12px 20px;

    color:#001f3f;

    text-decoration:none;

    font-size:15px;
}

.dropdown-menu li a:hover{

    background:#f2f6ff;

    color:#0077cc;
}

.dropdown:hover .dropdown-menu{
    display:block;
}
/* =========================
   Gallery Page
========================= */

.gallery-section{
    padding:80px;
}

.gallery-section h1{
    text-align:center;
    color:#001f3f;
    margin-bottom:15px;
}

.gallery-text{
    text-align:center;
    margin-bottom:40px;
    font-size:18px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:15px;
}

.gallery-item{
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.12);
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:0.4s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/* =========================
   Member Profile Page
========================= */

.profile-section{
    padding:80px;
}

.profile-container{

    max-width:1200px;
    margin:auto;

    display:flex;
    gap:50px;

    background:white;

    padding:40px;

    border-radius:15px;

    box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

.profile-photo img{

    width:280px;
    height:360px;

    object-fit:cover;

    border-radius:10px;
}

.profile-info{
    flex:1;
}

.profile-info h1{

    color:#001f3f;

    margin-bottom:10px;
}

.profile-info h3{

    color:#555;

    margin-bottom:20px;
}

.profile-info p{

    margin-bottom:15px;
}

.profile-links{

    margin-top:20px;
}

.profile-links a{

    text-decoration:none;

    margin-right:15px;

    color:#0077cc;

    font-weight:bold;
}

.profile-about{

    max-width:1200px;

    margin:40px auto;

    background:white;

    padding:30px;

    border-radius:12px;

    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.profile-about h2{

    color:#001f3f;

    margin-bottom:15px;
}

@media(max-width:768px){

.profile-container{

    flex-direction:column;

    text-align:center;
}

.profile-photo img{

    width:220px;

    height:280px;
}

}

/* =========================
   Latest News (Home Page)
========================= */

.latest-news{

    background:white;

    padding:50px 80px;
}

.news-heading{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;
}

.news-heading h2{

    color:#001f3f;
}

.news-heading a{

    text-decoration:none;

    color:#0077cc;

    font-weight:bold;
}

.news-scroll{

    height:70px;

    overflow:hidden;

    border-radius:10px;

    background:#f4f7fb;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

    padding:15px 25px;
}

.news-scroll ul{

    list-style:none;

    margin:0;

    animation:scrollNews 15s linear infinite;
}

.news-scroll li{

    height:40px;

    display:flex;

    align-items:center;
}

.news-scroll a{

    text-decoration:none;

    color:#001f3f;

    font-weight:600;
}

.news-scroll:hover ul{

    animation-play-state:paused;
}

@keyframes scrollNews{

0%{

transform:translateY(0);

}

20%{

transform:translateY(-40px);

}

40%{

transform:translateY(-80px);

}

60%{

transform:translateY(-120px);

}

80%{

transform:translateY(-160px);

}

100%{

transform:translateY(0);

}

}

/* =========================
   News Page
========================= */

.news-page{

    max-width:1200px;

    margin:auto;

    padding:80px 20px;
}

.news-page h1{

    text-align:center;

    color:#001f3f;

    margin-bottom:10px;
}

.news-subtitle{

    text-align:center;

    margin-bottom:40px;

    color:#666;
}

.news-container{

    display:grid;

    gap:30px;
}

.news-card{

    background:white;

    padding:30px;

    border-radius:12px;

    box-shadow:0 4px 12px rgba(0,0,0,.1);

    transition:.3s;
}

.news-card:hover{

    transform:translateY(-5px);
}

.news-card h3{

    color:#001f3f;

    margin-bottom:10px;
}

.news-card .date{

    color:#0077cc;

    font-weight:bold;

    margin-bottom:15px;
}

.publication{

background:white;

padding:25px;

margin:25px 0;

border-left:6px solid #0056b3;

border-radius:10px;

box-shadow:0 3px 10px rgba(0,0,0,0.08);

transition:.3s;

}

.publication:hover{

transform:translateY(-4px);

}

.publication h3{

margin-bottom:10px;

color:#001f3f;

}

.publication h3 a{

text-decoration:none;

color:#001f3f;

}

.publication h3 a:hover{

color:#0077cc;

}

.publication p{

margin:5px 0;

}

.top-paper{

display:inline-block;

background:#FFD700;

color:#222;

padding:4px 12px;

border-radius:20px;

font-size:12px;

font-weight:bold;

margin-bottom:10px;

}

.year-heading{

margin-top:50px;

margin-bottom:20px;

padding-bottom:10px;

border-bottom:3px solid #0056b3;

color:#001f3f;

}

/* ===========================================================
            FACULTY PROFILE PAGE CSS - PART 1
   Hero Section | About | Buttons | Tags | Profile Card
=========================================================== */

/* ===========================
   Color Palette
=========================== */

:root{

    --primary:#0d47a1;
    --secondary:#1565c0;
    --accent:#4b0a90;
    --light:#f4f7fb;
    --white:#ffffff;
    --dark:#1b1b1b;
    --grey:#666;
    --border:#e3e3e3;

}


/* ===========================
   Common Section
=========================== */

section{

    padding:70px 10%;
    scroll-margin-top:90px;

}

section h2{

    text-align:center;
    font-size:2.3rem;
    color:var(--primary);
    margin-bottom:50px;
    position:relative;

}

section h2::after{

    content:'';
    width:80px;
    height:4px;
    background:var(--accent);
    display:block;
    margin:15px auto 0;
    border-radius:10px;

}


/* ===========================
        HERO SECTION
=========================== */

.leader-profile{

    background:linear-gradient(135deg,#eef5ff,#ffffff);
    padding:90px 10%;

}

.leader-container{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:330px 1fr;

    gap:60px;

    align-items:center;

}


/* ===========================
        IMAGE
=========================== */

.leader-photo{

    text-align:center;

}

.leader-photo img{

    width:300px;

    height:360px;

    object-fit:cover;

    border-radius:18px;

    border:8px solid white;

    box-shadow:0 15px 35px rgba(0,0,0,.15);

    transition:.4s;

}

.leader-photo img:hover{

    transform:translateY(-8px);

}


/* ===========================
        DETAILS
=========================== */

.leader-details{

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.leader-details h1{

    font-size:2.8rem;

    color:var(--primary);

    margin-bottom:10px;

}

.leader-details h3{

    color:var(--accent);

    font-size:1.5rem;

    margin-bottom:15px;

}

.leader-details h4{

    color:#555;

    font-weight:500;

    line-height:1.7;

    margin-bottom:25px;

}


/* ===========================
        TAGS
=========================== */

.leader-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:30px;

}

.leader-tags span{

    background:#e8f1ff;

    color:var(--primary);

    padding:8px 18px;

    border-radius:30px;

    font-size:.9rem;

    font-weight:600;

    transition:.3s;

}

.leader-tags span:hover{

    background:var(--primary);

    color:white;

}


/* ===========================
        INFO TABLE
=========================== */

.info-table{

    width:100%;

    border-collapse:collapse;

    margin-bottom:30px;

}

.info-table td{

    padding:12px 10px;

    border-bottom:1px solid #ececec;

    color:#555;

}

.info-table strong{

    color:var(--primary);

}


/* ===========================
        BUTTONS
=========================== */

.leader-links{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:20px;

}

.leader-links a{

    text-decoration:none;

    padding:12px 22px;

    background:var(--primary);

    color:white;

    border-radius:30px;

    font-weight:600;

    transition:.3s;

}

.leader-links a:hover{

    background:var(--accent);

    transform:translateY(-3px);

}


/* ===========================
        ABOUT SECTION
=========================== */

.about-section{

    background:white;

}

.about-section p{

    max-width:1100px;

    margin:auto;

    font-size:1.08rem;

    line-height:2;

    text-align:justify;

    color:#444;

}


/* ===========================
        RESPONSIVE
=========================== */

@media(max-width:992px){

.leader-container{

grid-template-columns:1fr;

text-align:center;

}

.leader-details{

text-align:left;

}

.leader-tags{

justify-content:center;

}

.leader-links{

justify-content:center;

}

}


@media(max-width:768px){

section{

padding:60px 6%;

}

.leader-photo img{

width:240px;

height:290px;

}

.leader-details{

padding:25px;

}

.leader-details h1{

font-size:2rem;

}

.leader-details h3{

font-size:1.2rem;

}

section h2{

font-size:2rem;

}

.about-section p{

font-size:1rem;

}

}

/* ===========================================================
            FACULTY PROFILE PAGE CSS - PART 2
   Research Cards | Statistics | Timeline | Publications
=========================================================== */


/* ===========================
      RESEARCH OVERVIEW
=========================== */

.research-overview{

    background:#f8fbff;

}

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

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


/* ===========================
      RESEARCH CARD
=========================== */

.research-box{

    background:#fff;

    padding:30px;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    transition:.35s;

    border-top:5px solid var(--primary);

}

.research-box:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.research-box h3{

    color:var(--primary);

    margin-bottom:15px;

    font-size:1.35rem;

}

.research-box p{

    color:#555;

    line-height:1.8;

    text-align:center;

}


/* ===========================
      STATS SECTION
=========================== */

.stats-section{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

    background:linear-gradient(135deg,#0d47a1,#1565c0);

}

.stat-card{

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(8px);

    color:white;

    text-align:center;

    padding:35px 20px;

    border-radius:18px;

    transition:.3s;

}

.stat-card:hover{

    background:white;

    color:var(--primary);

    transform:translateY(-8px);

}

.stat-card h2{

    font-size:2.6rem;

    margin-bottom:12px;

    color:inherit;

}

.stat-card h2::after{

    display:none;

}

.stat-card p{

    font-size:1rem;

    font-weight:600;

}


/* ===========================
      TIMELINE SECTION
=========================== */

.timeline-section{

    background:white;

}

.timeline{

    position:relative;

    max-width:900px;

    margin:auto;

    padding-left:30px;

    border-left:4px solid var(--primary);

}

.timeline-item{

    position:relative;

    margin-bottom:45px;

    padding-left:35px;

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-item::before{

    content:"";

    position:absolute;

    width:18px;

    height:18px;

    background:var(--accent);

    border:4px solid white;

    border-radius:50%;

    left:-45px;

    top:8px;

    box-shadow:0 0 0 4px var(--primary);

}

.timeline-item h3{

    color:var(--primary);

    margin-bottom:10px;

    font-size:1.3rem;

}

.timeline-item p{

    color:#555;

    line-height:1.8;

}


/* ===========================
      PUBLICATIONS
=========================== */

.publication-list{

    display:grid;

    gap:25px;

}

.publication{

    background:white;

    padding:28px 30px;

    border-left:6px solid var(--primary);

    border-radius:12px;

    box-shadow:0 8px 22px rgba(0,0,0,.06);

    transition:.35s;

}

.publication:hover{

    transform:translateX(8px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.publication h3{

    color:var(--primary);

    font-size:1.25rem;

    margin-bottom:12px;

    line-height:1.5;

}

.publication p{

    color:#555;

    line-height:1.8;

    margin-bottom:8px;

}

.publication a{

    color:var(--accent);

    text-decoration:none;

    font-weight:700;

}

.publication a:hover{

    text-decoration:underline;

}


/* ===========================
      FEATURE CARD
=========================== */

.more-paper{

    background:linear-gradient(135deg,#0d47a1,#1565c0);

    color:white;

    text-align:center;

    border-left:none;

}

.more-paper h3{

    color:white;

}

.more-paper p{

    color:#eef4ff;

}

.more-paper a{

    display:inline-block;

    margin-top:18px;

    padding:12px 24px;

    background:white;

    color:var(--primary);

    border-radius:30px;

    transition:.3s;

}

.more-paper a:hover{

    background:var(--accent);

    color:white;

    text-decoration:none;

}


/* ===========================
      MOBILE
=========================== */

@media(max-width:768px){

.timeline{

padding-left:18px;

}

.timeline-item{

padding-left:22px;

}

.timeline-item::before{

left:-33px;

}

.research-box{

padding:24px;

}

.publication{

padding:22px;

}

.stat-card{

padding:25px 15px;

}

.stat-card h2{

font-size:2rem;

}

}

/* ===========================================================
            FACULTY PROFILE PAGE CSS - PART 3
      Courses | Students | Contact | Collaboration
===========================================================*/


/* ===========================
      CONTACT SECTION
=========================== */

.contact-section{

    background:#f8fbff;

    text-align:center;

}

.contact-card{

    max-width:700px;

    margin:auto;

    background:white;

    padding:45px;

    border-radius:18px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.contact-card:hover{

    transform:translateY(-8px);

}

.contact-card h3{

    color:var(--primary);

    font-size:2rem;

    margin-bottom:15px;

}

.contact-card p{

    color:#555;

    line-height:1.9;

    font-size:1.05rem;

}


/* ===========================
      COURSE CARDS
=========================== */

.course-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.course-card{

    background:white;

    padding:28px;

    border-radius:15px;

    border-top:5px solid var(--accent);

    box-shadow:0 8px 25px rgba(0,0,0,.07);

    transition:.3s;

}

.course-card:hover{

    transform:translateY(-8px);

}

.course-card h3{

    color:var(--primary);

    margin-bottom:12px;

}

.course-card p{

    color:#666;

    line-height:1.8;

}


/* ===========================
      STUDENT CARDS
=========================== */

.student-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.student-card{

    background:white;

    border-radius:16px;

    padding:30px;

    box-shadow:0 10px 28px rgba(0,0,0,.07);

    border-top:5px solid var(--primary);

    transition:.3s;

}

.student-card:hover{

    transform:translateY(-8px);

}

.student-card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.student-card ul{

    margin-left:18px;

}

.student-card li{

    padding:8px 0;

    color:#555;

    line-height:1.7;

}


/* ===========================
      COLLABORATION
=========================== */

.collaboration-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.collaboration-card{

    background:white;

    padding:30px;

    border-radius:16px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.07);

    transition:.3s;

}

.collaboration-card:hover{

    transform:translateY(-8px);

}

.collaboration-card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.collaboration-card p{

    color:#555;

    line-height:1.8;

}


/* ===========================
      CONTACT BUTTONS
=========================== */

.contact-card .leader-links{

    justify-content:center;

    margin-top:25px;

}

.contact-card .leader-links a{

    min-width:140px;

    text-align:center;

}


/* ===========================
      SIMPLE FADE ANIMATION
=========================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.leader-profile,
.about-section,
.research-overview,
.timeline-section,
.stats-section,
.contact-section{

    animation:fadeUp .8s ease;

}


/* ===========================
      HOVER EFFECTS
=========================== */

.research-box,
.publication,
.student-card,
.course-card,
.collaboration-card,
.contact-card,
.stat-card{

    transition:
    transform .35s ease,
    box-shadow .35s ease;

}


/* ===========================
      RESPONSIVE
=========================== */

@media(max-width:992px){

.course-grid,
.student-grid,
.collaboration-grid{

grid-template-columns:1fr;

}

.contact-card{

padding:35px;

}

}


@media(max-width:768px){

.contact-card{

padding:28px 20px;

}

.contact-card h3{

font-size:1.7rem;

}

.course-card,
.student-card,
.collaboration-card{

padding:22px;

}

}

/* ===========================================================
            FACULTY PROFILE PAGE CSS - PART 4
        Final Styling | Utilities | Animations
===========================================================*/

/* ===========================
      SMOOTH SCROLL
=========================== */

html{

    scroll-behavior:smooth;

}


/* ===========================
      CUSTOM SELECTION
=========================== */

::selection{

    background:var(--primary);

    color:white;

}


/* ===========================
      SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--secondary);

}


/* ===========================
      IMAGES
=========================== */

img{

    max-width:100%;

    display:block;

}


/* ===========================
      LINKS
=========================== */

a{

    transition:.3s;

}


/* ===========================
      LISTS
=========================== */

ul{

    padding-left:22px;

}

li{

    line-height:1.8;

}


/* ===========================
      TABLES
=========================== */

table{

    width:100%;

    border-collapse:collapse;

}

th{

    background:var(--primary);

    color:white;

    padding:14px;

}

td{

    padding:14px;

    border-bottom:1px solid #ececec;

}

tr:hover{

    background:#f5f8fc;

}


/* ===========================
      BUTTON
=========================== */

.btn{

    display:inline-block;

    background:var(--primary);

    color:white;

    padding:12px 26px;

    border-radius:30px;

    text-decoration:none;

    font-weight:600;

}

.btn:hover{

    background:var(--accent);

}


/* ===========================
      SECTION TITLE ANIMATION
=========================== */

section h2{

    animation:fadeTitle .7s ease;

}

@keyframes fadeTitle{

    from{

        opacity:0;

        transform:translateY(-15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ===========================
      CARD SHADOW
=========================== */

.research-box,
.publication,
.student-card,
.course-card,
.collaboration-card,
.contact-card{

    position:relative;

    overflow:hidden;

}

.research-box::before,
.publication::before,
.student-card::before,
.course-card::before,
.collaboration-card::before,
.contact-card::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:4px;

    background:linear-gradient(90deg,
    var(--primary),
    var(--accent));

    transition:.45s;

}

.research-box:hover::before,
.publication:hover::before,
.student-card:hover::before,
.course-card:hover::before,
.collaboration-card:hover::before,
.contact-card:hover::before{

    left:0;

}


/* ===========================
      ICON CIRCLE
=========================== */

.icon-circle{

    width:65px;

    height:65px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto auto 20px;

    font-size:1.5rem;

}


/* ===========================
      BACK TO TOP
=========================== */

#topBtn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:white;

    cursor:pointer;

    font-size:22px;

    display:none;

    z-index:999;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

}

#topBtn:hover{

    background:var(--accent);

}


/* ===========================
      RESEARCH TAGS
=========================== */

.tag{

    display:inline-block;

    background:#eef4ff;

    color:var(--primary);

    padding:6px 14px;

    margin:5px;

    border-radius:25px;

    font-size:.9rem;

    font-weight:600;

}

.tag:hover{

    background:var(--primary);

    color:white;

}


/* ===========================
      PUBLICATION NUMBER
=========================== */

.pub-number{

    width:42px;

    height:42px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

    margin-bottom:15px;

}


/* ===========================
      PRINT
=========================== */

@media print{

nav,
footer,
#topBtn{

display:none;

}

section{

padding:15px;

}

body{

background:white;

}

.research-box,
.publication,
.contact-card{

box-shadow:none;

border:1px solid #ddd;

}

}


/* ===========================
      MOBILE
=========================== */

@media(max-width:768px){

body{

font-size:15px;

}

section{

padding:50px 5%;

}

.info-table td{

display:block;

padding:8px 0;

}

.leader-links{

gap:10px;

}

.leader-links a{

width:100%;

text-align:center;

}

.stat-card{

padding:20px;

}

.publication h3{

font-size:1.1rem;

}

}


/* ===========================
      LARGE SCREEN
=========================== */

@media(min-width:1400px){

.leader-container{

max-width:1450px;

}

.about-section p{

max-width:1200px;

}

}


/* ===========================
      END
=========================== */

/*=============================
        Research Areas
==============================*/

.about{

    padding:80px 8%;
    background:#f8fbff;

}

.about h1{

    text-align:center;
    color:#003366;
    font-size:42px;
    margin-bottom:20px;

}

.section-description{

    max-width:900px;

    margin:0 auto 60px;

    text-align:center;

    line-height:1.9;

    font-size:18px;

    color:#555;

}

/* Grid */

.research-area-cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));

    gap:35px;

}

/* Card */

.research-area-card{

    background:white;

    border-radius:18px;

    padding:35px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.35s;

    position:relative;

    overflow:hidden;

    border-top:5px solid #0056b3;

}

.research-area-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

/* Blue strip */

.research-area-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:#0056b3;

}

/* Icon */

.card-icon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#eaf3ff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin-bottom:20px;

}

/* Title */

.research-area-card h2{

    color:#003366;

    font-size:27px;

    margin-bottom:18px;

}

/* Paragraph */

.research-area-card p{

    color:#555;

    text-align:left;

    line-height:1.9;

    font-size:16px;

}

/* Tags */

.tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:25px;

}

.tags span{

    background:#eef5ff;

    color:#0056b3;

    padding:8px 16px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

}

/* Responsive */

@media(max-width:768px){

.about{

    padding:60px 20px;

}

.about h1{

    font-size:34px;

}

.research-area-cards{

    grid-template-columns:1fr;

}

}

/* ======================================
           GLOBAL RESPONSIVE
======================================*/

html{
    font-size:16px;
}

img{
    max-width:100%;
    height:auto;
}

body{
    overflow-x:hidden;
}

section{
    width:100%;
}

/* Containers */

.about,
.research,
.gallery-section,
.news-page,
.latest-news,
.home-about,
.impact-section,
.funding-section{

    padding:70px 6%;
}

/* ==========================
        Navigation
==========================*/

@media(max-width:1000px){

nav{

    padding:15px 25px;
    flex-wrap:wrap;
}

.logo{

    font-size:22px;
}

.logo img{

    width:60px;
    height:60px;
}

nav ul{

    width:100%;
    justify-content:center;
    margin-top:15px;
    flex-wrap:wrap;
}

nav ul li{

    margin:10px 15px;
}

}

/* ==========================
        Tablets
==========================*/

@media(max-width:992px){

.hero{

    height:auto;
    padding:80px 20px;
}

.hero h1{

    font-size:42px;
}

.hero p{

    font-size:20px;
}

.leader-card,
.profile-container,
.leader-container{

    flex-direction:column;
    grid-template-columns:1fr;
    text-align:center;
}

.leader-info,
.profile-info{

    text-align:left;
}

.footer-container{

    grid-template-columns:1fr;
    text-align:center;
}

}

/* ==========================
          Mobile
==========================*/

@media(max-width:768px){

html{

    font-size:15px;
}

.hero{

    padding:70px 20px;
}

.hero h1{

    font-size:32px;
}

.hero p{

    font-size:17px;
}

.about h1,
section h2{

    font-size:30px;
}

.cards,
.research-grid,
.stats-grid,
.course-grid,
.student-grid,
.collaboration-grid,
.funding-logos,
.gallery-grid,
.research-area-cards{

    grid-template-columns:1fr;
}

.card,
.research-box,
.publication,
.student-card,
.course-card,
.collaboration-card{

    padding:20px;
}

.leader-image img,
.profile-photo img,
.leader-photo img{

    width:220px;
    height:auto;
}

.footer-container{

    padding:40px 20px;
}

.footer-logos .logo-images{

    gap:12px;
}

.footer-logos img{

    width:70px;
    height:70px;
}

.social-icons{

    justify-content:center;
}

}

/* ==========================
      Small Phones
==========================*/

@media(max-width:480px){

.logo{

    font-size:18px;
    gap:10px;
}

.logo img{

    width:50px;
    height:50px;
}

.hero h1{

    font-size:26px;
}

.hero p{

    font-size:16px;
}

.btn{

    display:block;
    width:100%;
    text-align:center;
}

.leader-links{

    flex-direction:column;
}

.leader-links a{

    width:100%;
}

.info-table td{

    display:block;
    width:100%;
}

}

.leader-links{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:20px;
}

.leader-links a{
    display:flex;
    align-items:center;
    gap:8px;

    padding:12px 20px;

    background:#0d47a1;
    color:#fff;

    text-decoration:none;
    border-radius:30px;

    font-weight:600;

    transition:.3s;
}

.leader-links a:hover{
    background:#4b0a90;
    transform:translateY(-3px);
}

.leader-links i{
    font-size:18px;
}

/* ====================================
   YouTube Section
==================================== */

/* ===========================================
           Useful Links Page
=========================================== */

.links_thumbnail{

    width:100%;
    max-width:420px;
    height:220px;

    object-fit:cover;

    border-radius:8px;

    margin:15px auto;

    display:block;

    border:1px solid #ddd;

}

.links_button{

    display:inline-block;

    margin-top:15px;

    padding:10px 22px;

    background:#003366;

    color:#fff;

    text-decoration:none;

    border-radius:5px;

    font-weight:600;

    transition:.3s;

}

.links_button:hover{

    background:#0056b3;

}
