

/* ---------------------------------- BODY FOR ALL PAGES---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    }
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(188, 182, 182, 0.85);
    z-index: -2;
}

body {
    font-family: "Times New Roman", serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    padding-top: 65px;

    /* Background Image */
    background-image: url("../images/Home/Slider.gif");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
/* ---------------------------------- Navbar -------------------------------------------------------- */
header {
    background: linear-gradient(to right, #19191a, #236618);
}

nav {
    height: 65px;                 /* FIXED NAVBAR HEIGHT */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    position: fixed;
    top: 0;              /* REQUIRED */
    left:0;
    width:100%;         /* REQUIRED */
    z-index:9999;       /* Keeps navbar above everything */
    background: linear-gradient(to right, #19191a, #236618);
}

/* Logo container */
.logo {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Logo image */
.logo img {
    max-height: 70px;             /* LOGO CAN BE BIG */
    width: auto;
    object-fit: contain;
}

/* Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: rgb(255, 255, 255);
    font-size: 12.50px;              /* FIXED TEXT SIZE */
    line-height: 70px;            /* ALIGN WITH NAVBAR HEIGHT */
    text-decoration: none;
    overflow: hidden;
}

nav ul li a:hover {
    color: #ffd700;
}

nav ul li a.active {
    color: #ffd700; /* Red for current year */
    font-weight: bold;
}

/* ------------------------------------------FOR HOME PAGE ---------------------------------- */
/* Top thin line */
.group-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 20px 0;
}

/* Bold lab title */
.lab-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 38px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgb(159, 146, 10);   /* Carrocel Font Colour */
    margin: 0;
    padding: 5px 6px;
    text-align: center;
}

.about-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    
}

/* Icons top */
.card-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.card-icons img {
    height: 28px;
    opacity: 0.7;
}

/* Main image */
.main-photo {
    width: 100%;
    display: block;
}

/* -------Home Page------- */
.research-section {
  max-width: 1200px;
  margin: auto;
  background: #ffffff;

}

.research-container {
    display: flex;
    align-items: center;
    padding: 12px 50px;
    gap: 1px;
}

/* LEFT SIDE */
.research-text {
  flex: 1;
}

.research-text h2 {
  color: #c40000;
  font-size: 25px;
  margin-bottom: 10px;
}

.research-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
  text-align: justify;
  line-height: 1.4;
}

.research-desc {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: justify;
}

/* RIGHT SIDE */
.research-image {
  flex: 1;
  text-align: center;
}

.research-image img {
  max-width: 400px;
  height: 250px;
  margin-left: 150px;
}

.video-section {
  width: 90%;
  margin: 40px auto;
  text-align: center;
}

.video-section h2 {
  margin-bottom: 20px;
  font-size: 30px;
}

.video-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.video-box {
  position: relative;
  padding-top: 60%; /* 16:9 ratio */
  background: #000;
}

.video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------CAROUSEL/ Left to Right Movement-------------------------------- */

/* TEXT MOVEMENT */
.scroll-text-container {
  width: 100%;
  overflow: hidden;
  background: #dfdfdf;   /* change if needed */
}

.scroll-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 25px;
  font-weight: 200;
  color: #121312;
  animation: scroll-left 40s linear infinite;
}

@keyframes scroll-left {
  100% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ------------------------------------FOR GROUP NEWS PAGE------------------------------------ */

/* Section */
.news-section {
    max-width: 1200px;
    margin: auto;
}

/* News Row */
.news-item {
    display: flex;
    align-items: center;
    padding: 5px 40px;
    gap: 40px;
}

/* Backgrounds */
.white-bg {
    background: #ffffff;
}

.light-bg {
    background: #e9f3f1;
}

/* Month, Year */
.month-year{
    color: #170fbd;
    font-weight: 700;
    font-size: x-large;
}

/* Image */
.news-img img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

/* Text */
.news-text {
    max-width: 1200px;
}

.news-text p {
    font-size: 22px;
    line-height: 1.35;
    color: #000;
}

/* Highlight styles */
.highlight {
    color: #1a5fb4;
    font-weight: 400;
}

.award{
    color: #b4241a;
    font-weight: 600; 
}

.publication-highlight {
    color: #b41a1a;
    font-weight: 700;
    font-style: italic;
}
/* ------------------------------------FOR About PI PAGE------------------------------------ */
.pi-container {
    width: 80%;
    margin: auto;
}

/* Header Layout */
.pi-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Photo */
.pi-photo img {
    width: 260px;
    padding: 10px;
}

/* Bio Box */
.pi-bio {
    padding: 5px;
}

.pi-bio h1 {
    color: rgb(11, 2, 66);
    margin-top: 30px;
}

.pi-bio p {
    text-align:justify;
    line-height: 1.6;
    font-size: 18px;
}

/* Social Icons */
.pi-social {
    margin: 30px 0;
    text-align: center;
}

.pi-social a {
    display: inline-block;
    width: 45px;
    height: 45px;
    margin: 0 6px;
    border-radius: 50%;
    color: white;
    line-height: 45px;
    font-size: 18px;
}

.pi-social a:nth-child(1) { background: rgb(163, 80, 80); }
.pi-social a:nth-child(2) { background: #1877f2; }
.pi-social a:nth-child(3) { background: black; }
.pi-social a:nth-child(4) { background: #a6ce39; }
.pi-social a:nth-child(5) { background: #0a66c2; }
.pi-social a:nth-child(6) { background: #0a66c2; }

/* Section Links */
.pi-links {
    text-align: center;
    margin-top: 40px;
}

.pi-links h3 {
    color: #003366;
    margin: 15px 0;
    cursor: pointer;
}

/*--For Academic & Professional Section---*/
.qualification-section {
    width: 80%;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

/* Title */
.section-title {
    font-size: 22px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    color: rgb(32, 65, 12);;
}

.section-title i {
    margin-right: 8px;
    color:rgb(32, 65, 12);;
}

/* Timeline */
.timeline {
    margin-top: 30px;
}

/* Each Row */
.timeline-item {
    display: grid;
    grid-template-columns: 80px 30px auto;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

/* Year */
.timeline-year {
    color: #090404;
    font-size: 16px;
}

/* Vertical Line */
.timeline-item::before {
    content: "";
    position: absolute;
    left: 85px;
    top: -30px;
    width: 2px;
    height: 120%;
    background: #e0e0e0;
}

/* Dot */
.timeline-dot {
    width: 14px;
    height: 12px;
    background: #53576a;
    border-radius: 50%;
    z-index: 1;
}

/* Content */
.timeline-content h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.timeline-content p {
    margin: 4px 0 0;
    color: #272525f3;
    font-size: 15px;
}

/* Award and Honor */
.honor {
  font-size: 15px;
  font-weight: 300;
  color: #000;
  display: justify;
  align-items: center;
  gap: 20px;
  padding: 8px;
}

.honor i {
  font-size: 15px;
  color: #292828;
}
/* -----------------------------------FOR TEACHING PAGE------------------------------------- */

/* MAIN GRID */
.teaching-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 30px 60px;
    text-align: center;
}
   
.bs-ms-pub-card{
    text-align:center;
}

.bs-ms-pub-card img {
    width: 90px;
    height: auto;
    margin-bottom: 20px;
}

/* CARD */
.teaching-card img {
    width: 90px;
    height: auto;
    margin-bottom: 20px;
}

.teaching-card h3 {
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0px;
}

.teaching-card h3 b {
    font-weight: 700;
    font-style: italic;
}

.teaching-card p {
    font-size: 15px;
    color: #270303;
    line-height: 1.8;
    max-width: 350px;
    margin: auto;
}
/* ------------------------------------------FOR PUBLICATIONS PAGE------------------------------------- */

/* Publications Cover Gallery */
.cover-gallery-section {
    margin-bottom: 20px;
}

.cover-gallery {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    justify-items: center;
    margin-left: 20px;
    margin-right: 20px;
}

.cover-gallery img {
    width: 100%;
    height: 270px;
    max-width: 220px;
    box-shadow: 0 6px 14px rgba(97, 95, 95, 0.881);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cover-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 5px rgba(0,0,0,0.25);
}

/*--- Publications Entry ----- */

/* Publications main heading */
.publications-heading {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    color: #2a143f;
    margin: 8px 0 10px;
}

/* Year Header */
.pub-year {
    background: linear-gradient(to right, #2a143f, #3b1d5a);
    color: white;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    padding: 1px 0;
    margin-bottom: 10px;
}

/* Publication Box */
.publication {
    display: grid;
    grid-template-columns: 220px 1fr 320px;
    gap: 10px;
    border: 1.5px solid #0c0a0a;
    padding: 10px;
    margin:0 20px 10px;
    background: white;
}

/* Journal Cover */
.pub-cover img {
    width: 90%;
    border: 1px solid #6e6b5e;
}

/* Publication Content */

.pub-content h3 {
    font-size: 17px;
    margin-bottom: 40px;
    line-height: 1.4;
    text-align: justify;
}

.pub-authors {
    font-size: 16px;
    margin-bottom: 40px;
}

.pub-authors a {
    color: #5a2ca0;
    text-decoration: none;
}

.pub-journal {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 15px;
}

/* View Button */
.view-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #8a5a3c;
    border-radius: 20px;
    color: #8a5a3c;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.download-btn:hover {
    background: #8a5a3c;
    color: white;
}

/* Graphical Abstract */
.pub-graphical img {
    height: auto;
    width: 100%;
    border: 1px dashed #888;
    padding: 1px;
}
/* ------------------------------------PUBLICATION FOR HYPER LINK PAGE------------------------------------ */
.projects {
    text-align: center;
    padding: 8px 5px;
}

.projects h2 {
    font-size: 25px;
    font-weight: normal;
    margin-bottom: 30px;
}

.year-links {
    font-size: 20px;
    line-height: 2;
}

.year-links a {
    text-decoration: none;
    color: #323030;
    margin: 0 4px;
    transition: color 0.3s;
}

.year-links a:hover {
    color: #850909;
}

.year-links a.active {
    color: #9e2807; /* Red for current year */
    font-weight: bold;
}

hr {
    margin-top: 30px;
    border: none;
    border-top: 1px solid #ddd;
}
/* ---------------------------------------FOR GROUP MEMBERS PAGE------------------------------------ */
/* Section */
.students-section {
    padding: 50px 20px;
    text-align: center;
}

.students-section h2 {
    font-size: 32px;
    color: rgb(32, 65, 12);;
    margin-bottom: 40px;
}

/* Grid */
.students-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(290px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* Grid */
.bsmsstudents-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(290px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* Card */
.student-card {
    background: #f1f4f4;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.student-card:hover {
    transform: translateY(10px);
}

/* Image */
.student-card img {
    width: 260px;
    height: 285px;
    object-fit: cover;
    border-radius: 49%;
    margin-bottom: 8px;
}

/* Text */
.student-card h3 {
    margin: 1px 0 2px;
    color: #0b3558;
    font-size:x-large;
}

.position {
    font-weight: bold;
    color: #55a315;
    margin-bottom: 10px;
    font-size: large;
}

.student-card ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
    text-align: center;
}

.student-card ul li {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 10px;
}

.social-links a {
    width:32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
}

/* Individual platform colors */
.instagram {
    color: #E1306C;
    border: 2px solid #E1306C;
}

.facebook {
    color: #1877F2;
    border: 2px solid #1877F2;
}

.twitter {
    color:black;
    border: 2px solid black;
}

.youtube {
    color: #FF0000;
    border: 2px solid #FF0000;
}

.linkedin {
    color: #0A66C2;
    border: 2px solid #0A66C2;
}

.scholar {
    color: #4285F4;
    border: 2px solid #4285F4;
}
.orcid {
    color: #a6ce39;
    border: 2px solid #a6ce39;
}

.gmail {
    color: #D44638;
    border: 2px solid #D44638;
}

/* Hover effect */
.social-links a:hover {
    background: currentColor;
    color: rgba(160, 156, 156, 0.721);
}
/* ----------------------------------------FOR ALUMNI PAGE -------------------------------------------*/

.alumni-section {
    text-align: center;
    padding: 60px 20px;
}

.alumni-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.alumni-card {
    background: transparent;
}

.alumni-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #171818;
}

.alumni-card h3 {
    margin-top: 18px;
    font-size: 22px;
    font-weight: bold;
}

.alumni-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}
/* --------------------------------------- FOR GALLERY PAGE --------------------------------- */
.gallery-section {
    text-align: center;
    padding: 30px 40px;
}

.gallery-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #0e1710;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.gallery-item img {
    width: 380px;
    height: 230px;
    object-fit: cover;
}

.gallery-item h3 {
    margin-top: 15px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #0e0e0e;
    font-weight: 600;
}

.gallery-head{
   
    color: rgb(37, 36, 36);
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    padding: 1px 0;
}

/* -----------------------------------FOR CONTACT PAGE------------------------------------ */
.contact-map {
    width: 50%;
}

.contact-map iframe {
    width:50%;
    height: 70px;
    border: 0;
}

/* Page Section */
.section {
    padding: 50px 80px;
}

.section h1 {
    margin-bottom: 20px;
    color: #15155c;
}

.section p, li {
    font-size: 18px;
    line-height: 1.6;
}

/* -----------------------------------FOR FOOTER ADDITION--------------------------------- */
.site-footer {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 8px;
    background: linear-gradient(to right, #236618, #28282b);
    font-size: 10px;
}
/* --EXTRA ADDITIONAL-- */
/* ----------------------------Stylist Heading---------------------------------------------- */
.stylis-heading{
    font-size: 48px;
    font-weight: 800;
    color: #000;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.stylis-heading span{
    color: #a52808; /* red US */
}

.stylis-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 120px;
    height: 4px;
    background-color: #7b1712;
}
/* ----------------------------Slide---------------------------------------------- */

.slideshow{
  width:850px;
  max-width:95%;
  margin:40px auto;
  position:relative;
}

.slideshow img{
  width:100%;
  height:450px;
  object-fit:cover;
  display:block;
}

/* buttons container */
.controls{
  position:absolute;
  top:15px;
  right:15px;
  opacity:0;
  transition:0.3s;
}

/* show buttons only on hover */
.slideshow:hover .controls{
  opacity:1;
}

/* button style */
.controls button{
  background:rgba(0,0,0,0.6);
  color:white;
  border:none;
  padding:12px 16px;
  margin-left:6px;
  font-size:18px;
  cursor:pointer;
}
