.hero-section {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--tum-dark) 0%, var(--tum-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    width: 90%;
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--tum-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    background: var(--tum-light);
    color: white;
}

.hero-cta-group {
    display: inline-flex;
    gap: 1rem;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: none;
}

.cta-secondary:hover {
    background: white;
    color: var(--tum-dark);
}

.objectives-section {
    background-color: var(--background-light);
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.objectives-header {
    text-align: center;
    color: var(--tum-dark);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.objectives-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--tum-blue);
    border-radius: 2px;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.objective-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
}

.objective-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--tum-blue);
}

.objective-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.objective-card:hover .objective-icon {
    transform: scale(1.2);
}

.objective-card h3 {
    color: var(--tum-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.objective-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.features-section {
    padding: 6rem 0;
    background-color: white;
    min-height: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Project Demo Section */
.demo-section {
    background-color: var(--background-light);
    padding: 6rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.demo-video {
    position: relative;
}

.demo-video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--tum-blue);
    background: #f0f2f5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.demo-video-poster {
    width: 100%;
    height: min(500px, 60vh);
    object-fit: cover;
    display: block;
}

.demo-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    color: var(--tum-dark);
}

.demo-content h3 {
    color: var(--tum-blue);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.demo-content p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.demo-video .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.demo-video .video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Reuse overlay icon with larger size for hero demo */
.demo-video .video-overlay i {
    font-size: 4.5rem;
}

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

    .demo-video-poster {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .demo-video-poster {
        height: 280px;
    }
}

.feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-images {
    position: relative;
    height: min(500px, 60vh);
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid var(--tum-blue);
    background: #f0f2f5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.5s ease;
    cursor: pointer;
    padding: 10px 0;
    z-index: 1;
}

.feature-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.feature-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 2;
}

.feature-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--tum-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-nav button:hover {
    background: var(--tum-blue);
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.feature-nav button:hover::after {
    border-left-color: white;
}

.right-arrow::after,
.left-arrow::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid var(--tum-dark);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transition: border-color 0.3s ease;
}

.left-arrow::after {
    transform: rotate(180deg);
}

.feature-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    color: var(--tum-dark);
}

.feature-content h3 {
    color: var(--tum-blue);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.feature-content p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Full-width Video Section (Apple-style) */
.fullwidth-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullwidth-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.video-overlay-content {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 80%;
    max-width: 1200px;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
}

.video-overlay-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
}

.video-overlay-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--tum-light);
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}

.video-overlay-content p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .fullwidth-video-section {
        height: 80vh;
        min-height: 500px;
    }

    .video-overlay-content {
        width: 85%;
        padding: 1.25rem 1.5rem;
        bottom: 1.5rem;
    }

    .video-overlay-content h2 {
        margin-bottom: 0.4rem;
    }

    .video-overlay-content h3 {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .fullwidth-video-section {
        height: 70vh;
        min-height: 450px;
    }

    .video-overlay-content {
        width: 90%;
        padding: 1rem 1rem;
        bottom: 1rem;
        background: rgba(0, 0, 0, 0.2);
    }
}

/* Full-width Slideshow Section (Apple-style with auto-rotating images) */
.fullwidth-slideshow-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fullwidth-slideshow-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.fullwidth-slideshow-image.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-overlay-content {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: white;
    width: 80%;
    max-width: 1200px;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
}

.slideshow-overlay-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
}

.slideshow-overlay-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--tum-light);
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}

.slideshow-overlay-content p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .fullwidth-slideshow-section {
        height: 80vh;
        min-height: 500px;
    }

    .slideshow-overlay-content {
        width: 85%;
        padding: 1.25rem 1.5rem;
        bottom: 1.5rem;
    }

    .slideshow-overlay-content h2 {
        margin-bottom: 0.4rem;
    }

    .slideshow-overlay-content h3 {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .fullwidth-slideshow-section {
        height: 70vh;
        min-height: 450px;
    }

    .slideshow-overlay-content {
        width: 90%;
        padding: 1rem 1rem;
        bottom: 1rem;
        background: rgba(0, 0, 0, 0.2);
    }
}

.sponsors-section {
    background-color: var(--background-light);
    padding: 4rem 0;
    text-align: center;
    width: 100%;
}

.sponsors-content {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.sponsors-content h2 {
    color: var(--tum-dark);
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.tum-logo {
    max-width: 200px;
    height: auto;
    margin: 2rem 0;
    transition: transform 0.3s ease;
}

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

/* Footer Styles */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-container {
        gap: 2rem;
    }
}

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

    .feature-images {
        height: 350px;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        overflow: visible;
    }

    .feature-image {
        padding: 15px 0;
    }
    
    .feature-image.active {
        position: relative;
        display: block;
    }
    
    .feature-image:not(.active) {
        display: none;
    }

    .objectives-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-content h3 {
        font-size: 1.3rem;
    }
    
    .feature-nav button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .feature-images {
        height: 280px;
        overflow: visible;
    }

    .feature-image {
        padding: 10px 0;
    }
    
    .feature-image.active {
        position: relative;
        display: block;
        height: 100%;
        width: 100%;
    }

    .feature-content {
        padding: 1rem;
    }

    .objectives-section,
    .features-section {
        padding: 3rem 0;
    }
    
    .objectives-header {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .objective-card {
        padding: 1.5rem;
    }
    
    .objective-icon {
        font-size: 2rem;
    }
    
    .feature-nav {
        padding: 0 0.5rem;
    }
    
    .feature-nav button {
        width: 35px;
        height: 35px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .sponsors-content h2 {
        font-size: 1.5rem;
    }
    
    .tum-logo {
        max-width: 150px;
        margin: 1.5rem 0;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .feature-images {
        height: 250px;
        overflow: visible;
    }
    
    .feature-image.active {
        position: relative;
        height: 100%;
    }
    
    .feature-content h2 {
        font-size: 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.2rem;
    }
    
    .feature-content p {
        font-size: 0.95rem;
    }
}

/* Animation Classes */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.animate-fade-in.visible,
.animate-slide-in.visible {
    opacity: 1;
    transform: translate(0);
}