body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* new navigation */
.navbar {
    background-color: #343a40;
}
.navbar-brand,.nav-link {
	color: white !important;
}
.nav-link:hover {
	background-color: #495057;
}

/* ---- Sidebar (Fixed + Responsive) ---- */
        
.sidebar {
    width: 250px;
    background: #343a40;
    color: white;
    position: fixed;
    height: 100vh;
    padding-top: 20px;
    transition: all 0.3s ease-in-out;
}

.sidebar .nav-link {
    color: white;
}
.sidebar .nav-link:hover {
    background: #495057;
}

/* Mobile ke liye sidebar hide hoga */
@media (max-width: 991px) {
    .sidebar {
        display: none;
    }
    .content {
        margin-left: 0 !important;
    }
}

/* Content Section */
.content {
    margin-left: 260px;
    padding: 20px;
}
.profile-img {
    border-radius: 50%;
    width: 120px;
}
.bio-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.carousel-inner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
} 

/* ---- Banner Section ---- */
.banner {
    position: relative;
    background-color: black;
    height: 75vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ---- Video Background Fix ---- */
.banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* ---- Overlay for Profile & Text ---- */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
}

/* ---- Profile Image ---- */
.b-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* ---- Responsive Adjustments ---- */
@media (max-width: 768px) {
    .banner {
        height: 50vh;
    }
    .b-profile-img {
        width: 80px;
        height: 80px;
    }
    .overlay {
        width: 95%;
    }
}
        
        
.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #ccc;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
}
.left {
    text-align: center;
    position: relative;
    left: 0;
}
.right {
    position: relative;
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 3px solid blue;
    border-radius: 50%;
    top: 15px;
    right: -10px;
    z-index: 1;
}
.right::after {
    left: -10px;
    right: auto;
}
.content1 {
    text-align: center;
    padding: 6px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    border-bottom: 10px solid #343a40;
    border-bottom-left-radius: 60px;
}
.content2 {
     text-align: center;
    padding: 6px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    border-bottom: 10px solid #343a40;
    border-bottom-right-radius: 60px;
    
}
@media screen and (max-width: 600px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 25px;
    }
    .timeline-item::after {
        left: 10px;
        right: auto;
    }
    .right {
        left: 0;
    }
}

/* Toggle Button Styling */
.btn-toggle {
    background-color: white;
    color: gray;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease-in-out;
    border: 1px solid gray;
    margin-bottom: 20px;
}

.btn-toggle:hover {
    background-color: #f8f9fa;
}

/* Arrow Toggle Animation */
.btn-toggle::after {
    content: "▼";
    font-size: 1rem;
    transition: transform 0.3s ease-in-out;
}

.btn-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Collapsible Content */
.collapse-content {
    padding: 15px;
    background: white;
}

/* Default Layout for Larger Screens */
.container1 {
    margin-left: 270px;
    margin-right: 15px;
    max-width: calc(100% - 285px);
}

/* Responsive Design */

/* Large Screens (Desktops & Laptops) */
@media (max-width: 1366px) {
    .container1 {
        margin-left: 200px;
        margin-right: 10px;
        max-width: calc(100% - 210px);
    }
}

/* Medium Screens (Tablets & Small Laptops) */
@media (max-width: 1024px) {
    .container1 {
        margin-left: 100px;
        margin-right: 10px;
        max-width: calc(100% - 110px);
    }
}

/* Small Devices (Mobile Phones) */
@media (max-width: 768px) {
    .container1 {
        margin-left: 0;
        margin-right: 0;
        padding: 10px;
        max-width: 100%;
    }

    .btn-toggle {
        font-size: 1rem;
        padding: 10px;
    }

    .card {
        padding: 10px;
        margin: 0; /* Remove negative margins */
        max-width: 100%;
    }
}

/* Extra Small Devices (Small Phones) */
@media (max-width: 576px) {
    .container1 {
        width: 100%;
        margin: 0;
        padding: 5px;
        box-sizing: border-box;
    }

    .card {
        padding: 10px;
        margin: 0; /* Remove unnecessary negative margins */
        max-width: 100%;
    }

    .btn-toggle {
        font-size: 0.9rem;
        padding: 8px;
    }
}

/* Align H1 text to left */
.research-pageh1 {
    font-size: calc(1.3rem + .6vw);
}
.research-pageh2 {
    font-size: calc(1.3rem + .6vw);
}

.container2 {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-left: 280px;
    margin-right: 20px;
    margin-bottom: 20px;

}
.grid {
    display: flex;
    justify-content: center;
    gap: 56px;
    padding: 20px;
}
.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.grid img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.grid h4 {
    margin-top: 5px;
    text-align: center;
    font-size: 14px;
}
@media (max-width: 1024px) {
    .grid {
        gap: 15px;
    }
    .grid img {
        width: 90px;
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .container2 {
        background-color: white;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-left: 20px;
        margin-right: 20px;

    }
    .grid {
        flex-direction: column;
        align-items: center;
    }
    .grid-item {
        width: 100%;
        text-align: center;
    }
    .grid img {
        width: 80px;
    }
}


.grid3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 20px;
}
.grid-item3 h4{
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}
.grid-item3 {
    text-align: center;
}
.grid-item3 img {
    width: 100px;
    height: auto;
}

/* Media Query for Tablets (iPad) */
@media (max-width: 1024px) {
    .grid3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .grid3 {
        grid-template-columns: repeat(2, 1fr);
    }
}


.profile-img1 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 20px;
}
.bio1 {
    flex: 1;
}
.header1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
h1, h2 {
    color: #2c3e50;
    margin: 0;
}
p {
    line-height: 1.6;
    color: #333;
}
.contact1 {
    font-weight: bold;
}







.container3 {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: 272px;

}
.carousel-item {
    text-align: center;
    padding: 20px;
}
.testimonial {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    font-style: italic;
    border-bottom: 12PX solid #343a40;
    margin: 10px;
    width: 45%; /* Show two testimonials side by side */
}
.carousel-inner {
    display: flex;
}
.carousel-item .row {
    display: flex;
    justify-content: center;
}
/* Responsive Design */
@media (max-width: 768px) {
    .testimonial {
        width: 100%; /* Show one testimonial per slide on smaller screens */
    }
    
.container3 {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
margin-left:20px;
}
}
.profile-img1 {
    width: 320px; /* Default size for large screens */
    border-radius: 30%;
    height: 300px;
    margin-right: 200px;
    margin-top: 20px;

}
/* Responsive Design */
@media (max-width: 1024px) {
    .profile-img1 {
        width: 100px; /* Medium screens */
    }
}
@media (max-width: 768px) {
    .testimonial {
        width: 100%; /* Show one testimonial per slide on smaller screens */
    }
    .profile-img1 {
        width: 220px; /* Smaller screens */
        border-radius: 50%;
        height: 200px;
        margin-right: 96px;
       
    }
}
@media (max-width: 480px) {
    .profile-img1 {
        width: 220px;
        height: 130px;
        border-radius: 50%;
        margin-right: 6px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 304px;
    }
}
.btnbar
{
background-color: white;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.grid-item {
  width: 250px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.grid-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.grid-item p {
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0;
  color: #333;
}

.grid-item h4 {
  font-size: 14px;
  font-weight: normal;
  color: #666;
  margin: 0;
}

