body { 
    font-family: "Roboto", sans-serif;
    margin: 0; 
    padding: 0; 
    text-align: center; 
    background: rgb(241, 241, 242); /* Light off-white color */ 
    color: black;
}

header { 
    background-color: rgba(6, 21, 92, 1);
    color: white; 
    padding: 15px 0; 
    display: flex; 
    flex-direction: column;  /* Align items vertically */
    align-items: center; 
    position: relative; 
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .top-bar { 
    display: flex; 
    align-items: center;
    justify-content: center;  /* Align logo and title on the same line */
    margin-bottom: 10px;  /* Space between logo/title and navigation */
}

header img { 
    height: 50px; 
    margin-right: 15px; 
}

h1 { 
    margin: 0; 
    font-size: 24px; 
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* 🔹 Slider Section */
.slider {
    width: 400px;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin: 10px auto; /* Center align */
}


.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid  rgba(161, 214, 226, 1);; /* Border issue fixed */
    border-radius: 2%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}


/* 🔹 Fade-Out Effect */
@keyframes fadeEffect {
    0% { opacity: 1; }
    80% { opacity: 0.8; }
    100% { opacity: 0.3; }
}
/* 🔹 latest news er jonno */
.news-section {
  display: flex;
  align-items: center;
  border: 2px solid #d18e8e;
  border-radius: 5px;
  overflow: hidden;
  margin: 20px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-label {
  width: 20%;
  background-color: #7d1315;
  color: white;
  text-align: center;
  padding: 5px;
  font-weight: bold;
  font-size: 1.1em;
}

.news-marquee {
  width: 80%;
  background-color: #f2dff1;
  padding: 5px;
}

/* 🔹 Team Section */
.team-section {
    width: 80%;
    margin: auto;
    padding: 20px;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.photo-box {
    width: 30%;
    aspect-ratio: 1 / 1; /* Square Shape */
    overflow: hidden;
    border-radius: 50%;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.text-box {
    width: 65%;
    padding: 15px;
    background: rgba(242, 223, 241, 0.5);
    border-radius: 5px;
    border: 2px solid rgba(22,22,22, 0.4); /* Border added */
}


.reverse {
    flex-direction: row-reverse;
}

footer {
    background-color: rgba(0, 0, 0, 0.8); /* Dark Transparent Background */
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

.footer-content p {
    margin: 5px 0;
}

/* 🔹 exam er table er jonno */

h2 {
    text-align: center;
    color: #1a73e8;
}

table {
        width: 80%; /* Default for laptops */
    border-collapse: collapse;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

table th, table td {
    border: 1px solid black;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #a1d6e2;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #ddd;
}
