* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.logo {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ddeb;
}

nav {
    position: absolute;
    top: 20px;
    right: 40px;
}

nav a {
    color: #00ddeb;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffffff;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #00ddeb;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 221, 235, 0.5);
}

.hero h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.hero p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    color: #00ddeb;
    margin-bottom: 2rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #2c2c2c;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #00ddeb;
    text-align: center;
    transition: transform 0.3s;
    display: block;
    color: inherit; /* Arver tekstfarge */
    text-decoration: none; /* Fjerner understreking fra lenke */
}

.service-card:hover {
    transform: translateY(-5px);
}

.education-timeline {
    position: relative;
    padding-left: 2rem;
}

.education-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.education-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #00ddeb;
    border-radius: 50%;
}

.education-item::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 20px;
    bottom: -2rem;
    width: 2px;
    background: #00ddeb;
}

.education-item:last-child::after {
    display: none;
}

.education-item h3 {
    color: #00ddeb;
    margin-bottom: 0.5rem;
}

.education-item p {
    color: #cccccc;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input,
.contact textarea {
    background: #2c2c2c;
    border: 1px solid #00ddeb;
    padding: 1rem;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1rem;
}

.contact textarea {
    resize: vertical;
    min-height: 120px;
}

.contact button {
    background: #00ddeb;
    color: #1a1a1a;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.contact button:hover {
    background: #00b7c2;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #2c2c2c;
    color: #cccccc;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero img { width: 150px; height: 150px; }
    .logo { left: 20px; font-size: 1.2rem; }
    nav { right: 20px; }
    nav a { margin: 0 0.5rem; }
    section { padding: 2rem 1rem; }
}