/* 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;
}

/* ================= DESKTOP NAV ================= */
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    position: static; /* 🔥 FIX */
    background: none;
    width: auto;
}

.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 DESKTOP */
.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    list-style: none;
    width: 180px;
    border-radius: 5px;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 999;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    color: black;
    display: block;
}

.dropdown-menu li:hover {
    background: #f0f0f0;
}

/* SHOW DROPDOWN (DESKTOP) */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ================= 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;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #004080;

        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 15px;

        display: none; /* hidden by default */
        z-index: 1000;
    }

    .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 */
.footer {
    background: #004080;
    color: #fff;
    text-align: center;
    padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #004080;
        width: 200px;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}


/* CONTAINER */
.contact-container {
    width: 100%;
    padding: 20px;
}

/* FORM BOX */
.contact-box {
    max-width: 500px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease;
}

/* TITLE */
.contact-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #004080;
}

/* INPUT GROUP */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

/* INPUTS */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 5px;
    font-size: 14px;
}

/* LABEL ANIMATION */
.input-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #888;
    transform: translateY(-50%);
    transition: 0.3s;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

/* FLOAT EFFECT */
.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
    top: -8px;
    font-size: 12px;
    color: #004080;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #004080;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #002f5b;
    transform: scale(1.05);
}

/* SUCCESS MESSAGE */
.success {
    text-align: center;
    margin-bottom: 15px;
    color: green;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .contact-box {
        padding: 25px;
    }
}




.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;
}







/* career  */
/* CONTAINER */
.career-box {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease;
    margin-top: 100px;
    margin-bottom: 100px;
    
}
/* TITLE */
.career-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #002f5b;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.full {
    grid-column: span 2;
}

/* INPUT GROUP */
.input-group {
    position: relative;
}

/* INPUT */
.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

/* LABEL */
.input-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    background: white;
    padding: 0 5px;
    transition: 0.3s;
}

/* FLOAT EFFECT */
.input-group input:focus + label,
.input-group input:valid + label {
    top: -8px;
    font-size: 12px;
    color: #002f5b;
}

label.active {
    top: -8px;
    font-size: 12px;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #002f5b;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #001a33;
    transform: scale(1.05);
}

/* SUCCESS */
.success {
    text-align: center;
    margin-bottom: 15px;
    color: green;
}

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .full {
        grid-column: span 1;
    }
}


/* CONTAINER */


.admission-box {
    width: 100%;
    max-width: 500px;
    background: #fff;
    justify-content: center;
    align-items: center;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease;
    margin-top: 20px;
    margin-bottom: 20px;
}

.admission-container {
    min-height: calc(100vh - 80px); /* adjust navbar height */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* TITLE */
.admission-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #003366;
}

/* INPUT GROUP */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

/* INPUT & SELECT */
.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 5px;
    font-size: 14px;
}

/* LABEL */
.input-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    background: white;
    padding: 0 5px;
    transition: 0.3s;
}

/* FLOAT EFFECT */
.input-group input:focus + label,
.input-group input:valid + label {
    top: -8px;
    font-size: 12px;
    color: #003366;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #001a33;
    transform: scale(1.05);
}

/* SUCCESS */
.success {
    text-align: center;
    margin-bottom: 15px;
    color: green;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .admission-box {
        padding: 25px;
    }
}








/* chairman page -  */
/* RESET (IMPORTANT) */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CHAIRMAN SECTION */
.chairman-section {
    padding: 80px 60px;
    background: #f5f5f5;
}

/* CONTAINER */
.chairman-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;

    max-width: 1200px;
    margin: auto;
}

/* TEXT */
.chairman-text {
    flex: 1;
}

.chairman-text h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.chairman-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
}

/* IMAGE */
.chairman-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.chairman-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


@media (max-width: 768px) {
    .chairman-container {
        flex-direction: column;
        text-align: center;
    }

    .chairman-section {
        padding: 40px 20px;
    }

    .chairman-image img {
        max-width: 250px;
    }
}