.page-content {
    max-width: 1200px;
    margin: 180px auto 0;
    padding: 0 20px;
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.left-column {
    flex: 1;
    max-width: 500px;
}

.right-column {
    flex: 1;
    max-width: 500px;
}

.contact-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--background-color);
    margin-top: 2rem;
    padding-top: 1rem;
}

h2 {
    color: var(--accent-color);
    margin: 0;
    padding: 1.5rem 0;
    font-size: 2rem;
    text-align: center;
    font-family: 'Fira Code', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ascii-art {
    margin-bottom: 2rem;
    font-family: 'Fira Code', monospace;
    color: var(--accent-color);
    opacity: 0.9;
}

.ascii-art pre {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.2;
    white-space: pre;
    overflow-x: auto;
}

.contact-intro {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Fira Code', monospace;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem 2rem;
    margin: 0;
}

.contact-item .social-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    aspect-ratio: 1;
    border-radius: 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item .social-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-item .social-badge i {
    font-size: 3.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.contact-item .social-badge.email {
    background: linear-gradient(135deg, #2a6f97cc, #014f86cc);
}

.contact-item .social-badge.linkedin {
    background: linear-gradient(135deg, #0077b5cc, #005582cc);
}

.contact-item .social-badge.instagram {
    background: linear-gradient(135deg, #833ab4cc, #fd1d1dcc);
}

.contact-item .social-badge.x {
    background: linear-gradient(135deg, #14171Acc, #000000cc);
}

.contact-item .social-badge.x svg {
    width: 42px;
    height: 42px;
    color: #ffffff;
    margin-bottom: -10px;
}

.contact-item .social-badge.github {
    background: linear-gradient(135deg, #2b3137cc, #24292ecc);
}

.contact-item .social-badge.form {
    background: linear-gradient(135deg, #2ecc71cc, #27ae60cc);
}

.terminal-prompt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Fira Code', monospace;
    color: var(--text-primary);
    margin-top: 1rem;
}

.terminal-prompt .prompt {
    color: var(--accent-color);
}

.terminal-prompt .cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.contact-form {
    background: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

.contact-form iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    background: transparent;
}

main {
    margin-top: 65px;
    display: flex;
    flex-direction: column;
    background: var(--background-color);
}

.content {
    display: flex;
    flex-direction: column;
}

.terminal-content {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1200px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 1rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .contact-item .social-badge {
        padding: 1.5rem;
    }

    .contact-item .social-badge i {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0.75rem;
    }

    .contact-item .social-badge {
        padding: 1.25rem;
        font-size: 1rem;
        min-height: 120px;
    }

    .contact-item .social-badge i {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    main {
        margin-top: 60px;
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.5rem;
    }

    .contact-item .social-badge {
        padding: 1rem;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        aspect-ratio: auto;
        min-height: 80px;
    }

    .contact-item .social-badge i {
        font-size: 2rem;
    }

    .contact-item .social-badge span {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .terminal-content {
        padding: 0.5rem;
    }
}