/* Base styles and CSS reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d3436;
    --secondary-color: #2B6D7D;
    --background-color: #ffffff;
    --text-color: #2d3436;
    --spacing-unit: 2rem;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-unit);
}

h3 {
    font-size: 1.5rem;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.section {
    padding: calc(var(--spacing-unit) * 3) 0;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-color: #f8f9fa;
}

.headline {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 2rem auto;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-unit);
    margin-top: var(--spacing-unit);
}

.skill-item {
    text-align: center;
    padding: var(--spacing-unit);
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-unit);
}

.client-item {
    padding: var(--spacing-unit);
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-unit);
    margin-top: var(--spacing-unit);
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.contact-button i {
    margin-right: 0.5rem;
}

.contact-button:hover {
    background-color: #0873c5;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--spacing-unit);
    background-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .contact-links {
        flex-direction: column;
    }

    nav ul {
        flex-wrap: wrap;
    }
}

/* Profile Image */
.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}