/* ==================== VARIABLES ==================== */
:root {
    --bg-dark: #070913;
    --bg-card: rgba(13, 17, 30, 0.6);
    --bg-header: rgba(7, 9, 19, 0.75);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(99, 102, 241, 0.3);
    
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --text-gray-light: #64748b;
    
    --primary-color: #6366f1;
    --primary-alt: #4f46e5;
    
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-card-1: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    --gradient-card-2: linear-gradient(135deg, #063970 0%, #151e3d 100%);
    --gradient-card-3: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.2);
}

/* ==================== RESET ==================== */
*, ::before, ::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-dark);
    color: var(--text-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--text-white);
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

button, input, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== UTILITIES ==================== */
.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 6.5rem 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1rem;
    color: var(--text-gray);
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== GLOW BACKGROUND ==================== */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.glow-1 {
    width: 450px;
    height: 450px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation: float-slow 20s infinite alternate;
}

.glow-2 {
    width: 550px;
    height: 550px;
    background: #d946ef;
    bottom: -150px;
    left: -150px;
    animation: float-slow 25s infinite alternate-reverse;
}

@keyframes float-slow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.1); }
}

/* ==================== BUTTONS ==================== */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5), var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.btn-primary:hover .btn-icon {
    transform: translateX(3px);
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.header-active {
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav {
    height: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-active .nav {
    height: 4rem;
}

.nav-logo {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-white);
    letter-spacing: -0.03em;
}

.nav-logo span {
    color: var(--primary-color);
}

.nav-menu {
    transition: var(--transition-smooth);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-gray);
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after,
.active-link::after {
    width: 100%;
}

.active-link {
    color: var(--text-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

.nav-toggle {
    font-size: 1.5rem;
    color: var(--text-white);
    cursor: pointer;
    display: none;
}

/* ==================== HERO ==================== */
.home-container {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    min-height: 85vh;
}

.home-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-subtitle {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-subtitle::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.home-title {
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.home-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.home-buttons {
    display: flex;
    gap: 1.25rem;
}

/* Hero Code Visual Card & Profile Overlay */
.home-visual {
    display: flex;
    justify-content: flex-end;
}

.profile-visual-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card-behind {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 80%;
    z-index: 1;
    opacity: 0.45;
    transform: rotate(-3deg);
    transition: var(--transition-smooth);
}

.visual-card-behind:hover {
    z-index: 10 !important;
    opacity: 1 !important;
    transform: translate(-30px, -15px) scale(1.06) rotate(0deg) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.profile-card {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 62%;
    aspect-ratio: 1 / 1;
    z-index: 2;
    padding: 3px;
    background: var(--gradient-accent) border-box;
    border: 3px solid transparent;
    border-radius: 24px;
    box-shadow: 0 20px 45px -10px rgba(99, 102, 241, 0.35), var(--shadow-glow);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background-color: var(--bg-dark);
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.03) rotate(1deg);
    z-index: 3;
    box-shadow: 0 30px 60px -15px rgba(217, 70, 239, 0.5), var(--shadow-glow);
}

.profile-visual-container:hover .visual-card-behind {
    opacity: 0.7;
    transform: translate(-10px, -10px) rotate(-1deg);
}

.profile-badge {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    box-shadow: var(--shadow-premium);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(10px);
}

.card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.card-filename {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--text-gray-light);
    font-weight: 500;
}

.card-body {
    padding: 1.5rem 1.75rem;
}

.card-body pre {
    overflow-x: auto;
}

.card-body code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.code-keyword { color: #f472b6; }
.code-string { color: #34d399; }

/* ==================== PROJECTS ==================== */
.projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
}

.project-img-container {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: var(--gradient-accent);
    transform: translate(-50%, -50%) scale(0.8);
    filter: blur(40px);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

.project-card:hover .project-glow {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1);
}

.project-mock-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.project-gradient-1 { background: var(--gradient-card-1); }
.project-gradient-2 { background: var(--gradient-card-2); }
.project-gradient-3 { background: var(--gradient-card-3); }

.project-mock-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.25);
    transition: var(--transition-smooth);
}

.project-card:hover .project-mock-icon {
    transform: scale(1.15) rotate(5deg);
    color: rgba(255, 255, 255, 0.65);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-title-link {
    color: inherit;
    transition: var(--transition-smooth);
}

.project-title-link:hover {
    color: var(--primary-color);
}

.project-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.project-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    color: var(--text-white);
}

.project-links {
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.project-link-btn {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
    color: var(--text-gray);
}

.project-link-btn:hover {
    color: var(--text-white);
}

.project-link-btn i {
    font-size: 1.1rem;
}

/* ==================== SKILLS ==================== */
.skills-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.skills-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.skills-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-premium);
}

.skills-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.skills-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.skills-card:hover .skills-icon-wrapper {
    background: var(--gradient-accent);
}

.skills-card:hover .skills-icon-wrapper i {
    color: var(--text-white);
}

.skills-card-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.skills-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.skill-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

/* ==================== CONTACT ==================== */
.contact-wrapper {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(10px);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

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

.detail-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.75rem;
    border-radius: 12px;
}

.detail-title {
    font-size: 0.9rem;
    color: var(--text-gray-light);
    font-weight: 500;
}

.detail-link, .detail-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    margin-top: 0.15rem;
}

.detail-link:hover {
    color: var(--primary-color);
}

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

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-gray);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--text-white);
    border-color: var(--border-hover);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    resize: none;
    height: 130px;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.btn-submit .btn-icon {
    font-size: 1.1rem;
}

.btn-submit:hover .btn-icon {
    transform: translateX(4px) translateY(-2px);
}

/* ==================== FOOTER ==================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-white);
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-gray-light);
}

.footer-copy a {
    color: var(--text-white);
}

.footer-copy a:hover {
    color: var(--primary-color);
}

/* ==================== ANIMATIONS / REVEAL ==================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero entrance transitions */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-data .home-subtitle.fade-in { animation-delay: 0.1s; }
.home-data .home-title.fade-in { animation-delay: 0.2s; }
.home-data .home-description.fade-in { animation-delay: 0.3s; }
.home-data .home-buttons.fade-in { animation-delay: 0.4s; }
.home-visual.fade-in { animation-delay: 0.5s; }

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

/* ==================== MEDIA QUERIES ==================== */
@media screen and (max-width: 1024px) {
    .container {
        margin-left: 2rem;
        margin-right: 2rem;
    }
    
    .home-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
    
    .home-title {
        font-size: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        padding: 3rem;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 4.5rem 0 2rem;
    }

    .home {
        padding-bottom: 4.5rem;
    }
    
    /* Nav Menu Mobile - Compact & Blurred */
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: rgba(7, 9, 19, 0.96);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-color);
        padding: 2.5rem 0 1.75rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 99;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.show-menu {
        top: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .btn-nav {
        display: none;
    }
    
    /* Layouts to Single Column */
    .home-container {
        grid-template-columns: 1fr;
        row-gap: 3.5rem;
        text-align: center;
        min-height: auto;
        padding-top: 2.5rem;
    }
    
    .home-description {
        margin-left: auto;
        margin-right: auto;
        text-align: justify;
    }
    
    .home-subtitle {
        justify-content: center;
    }
    
    .home-buttons {
        justify-content: center;
    }
    
    .home-visual {
        justify-content: center;
    }

    .profile-visual-container {
        height: 320px;
        margin: 0 auto;
    }

    .profile-card {
        width: 58%;
        bottom: 5px;
        right: 5px;
    }

    .visual-card-behind {
        width: 75%;
        top: 5px;
        left: 5px;
    }

    .visual-card-behind:hover,
    .visual-card-behind:active {
        z-index: 10 !important;
        opacity: 1 !important;
        transform: translate(-15px, -10px) scale(1.05) rotate(0deg) !important;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        gap: 3rem;
    }
    
    .footer-container {
        flex-direction: column;
        row-gap: 1.25rem;
        text-align: center;
    }
    
    .footer-copy {
        justify-self: center;
    }
}

@media screen and (max-width: 350px) {
    .home-title {
        font-size: 2.25rem;
    }
    
    .home-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-wrapper {
        padding: 1.5rem 1rem;
    }
}
