.elementor-155 .elementor-element.elementor-element-c2d506f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-433e6e5 *//* ===========================================
   CSS FOR COMPACT TEAM PAGE
   =========================================== */

/* --- 1. Global Variables (from your palette) --- */
:root {
    --primary-blue: #00338d;
    --primary-blue-dark: #00225c;
    --accent-blue: #0050d4; 
    --text-dark: #333333;
    --text-medium: #555;
    --text-light: #FFF;
    --bg-white: #FFFFFF;
    --bg-light-gray: #f8f9fa;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --font-heading: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

/* --- 2. Base & Helpers --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

/* --- 3. Hero Section --- */
.team-hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://nbecindia.com/wp-content/uploads/2025/11/Untitled-1-e1763037127807.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 80px 20px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 51, 141, 0.8);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 900px;
}
.hero-headline {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}
.hero-subheadline {
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

/* --- 4. Team Grid Section --- */
.team-grid-section {
    padding: 80px 0;
}
#advisory-board {
    background-color: var(--bg-light-gray);
}
.team-grid {
    display: grid;
    /* UPDATED: 4 columns on desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Reduced gap for compact look */
}
.advisory-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* --- 5. Compact Team Card --- */
.team-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm); /* Lighter shadow */
    transition: var(--transition);
    text-align: center;
    padding: 20px; /* Reduced padding */
    display: flex;
    flex-direction: column;
    height: 100%; 
}
.team-card:hover {
    transform: translateY(-5px); /* Less hover effect */
    box-shadow: var(--shadow-md); /* Softer hover shadow */
    border-color: var(--primary-blue);
}
.team-photo {
    width: 100px; /* Reduced size */
    height: 100px; /* Reduced size */
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px; /* Reduced margin */
    border: 3px solid var(--bg-light-gray);
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.team-name {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 1.25rem; /* Reduced size */
    margin-bottom: 5px;
}
.team-title {
    color: var(--text-medium);
    font-size: 0.9rem; /* Reduced size */
    margin-bottom: 15px;
    flex-grow: 1; 
}
.team-contact {
    margin-bottom: 10px;
    /* Hide contact if empty */
    display: none; 
}
/* Show contact if it has an 'a' tag */
.team-contact:has(a) {
    display: block;
}
.team-contact a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.team-contact a:hover {
    color: var(--primary-blue);
}
.team-contact i {
    color: var(--primary-blue);
    margin-right: 8px;
}

/* --- 6. Global Button Styles --- */
.nbec-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
    text-align: center;
}
.nbec-btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}
.nbec-btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
    transform: translateY(-2px);
}
/* NEW: Compact button for LinkedIn */
.nbec-btn-compact {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    /* Ensure it's at the bottom */
    margin-top: 10px; 
}
.nbec-btn-compact i {
    margin-right: 6px;
}

/* --- 7. "View All" Button Container --- */
.view-all-container {
    text-align: center;
    margin-top: 50px; /* More space after grid */
}

/* --- 8. Get In Touch (CTA) Section --- */
.get-in-touch-section {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
    text-align: center;
}
.get-in-touch-section .section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: -30px auto 30px; /* Adjusted margin */
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}
    
/* --- 9. Responsive Styles --- */
@media (max-width: 1200px) {
    /* On smaller desktops, use 3 cols */
    .team-grid.global-reps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .advisory-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .team-grid.global-reps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .advisory-grid {
        /* 2 cols on tablet */
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    /* UPDATED: Both grids go to 2 columns */
    .team-grid.global-reps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .advisory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
    
@media (max-width: 576px) {
    .hero-headline {
        font-size: 2rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .nbec-btn {
        width: 100%;
    }
    
    /* UPDATED: Both grids go to 2 columns */
    .team-grid.global-reps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .advisory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Make ALL cards even more compact */
    .team-card {
         padding: 15px;
    }
    .team-photo {
        width: 80px;
        height: 80px;
    }
    .team-name {
        font-size: 1.1rem;
    }
    .team-title {
        font-size: 0.8rem;
    }
    .nbec-btn-compact {
        width: 100%;
        font-size: 0.75rem;
        padding: 8px 5px;
    }
}/* End custom CSS */