:root {
    /* Base colors */
    --color-black: #111111;
    --color-white: #ffffff;
    --color-ice: #f8f9fa;
    --color-neutral-100: #f1f3f5;
    --color-neutral-200: #e2e6ea;
    --color-neutral-300: #d1d5db;
    --color-neutral-400: #9ca3af;
    --color-neutral-500: #6b7280;
    --color-neutral-600: #4b5563;
    --color-neutral-700: #374151;
    --color-neutral-800: #1f2937;
    
    /* Brand colors - Anywhere Real Estate */
    --color-primary: #212763;    /* Main blue */
    --color-primary-light: #2d3a8c;
    --color-primary-dark: #1a1f4f;
    --color-accent: #ff4500;     /* Main orange */
    --color-accent-light: #ff6b35;
    --color-accent-dark: #cc3700;
    
    /* Semantic colors */
    --color-text: var(--color-neutral-800);
    --color-text-light: var(--color-neutral-600);
    --color-link: var(--color-primary);
    --color-link-hover: var(--color-primary-light);
    --color-border: var(--color-neutral-200);
    --color-shadow: rgba(0, 0, 0, .08);
    --color-shadow-light: rgba(0, 0, 0, .05);
    --color-shadow-dark: rgba(0, 0, 0, .15);
    --color-overlay: rgba(0, 0, 0, .85);
    --color-overlay-hover: rgba(0, 0, 0, .75);
    
    /* Background gradients */
    --gradient-hero: linear-gradient(115deg, var(--color-ice) 0%, var(--color-neutral-100) 120%);
    --gradient-value: linear-gradient(135deg, var(--color-ice) 0%, var(--color-neutral-100) 100%);
    --gradient-challenge: linear-gradient(135deg, var(--color-ice) 0%, var(--color-neutral-100) 100%);
    --gradient-impact: linear-gradient(135deg, var(--color-ice) 0%, var(--color-neutral-100) 100%);
    --gradient-story: linear-gradient(135deg, var(--color-ice) 0%, var(--color-neutral-100) 100%);
    --gradient-results: linear-gradient(135deg, var(--color-ice) 0%, var(--color-neutral-100) 100%);
    --gradient-fit: linear-gradient(135deg, var(--color-ice) 0%, var(--color-neutral-100) 100%);
    --gradient-portfolio: linear-gradient(135deg, var(--color-ice) 0%, var(--color-neutral-200) 100%);
    --gradient-contact: linear-gradient(135deg, var(--color-ice) 0%, var(--color-neutral-100) 100%);
}

/* Logo component */
.logo {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    transition: transform 0.2s ease;
    background: var(--color-ice);
    padding: 0.5rem;
    border-radius: 0.5rem;
    /* box-shadow: 0 0.2rem 0.8rem var(--color-shadow); */
}

.logo img {
    width: 120px;
    height: auto;
    display: block;
}

.logo:hover {
    transform: scale(1.05);
    /* box-shadow: 0 0.4rem 1.2rem var(--color-shadow); */
}

@media (max-width: 600px) {
    .logo {
        top: 1rem;
        left: 1rem;
    }

    .logo img {
        width: 100px;
    }
}

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle at center,
        var(--color-primary) 0.5px,
        transparent 0.5px
    );
    background-size: 24px 24px;
    opacity: 0;
    animation: gradientDots 6s ease-in-out infinite;
}

@keyframes gradientDots {
    0% {
        background-position: 0% 0%;
        opacity: 0.04;
        background-image: radial-gradient(
            circle at center,
            var(--color-primary) 0.5px,
            transparent 0.5px
        );
    }
    50% {
        opacity: 0.08;
        background-image: radial-gradient(
            circle at center,
            var(--color-primary-dark) 0.5px,
            transparent 0.5px
        );
    }
    100% {
        background-position: 100% 100%;
        opacity: 0.04;
        background-image: radial-gradient(
            circle at center,
            var(--color-primary) 0.5px,
            transparent 0.5px
        );
    }
}

html,
body {
    margin: 0;
    height: 100%;
    font-family: "Raleway", sans-serif;
    background: var(--color-ice);
    color: var(--color-text);
    overflow: hidden;
    position: relative;
}

#impress {
    width: 1200px;
    height: 800px;
    position: relative;
    z-index: 1;
}

.step {
    width: 84vw;
    height: 82vh;
    padding: 5vh 6vw;
    border-radius: 1.8rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1.8rem 4rem var(--color-shadow);
    background: var(--color-ice);
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
    animation: drift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes drift {
    from {
        transform: translateZ(0) rotate(0deg);
    }

    to {
        transform: translateZ(60px) rotate(30deg);
    }
}

h1,
h2 {
    margin: 0 0 1rem 0;
    font-weight: 800;
    line-height: 1.1;
}

h1 {
    font-size: 6vw;
}

h2 {
    font-size: 3.6vw;
}

p,
li {
    font-size: 1.4vw;
    max-width: 60ch;
    margin: 0 0 .6rem 0;
    font-weight: 400;
}

ul {
    padding-left: 1.4em;
    margin: 0;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-link-hover);
    text-decoration: none;
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
}

.step.active .reveal {
    animation: reveal .8s cubic-bezier(.25, .8, .25, 1) forwards;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: none;
    }
}

.delay-1 {
    animation-delay: .15s;
}

.delay-2 {
    animation-delay: .3s;
}

.delay-3 {
    animation-delay: .45s;
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 6px var(--color-border);
    margin-bottom: 1.2rem;
}

.grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.grid img {
    width: 300px;
    height: 180px;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 .8rem 2rem var(--color-shadow-light);
}

.note {
    font-size: 1.6rem;
    color: var(--color-white);
    background: var(--color-primary-dark);
    padding: 2.5rem 1rem;
    text-align: center;
    border-radius: 0.8rem;
    margin-top: 0.5rem;
}

.note > em > small {
    font-size: 1rem;
    color: var(--color-ice);
}

.pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    color: var(--color-ice);
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.4rem 1rem var(--color-shadow);
}

.pill-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.6rem 1.4rem var(--color-shadow);
    background: var(--color-neutral-800);
}

.pill-text {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .pill-button {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
}

/* Polished nav buttons */
.nav-btn {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: var(--color-overlay);
    backdrop-filter: blur(8px) saturate(1.2);
    color: var(--color-ice);
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 .8rem 2.2rem var(--color-shadow-dark);
    transition: transform .2s ease, background .3s ease;
    z-index: 9999;
}

.nav-btn:hover {
    transform: scale(1.1);
    background: var(--color-overlay-hover);
}

.nav-prev {
    right: calc(2.2rem + 72px);
}

@media(max-width:600px) {

    html,
    body {
        overflow: auto;
    }

    #impress {
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        position: static !important;
    }

    .step {
        width: 92%;
        height: auto;
        padding: 3rem 1.5rem;
        border-radius: 1rem;
        margin: 3rem auto;
        box-shadow: none;
    }

    .shape {
        display: none;
    }

    h1 { font-size: 2.4rem; } h2 { font-size: 1.8rem; } p, li { font-size: 1rem; }

    .nav-btn {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.6rem;
    }

    .nav-prev {
        right: calc(1rem + 58px);
    }
}

/* Footer Styles */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-ice);
    padding: 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 -0.4rem 1.2rem var(--color-shadow-dark);
}

.footer-bar:hover {
    transform: translateY(0);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-accent);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-list li {
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-list li:hover {
    opacity: 1;
}

.footer-list a {
    color: var(--color-ice);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: var(--color-accent);
}

@media (max-width: 600px) {
    .footer-bar {
        padding: 1rem;
    }

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

    .footer-section {
        text-align: center;
    }

    .footer-list {
        align-items: center;
    }
}

/* Animated Info Bar */
.info-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-accent);
    color: var(--color-ice);
    overflow: hidden;
    /* height: 48px; */
    padding: 0.5rem 0;
    box-shadow: 0 -0.4rem 1.2rem var(--color-shadow-dark);
    z-index: 10000;
}

.info-content {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    padding: 0 1rem;
}


.info-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.info-icon {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

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

@media (max-width: 600px) {
    .info-bar {
        height: 40px;
    }

    .info-item {
        font-size: 0.85rem;
    }

    .info-icon {
        width: 16px;
        height: 16px;
    }
}

/* Sendeasy Results Layout */
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.text-content {
    flex: 0 0 auto;
}

.visual-content {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.main-preview {
    flex: 1;
    max-width: 50%;
}

.main-preview img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 0.8rem 2rem var(--color-shadow);
}

.visual-content .links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-content: start;
}

.visual-content .demo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.2s ease;
    background: var(--color-ice);
    padding: 0.75rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 1rem var(--color-shadow);
}

.visual-content .demo-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.6rem 1.4rem var(--color-shadow);
}

.visual-content .demo-link img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 0.4rem;
    border: 1px solid var(--color-border);
}

.visual-content .demo-link span {
    font-weight: 600;
    font-size: 0.7rem;
    background: var(--color-black);
    color: var(--color-ice);
    padding: 0.5rem 1rem;
    border-radius: 2.5rem;
}

@media (max-width: 600px) {
    .content-wrapper {
        gap: 1rem;
    }

    .visual-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-preview {
        max-width: 100%;
    }

    .visual-content .links {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .visual-content .demo-link {
        padding: 0.5rem;
    }

    .visual-content .demo-link img {
        height: 80px;
    }

    .visual-content .demo-link span {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Text content improvements */
.text-block {
    margin-bottom: 2rem;
}

.text-block h3 {
    font-size: 1.8vw;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 0.5rem 0;
}

.text-block p {
    font-size: 1.2vw;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
    max-width: 40ch;
}

.example-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.example-links .pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: var(--color-black);
    color: var(--color-ice);
    border-radius: 2rem;
    font-size: 0.9vw;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.example-links .pill:hover {
    transform: translateY(-2px);
    background: var(--color-neutral-800);
    color: var(--color-ice);
}

@media (max-width: 600px) {
    .text-block h3 {
        font-size: 1.4rem;
    }
    
    .text-block p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .example-links {
        flex-wrap: wrap;
    }
    
    .example-links .pill {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Results Layout */
.results-layout {
    display: flex;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

.results-content {
    flex: 1;
    max-width: 50%;
}

.results-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 1rem;
}

.results-images img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 1rem var(--color-shadow);
    transition: transform 0.2s ease;
}

.results-images img:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.6rem 1.4rem var(--color-shadow);
}

@media (max-width: 600px) {
    .results-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .results-content {
        max-width: 100%;
    }

    .results-images {
        width: 100%;
        padding-right: 0;
    }
}

/* Challenge Layout */
.challenge-layout {
    display: flex;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

.challenge-content {
    flex: 1;
    max-width: 50%;
}

.challenge-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-image img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
    /* box-shadow: 0 0.4rem 1rem var(--color-shadow); */
    transition: transform 0.2s ease;
}

.challenge-image img:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 0.6rem 1.4rem var(--color-shadow); */
}

@media (max-width: 600px) {
    .challenge-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .challenge-content {
        max-width: 100%;
    }

    .challenge-image {
        width: 100%;
    }
}

/* Impact Layout */
.impact-layout {
    display: flex;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

.impact-content {
    flex: 1;
    max-width: 50%;
}

.impact-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 1rem;
}

.impact-images img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
    transition: transform 0.2s ease;
}

.impact-images img:hover {
    transform: translateY(-4px);
}

@media (max-width: 600px) {
    .impact-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .impact-content {
        max-width: 100%;
    }

    .impact-images {
        width: 100%;
        padding-right: 0;
    }
}

/* Fit Layout */
.fit-layout {
    display: flex;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

.fit-content {
    flex: 1;
    max-width: 60%;
}

.fit-icon {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.fit-icon img {
    width: 100%;
    max-width: 320px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.fit-icon img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .fit-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .fit-content {
        max-width: 100%;
    }

    .fit-icon {
        padding: 1rem;
    }

    .fit-icon img {
        max-width: 180px;
    }
}

/* Ace Layout */
.ace-layout {
    display: flex;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

.ace-content {
    flex: 1;
    max-width: 60%;
}

.ace-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ace-image img {
    width: auto;
    height: 700px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .ace-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .ace-content {
        max-width: 100%;
    }

    .ace-image img {
        height: 200px;
    }
}

/* Skills Grid Layout */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.skills-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skills-section h3 {
    font-size: 1vw;
    font-weight: 600;
    color: var(--color-accent);
    margin: 0;
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: start;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-ice);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0.4rem 1rem var(--color-shadow);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.6rem 1.4rem var(--color-shadow);
}

.skill-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

@media (max-width: 600px) {
    .skills-section h3 {
        font-size: 1rem;
        color: var(--color-accent);
    }

    .skills-row {
        gap: 1rem;
    }

    .skill-item {
        padding: 0.8rem;
    }

    .skill-item img {
        width: 40px;
        height: 40px;
    }

    .skill-item span {
        font-size: 0.8rem;
    }
}

/* Contact Layout */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    height: 100%;
    justify-content: center;
}

.contact-header {
    text-align: center;
}

.contact-header h2 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header .subtitle {
    font-size: 1.4vw;
    color: var(--color-text-light);
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--color-ice);
    border-radius: 1rem;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 0.4rem 1rem var(--color-shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.6rem 1.4rem var(--color-shadow);
    background: var(--color-white);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border-radius: 14px;
    color: var(--color-ice);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.4vw;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
}

.contact-info span {
    font-size: 1.1vw;
    color: var(--color-text-light);
}

.contact-footer {
    text-align: center;
}

.contact-footer p {
    width: 100%;
    font-size: 1.2vw;
    color: var(--color-text-light);
    margin: 0 auto;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-info h3 {
        font-size: 1.2rem;
    }

    .contact-info span {
        font-size: 1rem;
    }

    .contact-footer p {
        font-size: 1rem;
    }
}

/* Autoplay Control */
.autoplay-control {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ice);
    box-shadow: 0 0.4rem 1rem var(--color-shadow);
    transition: all 0.3s ease;
}

.autoplay-control:hover {
    transform: scale(1.1);
    background: var(--color-primary-light);
    box-shadow: 0 0.6rem 1.4rem var(--color-shadow);
}

.autoplay-control svg {
    width: 24px;
    height: 24px;
}

.autoplay-control.playing .play-icon {
    display: none;
}

.autoplay-control:not(.playing) .pause-icon {
    display: none;
}

@media (max-width: 600px) {
    .autoplay-control {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .autoplay-control svg {
        width: 20px;
        height: 20px;
    }
}

/* Base mobile adjustments */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
    }

    #impress {
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        position: static !important;
        perspective: none !important;
    }

    .step {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 2rem 1.5rem;
        margin: 0;
        position: relative !important;
        transform: none !important;
        opacity: 1 !important;
        border-radius: 0;
        box-shadow: none;
    }

    /* Typography adjustments */
    h1 { 
        font-size: 2.5rem; 
        margin-bottom: 1.5rem;
    }
    
    h2 { 
        font-size: 2rem; 
        margin-bottom: 1.2rem;
    }
    
    p, li { 
        font-size: 1rem; 
        max-width: 100%;
    }

    /* Layout adjustments */
    .ace-layout,
    .challenge-layout,
    .impact-layout,
    .results-layout,
    .fit-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .ace-content,
    .challenge-content,
    .impact-content,
    .results-content,
    .fit-content {
        max-width: 100%;
    }

    /* Navigation adjustments */
    .nav-btn {
        position: fixed;
        bottom: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .nav-prev {
        right: calc(1rem + 56px);
    }

    /* Info bar adjustments */
    .info-bar {
        position: relative;
        padding: 0.75rem 0;
    }

    .info-content {
        animation: marquee 20s linear infinite;
    }

    /* Footer adjustments */
    .footer-bar {
        position: relative;
        transform: none;
    }

    /* Skills grid adjustments */
    .skills-grid {
        margin-top: 1.5rem;
    }

    .skills-row {
        justify-content: center;
    }

    .skill-item {
        flex: 0 0 calc(33.33% - 1rem);
        min-width: 100px;
    }

    /* Contact adjustments */
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.2rem;
    }

    .contact-info span {
        font-size: 0.9rem;
    }

    /* Visual content adjustments */
    .visual-content {
        flex-direction: column;
    }

    .main-preview {
        max-width: 100%;
    }

    .links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
    }

    /* Avatar adjustments */
    .avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }

    /* Logo adjustments */
    .logo {
        top: 1rem;
        left: 1rem;
    }

    .logo img {
        width: 100px;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .skill-item {
        flex: 0 0 calc(50% - 1rem);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .contact-icon {
        margin-bottom: 0.5rem;
    }
}

/* Mobile slide images */
.mobile-slides {
    display: none;
}

@media (max-width: 768px) {
    /* Hide desktop presentation */
    #impress,
    .nav-btn,
    .info-bar {
        display: none !important;
    }

    /* Show mobile slides */
    .mobile-slides {
        display: block;
        width: 100%;
        padding: 1rem;
    }

    .mobile-slide-img {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px var(--color-shadow);
    }

    /* Keep logo visible */
    .logo {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1000;
    }

    .logo img {
        width: 100px;
    }
}

/* Remove floating footer */
.footer-bar {
    display: none;
}