:root {
    --accent-color: #0077cc;
    --light-accent: #1a8cff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-color: #f5f5f5;
    --secondary-text: #b0b0b0;
    --border-color: #222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--darker-bg);
    overflow: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.5s;
    background-color: rgba(10, 10, 10, 0.9);
}

.navbar .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin: 0 15px;
}

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

.navbar ul li a:hover {
    color: var(--accent-color);
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector button {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    margin-left: 10px;
    font-size: 16px;
    opacity: 0.7;
    transition: 0.3s;
}

.language-selector button.active {
    opacity: 1;
    color: var(--accent-color);
}

.language-selector button:hover {
    opacity: 1;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 18px;
    color: var(--secondary-text);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--light-accent);
    transform: translateY(-3px);
}

.btn.outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    margin-left: 15px;
}

.btn.outline:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.profile-img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
}

.backdrop-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), transparent);
    opacity: 0.1;
    top: -40px;
    left: -40px;
    z-index: 0;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-text {
    max-width: 600px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--secondary-text);
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: var(--darker-bg);
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.skill-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.skill-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.skill-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.skill-item div h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.skill-item div p {
    font-size: 14px;
    color: var(--secondary-text);
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--darker-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--secondary-text);
    margin-bottom: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tech-tag {
    padding: 5px 15px;
    background-color: rgba(0, 119, 204, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--darker-bg);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--secondary-text);
}

.contact {
    background-color: var(--darker-bg);
}

.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 119, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-icon i {
    color: var(--accent-color);
    font-size: 20px;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-details p, .contact-details a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: 0.3s;
}

.contact-details a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: 0.3s;
    color: var(--secondary-text);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
}

footer {
    background-color: var(--darker-bg);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--secondary-text);
}

@media screen and (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 80px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-top: 40px;
    }
    
    .btn.outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        max-width: 100%;
        margin-top: 40px;
    }
    
    .contact-info {
        margin-right: 0;
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .navbar ul {
        display: none;
    }
    
    .hero h1 {
        font-size: 40px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeIn {
    animation: fadeIn 1s ease-in-out;
}

.delayed-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.delayed-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Diamond effect for accents */
.diamond-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    transform: rotate(45deg);
    background: linear-gradient(45deg, var(--accent-color), transparent);
    opacity: 0.05;
    z-index: 0;
}

.diamond1 {
    top: -150px;
    right: 10%;
}

.diamond2 {
    bottom: -150px;
    left: 5%;
}