/* Brutalist Style - SYNCREATE */
@font-face {
    font-family: 'BBH Bartle';
    src: url('BBHBartle-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brutal-blue: #0000de;
    --black: #000000;
    --white: #FFFFFF;
    --gray: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Monaco', monospace;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Menu */
.nav-menu {
    width: 100%;
    background-color: var(--white);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--black);
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'BBH Bartle', 'Courier New', monospace;
}

.nav-logo:hover {
    color: var(--brutal-blue);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    padding: 8px 16px;
    border: 3px solid var(--black);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: var(--brutal-blue);
    color: var(--white);
    border-color: var(--brutal-blue);
}

/* Header Styles */
.header {
    width: 100%;
    background-color: var(--white);
    position: relative;
    min-height: 70vh;
}

.header-container {
    width: 100%;
    display: flex;
    position: relative;
    min-height: 70vh;
    overflow: visible;
}

.header-left {
    width: 35%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    padding: 0;
}

.header-right {
    width: 65%;
    background-color: var(--gray);
    position: relative;
}

.binary-decoration {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0;
}

.binary-line {
    color: var(--brutal-blue);
    font-size: 16px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    margin: 0;
    padding: 10px 0;
    line-height: 1.8;
    word-break: break-all;
    white-space: nowrap;
    animation: binaryMoveRight 25s linear infinite;
    position: relative;
    will-change: transform;
    display: inline-block;
    width: 100%;
}

@keyframes binaryMoveRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.binary-line:nth-child(1) {
    animation-duration: 25s;
}

.binary-line:nth-child(2) {
    animation-duration: 28s;
    animation-delay: -4s;
}

.binary-line:nth-child(3) {
    animation-duration: 30s;
    animation-delay: -8s;
}

.binary-line:nth-child(4) {
    animation-duration: 27s;
    animation-delay: -2s;
}

.binary-line:nth-child(5) {
    animation-duration: 32s;
    animation-delay: -10s;
}

.binary-line:nth-child(6) {
    animation-duration: 26s;
    animation-delay: -5s;
}

.binary-line:nth-child(7) {
    animation-duration: 29s;
    animation-delay: -7s;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        45deg,
        var(--gray),
        var(--gray) 20px,
        #2a2a2a 20px,
        #2a2a2a 40px
    );
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: repeating-linear-gradient(
        45deg,
        #2a2a2a,
        #2a2a2a 20px,
        var(--gray) 20px,
        var(--gray) 40px
    );
}

.play-icon {
    font-size: 80px;
    color: var(--brutal-blue);
    margin-bottom: 20px;
    font-weight: bold;
}

.video-placeholder p {
    color: var(--brutal-blue);
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.header-video {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    object-fit: cover;
    display: block;
}

.header-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: 900;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 12px;
    font-family: 'BBH Bartle', 'Courier New', monospace;
    z-index: 100;
    pointer-events: none;
    width: 100%;
    text-align: center;
}

.header-binary-mobile {
    display: none;
}

/* Main Content Styles */
.main-content {
    width: 100%;
    background-color: var(--white);
}

.content-section {
    width: 100%;
    min-height: 100vh;
    padding: 100px 40px;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.section-container.reverse {
    grid-template-columns: 1fr 1fr;
}

.section-container.reverse .text-content {
    order: 2;
}

.section-container.reverse .image-content {
    order: 1;
}

/* Text Content */
.text-content {
    padding: 40px;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.section-title {
    font-size: 80px;
    font-weight: 900;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 40px;
    line-height: 1;
    font-family: 'BBH Bartle', 'Courier New', monospace;
    display: inline-block;
}

.text-right .section-title {
    margin-left: auto;
    display: block;
    text-align: right;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.section-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 4px solid var(--black);
    transition: all 0.2s ease;
    font-family: 'Courier New', monospace;
    margin-top: 20px;
}

.section-button:hover {
    background-color: var(--brutal-blue);
    border-color: var(--brutal-blue);
    color: var(--white);
}

/* Image Content */
.image-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    align-self: start;
    max-height: 600px;
}

.sticky-text {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sticky-image {
    position: sticky;
    top: 120px;
    height: fit-content;
    animation: fadeInSticky 0.8s ease-out;
}

@keyframes fadeInSticky {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-image {
    width: 100%;
    height: 100%;
    max-height: 600px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border: 4px solid var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
    transform: scale(1.02);
    box-shadow: 8px 8px 0 var(--brutal-blue);
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: repeating-linear-gradient(
        90deg,
        var(--gray),
        var(--gray) 30px,
        #2a2a2a 30px,
        #2a2a2a 60px
    );
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.placeholder-content span {
    color: var(--brutal-blue);
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-family: 'Courier New', monospace;
}

/* Footer */
.footer {
    width: 100%;
    background-color: var(--brutal-blue);
    color: var(--white);
    padding: 60px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
}

.footer-link {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--black);
    background-color: var(--white);
    padding: 4px 8px;
}

/* Subpage Styles */
.subpage-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 60px 40px;
}

.subpage-header {
    width: 100%;
    background-color: var(--brutal-blue);
    padding: 150px 40px;
    text-align: left;
}

.subpage-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.subpage-header .subpage-title {
    margin: 0;
    text-align: left;
    flex: 1;
}

.subpage-icon {
    width: 306px;
    height: 306px;
    flex-shrink: 0;
}

.subpage-icon svg {
    width: 100%;
    height: 100%;
}

.subpage-title {
    font-size: 72px;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 8px;
    margin: 0;
    font-family: 'BBH Bartle', 'Courier New', monospace;
}

.subpage-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.subpage-list {
    font-size: 18px;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 30px;
    margin-left: 30px;
    letter-spacing: 0.5px;
}

.subpage-list li {
    margin-bottom: 15px;
}

.contact-link {
    color: var(--brutal-blue);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--black);
    text-decoration: underline;
}

.subpage-section {
    margin-bottom: 60px;
    padding: 40px;
}

.subpage-section h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-family: 'BBH Bartle', 'Courier New', monospace;
    display: inline-block;
}

.subpage-section h4,
.subpage-section h5 {
    color: var(--black);
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'BBH Bartle', 'Courier New', monospace;
}

.subpage-section h5 {
    font-size: 20px;
    margin-top: 25px;
}

.blue-headline {
    color: var(--brutal-blue) !important;
}

/* Icon List Styles */
.icon-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-wrapper {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    width: 100%;
    height: 100%;
}

.icon-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    margin: 0;
    max-width: 300px;
}

.back-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 4px solid var(--black);
    transition: all 0.2s ease;
    font-family: 'Courier New', monospace;
    margin-top: 40px;
}

.back-button:hover {
    background-color: var(--brutal-blue);
    border-color: var(--brutal-blue);
    color: var(--white);
}

/* Special Section with Blue Background */
.special-section {
    background-color: var(--brutal-blue);
    color: var(--white);
    padding: 60px 40px;
    margin: 40px 0;
}

.special-section h3 {
    color: var(--white);
}

.special-section h4,
.special-section h5 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'BBH Bartle', 'Courier New', monospace;
}

.special-section h5 {
    font-size: 20px;
    margin-top: 25px;
}

.special-content .subpage-text {
    color: var(--white);
}

/* Image Gallery - All images visible */
.image-gallery {
    position: relative;
    width: 100%;
    margin: 40px auto;
    overflow: visible;
}

.gallery-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.gallery-item {
    width: 6cm;
    height: 6cm;
    flex-shrink: 0;
    overflow: visible;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 4px solid var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.02);
    box-shadow: 8px 8px 0 var(--brutal-blue);
}

/* Outcome gallery: 5cm x 5cm */
.outcome-gallery .gallery-item {
    width: 5cm;
    height: 5cm;
}

/* Landscape image with parallax */
.landscape-image {
    width: 100%;
    margin: 40px 0;
    overflow: hidden;
}

.landscape-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: 4px solid var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landscape-image:hover img {
    transform: scale(1.02);
    box-shadow: 8px 8px 0 var(--brutal-blue);
}

.parallax-image {
    position: relative;
}

/* Challenges horizontal icon list */
.challenges-icon-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
    margin: 40px 0;
    align-items: stretch;
    justify-content: space-between;
}

.challenges-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.challenges-icon-item .icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.challenges-icon-item .icon-wrapper svg {
    width: 100%;
    height: 100%;
}

.challenges-icon-item .icon-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    margin: 0;
    text-align: left;
}

/* Blue tile (GEWAEHLTER ANSATZ) */
.blue-tile {
    background-color: var(--brutal-blue);
    color: var(--white);
    padding: 40px;
    margin: 40px 0;
}

.blue-tile-heading {
    color: var(--white) !important;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-family: 'BBH Bartle', 'Courier New', monospace;
}

.blue-tile-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.blue-tile-list {
    font-size: 18px;
    line-height: 1.8;
    color: var(--white);
    margin: 0 0 0 30px;
    letter-spacing: 0.5px;
}

.blue-tile-list li {
    margin-bottom: 15px;
}

/* Blue tile with image gallery (5cm x 5cm, black hover) */
.blue-tile-gallery {
    padding: 40px;
}

.blue-tile-gallery .gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 5cm);
    gap: 20px;
    justify-content: center;
}

.blue-tile-gallery .gallery-item {
    width: 5cm;
    height: 5cm;
    overflow: visible;
}

.blue-tile-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 4px solid var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blue-tile-gallery .gallery-item-dark-hover:hover img {
    transform: scale(1.02);
    box-shadow: 8px 8px 0 var(--black);
}

.blue-tile-gallery .gallery-item-blue-hover:hover img {
    transform: scale(1.02);
    box-shadow: 8px 8px 0 var(--brutal-blue);
}

/* Image Slider */
.image-slider {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 40px auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 60px;
    width: 60px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    height: 60px;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 4px solid var(--black);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--black);
    color: var(--white);
    border: 4px solid var(--black);
    width: 50px;
    height: 50px;
    font-size: 30px;
    font-weight: 900;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-family: 'Courier New', monospace;
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-btn:hover {
    background-color: var(--brutal-blue);
    border-color: var(--brutal-blue);
}

/* Prompt Buttons */
.prompt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.prompt-btn {
    padding: 16px 32px;
    background-color: var(--black);
    color: var(--white);
    border: 4px solid var(--black);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Courier New', monospace;
}

.prompt-btn:hover {
    background-color: var(--brutal-blue);
    border-color: var(--brutal-blue);
    color: var(--white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border: 4px solid var(--black);
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 40px;
    font-weight: 900;
    color: var(--black);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--brutal-blue);
}

#promptContent {
    margin-top: 20px;
}

#promptContent h4 {
    font-size: 24px;
    font-weight: 900;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: 'BBH Bartle', 'Courier New', monospace;
}

#promptContent p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 15px;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-title {
        font-size: 80px;
        letter-spacing: 8px;
    }
    
    .section-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-container.reverse {
        grid-template-columns: 1fr;
    }
    
    .section-container.reverse .text-content,
    .section-container.reverse .image-content {
        order: 0;
    }
    
    .text-right {
        text-align: left;
    }
    
    .text-right .section-title {
        text-align: left;
        margin-left: 0;
    }
    
    .sticky-text {
        position: relative;
        top: 0;
    }
    
    .sticky-image {
        position: relative;
        top: 0;
    }
    
    .section-title {
        font-size: 56px;
    }
    
    .section-image {
        aspect-ratio: 4 / 5;
        height: auto;
    }
    
    .image-content {
        aspect-ratio: 4 / 5;
    }
    
    .header-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .header-left {
        display: none;
    }
    
    .header-right {
        width: 100%;
        position: relative;
    }
    
    .video-placeholder {
        min-height: 50vh;
    }
    
    .header-video {
        min-height: 50vh;
    }
    
    .header-binary-mobile {
        display: block;
        width: 100%;
        padding: 20px;
        background-color: var(--white);
    }
    
    .header-binary-mobile .binary-decoration {
        width: 100%;
    }
    
    .header-title {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        font-size: 48px;
        letter-spacing: 4px;
        text-align: center;
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        padding: 15px 20px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-link {
        text-align: center;
        width: 100%;
    }
    
    .content-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 40px;
        letter-spacing: 4px;
    }
    
    .section-text {
        font-size: 16px;
    }
    
    .image-placeholder {
        height: 300px;
    }
    
    .section-image {
        aspect-ratio: 4 / 5;
        height: auto;
    }
    
    .image-content {
        aspect-ratio: 4 / 5;
    }
    
    .binary-line {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .play-icon {
        font-size: 50px;
    }
    
    .video-placeholder p {
        font-size: 16px;
    }
    
    .header-title {
        font-size: 40px;
        letter-spacing: 4px;
        padding: 30px 15px;
    }
    
    .subpage-header {
        padding: 80px 20px;
    }
    
    .subpage-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .subpage-icon {
        width: 204px;
        height: 204px;
        align-self: flex-end;
    }
    
    .subpage-title {
        font-size: 40px;
    }
    
    .subpage-content {
        padding: 60px 20px;
    }
    
    .subpage-section {
        padding: 20px;
    }
    
    .blue-tile {
        padding: 30px 20px;
    }
    
    .blue-tile-heading {
        font-size: 24px;
    }
    
    .blue-tile-gallery .gallery-container {
        grid-template-columns: repeat(2, 5cm);
        justify-content: center;
    }
    
    .icon-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .challenges-icon-list {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .icon-text {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-text {
        font-size: 14px;
    }
    
    .binary-line {
        font-size: 10px;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .section-image {
        aspect-ratio: 4 / 5;
        height: auto;
    }
    
    .image-content {
        aspect-ratio: 4 / 5;
    }
    
    .placeholder-content span {
        font-size: 20px;
    }
    
    .special-section {
        padding: 40px 20px;
    }
    
    .image-slider {
        margin: 30px auto;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    .prompt-buttons {
        flex-direction: column;
    }
    
    .prompt-btn {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }
}
