:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #4da6ff;
    /* Premium Blue */
    --secondary-color: #8892b0;
    --card-bg: #112240;
    --card-hover: #233554;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(77, 166, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
}

.nav-links a {
    margin-left: 30px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
}

.greeting {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: block;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #ccd6f6;
    margin-bottom: 10px;
    line-height: 1.1;
}

.subtitle {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.cta-buttons {
    margin-top: 40px;
}

.btn {
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin-right: 15px;
    border: 1px solid var(--accent-color);
}

.btn-primary {
    background: transparent;
    color: var(--accent-color);
}

.btn-primary:hover {
    background: rgba(77, 166, 255, 0.1);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--bg-color);
}

.btn-secondary:hover {
    background: #4da6ff;
    filter: brightness(1.2);
    transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.image-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    /* Circle crop */
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-color);
    transition: var(--transition);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
    /* Slight filter for premium look */
    transition: var(--transition);
}

.image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(77, 166, 255, 0.2);
}

.image-wrapper:hover img {
    filter: grayscale(0%);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #0e1624;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ccd6f6;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    background: var(--accent-color);
    bottom: -10px;
    left: 0;
}

.bio-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 700px;
}

/* About Section Details */
.bio-intro {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.bio-text-wrapper {
    flex: 1;
}

.bio-image {
    flex: 0 0 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    border: 2px solid var(--accent-color);
    transform: rotate(3deg);
    transition: var(--transition);
}

.bio-image:hover {
    transform: rotate(0);
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1);
    transition: var(--transition);
}

.bio-image:hover img {
    filter: none;
}

.bio-text strong {
    color: var(--accent-color);
}

.cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.cv-column h3,
.cv-section h3 {
    font-size: 1.5rem;
    color: #ccd6f6;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cv-column h3 i,
.cv-section h3 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.cv-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--card-hover);
    transition: var(--transition);
}

.cv-item:hover {
    border-left-color: var(--accent-color);
}

.cv-item h4 {
    font-size: 1.1rem;
    color: #e6f1ff;
    margin-bottom: 5px;
}

.cv-item .company {
    display: block;
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.cv-item .date {
    display: block;
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.cv-item ul {
    list-style: none;
    color: var(--secondary-color);
}

.cv-item ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.cv-item ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.cv-section {
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 6px;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: var(--card-hover);
}

.project-card h4 {
    color: #e6f1ff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.project-card p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skills-list span {
    background: rgba(77, 166, 255, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(77, 166, 255, 0.2);
    transition: var(--transition);
}

.skills-list span:hover {
    background: rgba(77, 166, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive adjustments for CV */
@media (max-width: 768px) {
    .cv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bio-intro {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .bio-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        transform: rotate(0);
    }
}

/* Contact/Links Section */
.contact {
    padding: 100px 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.social-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.social-card:hover {
    transform: translateY(-10px);
    background: var(--card-hover);
    border-color: var(--accent-color);
}

.social-card span {
    font-weight: 500;
}

/* Footer */
footer {
    padding: 20px 0;
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.8rem;
    background-color: #050505;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        margin-bottom: 50px;
        justify-content: center;
    }

    .image-wrapper {
        width: 250px;
        height: 250px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .about {
        padding: 50px 20px;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact {
        padding: 50px 20px;
    }
}