* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/aboutUs/background.png");
    /* Replace with your background image */
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: -2;
}

.info-box {
    margin-top: 200px;
    color: #717184;
}

@media (max-width: 768px) {
    #heroBackground {
        min-width: 100%;
    }

    .info-boxes {
        margin-top: 32vh;
    }

    .info-box p {
        color: #D7D9FF;
        font-size: 16px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .info-boxes {
        margin-top: 42vh;
    }

    .info-box p {
        font-size: 18px;
    }
}

/* About Section */
.about-section {
    text-align: center;
    padding-bottom: 60px;
}

.about-header {
    margin-bottom: 40px;
}

.sub-heading {
    color: #93F2FF;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
    color: #D6DAF0;
    margin-bottom: 20px;
}

h2 {
    font-size: 24px;
    color: #93F2FF;
    margin-bottom: 20px;
}

.about-description {
    color: #D7D9FF;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 16px;
    line-height: 1.8;
}

/* Expertise Section */
.expertise-section {
    margin-bottom: 80px;
}

.expertise-section h2 {
    font-size: 18px;
}

.expertise-description {
    color: #D7D9FF;
    max-width: 700px;
    margin: 0 auto 40px;
}

.expertise-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.expertise-card {
    width: 300px;
    position: relative;
    padding: 20px;
}

.expertise-icon {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.expertise-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.expertise-check {
    color: #4da6ff;
    font-size: 18px;
}

.expertise-title {
    display: flex;
    justify-content: center;
    color: #D7D9FF;
    gap: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expertise-title i {
    color: #93F2FF;
}

/* Mission Section */
.mission-section {
    margin-top: 80px;
}

.mission-section h2 {
    font-size: 18px;
}

.mission-description {
    color: #D7D9FF;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        margin-top: 0px;
    }

    .info-box {
        margin-top: 0;
    }

    .expertise-cards {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 28px;
    }

    .about-description,
    .expertise-description,
    .mission-description {
        padding: 0 20px;
    }
}

/* Experts Section */
.experts-section {
    padding: 4rem 0;
    color: white;
    margin: 0 auto;
    background-color: #020216;
    padding: 100px 200px 200px 200px;
    /* Reduced side padding */
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    margin-bottom: -100px;
}

.experts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: radial-gradient(ellipse at left, rgba(57, 186, 203, 0.1), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Make sure all content stays above the glow */
.experts-header,
.experts-tabs {
    position: relative;
    z-index: 1;
}

.experts-header {
    text-align: center;
    margin-bottom: 3rem;
}

.experts-header h2 {
    font-size: 1rem;
    color: #93F2FF;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.experts-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.experts-header p {
    font-size: 1.1rem;
    color: #D6DAF0;
    max-width: 700px;
    margin: 0 auto;
}

.experts-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.tab {
    padding: 0.5rem 1rem;
    cursor: pointer;
    position: relative;
    color: #a0a0a0;
    font-weight: 500;
    transition: color 0.3s;
}

.tab.active {
    color: white;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #93F2FF;
}

/* Hide all expert grids by default */
.experts-grid {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

/* Show only the active grid */
.experts-grid.active {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 150px;
}

.expert-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 250px;
    margin: 0 15px;
}

/* Show grid when hovering over corresponding tab */
.tab[data-tab="leadership"]:hover~#leadership-grid,
.tab[data-tab="board"]:hover~#board-grid,
.tab[data-tab="advisors"]:hover~#advisors-grid {
    display: grid;
}

/* When hovering any tab, hide the currently active grid unless it's the one being hovered */
.tab:hover~.experts-grid.active:not(#leadership-grid):not(#board-grid):not(#advisors-grid) {
    display: none;
}

.expert-card {
    background-color: #07071B;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #202032;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.expert-card.large {
    grid-column: span 2;
    grid-row: span 2;
    /* height: 80%; */
    margin-top: 35px;
}

.expert-image {
    height: 200px;
    object-fit: cover;
    height: 100%;
    overflow: hidden;
}

.expert-card.large .expert-image {
    height: 100%;
    object-fit: cover;
}

.expert-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.expert-title {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
}

.expert-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.expert-info {
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.expert-info h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.expert-info p {
    font-size: 0.8rem;
    color: #D7D9FF;
}


@media (min-width: 1200px) {
    .experts-section {
        padding: 100px 200px 200px 200px;
    }
}

@media (max-width: 1199px) {
    .experts-section {
        padding: 80px 100px 150px 100px;
    }
}

@media (max-width: 992px) {
    .experts-section {
        padding: 60px 50px 120px 50px;
    }

    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .expert-card.large {
        grid-column: span 3;
        grid-row: span 1;
        height: auto;
    }

    .expert-card.large .expert-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .experts-section {
        padding: 50px 30px 100px 30px;
    }

    .experts-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }

    .expert-card.large {
        grid-column: span 2;
    }

    .experts-tabs {
        gap: 1rem;
    }

    .experts-header h1 {
        font-size: 2rem;
    }

    .experts-header p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .experts-section {
        padding: 40px 20px 80px 20px;
    }

    .experts-grid {
        grid-template-columns: 1fr;
    }

    .expert-card.large {
        grid-column: span 1;
    }

    .experts-header h1 {
        font-size: 1.8rem;
    }

    .tab {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

.demos-section {
    color: white;
    padding: 60px 20px;
}

.demos-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #93F2FF;
}

.demos-header h2 {
    font-size: 32px;
    margin: 10px 0 15px;
    font-weight: 600;
    color: #D6DAF0;
}

.demos-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #D7D9FF;
    margin-bottom: 30px;
}

.demos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #111133;
    height: 200px;
    /* Fixed height for all cards */
}

.large-card {
    grid-row: span 2;
    height: 420px;
    /* Large card height */
}

.demo-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    /* Full height */
}

.demo-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.play-button i {
    color: #06052e;
    font-size: 16px;
}

/* For Font Awesome Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Media Queries */
@media (max-width: 768px) {
    .demos-grid {
        grid-template-columns: 1fr;
    }

    .large-card {
        grid-row: auto;
        height: 300px;
        /* Smaller height on mobile */
    }

    .demos-header h2 {
        font-size: 28px;
    }

    .images-gallery-about {
        flex-direction: column;
        align-items: center;
    }

}

.images-gallery-about {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.images-gallery-about img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
video#heroBackground.responsive-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}
