/* Quanser-style Hero Section */
.hero-section {
    position: relative;
}

.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback gradient if video not loaded */
.hero-section video:not([src]),
.hero-section video[src=""] {
    display: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0072CE 0%, #005BA3 50%, #003366 100%);
    z-index: -1;
}

/* Feature Grid Styles */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.feature-card:hover .feature-icon {
    background-color: #0072CE;
}

.feature-card:hover .feature-icon svg {
    fill: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #E8F4FC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: #0072CE;
    transition: all 0.3s ease;
}

/* Legacy styles below - kept for compatibility */

#hero_section_container {
    background: linear-gradient(90deg, #e0e0e0, #ffffff, #e0e0e0);
    height: fit-content;
}

#hero_section {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: fit-content;
    padding: 40px 0px;
}

#hero_text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#hero_text h1 {
    margin: 0px;
}

#hero_text p {
    margin: 0px;
    font-size: 24px;
}

#hero_text ul {
    margin: 0px;
    font-weight: bold;
    font-size: 20px;
}

#labtronic_industries_h1 {
    color: var(--accent-color);
    font-size: 48px;
}

#welcome_to_h1 {
    font-size: 40px;
}

#hero_controls {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

#hero_controls button {
    width: 160px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--light-font-color);
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    margin-right: 16px;
    border-radius: 4px;
}

#hero_controls button:hover {
    background-color: var(--accent-color-glow);
}

#promo_div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
    font-weight: bold;
    cursor: pointer;
}

#promo_div svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-color);
    margin-right: 8px;
    transition: 0.3s ease;
}

#promo_div:hover svg {
    fill: var(--accent-color-glow);
}

#labs {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: fit-content;
    background-color: var(--bg-color-main);
    padding-top: 40px;
}

#labs_text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#labs_cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1300px;
}

.service_card {
    width: 400px;
    height: 200px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 24px 0px;
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 4px;
}

.service_card:hover {
    color: var(--light-font-color);
    background-color: var(--accent-color);
}

.service_card_icon {
    width: 60px;
    height: 60px;
    min-height: 60px;
    background-color: var(--bg-color-accent-1);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.service_card .title {
    margin: 0px;
    font-size: 24px;
}

.service_card .details {
    margin: 0px;
    width: 300px;
    font-size: 16px;
}

.service_card_icon svg {
    width: 32px;
    height: 32px;
    fill: var(--dark-font-color);
}

#about_section {
    width: 100%;
    background-color: var(--bg-color-accent-1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 0px;
}

#about_title_text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#about_us_content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: fit-content;
    padding: 40px 0px;
    max-width: 1300px;
}

#about_us_content_text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 600px;
}

.about_icon_text {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.aic_icon_cont {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: var(--bg-color-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 24px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.aic_icon_cont svg {
    width: 32px;
    height: 32px;
    fill: var(--accent-color);
}

#clients_section {
    width: 100%;
    background-color: var(--bg-color-main);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 0px;
}

.clients_title_text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#clients_videos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1300px;
}

#clients_videos iframe {
    margin: 16px;
}

#clients_logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 1300px;
}

#clients_logos img {
    height: fit-content;
    margin: 16px;
}

@media screen and (max-width: 1300px) {
    #hero_section img {
        width: 50%;
    }
}