*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
nav {
    height: 90px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.847);
    padding: 20px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid rgb(91, 102, 242);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 30px;
    height: 4px;
    background-color: rgb(0, 0, 0);
    margin: 5px 0;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: lime;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: rgb(0, 0, 0);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links li a:hover::after {
    width: 100%;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(91, 102, 242);
    list-style: none;
    padding: 15px 0;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;

}

.dropdown li a {
    color: white;
    padding: 10px 20px;
    display: block;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dropdown li a:hover {
    color: lime;
}

.nav-links li:hover .dropdown {
    display: block;
}
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo p{
    font-size: 20px;
    margin-top: 18px;
    margin-left: 10px;
    color: #1976d2;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    nav {
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 100;
        padding-bottom: 10px;
        margin-top: 20px;
        background-color: rgb(91, 102, 242);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-links li a {
        color: white;
    }

    .dropdown {
        position: static;
        width: 100%;
        transform: none;
    }

    .dropdown li {
        text-align: center;
    }
    .logo p{
        font-size: 17px;
    }
}





.faculty {
    text-align: center;
    margin-top: 50px;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e90ff; /* Bright blue */
    margin-bottom: 40px;
    margin-top: 120px;
    opacity: 0;
    animation: fadeIn 1s forwards;
  }
  
  .faculty-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
    margin-bottom: 50px;
    padding: 0 50px;
  }
  
  .faculty-item {
    width: 250px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s forwards;
  }
  
  .faculty-item:nth-child(1) {
    animation-delay: 0.6s;
  }
  
  .faculty-item:nth-child(2) {
    animation-delay: 0.8s;
  }
  
  .faculty-item:nth-child(3) {
    animation-delay: 1s;
  }
  
  .faculty-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
  
  .faculty-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    object-fit: cover;
  }
  .faculty-image:hover{
    transform: scale(1.05);
  }

  .faculty-info {
    font-size: 1rem;
  }
  
  .faculty-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1e90ff;
    margin-bottom: 10px;
  }
  
  .faculty-designation,
  .faculty-qualification,
  .faculty-experience {
    font-size: 1rem;
    color: #666;
    margin: 5px 0;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsiveness */
  @media (max-width: 768px) {
    .faculty-container {
      flex-direction: column;
      align-items: center;
    }
  }
  
  @media (max-width: 480px) {
    .faculty-item {
      width: 90%;
    }
  
    .section-title {
      font-size: 2rem;
    }
  }




footer {
    background: rgb(18, 22, 77);
    color: white;
    padding: 30px 0;
    text-align: center;
}


footer h2{
    color: white;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.footer-section {
    width: 250px;
    margin-bottom: 20px;
}

.footer-section h2 {
    font-size: 20px;
    margin: 15px 0;
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;

    &:hover {
        color: #1abc25;
    }
}

.footer-section .contactme,
.socialme {
    display: flex;
    flex-direction: column;
}


.footer-section .aboutme {
    display: flex;
    justify-content: center;
}

.socialme a {
    text-decoration: none;
    color: white;
    font-size: 25px;
    padding-bottom: 10px;
}

/* Responsive Design */
@media (min-width: 768px) {
    main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .google-map {
        grid-column: span 2;
    }
}