:root {
    --primary-color: #00bcd4;
    --primary-color-dark: #0097a7;
    --bg-color-dark: #121212;
    --bg-color-light: #1e1e1e;
    --text-color-primary: #ffffff;
    --text-color-secondary: #aaaaaa;
    --border-color: #333333;
    --font-family: 'Poppins', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    font-family: var(--font-family);
    background-color: var(--bg-color-dark);
    color: var(--text-color-primary);
    line-height: 1.7;
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color-primary);
}
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p {
    margin-bottom: 1rem;
    color: var(--text-color-secondary);
}
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-color-dark);
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
section {
    padding: 6rem 0;
}
#about, #skills, #contact {
    background-color: var(--bg-color-light);
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title h2 {
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}
.section-title .subtitle {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    max-width: 600px;
    margin: 0 auto;
}
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color-dark);
}
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: #000;
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-color-dark);
}
header {
    width: 100%;
    padding: 1.25rem 0;
    background-color: var(--bg-color-light);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color-primary);
    letter-spacing: 1px;
}
header .logo a:hover {
    color: var(--primary-color);
}
header nav ul {
    display: flex;
}
header nav li {
    margin-left: 2rem;
}
header nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color-secondary);
    position: relative;
    padding-bottom: 0.25rem;
}
header nav a:hover,
header nav a.active {
    color: var(--primary-color);
}
header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
header nav a:hover::after,
header nav a.active::after {
    width: 100%;
}
#home.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background-color: var(--bg-color-dark);
    padding: 4rem 0;
}
#home .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.hero-text {
    flex: 1;
}
.hero-text .greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.hero-text h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
}
.hero-text .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.hero-text .buttons {
    display: flex;
    gap: 1rem;
}
.hero-image {
    flex: 1;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img {
    width: 100%;
    border-radius: 50%;
    border: 8px solid var(--bg-color-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.about-image {
    flex: 1;
    max-width: 400px;
}
.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.about-content {
    flex: 1.5;
}
.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.about-content .about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.about-content ul {
    margin-bottom: 2rem;
}
.about-content ul li {
    margin-bottom: 0.75rem;
    color: var(--text-color-secondary);
}
.about-content ul li strong {
    color: var(--text-color-primary);
    min-width: 100px;
    display: inline-block;
}
.about-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.project-count {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color-secondary);
}
.project-count strong {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background-color: var(--bg-color-light);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color-primary);
}
.service-card p {
    color: var(--text-color-secondary);
    margin-bottom: 0;
}
.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.skill-item {
    margin-bottom: 1.5rem;
}
.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.skill-info span:first-child {
    color: var(--text-color-primary);
}
.skill-info span:last-child {
    color: var(--primary-color);
}
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--bg-color-dark);
    border-radius: 5px;
    overflow: hidden;
}
.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.project-card {
    background-color: var(--bg-color-light);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
}
.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}
.project-info {
    padding: 1.5rem;
}
.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color-primary);
}
.project-info p {
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
    min-height: 50px;
}
.project-links {
    display: flex;
    gap: 1rem;
}
.project-links .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}
.contact-wrapper {
    display: flex;
    gap: 3rem;
}
.contact-info {
    flex: 1;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1;
}
.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--text-color-primary);
}
.info-text p {
    color: var(--text-color-secondary);
    margin: 0;
}
.contact-form {
    flex: 1.5;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group-split {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.form-group-split input {
    width: 50%;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color-dark);
    color: var(--text-color-primary);
    font-family: var(--font-family);
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-form textarea {
    resize: vertical;
}
.contact-form .btn {
    cursor: pointer;
}
footer {
    background-color: var(--bg-color-dark);
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}
footer p {
    color: var(--text-color-secondary);
    margin: 0;
    font-size: 0.9rem;
}
footer p:first-child {
    margin-bottom: 0.25rem;
}
@media (max-width: 992px) {
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.4rem; }
    #home .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    .hero-text h2 { font-size: 3rem; }
    .hero-text h3 { font-size: 1.8rem; }
    .hero-text .hero-description {
        margin: 0 auto 2.5rem auto;
    }
    .hero-text .buttons {
        justify-content: center;
    }
    .hero-image {
        max-width: 350px;
    }
    .about-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    .about-content {
        text-align: center;
    }
    .about-content ul li {
        text-align: left;
    }
    .about-actions {
        justify-content: center;
    }
    .contact-wrapper {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    html { scroll-padding-top: 60px; }
    header {
        padding: 1rem 0;
    }
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    header nav li {
        margin-left: 1rem;
    }
    section { padding: 4rem 0; }
    .section-title { margin-bottom: 3rem; }
    .skills-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-group-split {
        flex-direction: column;
        gap: 1.5rem;
    }
    .form-group-split input {
        width: 100%;
    }
}