/* Dark Theme Update for Faculty Page */

/* Base styling */
body {
    font-family: 'Calibri', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #121212 0%, #1e1e2d 100%);
    color: #e0e0e0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuXzAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHBhdGggZD0iTSAtNSw1IEwgNSw1IiBzdHJva2U9IiMyYTJhM2EiIHN0cm9rZS13aWR0aD0iMC41Ii8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm5fMCkiLz48L3N2Zz4='), linear-gradient(135deg, #121212 0%, #1e1e2d 100%);
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}



/* Header styling */
header {
    text-align: center;
    padding: 30px 20px;
    margin: 10vh auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

header h1 span, header h2 span {
    font-size: 50px;
    font-weight: bold;
    color: #f0f0f0;
    text-decoration: none;
    background: rgb(0, 0, 0);
    padding: 10px 25px;
    display: inline-block;
    transition: all 0.3s ease;
    background-color: #2a1b124a;
    color:#ff5e00;
    box-shadow: 0 0 20px #5a3c37ec;
    border-radius: 20px;
    margin: 0 auto;
    text-align: center;
}


/* Faculty cards styling */
.faculty-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 20px;
    padding: 36px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.faculty-card {
    background: rgba(20, 20, 26, 0.8);
    box-shadow: 0 10px 20px rgba(110, 108, 108, 0.25);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    width: 299px;
    height: 420px;
    transition: all 0.4s ease;
    transform: translateY(0);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faculty-card:hover {
    transform: translateY(-15px);
    background: rgba(30, 30, 40, 0.8);
    box-shadow: 0 10px 20px rgba(110, 108, 108, 0.405);
}

.faculty-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid rgba(255, 98, 0, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 98, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.faculty-card:hover .faculty-photo {
    border-color: rgba(79, 79, 255, 0.3);
    transform: scale(1.05);
}

h3 {
    font-size: 20px;
    margin: 20px 0 8px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

p {
    font-size: 16px;
    color: #c0c0c0;
    margin: 0 0 20px;
    font-weight: 400;
    line-height: 1.4;
}

/* Read more button styling */
a.read-more {
    text-decoration: none;
    margin-top: auto;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 98, 0, 0.1), rgba(255, 98, 0, 0.2));
    color: #ff6200;
    border: 2px solid rgba(255, 98, 0, 0.3);
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more:hover {
    background: linear-gradient(135deg, rgba(255, 98, 0, 0.2), rgba(255, 98, 0, 0.3));
    border-color: rgba(255, 98, 0, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 98, 0, 0.3);
}

/* Dialog/Popup styling */
dialog {
    background: transparent;
    border: none;
    padding: 0;
}

.popup {
    color: #e0e0e0;
    border-radius: 15px;
    max-width: 600px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.overlay{
    background-color: #121212;
}
.content{
    background-color: #10141a;   
}
@media (max-width: 700px){
    .popup.wrapper{
        width: 92% !important;
    }
}

/* Accordion styling */
.accordion {
    margin: 15px 0;
    width: 100%;
}

.accordian-li {
    list-style: none;
    width: 100%;
    margin-bottom: 10px;
    background: rgba(15, 20, 30, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.accordion label {
    padding: 12px 15px;
    background: linear-gradient(45deg, #0f3460, #533483);
    color: white;
    cursor: pointer;
    display: block;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.accordion label:hover {
    background: linear-gradient(45deg, #533483, #0f3460);
}

.dropdown-content {
    background: rgba(20, 25, 35, 0.9);
    padding: 15px;
    border-radius: 0 0 8px 8px;
    display: none;
}

.accordion input:checked ~ .dropdown-content {
    display: block;
    animation: fadeIn 0.5s ease;
}

    .dropdown-content ul {
        padding-left: 20px;
        /*margin: 0;*/
    }

    .dropdown-content li {
        color: #d0d0d0;
        margin: 8px 0;
    }

/* Animation for accordion */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {
    .faculty-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
        justify-items: center;
        padding: 20px;
    }
    .faculty-card {
        width: 100%;
        max-width: 280px;
        height: auto;
        padding: 25px 20px;
    }
    .faculty-photo {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 576px) {
    header h1 span, header h2 span {
        font-size: 36px;
        padding: 8px 15px;
    }
    
    .faculty-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 25px 15px;
    }
    .faculty-card {
        width: 100%;
        max-width: 340px;
        height: auto;
        margin: 0 auto;
        padding: 30px 25px;
    }
    
    .faculty-photo {
        width: 180px;
        height: 180px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    p {
        font-size: 15px;
    }
}

/* Input and radio buttons styling */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 0;
    height: 0;
}

/* Add some particle effects to the background */
.particle {
    position: fixed;
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    border-radius: 50%;
}
  
  
  
  
  @media (max-width: 576px) {
  body {
    padding-top: 60px;
    }
}


/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background-color: rgba(25, 25, 35, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar:hover {
    background-color: rgba(25, 25, 35, 0.95);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: none;
    box-shadow: none;
}

.logo1 > img {
    max-height: 60px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 98, 0, 0.3));
}

.navbar-nav {
    width: auto;
    display: flex;
    justify-content: space-around;
    margin-left: auto;
}

.nav-item {
    margin: 0 10px;
    position: relative;
}

.nav-link-text {
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link-text:hover {
    color: #ff6200;
}

.nav-link-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff6200;
    transition: width 0.3s ease;
}

.nav-link-text:hover::after {
    width: 100%;
}

.nav-link-text[style*="color: #ff5e00"] {
    color: #ff6200 !important;
}

.nav-link-text[style*="color: #ff5e00"]::after {
    width: 100%;
}

@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
        border: none;
        background: rgba(255, 98, 0, 0.1);
        color: #ff6200;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(18, 18, 24, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        padding: 1rem;
        z-index: 1000;
        border-top: 1px solid rgba(255, 98, 0, 0.2);
    }
  
    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
  
    .nav-item {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
  
    .logo1 > img {
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .logo1 > img {
        max-height: 40px;
    }
  
    .nav-link-text {
        font-size: 12px;
    }
    
    h1 {
        font-size: 1.5rem;
        padding: 0 15px;
    }
}
a{
    text-decoration: none;
}
ul{
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul li{
    /*list-style: none;*/
    margin-left: 60px;
    margin-top: 30px;
    font-size: 14px;
}

ul li a{
    text-decoration: none;
    color: #fff;
    font-family: Arial;
    font-weight: bold;
    transition: 0.4s ease-in-out;
}

ul li a:hover{
    color: #ff7200;
}