/* AICTE IDEA LAB Premium Design System */

:root {
    --primary-blue: #0c4da2;
    --accent-gold: #e4b316;
    --dark-blue: #083a7a;
    --light-bg: #f8fbff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-premium: 0 10px 30px rgba(12, 77, 162, 0.1);
}

/* Page Layout */
.idealab-page {
    background-color: var(--light-bg);
}

/* Branding Header (Common for all tabs) */
.branding-header {
    background: white;
    padding: 50px 0;
    border-bottom: 2px solid #f8f9fa;
    position: relative;
    z-index: 10;
}

.branding-logo {
    max-height: 130px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.branding-logo:hover {
    transform: scale(1.08) rotate(2deg);
}

.branding-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 5px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.branding-subtitle {
    font-size: 1.35rem;
    color: #555;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* Tabbed Layout Custom UI */
.idealab-tabs-container {
    padding: 60px 0 100px 0;
}

.lab-tabs-nav {
    border: none;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    padding: 15px;
    position: sticky;
    top: 100px;
}

.lab-tabs-nav .nav-link {
    color: var(--primary-blue);
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 12px !important;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.lab-tabs-nav .nav-link i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.lab-tabs-nav .nav-link:hover {
    background: rgba(12, 77, 162, 0.05);
    color: var(--primary-blue);
    transform: translateX(5px);
}

.lab-tabs-nav .nav-link.active {
    background: var(--primary-blue) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(12, 77, 162, 0.2);
}

.lab-tabs-nav .nav-link.active i {
    transform: scale(1.2);
}

/* Tab Content Window */
.lab-tab-pane {
    background: white;
    border-radius: 25px;
    padding: 50px;
    min-height: 600px;
    box-shadow: var(--shadow-premium);
    animation: fadeInSlide 0.6s ease-out;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Content Elements */
.content-heading {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block;
}

.content-subheading {
    color: var(--dark-blue);
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-subheading i {
    color: var(--accent-gold);
}

.content-text {
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
    text-align: justify;
}

/* Vision/Mission/Objective Boxes */
.vision-box {
    background: linear-gradient(to right, #fff, #f0f7ff);
    border-left: 5px solid var(--primary-blue);
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid #eff3f8;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
    content: "\F272";
    font-family: inherit; /* will use bootstrap icons font-family */
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12, 77, 162, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Team Member Cards (Contact Section) */
.team-member {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 25px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-blue);
    padding: 5px;
    background: white;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--accent-gold);
}

.member-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.member-role {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.member-contact {
    margin-top: auto;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid #f8f9fa;
}

.member-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.member-link:hover {
    color: var(--primary-blue);
}

.member-link i {
    font-size: 18px;
    color: var(--primary-blue);
}
/* Lightbox Premium Styles */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}

.lightbox-modal .modal-body {
    padding: 0;
    position: relative;
}

.lightbox-img {
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 991px) {
    .idealab-hero { padding: 60px 0; }
    .hero-main-title { font-size: 2.5rem; }
    .lab-tabs-nav {
        position: static;
        margin-bottom: 30px;
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
    }
    .lab-tabs-nav .nav-link {
        flex: 0 0 auto;
        margin-bottom: 0;
        margin-right: 10px;
    }
    .lab-tab-pane { padding: 30px; }
}

@media (max-width: 576px) {
    .hero-main-title { font-size: 1.8rem; }
    .hero-sub-title { font-size: 1rem; }
    .lab-tab-pane { padding: 20px; }
}
