/* --- Internal Page Hero Refinement --- */
#internal-banner {
    height: 600px; /* Increased height for better visual impact */
}

#internal-banner .hero-inner h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
}

/* --- Stats and Visual Blocks --- */
.main-image-wrapper {
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-8deg); /* More aggressive angle */
    transition: var(--transition);
}

.main-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.experience-badge {
    position: absolute;
    bottom: -30px; /* Positioned lower to break the grid */
    left: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 35px;
    border-radius: 24px;
    z-index: 4;
    box-shadow: 0 20px 50px rgba(0, 150, 199, 0.4);
}

/* --- God Level Industrial Cards --- */
.god-level-card {
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
}

.god-level-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 150, 199, 0.15);
    border-color: var(--primary);
}

.leadership-highlight {
    border-left: 10px solid var(--primary);
    padding: 90px 30px !important;
}

.italic { font-style: italic; }
.tracking-widest { letter-spacing: 2px; }








/* --- GOD LEVEL TEAM COMPONENT UI --- */

/* --- GOD LEVEL TEAM COMPONENT UI (6-MEMBER GRID) --- */

.team-section {
    background: #031221; 
    padding: 100px 0;
}

.team-profile-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 32px;
    padding: 25px; /* Clean tracking offset */
    height: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Updated Avatar Wrapper Height for 3-Column Balancing */
.profile-avatar-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    height: 340px; /* Optimized height from 380px to accommodate 3 items across */
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(100%);
}

/* Slide-Up Floating Social Links Tray */
.profile-social-tray {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    background: linear-gradient(0deg, rgba(3, 18, 33, 0.95) 0%, rgba(3, 18, 33, 0) 100%);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    z-index: 5;
}

.social-link-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.social-link-btn:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-3px);
}

/* Text Content Fields Formatting */
.profile-role-badge {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.profile-details-content h3 {
    transition: color 0.3s ease;
}

.profile-bio-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65) !important;
}

/* Card Micro-Interactions */
.team-profile-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.team-profile-card:hover .profile-photo {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.team-profile-card:hover .profile-social-tray {
    bottom: 0;
    opacity: 1;
}

.team-profile-card:hover h3 {
    color: var(--primary) !important;
}

/* Responsive Overrides */
@media (max-width: 1199px) {
    .profile-avatar-wrapper {
        height: 300px;
    }
}
@media (max-width: 767px) {
    .profile-avatar-wrapper {
        height: 320px;
    }
    .team-profile-card {
        padding: 20px;
    }
}