:root {
    /* Premium Dark Theme */
    --bg-color: #0c0b10;
    --text-color: #e2e8f0;
    --primary-color: #8b5cf6;
    /* Vibrant Purple/Indigo */
    --secondary-color: #6d28d9;
    --navbar-bg: rgba(12, 11, 16, 0.85);
    --card-bg: #15141b;
    --border-color: #2d2b3b;
    --hover-color: #a78bfa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

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

/* Typography and Utilities */
a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.underline {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

section {
    padding: 100px 10%;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: #0d1117;
    border: 2px solid var(--primary-color);
}

.btn.primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: #0d1117;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 120px;
}

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

.greeting {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.name {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.role {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.summary {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #8b949e;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.blob-shape {
    width: 400px;
    height: 400px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    animation: morph 8s ease-in-out infinite;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.3);
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.blob-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #8b949e;
    font-size: 1.1rem;
}

.languages-awards {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.info-block h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-block h3 i {
    color: var(--primary-color);
}

.info-block p {
    margin-bottom: 0 !important;
}

.download-cv {
    margin-top: 1rem;
}

.download-cv i {
    margin-left: 8px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.skill-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tags span {
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(88, 166, 255, 0.2);
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tags span:hover {
    background: var(--primary-color);
    color: #0d1117;
}

/* Timeline/Experience/Education Section */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.2);
}

.timeline-content {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.timeline-header h3 {
    color: #fff;
    font-size: 1.2rem;
}

.timeline-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(88, 166, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.timeline-content h4 {
    color: #c9d1d9;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.timeline-content p {
    color: #8b949e;
    font-size: 0.95rem;
}

/* References Section */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.reference-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.reference-card>i {
    font-size: 2rem;
    color: rgba(88, 166, 255, 0.2);
    margin-bottom: 1rem;
}

.reference-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.reference-card h4 {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.ref-contact p {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #8b949e;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #0d1117;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    align-self: flex-start;
    border: none;
    font-family: 'Inter', sans-serif;
}

.contact-form button i {
    margin-left: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #0d1117;
    border-top: 1px solid var(--border-color);
    color: #8b949e;
}

/* Responsive Design */
@media (max-width: 991px) {
    section {
        padding: 80px 5%;
    }

    .navbar {
        padding: 20px 5%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background: var(--navbar-bg);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        left: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 3rem;
        justify-content: center;
    }

    .blob-shape {
        width: 300px;
        height: 300px;
    }

    .name {
        font-size: 3rem;
    }

    .role {
        font-size: 1.5rem;
    }

    .timeline-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .languages-awards {
        flex-direction: column;
        gap: 1rem;
    }
}