header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 15px 5%;
    background: transparent;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
   background-color: #0a2039;
    
}

nav a {
    margin: 0 12px;
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #ee1717;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    left: 0;
    bottom: -5px;
    background: #0077ff;
    transition: 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}


.hero {
   
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    text-align: center;
    
    
}


.hero h1 {
    font-size: 48px;
    text-shadow: 2px 2px 8px black;
    margin-top: 100px;

}

.hero p {
    font-size: 20px;
    margin-top: 10px;
}



body {
  background-color: #f7f9fb;
  color: #333;
}


.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


.site-header {
  background-color: #0a2039;
  color: white;
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-header .brand .logo {
  width: 150px;
  height: auto;
}

.site-header  input {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 250px;
}


.main-content {
  padding: 40px 0;
}

.intro {
  text-align: center;
  margin-bottom: 40px;
}

.intro h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0a2039;
}

.intro p {
  font-size: 16px;
  color: #555;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.teacher-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.teacher-card img.teacher-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.teacher-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #0a2039;
}

.teacher-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}


footer {
    text-align: center;
    padding: 20px;
    background: #342929;
    color: white;
}
