/* IPERCOL Website Styles - Blazor */
/* Color Palette: Green (#6B8E23), Yellow (#DAA520), Dark Gray */

:root {
    --primary-green: #6B8E23;
    --primary-green-dark: #556B2F;
    --primary-yellow: #DAA520;
    --primary-yellow-light: #F4D03F;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.ipercol-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ipercol-app main {
    flex: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: var(--dark-gray);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo a {
    text-decoration: none;
}

.logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo-tagline {
    color: var(--primary-yellow);
    font-size: 0.65rem;
    display: block;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-yellow);
}

.lang-switch {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.lang-switch:hover {
    background: var(--primary-yellow-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
    display: block;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.85), rgba(44, 62, 80, 0.9)),
                url('../img/PHOTO-2026-03-30-18-27-36.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-gray);
}

.btn-primary:hover {
    background: var(--primary-yellow-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-gray);
}

/* Section Styles */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
    margin: 1rem auto 0;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-yellow);
    border-radius: 10px;
    z-index: -1;
}

.btn-download {
    background: var(--primary-green);
    color: var(--white);
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.download-icon {
    font-size: 1.2rem;
}

/* PHD Definition Section */
.phd-definition {
    background: var(--white);
}

.phd-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.phd-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: justify;
}

.phd-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Equipment Section */
.equipment {
    background: var(--light-gray);
}

.equipment-subsection {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.equipment-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    color: var(--primary-green-dark);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.subsection-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.equipment-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-yellow);
}

.equipment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.equipment-icon {
    font-size: 2.5rem;
}

.equipment-header h4 {
    color: var(--primary-green-dark);
    margin: 0;
    font-size: 1.2rem;
}

.equipment-brand {
    color: var(--text-light);
    font-size: 0.9rem;
}

.equipment-model {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 1rem;
}

.equipment-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.equipment-note {
    background: rgba(107, 142, 35, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    color: var(--text-dark);
    text-align: center;
    font-style: italic;
    margin: 0;
}

/* Vermeer Section */
.vermeer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vermeer-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.specs-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--light-gray);
}

.specs-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.max-capacity {
    background: var(--primary-yellow);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.max-capacity h4 {
    color: var(--dark-gray);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.max-capacity .specs-list li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--dark-gray);
}

.max-capacity .specs-list li:last-child {
    border-bottom: none;
}

.vermeer-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* KEMTRON Section */
.kemtron-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.kemtron-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.kemtron-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--primary-green);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary-green-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.service-card ul li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Why Ipercol Section */
.why-us {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--dark-gray));
    color: var(--white);
}

.why-us .section-title h2 {
    color: var(--white);
}

.why-us .section-title p {
    color: rgba(255,255,255,0.8);
}

.why-us .section-title::after {
    background: var(--primary-yellow);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s;
}

.advantage-card:hover {
    background: rgba(255,255,255,0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.advantage-card p {
    opacity: 0.9;
}

/* Technical Capabilities */
.capabilities {
    background: var(--white);
}

.capabilities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.capabilities-table {
    width: 100%;
    border-collapse: collapse;
}

.capabilities-table th,
.capabilities-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.capabilities-table th {
    background: var(--primary-green);
    color: var(--white);
}

.capabilities-table tr:hover td {
    background: var(--light-gray);
}

.capabilities-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Experience Section */
.experience {
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-green);
}

.stat-label {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.experience-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.experience-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Key Reasons Section */
.key-reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.reason-card {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s, background 0.3s;
}

.reason-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.reason-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    color: var(--dark-gray);
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.reason-card h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    font-size: 1.3rem;
}

.reason-card p {
    opacity: 0.95;
    line-height: 1.7;
}

/* Experience Table Section */
.experience-table-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(0,0,0,0.1);
}

.experience-table-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.table-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.experience-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.experience-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 1400px;
}

.experience-table thead tr:first-child th {
    background: var(--primary-green-dark);
    color: var(--white);
    padding: 1rem 0.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.experience-table thead tr:last-child th {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.75rem 0.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.experience-table tbody td {
    padding: 0.75rem 0.5rem;
    border: 1px solid var(--light-gray);
    vertical-align: top;
}

.experience-table tbody td:first-child {
    text-align: center;
    font-weight: bold;
    background: var(--light-gray);
}

.experience-table tbody td:nth-child(2) {
    max-width: 180px;
    font-size: 0.8rem;
}

.experience-table tbody td:nth-child(3) {
    max-width: 300px;
    font-size: 0.8rem;
}

.experience-table tbody td:nth-child(4),
.experience-table tbody td:nth-child(5),
.experience-table tbody td:nth-child(6) {
    text-align: center;
    white-space: nowrap;
}

.experience-table tbody td:nth-child(n+7):nth-child(-n+14) {
    text-align: center;
    min-width: 60px;
}

.experience-table tbody td:last-child {
    text-align: center;
    background: rgba(107, 142, 35, 0.1);
}

.experience-table tbody tr:hover td {
    background: rgba(107, 142, 35, 0.05);
}

.experience-table tbody tr:hover td:first-child {
    background: rgba(107, 142, 35, 0.15);
}

.experience-table tbody tr:hover td:last-child {
    background: rgba(107, 142, 35, 0.2);
}

.experience-table tfoot td {
    padding: 1rem 0.5rem;
    border: 1px solid var(--light-gray);
    text-align: center;
}

.experience-table tfoot .summary-row td:first-child {
    text-align: right;
    padding-right: 1rem;
    background: var(--primary-green);
    color: var(--white);
}

.experience-table tfoot .summary-row td {
    background: var(--light-gray);
}

.experience-table tfoot .summary-row td:last-child {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    font-weight: bold;
    font-size: 1rem;
}

/* Sectors Section */
.sectors {
    background: var(--white);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sector-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.sector-card:hover {
    transform: scale(1.05);
}

.sector-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sector-card h3 {
    color: var(--primary-green-dark);
    margin-bottom: 1rem;
}

.sector-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Regions Section */
.regions {
    background: var(--dark-gray);
    color: var(--white);
}

.regions .section-title h2 {
    color: var(--white);
}

.regions .section-title p {
    color: rgba(255,255,255,0.8);
}

.regions .section-title::after {
    background: var(--primary-yellow);
}

.regions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.region-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-yellow);
}

.region-item h4 {
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.region-item p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin: 0;
}

/* ===========================================
   MEDIA GALLERY SECTION - Combined Photos & Videos
   =========================================== */

.media-gallery {
    background: var(--light-gray);
    padding: 5rem 5%;
}

/* Tab Navigation */
.media-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.media-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.media-tab:hover {
    background: rgba(107, 142, 35, 0.1);
}

.media-tab.active {
    background: var(--primary-green);
    color: var(--white);
}

.tab-icon {
    font-size: 1.2rem;
}

/* Gallery Grid - Photos */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    color: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    background: var(--dark-gray);
    aspect-ratio: 16/9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.video-item.playing {
    grid-column: span 3;
    aspect-ratio: 16/9;
    max-height: 70vh;
}

.video-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.video-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.video-close-btn:hover {
    background: var(--primary-yellow);
    color: var(--dark-gray);
}

/* Video Thumbnail */
.video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--dark-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-number {
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255,255,255,0.15);
}

.play-button {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.play-button svg {
    width: 30px;
    height: 30px;
    color: var(--dark-gray);
    margin-left: 4px;
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
    background: var(--primary-yellow-light);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-load-more {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Enhanced Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-overlay img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    border-color: var(--primary-yellow);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    border-color: var(--primary-yellow);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-modal-content video {
    width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.video-modal-close:hover {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    border-color: var(--primary-yellow);
}

.video-modal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    width: 100%;
}

.video-nav-btn {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.video-nav-btn:hover:not(:disabled) {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    border-color: var(--primary-yellow);
}

.video-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.video-modal-counter {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--white);
}

.contact .section-title h2 {
    color: var(--white);
}

.contact .section-title p {
    color: rgba(255,255,255,0.9);
}

.contact .section-title::after {
    background: var(--primary-yellow);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--primary-yellow);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item p {
    opacity: 0.95;
    margin: 0;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-yellow);
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea,
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* CTA Section */
.cta {
    background: var(--primary-yellow);
    padding: 4rem 5%;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: var(--dark-gray);
    color: var(--white);
}

.cta .btn-primary:hover {
    background: var(--primary-green-dark);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 5% 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

/* Blazor Error UI */
#blazor-error-ui {
    background: #b32121;
    color: white;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10000;
    display: none;
}

#blazor-error-ui .reload {
    color: white;
    margin-left: 1rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .capabilities-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image::before {
        display: none;
    }

    .key-reasons {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .reason-card {
        padding: 2rem;
        padding-top: 2.5rem;
    }

    .experience-table-section h3 {
        font-size: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .phd-content {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .vermeer-content,
    .kemtron-content {
        grid-template-columns: 1fr;
    }

    .kemtron-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 3%;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark-gray);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 4%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 1.8rem;
    }
}

/* ===========================================
   MEDIA GALLERY RESPONSIVE STYLES
   =========================================== */

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-item.playing {
        grid-column: span 2;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .media-tabs {
        gap: 0.75rem;
    }

    .media-tab {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 140px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-item.playing {
        grid-column: span 1;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }

    .lightbox-overlay img {
        max-width: 95%;
        max-height: 70%;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .lightbox-counter {
        bottom: 20px;
        font-size: 0.9rem;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -45px;
        right: 0;
    }

    .video-modal-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .video-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .media-gallery {
        padding: 3rem 4%;
    }

    .media-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .media-tab {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        aspect-ratio: 16/10;
    }

    .zoom-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .video-number {
        font-size: 2rem;
    }

    .btn-load-more {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    /* Ensure touch targets are at least 44x44px */
    .lightbox-nav,
    .lightbox-close,
    .video-close-btn {
        min-width: 44px;
        min-height: 44px;
    }
}
