* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

header {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
     font-family: "Bitcount Grid Double", system-ui;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "CRSV" 0.5,
    "ELSH" 0,
    "ELXP" 0;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.1rem;
}

nav a:hover {
    text-decoration: underline;
}

section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #f4f4f4;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card .full-desc {
    margin-top: 0.5rem;
}

.hidden {
    display: none;
}

.toggle-desc {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.toggle-desc:hover {
    background: #34495e;
}

#contact p {
    font-size: 1.1rem;
    text-align: center;
    margin: 0.5rem 0;
}

#contact a {
    color: #2c3e50;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: opacity 0.3s ease;
}

#back-to-top:hover {
    background: #34495e;
}

/* Responsive Design */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    nav a {
        display: block;
        margin: 0.5rem 0;
    }

    section {
        padding: 2rem 1rem;
    }
}