/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* BODY */
body {
    background: #f5f5f5;
    margin: 0;
}

.logo img{
    width: 150px;
    height: auto;
}
/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 50px;
    background: #004080;
    color: white;
    position: relative;
}

/* LOGO */
.logo h2 {
    font-size: 24px;
}

/* CENTER NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    color: black;
    list-style: none;
    width: 160px;
    border-radius: 5px;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    color: black;
    display: block;
}

.dropdown-menu li:hover {
    background: #f0f0f0;
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    list-style: none;
    width: 180px;
    border-radius: 5px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;

    overflow: visible;   /* ✅ VERY IMPORTANT FIX */
    z-index: 999;
}




/* RIGHT BUTTONS */
.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

/* CAREER BUTTON */
.career {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.career:hover {
    background: white;
    color: #004080;
}

/* ADMISSION BUTTON */
.admission {
    background: #ffd700;
    color: black;
    font-weight: bold;
}

.admission:hover {
    background: #ffcc00;
    transform: scale(1.05);
}

/* MENU TOGGLE */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        transform: none;
        width: 100%;
        background: #004080;
        flex-direction: column;
        display: none;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-buttons {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* MOBILE DROPDOWN */
    .dropdown-menu {
        position: static;
        background: #003060;
        color: white;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: white;
    }
}






.footer {
  background: linear-gradient(135deg, #0a3d62, #1e5f9e);
  color: white;
  padding: 50px 60px 20px;
}

/* CONTAINER */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* SECTIONS */
.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h2 {
  margin-bottom: 15px;
  font-size: 22px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section p {
  margin: 8px 0;
  font-size: 14px;
}

/* LINKS */
.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #00c3ff;
}

/* BRANCH */
.branch {
  margin-top: 15px;
}

.branch h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-size: 14px;
}







/* HERO IMAGE */
.hero {
    margin: 20px;
}

.hero img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    border-radius: 10px;
}

.head {
    margin-top: 30px;
    margin-bottom: 30px;
}

.head h1{
    font-size: 50px;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

/* STAFF SECTION */
.staff-section {
    padding: 40px 80px;
}

/* STAFF CARD */
.staff-card {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
}

/* IMAGE */
.staff-img img {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* fully round */
    object-fit: cover;
}

/* TEXT */
.staff-info h2 {
    font-size: 30px;
    color: #004080;
}

.staff-info .post {
    font-size: 25px;
    color: #555;
    margin-left: 10px;
}

.staff-info .qualification {
    margin-top: 8px;
    font-size: 20px;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    
    .hero img{
        width: 100%;
        height: 20px;
    }
    .staff-section {
        padding: 20px;
    }

    .staff-card {
        flex-direction: column;
        text-align: center;
    }

    .staff-img img {
        width: 100px;
        height: 100px;
    }
}