  body {
    font-family: "Poppins", Arial, sans-serif;
    margin:0;
    background: linear-gradient(135deg, #0b4d7a, #1a9bb8);
    min-height:100vh;
    display:flex;
    color:#222;
  }

 
.sidebar {
  width:260px;                 
  background:#0b4d7a;
  color:white;
  padding:40px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  box-shadow:4px 0 15px rgba(0,0,0,0.3);

  position:fixed;              
  top:0;
  bottom:0;
  left:0;
  overflow-y:auto;             /* scroll inside sidebar if content too long */
}

/* Main Content */
.main {
  margin-left:280px;           /* leave space for sidebar */
  padding:30px;
  flex:1;
}

  .sidebar img {
    width:250px;
    height:250px;
    border-radius:50%;
    object-fit:cover;
    border:10px solid #fff;
    box-shadow:0 6px 18px rgba(0,0,0,0.4);
    margin-bottom:10px;
  }
  .sidebar h1 {
    font-size:1.4rem;
    text-align:center;
    margin:10px 0 5px;
  }
  .sidebar .subtitle {
    font-size:0.9rem;
    text-align:center;
    opacity:0.9;
    margin-bottom:20px;
    font-family: 'Courier New', Courier, monospace;
  }
  .sidebar .contact {
    font-size:1.05rem;
    text-align:center;
    margin-top:auto;
    opacity:0.85;
  }
  .sidebar .photo {
  width: 250px;              
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;    
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  margin-bottom: 2px;
}

.sidebar .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;        
  object-position: center 5px ; 
 
  filter: brightness(1.25) contrast(1.05);   /* Increase brightness by 15% */


}






  /* ===== Main Section ===== */
  .main {
    flex:1;
    display:flex;
    flex-direction:column;
    padding:30px;
  }

  /* ===== Tab Buttons ===== */
  .tab-bar {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
  }
  .tab-bar button {
    padding:10px 18px;
    border:none;
    border-radius:25px;
    background-color:aliceblue;
    color:#0b4d7a;
    font-weight:600;
    cursor:pointer;
    transition: all 0.3s ease;
  }
  .tab-bar button:hover {
    background: blanchedalmond ;
  }
  .tab-bar button.active {
    background:#0b4d7a;
    color:white;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
  }

  /* ===== Content Cards ===== */
  .tab-content {
    display:none;
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    animation: fadeIn 0.6s ease;
  }
  .tab-content.active {display:block;}
  h2 {
    color:#0b4d7a;
    margin-bottom:12px;
    border-left:5px solid #0b4d7a;
    padding-left:10px;
  }

 
 
  /* ===== Animations ===== */
  @keyframes fadeIn {
    from {opacity:0; transform:translateY(20px);}
    to {opacity:1; transform:translateY(0);}
  }

  /* ===== Responsive ===== */
  @media (max-width:900px){
    body {flex-direction:column;}
    .sidebar {
      width:100%;
      flex-direction:row;
      justify-content:center;
      text-align:center;
      padding:20px;
    }
    .sidebar img {
      width:80px;
      height:80px;
      margin:0 15px 0 0;
    }
    .sidebar h1 {font-size:1.2rem;}
    .sidebar .subtitle {font-size:0.8rem; margin-bottom:0;}
    .main {padding:20px;}
  }
  p{
    line-height:1.6;
    margin-bottom:10px;
    
  }
  /* ===== About Section Styling ===== */
.about-text {
  font-size:1.05rem;
  line-height:1.8;
  color:#333;
  text-align:justify;
  padding:18px 22px;
  background:linear-gradient(135deg, #fdfdfd, #f5faff);
  border-left:6px solid #0b4d7a;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.about-text strong {
  color:#0b4d7a;
}

.about-quote {
  margin-top:15px;
  padding:14px 20px;
  font-style:italic;
  background:#f0f7fb;
  border-left:4px solid #1a9bb8;
  border-radius:8px;
  color:#444;
}
/* ===== Research Section ===== */
.research-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  margin-top:20px;
}

.research-card {
  background:linear-gradient(135deg,#fdfdfd,#f5faff);
  border-left:6px solid #0b4d7a;
  padding:20px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
  transform:translateY(-6px);
  box-shadow:0 12px 24px rgba(0,0,0,0.12);
}

.research-card h3 {
  margin:0 0 10px;
  font-size:1.05rem;
  color:#0b4d7a;
}

.research-card p {
  font-size:0.95rem;
  color:#333;
  line-height:1.6;
}
/* ===== Awards Section ===== */
/* ===== Awards Section ===== */
.awards-timeline {
  position:relative;
  margin:30px 0;
  padding-left:40px;
}

.awards-timeline::before {
  content:"";
  position:absolute;
  left:20px;
  top:0;
  bottom:0;
  width:4px;
  background:#0b4d7a;
  border-radius:2px;
}

.award-item {
  position:relative;
  margin-bottom:30px;
  padding:20px 25px;
  background:linear-gradient(135deg,#ffffff,#f5faff);
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.award-item:hover {
  transform:translateY(-5px);
  box-shadow:0 12px 24px rgba(0,0,0,0.12);
}

.award-item::before {
  content:"🏆";
  position:absolute;
  left:-38px;
  top:20px;
  font-size:1.2rem;
  background:white;
  border:2px solid #0b4d7a;
  color:#0b4d7a;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.award-year {
  font-weight:600;
  color:#0b4d7a;
  margin-bottom:6px;
}

.award-title {
  font-size:1.05rem;
  font-weight:600;
  margin-bottom:6px;
  color:#333;
}

.award-desc {
  font-size:0.95rem;
  color:#555;
  line-height:1.6;
}
/* ===== Qualification Section ===== */
.qualifications-timeline {
  position:relative;
  margin:30px 0;
  padding-left:40px;
}

.qualifications-timeline::before {
  content:"";
  position:absolute;
  left:20px;
  top:0;
  bottom:0;
  width:4px;
  background:#0b4d7a;
  border-radius:2px;
}

.qualification-item {
  position:relative;
  margin-bottom:30px;
  padding:20px 25px;
  background:linear-gradient(135deg,#ffffff,#f5faff);
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.qualification-item:hover {
  transform:translateY(-5px);
  box-shadow:0 12px 24px rgba(0,0,0,0.12);
}

.qualification-item::before {
  content:"🎓";
  position:absolute;
  left:-38px;
  top:20px;
  font-size:1.2rem;
  background:white;
  border:2px solid #0b4d7a;
  color:#0b4d7a;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.qual-degree {
  font-weight:600;
  color:#0b4d7a;
  font-size:1.05rem;
  margin-bottom:6px;
}

.qual-institute {
  font-size:0.95rem;
  color:#333;
  margin-bottom:4px;
}

.qual-year {
  font-size:0.9rem;
  color:#666;
}
/* ===== Experience Section ===== */
.experience-timeline {
  position:relative;
  margin:30px 0;
  padding-left:40px;
}

.experience-timeline::before {
  content:"";
  position:absolute;
  left:20px;
  top:0;
  bottom:0;
  width:4px;
  background:#0b4d7a;
  border-radius:2px;
}

.experience-item {
  position:relative;
  margin-bottom:30px;
  padding:20px 25px;
  background:linear-gradient(135deg,#ffffff,#f5faff);
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover {
  transform:translateY(-5px);
  box-shadow:0 12px 24px rgba(0,0,0,0.12);
}

.experience-item::before {
  content:"💼";
  position:absolute;
  left:-38px;
  top:20px;
  font-size:1.2rem;
  background:white;
  border:2px solid #0b4d7a;
  color:#0b4d7a;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.exp-role {
  font-weight:600;
  color:#0b4d7a;
  font-size:1.05rem;
  margin-bottom:6px;
}

.exp-org {
  font-size:0.95rem;
  color:#333;
  margin-bottom:6px;
}

.exp-duration {
  font-size:0.9rem;
  color:#666;
  font-style:italic;
}
/* ===== Patents Section ===== */
.patent-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:20px;
  margin-top:20px;
}

.patent-card {
  background:linear-gradient(135deg, #ffffff, #f5faff);
  border-left:6px solid #0b4d7a;
  padding:20px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  position:relative;
}

.patent-card:hover {
  transform:translateY(-6px);
  box-shadow:0 12px 24px rgba(0,0,0,0.12);
}

.patent-icon {
  position:absolute;
  top:-18px;
  right:15px;
  font-size:1.8rem;
  color:#0b4d7a;
  opacity:0.2;
}

.patent-title {
  font-weight:600;
  font-size:1rem;
  color:#0b4d7a;
  margin-bottom:10px;
}

.patent-info {
  font-size:0.95rem;
  color:#333;
  margin-bottom:6px;
}

.patent-appno {
  font-size:0.9rem;
  color:#444;
  background:#e8f3f9;
  display:inline-block;
  padding:4px 8px;
  border-radius:6px;
  margin-top:6px;
}
/* ===== Publications Section ===== */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.publication-card {
  background: linear-gradient(135deg, #ffffff, #f5faff);
  border-left: 6px solid #0b4d7a;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.publication-icon {
  position: absolute;
  top: -15px;
  right: 15px;
  font-size: 1.6rem;
  color: #0b4d7a;
  opacity: 0.2;
}

.pub-title {
  font-weight: 600;
  font-size: 1rem;
  color: #0b4d7a;
  margin-bottom: 6px;
}

.pub-authors {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 4px;
}

.pub-journal {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.pub-doi a {
  font-size: 0.85rem;
  background: #0b4d7a;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.pub-doi a:hover {
  background: #1a9bb8;
}
/* ===== Projects Section ===== */
.projects-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 30px;
}

.summary-card {
  flex: 1;
  min-width: 220px;
  background: linear-gradient(135deg,#ffffff,#f5faff);
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-left: 6px solid #0b4d7a;
}

.summary-card h3 {
  font-size: 1.3rem;
  color: #0b4d7a;
  margin-bottom: 8px;
}
.summary-card p {
  font-size: 0.95rem;
  color: #444;
}

.project-section-title {
  margin-top: 30px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #0b4d7a;
  border-bottom: 2px solid #0b4d7a;
  padding-bottom: 5px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-card {
  background: linear-gradient(135deg,#ffffff,#f5faff);
  border-left: 6px solid #1a9bb8;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.project-title {
  font-weight: 600;
  color: #0b4d7a;
  margin-bottom: 6px;
}

.project-meta {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 4px;
}
/* ===== Publication Filter Buttons ===== */
.pub-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pub-filter button {
  padding: 8px 16px;
  border: none;
  border-radius: 25px;
  background: rgba(11,77,122,0.1);
  color: #0b4d7a;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pub-filter button:hover {
  background: rgba(11,77,122,0.2);
}
.pub-filter button.active {
  background: #0b4d7a;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== Hide/Show Animation ===== */
.publication-card {
  display: none; /* hidden by default */
}
.publication-card.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {opacity:0; transform:translateY(10px);}
  to {opacity:1; transform:translateY(0);}
}
.sidebar img {
  position: relative;
  top: -10px;   
  right:10px;/* move upward by 20px */
}
.exp-logo {
  position: absolute;
  left: 20px;
  width: 90px;   /* increase size */
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keep logo proportions */
  padding: 8px;        /* optional: space inside circle */
}

/* Adjust padding in experience card so text doesn't overlap */
.experience-item {
  padding: 20px 25px 20px 130px; /* was 80px, now extra space for bigger logo */
}

/* ===== Project Filter Buttons ===== */


.section-title {
  color: #0b4d7a;
  font-size: 1.8rem;
  margin-bottom: 15px;
  border-left: 5px solid #0b4d7a;
  padding-left: 10px;
  font-weight: bold;
}

/* Buttons */
.project-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.project-filter button {
  background-color: #e3edf7;
  color: #0b4d7a;
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-filter button:hover {
  background-color: #cde3f8;
}

.project-filter button.active {
  background-color: #0b4d7a;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Summary Dashboard */
.project-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 30px;
}

.summary-card {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-5px);
}

.summary-card h3 {
  color: #0b4d7a;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

/* Project Cards */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  display: none;
  align-items: center;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 20px;
  gap: 20px;
  transition: all 0.4s ease;
}

.project-card.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.project-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}

.project-info h3 {
  color: #0b4d7a;
  margin: 0 0 6px;
}

.project-info p {
  font-size: 0.9rem;
  margin: 3px 0;
}

@keyframes fadeIn {
  from {opacity:0; transform: translateY(10px);}
  to {opacity:1; transform: translateY(0);}
}

/* Responsive */
.project-logo {
  width: 80px;              /* Adjust size if needed */
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;        /* Keeps clean background */
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* Ensures full logo stays visible */
  padding: 5px;             /* Keeps spacing so edges don’t touch */
}
 /* NEW */

 
.exp-logo {
  width: 80px;              /* Adjust size if needed */
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;        /* Keeps clean background */
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.exp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* Ensures full logo stays visible */
  padding: 5px;             /* Keeps spacing so edges don’t touch */
}



/* ===== RESPONSIVE FIX FOR SIDEBAR + CONTENT ===== */

/* Keep sidebar fixed and content scrollable */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px; /* adjust as per your current sidebar width */
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

/* Content adjusts automatically beside sidebar */
.content {
  margin-left: 280px; /* must match sidebar width */
  width: calc(100% - 280px);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* For medium screens (tablets) */
@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
  }
  .content {
    margin-left: 240px;
    width: calc(100% - 240px);
  }
}

/* For smaller tablets and large phones */
@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none;
  }

  .content {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }

  /* Adjust buttons and headings */
  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .menu button {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

/* For small mobile screens */
@media (max-width: 480px) {
  .sidebar {
    padding: 10px;
  }
  

  .menu button {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .content {
    padding: 15px;
  }
}







/* ===== Fix Sidebar Height & Add Content Gap ===== */

/* Ensure sidebar uses full height and can scroll if needed */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px; /* keep your width */
  height: 100vh;
  overflow-y: auto; /* allows scroll if content exceeds screen */
  padding-bottom: 30px; /* extra space at bottom */
  box-sizing: border-box;
}

/* Adjust content spacing so it doesn’t touch sidebar */
.content {
  margin-left: 300px; /* sidebar width + small gap */
  padding: 40px;
  width: calc(100% - 320px); /* added gap of ~20px visually */
  box-sizing: border-box;
}

/* Optional subtle visual spacing */
@media (min-width: 1025px) {
  .content {
    margin-left: 310px; /* adds ~10px space between sidebar & content */
  }
}
