
:root {
    --bg-dark: #060b1a;
    --accent-blue: #00d4ff;
    --nav-height: 50px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    overflow-x: hidden;
}

/* --- Navigation Header --- */
#शीर्षपट्टिका {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    background: rgba(6, 11, 26, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    padding : 5px;
    box-sizing: border-box;
}

#चिह्नम् {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
    transition: all 0.3s ease;
}
#चिह्नम्:hover {
    transform: scale(5);
    transform-origin: top left;
}

#मार्गसञ्चारकडी {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

#मार्गसञ्चारकडी a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

#मार्गसञ्चारकडी a:hover {
    color: yellow;
    transform: translateY(-2px) scale(1.05); 
    display: inline-block;
}

/* --- Hero Image (Full Visibility Layout) --- */
.संस्थाचित्र-पात्रम् {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.चित्र-प्रकाशः {
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    
    /* Animation */
    opacity: 0;
    animation: slideUpFade 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.मुख्य-प्रयोगशाला-चित्रम् {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Ensures the second image is NEVER cut off */
}

/* --- Quick Links Section --- */
.शीघ्रसम्पर्क-विभागः {
    padding: 60px 5%;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.सम्पर्क-पङ्क्तिः {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.सम्पर्क-स्तम्भः {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: transform 0.3s ease, border 0.3s ease;
}

.सम्पर्क-स्तम्भः:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.05);
}

.सम्पर्क-स्तम्भः h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #cbd5e1;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* --- Electric Blue Button Glow --- */
.दीप्ति-कुञ्जिका {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease; /* Smoothly fades the glow in/out */
    background: transparent;
}

/* The "Glow" happens on hover */
.दीप्ति-कुञ्जिका:hover {
    background: rgba(0, 212, 255, 0.1); /* Subtle blue tint inside */
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 20px #00d4ff, 0 0 40px rgba(0, 212, 255, 0.4);
    transform: translateY(-3px); /* Lifts the button slightly */
}



/* Responsive adjustment for small screens */
@media (max-width: 600px) {
    .सम्पर्क-पङ्क्तिः {
        flex-direction: column;
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}