* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

/* Background grid animation */
body::before {
    content: "";
    position: fixed;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveBg 30s linear infinite;
    z-index: -1;
}

@keyframes moveBg {
    0% { transform: translate(0,0); }
    100% { transform: translate(-40px, -40px); }
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* Header & Logo */
header {
    text-align: center;
    padding: 60px 0 20px 0;
}

header img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 20px 20px 40px 20px;
    transform: translateY(0);
    transition: transform 0.2s ease-out;
}

.hero h1 {
    font-size: 42px;
    letter-spacing: 2px;
}

.hero p {
    margin-top: 10px;
    color: #d1d1d1; /* Fixed contrast ratio against dark background */
}

.tagline {
    margin-top: 15px;
    font-weight: 600;
    color: #ffffff;
}

/* Sections */
.section {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;

    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s ease;
}

.section h2 {
    margin-bottom: 12px;
    font-size: 24px;
}

.section p {
    color: #d1d1d1;
    line-height: 1.6;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.section.hide-up {
    opacity: 0;
    transform: translateY(-60px);
}

/* Contact Cards */
.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
    text-decoration: none;
    color: #fff;
}

.contact-card:hover, .contact-card:focus-visible {
    background: rgba(255,255,255,0.08);
    transform: scale(1.03);
    border-color: rgba(255,255,255,0.3);
    outline: 2px solid #fff;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: #aaa; /* Updated from #666 for better contrast */
}
