* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #c1c1c1;
    margin: 0;
    padding-top: 80px;
    padding-bottom: 0;
    transition: background-color 1.5s ease, color 1.5s ease;
}

main {
    flex: 1;
}

.mono {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    letter-spacing: -0.5px;
}

.topnav{
    background-color: #121212;
    height: 65px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 100;
    border-bottom: 2px solid #8ad0ff;


    box-shadow: 0 2px 15px rgba(0, 150, 255, 0.7),
    0 0 60px rgba(0, 150, 255, 0.5),
    0 0 120px rgba(0, 150, 255, 0.3);
    transition: border-bottom-color 1.5s ease, box-shadow 1.5s ease;
}

.brand {
    font-size: 22px;
    font-weight: 800;
    color: #f1f1f1;
    letter-spacing: -0.5px;
    transition-duration: 0.3s;
}

.brand:hover{
    color: white;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
    transition-duration: 0.5s;
}

.topnav-links {
    display: flex;
    gap: 30px;
}

.topnav-links a {
    font-family: 'Roboto Mono', monospace;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.topnav-links a:hover {
    color: #0096ff;
}

.topnav-links a.active {
    color: #F0F8FF;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
    font-weight: bold;
}

.bouncing-dot {
    display: inline-block;
    color: #0096ff;
    position: relative;
    font-size: 30px;
    line-height: 0;
}

.kicker {
    display: inline-block;
    position: relative;
    transition: 0.5s ease-out;
}

.kicking {
    animation: kickLeg 0.8s ease-in-out;
}

.contact-hero {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 60px;
}

.section-title {
    font-size: clamp(40px, 8vw, 60px);
    color: #f1f1f1;
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 18px;
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 300px;
}

.contact-card.featured {
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border-color: #444;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #0096ff;
    box-shadow: 0 10px 40px -10px rgba(0, 150, 255, 0.3);
}

.contact-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.contact-card h3 {
    color: #f1f1f1;
    font-size: 22px;
    margin: 0 0 10px 0;
}

.card-text h3 {
    color: #f1f1f1;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.card-text p {
    color: #8892b0;
    font-size: 16px;
    margin: 0;
}

.contact-card p {
    color: #8892b0;
    font-size: 16px;
    margin: 0;
}

@keyframes kickLeg {
    0% { transform: rotate(0deg) translateX(0); }
    30% { transform: rotate(-30deg) translateX(-2px); }
    50% { transform: rotate(20deg) translateX(5px); }
    80% { transform: rotate(10deg) translateX(2px); }
    90% { transform: rotate(7deg) translateX(1px); }
    95% { transform: rotate(4deg) translateX(0); }
    99% { transform: rotate(1deg) translateX(0); }
    100% { transform: rotate(0deg) translateX(0); }
}


.accent { color: #0096ff; }
section { padding: 100px 7%;}

.btn {
    padding: 14px 28px;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary {
    background-color: transparent;
    color: #0096ff;
    border: 1px solid #0096ff;
}

.btn-primary:hover {
    background-color: rgba(0, 150, 255, 0.1); /* subtle fill on hover */
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.3);
    transform: translateY(-3px); /* slight lift effect */
}

.btn-outline {
    color: #f1f1f1;
    border: 1px solid #f1f1f1;
}

.btn-outline:hover {
    background-color: #f1f1f1;
    color: #121212;
    transform: translateY(-3px);
}

.footer {
    background-color: #121212;
    height: 65px;
    width: 100%;
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 100;
    
    border-top: 2px solid #8ad0ff;
    box-shadow: 0 -2px 15px rgba(0, 150, 255, 0.7),
    0 0 60px rgba(0, 150, 255, 0.5),
    0 0 120px rgba(0, 150, 255, 0.3);

    transition: border-top-color 1.5s ease, box-shadow 1.5s ease;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-family: 'Roboto Mono', monospace;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #0096ff;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
}

.secret {
    color: #121212;
    transition-duration: 0.3s;
}

.secret:hover {
    color: rgba(12, 50, 150, 0.5);
    transition-duration: 2s;
}

@media (max-width: 1024px) {
    
    body {
        padding-top: 150px;
    }
    
    .contact-hero {
        padding-top: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 500px;
    }

    .contact-card {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 20px 25px;
        min-height: auto;
        gap: 20px;
        border-radius: 16px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        margin-right: 20px;
        flex-shrink: 0;
    }

    .card-text h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .card-text p {
        font-size: 14px;
    }

    .topnav {
        height: auto;
        flex-direction: column;
        padding: 15px 0;
    }

    .brand {
        margin-bottom: 15px;
    }

    .topnav-links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .topnav-links a {
        font-size: 14px;
        padding: 5px;
    }

    .bouncing-dot {
        display: inline;
        position: static;
        transform: none !important;
        opacity: 1 !important;
    }

    .kicker { transform: none !important; animation: none !important; }
    
    .secret:hover {
        color: #121212
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape){

    .topnav {
        height: 50px;
        padding: 0 20px;
        flex-direction: row;
    }

    .topnav-links {
        width: auto;
        gap: 15px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .topnav-links a {
        font-size: 13px;
    }

    body {
        padding-top: 100px;
    }
    
    .secret:hover {
        color: #121212
    }

}