/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* UHasselt Brand Colors */
:root {
    /* UHasselt brand palette */
    --uhasselt-red: #d73f38;
    --uhasselt-dark-red: #a62219;
    --uhasselt-light-red: #fbe3e4;
    --uhasselt-burgundy: #7d1422;
    --uhasselt-black: #1a202c;
    --uhasselt-grey: #4e5760;
    --uhasselt-text-light: #878787;
    --uhasselt-light-grey: #f6f6f6;
    --uhasselt-cream: #fdf5f4;
    --uhasselt-border: #e3e3e3;
    --uhasselt-white: #ffffff;
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);

    /* Supporting colors */
    --uhasselt-accent: #fa9e57;
    --uhasselt-success: #15866b;
    --uhasselt-warning: #ffc107;
    --uhasselt-error: #dc3545;
    --uhasselt-blue: #007fba;
    --uhasselt-teal: #15866b;

    --uhasselt-text: var(--uhasselt-black);
    
    /* Layout variables */
    --header-height: 96px; /* Default header height for desktop */
    --spacing-2xl: 32px; /* Extra large spacing */
}

body {
    font-family: 'Verdana', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--uhasselt-text);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400; /* Explicit normal weight */
}

/* ========================================
   TYPOGRAPHY HIERARCHY SYSTEM
   ======================================== */

/* Proper heading hierarchy following design guidelines */
h1 {
    font-weight: 500; /* Medium weight for main titles */
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2 {
    font-weight: 600; /* Semi-bold for section headers */
    line-height: 1.3;
    letter-spacing: -0.005em;
}

h3 {
    font-weight: 500; /* Medium weight for subsections */
    line-height: 1.4;
    letter-spacing: 0;
}

h4, h5, h6 {
    font-weight: 500; /* Consistent medium weight */
    line-height: 1.4;
    letter-spacing: 0;
}

/* Body text optimization */
p {
    font-weight: 400; /* Normal weight for body text */
    line-height: 1.6; /* Optimal readability */
}

/* Strong emphasis - avoid overuse */
strong, b {
    font-weight: 600; /* Semi-bold, not bold */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

#header-container {
        position: sticky;
    top: 0;
    z-index: 100;
}

/* Header */
.header {
    background: var(--uhasselt-white);
    color: var(--uhasselt-text);

    display: flex;
    justify-content: center;
    align-items: center;

    height: var(--header-height);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 2.5rem;

    width: 100%;
}

.header-branding {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1rem;
}

.institutional-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.dfl-logo {
    height: 48px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.logo-link:hover,
.logo-link:focus-visible {
    opacity: 0.85;
}

.project-title {
    text-align: left;
    flex: 1;
}

.project-title h1 {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 600; /* Reduced from 600 - less heavy, more elegant */
    letter-spacing: -0.01em; /* Less tight spacing for better readability */
    color: var(--uhasselt-black);
}

@media (max-width: 768px) {
    .header-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .header-branding {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .project-title {
        text-align: center;
    }
    
    .project-title h1 {
        font-size: 1.8rem;
    }
    
    .institutional-logos {
        justify-content: center;
    }

}

/* Navigation */
.nav {
    background: transparent;
    position: relative;
}

.nav .container {
    padding: 0;
    position: relative;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 101;
}

.hamburger {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--uhasselt-text);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--uhasselt-text);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.nav-open .hamburger {
    background: transparent;
}

.nav-toggle.nav-open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.nav-open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    padding: 0;
    column-gap: 2rem;
    list-style: none;
    margin: 0;
    transition: all 0.3s ease;
}

.nav-link {
    text-decoration: none;
    color: var(--uhasselt-text);
    margin: 0;
    font-weight: 500; /* Reduced from 600 - cleaner, less bold */
    font-size: clamp(0.75rem, 1.2vw, 0.82rem);
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.08em; /* Reduced letter spacing for better readability */
    border-bottom: 3px solid transparent;
    padding: 0.5rem 0;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--uhasselt-red);
    background: transparent;
}

/* Mobile navigation */
@media (max-width: 768px) {
    :root {
        --header-height: 140px; /* Taller header on mobile due to stacked layout */
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--uhasselt-white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        z-index: 100;
    }
    
    .nav-links.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 0.75rem 1.5rem;
        border-bottom: none;
        border-left: 3px solid transparent;
        font-size: 0.9rem;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-left-color: var(--uhasselt-red);
        background: var(--uhasselt-light-grey);
    }
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
}

.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

/* Optimal section spacing - responsive and modern */
.hero-section,
.overview-section,
.featured-section,
.lab-intro-section,
.about-section,
.contact-section,
.search-section,
.catalog-section,
.rooms-section,
.offer-section,
.collaboration-section {
    padding: clamp(40px, 8vw, 100px) 0; /* Mobile: 40px → Desktop: 100px */
}

/* Reduced spacing for closely related sections */
.overview-section,
.featured-section {
    padding: clamp(30px, 6vw, 80px) 0; /* Mobile: 30px → Desktop: 80px */
}

/* Hero section gets special treatment - no top padding */
.hero-section {
    padding: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    flex: 1;
    text-align: left;
    padding: 5rem;
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.projects-hero {
    background: var(--uhasselt-white);
    border-left-color: var(--uhasselt-red);
}

.usage-hero {
    padding-left: 0;
    padding-right: 0;
}

.hero h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--uhasselt-black);
    margin-bottom: 1.5rem;
    font-weight: 600; /* Reduced from 700 - still prominent but less heavy */
    letter-spacing: -0.01em; /* More comfortable letter spacing */
}

.hero p {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: var(--uhasselt-text-light);
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: justify;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Removed outdated responsive code - replaced with modern clamp() approach */


.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: transparent;
    border: 2px solid #000000;
    border-radius: 8px;
    z-index: -1;
}

.btn-primary:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    border-color: #000000;
}

.btn-red {
    background: var(--uhasselt-red);
    color: var(--uhasselt-white);
    border: 2px solid var(--uhasselt-red);
    position: relative;
    z-index: 1;
}

.btn-red::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: transparent;
    border: 2px solid var(--uhasselt-red);
    border-radius: 8px;
    z-index: -1;
}

.btn-red:hover {
    background: var(--uhasselt-red);
    border-color: var(--uhasselt-red);
    transform: translateY(-2px);
}

.btn-red:hover::before {
    border-color: var(--uhasselt-red);
}


.btn-secondary {
    background: var(--uhasselt-black);
    color: var(--uhasselt-white);
    border-color: var(--uhasselt-black);
}

.btn-secondary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--uhasselt-black);
    border-color: var(--uhasselt-black);
}

.btn-outline:hover {
    background: var(--uhasselt-black);
    color: var(--uhasselt-white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Stats Grid - Enhanced Responsive */
.stats-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

/* Stats grid responsive breakpoints */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.usage-section {
    margin-bottom: 4rem;
}

.usage-section h2 {
    font-size: 2rem;
    color: var(--uhasselt-black);
    text-align: left;
    margin-bottom: 2rem;
}

.section-intro {
    margin: 1rem 0 2.5rem;
    max-width: 720px;
    color: var(--uhasselt-text-light);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.usage-card {
    background: var(--uhasselt-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(215, 63, 56, 0.15);
    min-height: 220px;
}

.usage-card h3 {
    margin-bottom: 0.75rem;
    color: var(--uhasselt-black);
    font-size: 1.25rem;
}

.usage-card p {
    color: var(--uhasselt-text-light);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--uhasselt-light-red);
    color: var(--uhasselt-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.industry-card {
    background: var(--uhasselt-white);
    border-radius: 16px;
    padding: 2.25rem;
    border: 1px solid var(--uhasselt-border);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.industry-card header h3 {
    font-size: 1.35rem;
    margin-top: 0.75rem;
    color: var(--uhasselt-black);
}

.industry-card p {
    color: var(--uhasselt-text-light);
}

.industry-card ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    color: var(--uhasselt-black);
}

.industry-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--uhasselt-red);
    margin-right: 0.75rem;
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    background: var(--uhasselt-light-red);
    color: var(--uhasselt-red);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.engagement-card {
    background: var(--uhasselt-white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--uhasselt-border);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.engagement-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.cta-banner {
    border: 1px solid var(--uhasselt-black);
    border-radius: 18px;
    padding: 2.5rem;
    text-align: center;
    display: grid;
    gap: 1rem;
}

.cta-banner h3 {
    font-size: 1.6rem;
    color: var(--uhasselt-black);
}

.cta-banner p {
    color: var(--uhasselt-text-light);
    max-width: 720px;
    margin: 0 auto;
}

.projects-section {
    margin-bottom: 4rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--uhasselt-white);
    border-radius: 18px;
    border: 1px solid var(--uhasselt-border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card__header {
    display: grid;
    gap: 0.6rem;
}

.project-card__header h3 {
    font-size: 1.4rem;
    color: var(--uhasselt-black);
}

.project-sector,
.project-phase {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-sector {
    background: var(--uhasselt-light-red);
    color: var(--uhasselt-red);
    justify-self: flex-start;
}

.project-phase {
    background: rgba(78, 87, 96, 0.12);
    color: var(--uhasselt-grey);
    justify-self: flex-start;
}

.project-summary {
    color: var(--uhasselt-text-light);
}

.project-details {
    display: grid;
    gap: 1.5rem;
}

.project-details h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--uhasselt-grey);
    margin-bottom: 0.5rem;
}

.project-details ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    color: var(--uhasselt-black);
}

.project-details ul li::before {
    content: '\2022';
    color: var(--uhasselt-red);
    margin-right: 0.75rem;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(215, 63, 56, 0.12);
    color: var(--uhasselt-red);
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.stat-card {
    background: var(--uhasselt-white);
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid var(--uhasselt-light-grey);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
}

.stat-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--uhasselt-red);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: 1rem;
    color: var(--uhasselt-red);
    font-weight: 500; /* More refined, less heavy */
    letter-spacing: 0; /* No negative spacing for small text */
}

.stat-card p {
    color: var(--uhasselt-text-light);
    line-height: 1.5;
    font-size: clamp(0.75rem, 1.3vw, 0.82rem);
    flex: 1;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 300;
    color: var(--uhasselt-red);
    margin-top: auto;
    letter-spacing: -0.02em;
}

/* Search Container */
.search-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 45px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--uhasselt-red);
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--uhasselt-red);
}

.btn-secondary {
    background: var(--uhasselt-black);
    color: var(--uhasselt-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background: #000000;
    transform: translateY(-2px);
}

/* Hardware Grid - Enhanced Responsive */
.hardware-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
}

/* Hardware grid responsive breakpoints */
@media (max-width: 480px) {
    .hardware-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hardware-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hardware-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1025px) {
    .hardware-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.hardware-card {
    background: var(--uhasselt-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(215, 63, 56, 0.15);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.hardware-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: var(--uhasselt-red);
}

.hardware-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hardware-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hardware-image .placeholder {
    color: #ccc;
    font-size: 3rem;
}

.hardware-content {
    padding: clamp(1rem, 3vw, 1.5rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hardware-title {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--uhasselt-dark-red);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hardware-category {
    display: inline-block;
    background: var(--uhasselt-red);
    color: var(--uhasselt-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hardware-details {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hardware-detail {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.hardware-detail i {
    margin-right: 0.5rem;
    color: var(--uhasselt-teal);
    width: 16px;
}

.hardware-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hardware-tag {
    background: #f8f9fa;
    color: #666;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #e1e5e9;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hidden {
    display: none !important;
}

/* Featured Section - Enhanced Responsive */
.featured-section {
    text-align: center;
}

.featured-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #333;
    margin-bottom: 0.5rem;
}

.featured-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.featured-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured grid - 3x2 layout for tablets and up */
@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 481px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.5rem, 3vw, 2rem);
    }
}

/* Minimal featured thumbnails - taller with name overlay */
.featured-thumbnail {
    transition: transform 0.2s ease;
}

.featured-thumbnail:hover {
    transform: scale(1.02);
}

.thumbnail-image {
    width: 100%;
    height: 280px; /* Increased height */
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--uhasselt-light-grey);
    position: relative; /* For absolute positioning of name overlay */
}

.thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-image .placeholder {
    color: #ccc;
    font-size: 2.5rem;
}

.thumbnail-tag-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 4px 8px;
    width: fit-content;
}

.thumbnail-tag {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.thumbnail-name-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Auto-adjust width based on content */
    width: fit-content;
    max-width: calc(100% - 24px); /* Prevent overflow from container */
}

.thumbnail-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--uhasselt-black);
    margin: 0;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap; /* Keep name on single line */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ... for very long names */
}

.section-cta {
    margin-top: 2.5rem;
}

.about-section {
    background-color: var(--uhasselt-light-grey);
}

/* About Section - Enhanced Responsive */
.about-section h2 {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #333;
    margin-bottom: 2rem;
}


.project-details {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.detail-item i {
    color: var(--uhasselt-red);
    width: 16px;
}

.about-content {
    background: white;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
    width: 100%;
}

.about-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.about-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

.about-content a {
    color: var(--uhasselt-red);
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

.about-image {
    background: white;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reality-continuum {
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.reality-continuum h4 {
    margin-bottom: 2rem;
    color: #333;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
}

.continuum-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #28a745, #ffc107, #fd7e14, #dc3545);
    width: 80px;
    height: 350px;
    border-radius: 40px;
    position: relative;
    margin: 0 auto 2rem auto;
    justify-content: space-around;
    padding: 20px 0;
}

.continuum-point {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    position: relative;
}

.continuum-point:hover::after {
    content: attr(data-label);
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
}

.continuum-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Contact Section - Enhanced Responsive */
.contact-section {
    padding: clamp(2rem, 5vw, 3rem) 0;
    margin: 3rem 0 0 0;
}

.contact-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
}

/* Contact grid responsive breakpoints */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #333;
    margin-bottom: 1rem;
}

.contact-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--uhasselt-red);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    width: 20px;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--uhasselt-red);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-links .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

.contact-map {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.map-placeholder {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.map-placeholder i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
    display: block;
}

.map-placeholder h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Footer - Enhanced Responsive */
.footer {
    background: linear-gradient(135deg, var(--uhasselt-light-grey) 0%, rgba(247, 250, 252, 0.8) 100%);
    color: var(--uhasselt-grey);
    text-align: center;
    margin-top: var(--spacing-2xl);
    position: relative;
    padding: var(--spacing-2xl) 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--uhasselt-border);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.footer p {
    opacity: 0.9;
    font-size: 0.95rem;
}


.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.5rem);
}

.footer-sponsors {
    margin-bottom: 0;
    text-align: center;
}

.footer-sponsors h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.sponsor-group {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sponsor-group:hover {
    transform: scale(1.05);
}

.sponsor-logo {
    height: 50px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: block;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

.sponsor-group a {
    display: block;
    text-decoration: none;
}

.sponsor-group a:hover {
    text-decoration: none;
}

.footer-funding {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-funding p {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.footer-funding p:first-child {
    font-weight: 600;
    opacity: 1;
}

/* Partner Section Styling */
.partners-section {
    margin-top: 2rem;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}



.partner-logo {
    height: 90px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: block;
}


.partner-group a {
    display: block;
    text-decoration: none;
}


.partner-group p {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--uhasselt-black);
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .partner-logos {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    .partner-logo {
        height: 70px;
        max-width: 160px;
    }
}

/* Project Funding Section */
.project-funding {
    background: transparent;
    padding: 3rem 0;
    margin: 3rem 0;
}

.funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.funding-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.funding-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.funding-card h3 {
    color: var(--uhasselt-red);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.funding-card h3 i {
    font-size: 1.4rem;
    color: var(--primary-purple);
}

.funding-details p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.funding-details p strong {
    color: var(--uhasselt-dark);
    font-weight: 600;
}

.acknowledgment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(103, 126, 234, 0.15);
    flex-wrap: wrap;
}

.ack-logo {
    height: 70px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.ack-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: 0;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

.footer-links a {
    color: var(--uhasselt-black);
    text-decoration: none;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 500;
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: translateY(-1px);
}

/* Footer responsive code consolidated above */



/* Old responsive code removed - consolidated into new mobile-first approach above */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .search-container,
    .stat-card,
    .about-content,
    .about-image {
        padding: 1.5rem;
    }
    
    .continuum-labels {
        font-size: 0.8rem;
        gap: 1rem;
    }
    
    .continuum-bar {
        width: 60px;
        height: 280px;
        padding: 15px 0;
    }
    
    .continuum-point {
        width: 45px;
        height: 45px;
        font-size: 0.8rem;
    }
    
    .continuum-point:hover::after {
        left: 60px;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .category-nav,
    .room-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn,
    .room-btn {
        width: 200px;
        justify-content: center;
    }
    
    .view-options {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .results-summary {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .room-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .room-controls {
        position: static;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hardware-list-item {
        flex-direction: column;
    }
    
    .list-item-image {
        width: 100%;
        height: 200px;
    }
    
    .list-item-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .list-item-meta {
        align-items: flex-start;
    }
}

/* Search Page Styles */
.search-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.search-section > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.results-count {
    font-weight: 500;
    color: #333;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options label {
    font-weight: 500;
    color: #333;
}

.sort-options select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

/* Catalog Page Styles */
.catalog-section h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--uhasselt-black);
    margin-bottom: 1.5rem;
    font-weight: 600; /* Reduced from 700 - still prominent but less heavy */
    letter-spacing: -0.01em; /* More comfortable letter spacing */
}

.catalog-section p {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: var(--uhasselt-text-light);
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: justify;
}

.catalog-section > p {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: var(--uhasselt-text-light);
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: justify;
}

.catalog-header {
    text-align: left;
    margin-bottom: 2rem;
}

.catalog-summary {
    margin-top: 2rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.summary-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.summary-item i {
    font-size: 2rem;
    color: var(--uhasselt-red);
    margin-bottom: 0.5rem;
}

.summary-item span {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.summary-item small {
    color: #666;
    font-size: 0.85rem;
}

.category-nav {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--uhasselt-black);
    border-radius: 10px;
    background: white;
    color: var(--uhasselt-black);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--uhasselt-black);
    color: white;
    border-color: var(--uhasselt-black);
}

.view-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.view-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-controls label {
    font-weight: 500;
    color: #333;
}

.view-buttons {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: var(--uhasselt-red);
    color: white;
}

.catalog-display {
    margin-top: 2rem;
}

.catalog-category {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin: 0;
}

.item-count {
    background: #f8f9fa;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* List View Styles */
.list-view .hardware-list {
    display: grid;
    gap: 1rem;
}

.hardware-list-item {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hardware-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.list-item-image {
    width: 150px;
    height: 120px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-item-image .placeholder {
    color: #ccc;
    font-size: 2rem;
}

.list-item-content {
    flex: 1;
    padding: 1.5rem;
}

.list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.list-item-header h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    margin-bottom: 0.5rem;
}

.list-item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.list-item-details {
    display: grid;
    gap: 0.75rem;
}

/* Rooms Page Styles */
.rooms-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.rooms-section > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.rooms-header {
    text-align: center;
    margin-bottom: 2rem;
}

.room-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.room-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.room-btn:hover,
.room-btn.active {
    background: var(--uhasselt-red);
    color: white;
    border-color: var(--uhasselt-red);
}

.room-viewer {
    position: relative;
    margin: 2rem 0;
}

.panorama-container {
    width: 100%;
    height: 500px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.panorama-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
    text-align: center;
}

.panorama-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.panorama-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.loading-spinner {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #ccc;
}

.loading-spinner i {
    font-size: 1.5rem;
}

.room-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.control-btn:hover {
    background: rgba(0,0,0,0.9);
}

.control-btn i {
    font-size: 1.2rem;
}

.room-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.room-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.room-description h3 {
    color: #333;
    margin-bottom: 1rem;
}

.room-description p {
    color: #666;
    line-height: 1.6;
}

.room-highlights h4 {
    color: #333;
    margin-bottom: 1rem;
}

.room-highlights ul {
    list-style: none;
    padding: 0;
}

.room-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.room-highlights i {
    color: #28a745;
}

.room-equipment h4 {
    color: #333;
    margin-bottom: 1rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--uhasselt-red);
}

.equipment-icon {
    color: var(--uhasselt-red);
    font-size: 1.5rem;
}

.equipment-details strong {
    display: block;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.equipment-details small {
    color: #666;
    font-size: 0.8rem;
}

.room-gallery {
    text-align: center;
    margin: 3rem 0;
}

.room-gallery h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.room-gallery p {
    color: #666;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item {
    position: relative;
    cursor: pointer;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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 5px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1rem 0.75rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Equipment Showcase */
.equipment-showcase {
    margin-top: 3rem;
}

.equipment-showcase h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.showcase-item {
    position: relative;
    cursor: pointer;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-3px);
}

.showcase-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.showcase-caption {
    padding: 0.75rem;
    font-size: 0.8rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

/* Laboratory Environment */
.lab-environment {
    margin-top: 3rem;
}

.lab-environment h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.environment-item {
    position: relative;
    cursor: pointer;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.environment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.environment-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.environment-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0,0,0,0.8);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.modal-caption {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    text-align: center;
    background: #f8f9fa;
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: #f0f0f0;
    color: #999;
    text-align: center;
    padding: 1rem;
}

.gallery-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.gallery-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

.tour-cta {
    background: linear-gradient(135deg, var(--uhasselt-red) 0%, var(--uhasselt-dark-red) 100%);
    color: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: white;
    color: var(--uhasselt-red);
    border-color: white;
}

.cta-buttons .btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--uhasselt-red);
}

.cta-buttons .btn-primary {
    border: 2px solid white;
}

.cta-buttons .btn-primary::before {
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: white;
    border-color: white;
}

.cta-buttons .btn-primary:hover::before {
    border-color: white;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .environment-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .gallery-item img {
        height: 160px;
    }
    
    .showcase-item img {
        height: 120px;
    }
    
    .environment-item img {
        height: 140px;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-caption {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .panorama-container {
        height: 300px;
    }
    
    .room-info {
        padding: 1.5rem;
    }
    
    .tour-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .environment-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .equipment-showcase,
    .lab-environment {
        margin-top: 2rem;
    }
    
    .gallery-item img,
    .showcase-item img,
    .environment-item img {
        height: 180px;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ======================================== */

/* Base styles - Mobile first approach */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography responsive scaling - Optimized for MacBook viewing */
h1 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.4;
}

/* Button responsive design - Optimized sizing */
.btn {
    padding: clamp(0.7rem, 1.5vw, 0.9rem) clamp(1.2rem, 2.5vw, 1.6rem);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    min-height: 44px; /* Touch target minimum */
}

/* Grid layouts responsive */
.stats-grid,
.offer-grid,
.hardware-grid,
.featured-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
}

/* Small mobile devices (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Hero section */
    .hero {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Grid adjustments */
    .stats-grid,
    .offer-grid,
    .hardware-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cards padding */
    .stat-card,
    .offer-card,
    .hardware-card,
    .about-content {
        padding: 1.25rem;
    }
    
    /* Navigation */
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Contact section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Large mobile devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
    }
    
    .hardware-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        padding: 2rem 1.5rem;
    }
    
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --header-height: 130px; /* Slightly taller header on tablets */
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hardware-grid,
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero {
        padding: 3rem 2rem;
    }
    
    .collaboration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Desktop (1025px - 1440px) - Optimized for 13-inch MacBook */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        padding: 0 1.5rem;
        max-width: 1200px;
    }
    
    /* Reduce hero section padding for better proportion */
    .hero {
        padding: clamp(2rem, 4vw, 3rem);
    }
    
    /* Typography adjustments for MacBook viewing */
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    /* Grid adjustments */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .offer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .hardware-grid,
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    /* Card content adjustments */
    .stat-card {
        padding: 1.5rem;
    }
    
    .offer-card {
        padding: 1.5rem;
    }
    
    /* Navigation adjustments */
    .nav-link {
        font-size: 0.8rem;
        padding: 0.75rem 0;
    }
    
    /* Button sizing */
    .btn {
        font-size: 0.85rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Header logo sizing */
    .dfl-logo {
        height: 42px;
    }
    
    .project-title h1 {
        font-size: 1.1rem;
    }
}

/* Large desktop (1441px+) */
@media (min-width: 1441px) {
    .container {
        max-width: 1280px;
        padding: 0 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .offer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hardware-grid,
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Image responsive behavior */
img {
    max-width: 100%;
    height: auto;
}

.hardware-image img,
.partner-logo,
.sponsor-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Footer responsive */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .footer-links a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .sponsor-logo {
        height: 40px;
        max-width: 140px;
    }
}

/* ========================================
   NEW HOMEPAGE SECTIONS
   ======================================== */

/* Hero section enhancements */
.hero-highlight {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--uhasselt-light-red), var(--uhasselt-cream));
    border-radius: 15px;
    border-left: 5px solid var(--uhasselt-red);
}

.hero-highlight p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Lab Introduction Section */
.lab-intro-section {
    background: var(--uhasselt-light-grey);
}

.lab-intro {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--uhasselt-red);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--uhasselt-grey);
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ecosystem-note {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.ecosystem-note i {
    color: var(--uhasselt-red);
    font-size: 2rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.ecosystem-note p {
    margin: 0;
    font-size: 1.1rem;

    text-align: justify;
}

/* Our Offer Section */
.offer-section {
    padding: 4rem 0;
    margin: 3rem 0;
}

.offer-header {
    text-align: center;
    margin-bottom: 3rem;
}

.offer-header h2 {
    color: var(--uhasselt-red);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.offer-header p {
    font-size: 1.2rem;
    color: var(--uhasselt-grey);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background: var(--uhasselt-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--uhasselt-light-grey);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--uhasselt-red), var(--uhasselt-dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.offer-icon i {
    font-size: 2.5rem;
    color: white;
}

.offer-card h3 {
    color: var(--uhasselt-red);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.offer-card p {
    color: var(--uhasselt-text-light);
    line-height: 1.5;
    font-size: clamp(0.85rem, 1.4vw, 0.9rem);
    flex: 1;
    margin-bottom: 1rem;
}

.offer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--uhasselt-red);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.offer-link:hover {
    color: var(--uhasselt-dark-red);
    gap: 1rem;
}

.offer-link i {
    transition: transform 0.3s ease;
}

.offer-link:hover i {
    transform: translateX(5px);
}

/* Collaboration Section */
.collaboration-section {
    background: var(--uhasselt-light-grey);
    padding: 4rem 0;
    margin: 3rem 0;
}

.collaboration-header {
    text-align: center;
    margin-bottom: 4rem;
}

.collaboration-header h2 {
    color: var(--uhasselt-red);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.collaboration-header p {
    font-size: 1.2rem;
    color: var(--uhasselt-grey);
}

.collaboration-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.collaboration-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.collaboration-process h3,
.hardware-access h3 {
    color: var(--uhasselt-red);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--uhasselt-light-grey);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: var(--uhasselt-cream);
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--uhasselt-red), var(--uhasselt-dark-red));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--uhasselt-red);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--uhasselt-grey);
    line-height: 1.6;
    margin: 0;
}

.access-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--uhasselt-light-grey);
    border-radius: 10px;
}

.benefit-item i {
    color: var(--uhasselt-success);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.benefit-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--uhasselt-grey);
}

.collaboration-cta {
    position: sticky;
    top: 2rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--uhasselt-red), var(--uhasselt-dark-red));
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.cta-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-actions .btn {
    width: 100%;
    justify-content: center;
    border: 2px solid white;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--uhasselt-red);
}

.cta-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    z-index: -1;
}

.cta-actions .btn-primary:hover {
    background: var(--uhasselt-light-grey);
    transform: translateY(-2px);
}

.cta-actions .btn-outline {
    background: transparent;
    color: white;
}

.cta-actions .btn-outline:hover {
    background: white;
    color: var(--uhasselt-red);
    transform: translateY(-2px);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .hero-highlight {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .lab-intro-section,
    .offer-section,
    .collaboration-section {
        padding: 3rem 0;
        margin: 2rem 0;
    }

    .intro-content h2,
    .offer-header h2,
    .collaboration-header h2 {
        font-size: 2rem;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .collaboration-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .collaboration-cta {
        position: static;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .ecosystem-note {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .ecosystem-note i {
        margin-top: 0;
    }

    .cta-actions {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .offer-card {
        padding: 2rem 1.5rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .process-steps {
        gap: 1.5rem;
    }

    .collaboration-main {
        gap: 2rem;
    }
}

.image-container {
    flex: 0 0 50vw;
    max-width: 50vw;
    height: calc(100vh - var(--header-height)); /* Full height minus dynamic header height */
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills container while maintaining aspect ratio */
}

.hero-section {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    min-height: 60vh;
}

/* Hero section responsive behavior */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .image-container {
        order: 1;
        flex: none;
        max-width: 100%;
        height: 40vh;
        overflow: hidden;
    }
    
    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero {
        order: 2;
        flex: none;
        text-align: center;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }
    
    .image-container {
        height: 30vh;
    }
    
    .hero {
        padding: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 25vh;
    }
    
    .hero {
        padding: 1.25rem;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
}

/* Removed duplicate hero responsive code - consolidated above */

strong {
    font-weight: 600;
}

.uhasselt-highlight {
    color: var(--uhasselt-red);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);    
    line-height: 1.3;
    font-weight: 600; /* Appropriate weight for section headers */
    letter-spacing: -0.005em; /* Subtle tightening for larger text */
}

.about-section .section-header h2 {
    margin-bottom: 0.5rem;
}

/* About section article structure for better semantic organization */
.about-content article {
    margin-bottom: 2.5rem;
}

.about-content article:last-of-type {
    margin-bottom: 0;
}

.about-content article h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--uhasselt-red);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-content article p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.about-content article ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-content article ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #333;
}

/* Project details styling for better visual hierarchy */
.project-details {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(196, 30, 58, 0.03);
    border-radius: 6px;
    border-left: 3px solid var(--uhasselt-red);
}

.detail-item i {
    color: var(--uhasselt-red);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.detail-item strong {
    color: var(--uhasselt-red);
    font-weight: 600;
}

/* Partners section styling */
.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.partner-group {
    flex: 1;
    text-align: center;
    min-width: 150px;
}

.partner-group a {
    display: inline-block;
    text-decoration: none;
}

.partner-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .project-details {
        gap: 0.75rem;
    }
    
    .detail-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .partner-logos {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .partner-logo {
        height: 60px;
    }
}

@media (min-width: 1200px) {
    .partner-logos {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

.section-header p {
    font-size: clamp(0.75rem, 1.2vw, 0.82rem);
    color: var(--uhasselt-red);
    font-weight: 500; /* Less heavy for subtitle text */
    margin-top: 0.5rem;
    letter-spacing: 0.02em; /* Slight spacing for small caps */
}


.footer-copyright {
    padding: clamp(0.75rem, 2vw, 1rem) 0;
    background-color: var(--uhasselt-black);
    color: var(--uhasselt-light-grey);
    text-align: center;
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.footer-copyright p {
    font-size: clamp(11px, 1vw, 13px); /* Accessibility: minimum 11px for fine print */
    margin: 0;
    opacity: 0.8;
}

/* ========================================
   ACCESSIBILITY COMPLIANCE
   ======================================== */

/* Ensure all text meets WCAG guidelines */
p, .hardware-detail, .contact-item {
    font-size: clamp(14px, 1.4vw, 15px); /* Accessibility: never smaller than 14px */
    line-height: 1.5; /* Good line spacing for readability */
}

/* Small UI text - minimum 12px */
.hardware-tag, .project-tag, .category-btn {
    font-size: clamp(12px, 1.2vw, 14px);
}

/* Ensure good contrast and readability */
.stat-card p, .offer-card p {
    font-size: clamp(14px, 1.3vw, 15px); /* Slightly larger for better readability */
}

  section {
    scroll-margin-top: 48px;
  }